Lines Matching refs:peak_pciec_card
33 struct peak_pciec_card;
38 struct peak_pciec_card *pciec_card; /* only for PCIeC LEDs */
141 struct peak_pciec_card { struct
158 static inline void pita_set_scl_highz(struct peak_pciec_card *card) in pita_set_scl_highz() argument
164 static inline void pita_set_sda_highz(struct peak_pciec_card *card) in pita_set_sda_highz()
170 static void peak_pciec_init_pita_gpio(struct peak_pciec_card *card) in peak_pciec_init_pita_gpio()
179 struct peak_pciec_card *card = (struct peak_pciec_card *)data; in pita_setsda()
198 struct peak_pciec_card *card = (struct peak_pciec_card *)data; in pita_setscl()
217 struct peak_pciec_card *card = (struct peak_pciec_card *)data; in pita_getsda()
227 struct peak_pciec_card *card = (struct peak_pciec_card *)data; in pita_getscl()
238 static int peak_pciec_write_pca9553(struct peak_pciec_card *card, in peak_pciec_write_pca9553()
271 struct peak_pciec_card *card = in peak_pciec_led_work()
272 container_of(work, struct peak_pciec_card, led_work.work); in peak_pciec_led_work()
317 static void peak_pciec_set_leds(struct peak_pciec_card *card, u8 led_mask, u8 s) in peak_pciec_set_leds()
336 static void peak_pciec_start_led_work(struct peak_pciec_card *card) in peak_pciec_start_led_work()
344 static void peak_pciec_stop_led_work(struct peak_pciec_card *card) in peak_pciec_stop_led_work()
352 static int peak_pciec_init_leds(struct peak_pciec_card *card) in peak_pciec_init_leds()
383 static void peak_pciec_leds_exit(struct peak_pciec_card *card) in peak_pciec_leds_exit()
397 struct peak_pciec_card *card = chan->pciec_card; in peak_pciec_write_reg()
433 struct peak_pciec_card *card; in peak_pciec_probe()
448 card = kzalloc(sizeof(struct peak_pciec_card), GFP_KERNEL); in peak_pciec_probe()
500 static void peak_pciec_remove(struct peak_pciec_card *card) in peak_pciec_remove()
519 static inline void peak_pciec_remove(struct peak_pciec_card *card) in peak_pciec_remove()