Lines Matching refs:peak_pciec_card
41 struct peak_pciec_card;
46 struct peak_pciec_card *pciec_card; /* only for PCIeC LEDs */
149 struct peak_pciec_card { struct
166 static inline void pita_set_scl_highz(struct peak_pciec_card *card) in pita_set_scl_highz() argument
172 static inline void pita_set_sda_highz(struct peak_pciec_card *card) in pita_set_sda_highz()
178 static void peak_pciec_init_pita_gpio(struct peak_pciec_card *card) in peak_pciec_init_pita_gpio()
187 struct peak_pciec_card *card = (struct peak_pciec_card *)data; in pita_setsda()
206 struct peak_pciec_card *card = (struct peak_pciec_card *)data; in pita_setscl()
225 struct peak_pciec_card *card = (struct peak_pciec_card *)data; in pita_getsda()
235 struct peak_pciec_card *card = (struct peak_pciec_card *)data; in pita_getscl()
246 static int peak_pciec_write_pca9553(struct peak_pciec_card *card, in peak_pciec_write_pca9553()
279 struct peak_pciec_card *card = in peak_pciec_led_work()
280 container_of(work, struct peak_pciec_card, led_work.work); in peak_pciec_led_work()
325 static void peak_pciec_set_leds(struct peak_pciec_card *card, u8 led_mask, u8 s) in peak_pciec_set_leds()
344 static void peak_pciec_start_led_work(struct peak_pciec_card *card) in peak_pciec_start_led_work()
352 static void peak_pciec_stop_led_work(struct peak_pciec_card *card) in peak_pciec_stop_led_work()
360 static int peak_pciec_init_leds(struct peak_pciec_card *card) in peak_pciec_init_leds()
391 static void peak_pciec_leds_exit(struct peak_pciec_card *card) in peak_pciec_leds_exit()
405 struct peak_pciec_card *card = chan->pciec_card; in peak_pciec_write_reg()
441 struct peak_pciec_card *card; in peak_pciec_probe()
456 card = kzalloc(sizeof(struct peak_pciec_card), GFP_KERNEL); in peak_pciec_probe()
508 static void peak_pciec_remove(struct peak_pciec_card *card) in peak_pciec_remove()
527 static inline void peak_pciec_remove(struct peak_pciec_card *card) in peak_pciec_remove()