]> rtime.felk.cvut.cz Git - lincan.git/blob - lincan/include/m437.h
351e3a3cf95186481c2648d0d5c8f9ce87b86e8c
[lincan.git] / lincan / include / m437.h
1 /* m437.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  * Header file for the SECO M437 (see m437.c for details)
10  */
11
12 int m437_request_io(struct candevice_t *candev);
13 int m437_release_io(struct candevice_t *candev);
14 int m437_reset(struct candevice_t *candev); 
15 int m437_init_hw_data(struct candevice_t *candev);
16 int m437_init_chip_data(struct candevice_t *candev, int chipnr);
17 int m437_init_obj_data(struct canchip_t *chip, int objnr);
18 void m437_write_register(unsigned data, unsigned long address);
19 unsigned m437_read_register(unsigned long address);
20 int m437_program_irq(struct candevice_t *candev);
21 int m437_register(struct hwspecops_t *hwspecops);