]> rtime.felk.cvut.cz Git - lincan.git/blob - lincan/include/pccan.h
The first round of I/O space pointers separation.
[lincan.git] / lincan / include / pccan.h
1 /* pccan.h
2  * Header file for the Linux CAN-bus driver.
3  * Written by Arnaud Westenberg email:arnaud@wanadoo.nl
4  * Rewritten for new CAN queues by Pavel Pisa - OCERA team member
5  * email:pisa@cmp.felk.cvut.cz
6  * This software is released under the GPL-License.
7  * Version lincan-0.3  17 Jun 2004
8  */
9
10 int pccanf_request_io(struct candevice_t *candev);
11 int pccanf_release_io(struct candevice_t *candev);
12 int pccand_request_io(struct candevice_t *candev);
13 int pccand_release_io(struct candevice_t *candev);
14 int pccanq_request_io(struct candevice_t *candev);
15 int pccanq_release_io(struct candevice_t *candev);
16 int pccanf_reset(struct candevice_t *candev);
17 int pccand_reset(struct candevice_t *candev);
18 int pccanq_reset(struct candevice_t *candev); 
19 int pccan_init_hw_data(struct candevice_t *candev);
20 int pccan_init_chip_data(struct candevice_t *candev, int chipnr);
21 int pccan_init_obj_data(struct canchip_t *chip, int objnr);
22 void pccan_write_register(unsigned data, can_ioptr_t address);
23 unsigned pccan_read_register(can_ioptr_t address);
24 int pccan_program_irq(struct candevice_t *candev);
25
26