Lines Matching refs:pcan_pccard
145 struct pcan_pccard { struct
163 static void pcan_set_leds(struct pcan_pccard *card, u8 mask, u8 state); argument
168 static void pcan_start_led_timer(struct pcan_pccard *card) in pcan_start_led_timer()
177 static void pcan_stop_led_timer(struct pcan_pccard *card) in pcan_stop_led_timer()
195 struct pcan_pccard *card = priv->priv; in pcan_write_canreg()
220 static u8 pcan_read_reg(struct pcan_pccard *card, int port) in pcan_read_reg()
228 static void pcan_write_reg(struct pcan_pccard *card, int port, u8 v) in pcan_write_reg()
244 static inline int pcan_pccard_present(struct pcan_pccard *card) in pcan_pccard_present()
253 static int pcan_wait_spi_busy(struct pcan_pccard *card) in pcan_wait_spi_busy()
271 static int pcan_write_eeprom(struct pcan_pccard *card, u16 addr, u8 v) in pcan_write_eeprom()
350 static void pcan_set_leds(struct pcan_pccard *card, u8 led_mask, u8 state) in pcan_set_leds()
370 static inline void pcan_set_can_power(struct pcan_pccard *card, int onoff) in pcan_set_can_power()
386 struct pcan_pccard *card = from_timer(card, t, led_timer); in pcan_led_timer()
433 struct pcan_pccard *card = dev_id; in pcan_isr()
475 static void pcan_free_channels(struct pcan_pccard *card) in pcan_free_channels()
522 static int pcan_add_channels(struct pcan_pccard *card) in pcan_add_channels()
617 struct pcan_pccard *card = pdev->priv; in pcan_free()
638 struct pcan_pccard *card; in pcan_probe()
662 card = kzalloc(sizeof(struct pcan_pccard), GFP_KERNEL); in pcan_probe()