Lines Matching refs:pcan_pccard
136 struct pcan_pccard { struct
154 static void pcan_set_leds(struct pcan_pccard *card, u8 mask, u8 state); argument
159 static void pcan_start_led_timer(struct pcan_pccard *card) in pcan_start_led_timer()
168 static void pcan_stop_led_timer(struct pcan_pccard *card) in pcan_stop_led_timer()
186 struct pcan_pccard *card = priv->priv; in pcan_write_canreg()
211 static u8 pcan_read_reg(struct pcan_pccard *card, int port) in pcan_read_reg()
219 static void pcan_write_reg(struct pcan_pccard *card, int port, u8 v) in pcan_write_reg()
235 static inline int pcan_pccard_present(struct pcan_pccard *card) in pcan_pccard_present()
244 static int pcan_wait_spi_busy(struct pcan_pccard *card) in pcan_wait_spi_busy()
262 static int pcan_write_eeprom(struct pcan_pccard *card, u16 addr, u8 v) in pcan_write_eeprom()
341 static void pcan_set_leds(struct pcan_pccard *card, u8 led_mask, u8 state) in pcan_set_leds()
361 static inline void pcan_set_can_power(struct pcan_pccard *card, int onoff) in pcan_set_can_power()
377 struct pcan_pccard *card = from_timer(card, t, led_timer); in pcan_led_timer()
424 struct pcan_pccard *card = dev_id; in pcan_isr()
466 static void pcan_free_channels(struct pcan_pccard *card) in pcan_free_channels()
513 static int pcan_add_channels(struct pcan_pccard *card) in pcan_add_channels()
608 struct pcan_pccard *card = pdev->priv; in pcan_free()
629 struct pcan_pccard *card; in pcan_probe()
653 card = kzalloc(sizeof(struct pcan_pccard), GFP_KERNEL); in pcan_probe()