Lines Matching refs:peak_pciec_card
35 struct peak_pciec_card;
40 struct peak_pciec_card *pciec_card; /* only for PCIeC LEDs */
161 struct peak_pciec_card { struct
178 static inline void pita_set_scl_highz(struct peak_pciec_card *card) in pita_set_scl_highz() argument
185 static inline void pita_set_sda_highz(struct peak_pciec_card *card) in pita_set_sda_highz()
192 static void peak_pciec_init_pita_gpio(struct peak_pciec_card *card) in peak_pciec_init_pita_gpio()
201 struct peak_pciec_card *card = (struct peak_pciec_card *)data; in pita_setsda()
220 struct peak_pciec_card *card = (struct peak_pciec_card *)data; in pita_setscl()
239 struct peak_pciec_card *card = (struct peak_pciec_card *)data; in pita_getsda()
249 struct peak_pciec_card *card = (struct peak_pciec_card *)data; in pita_getscl()
258 static int peak_pciec_write_pca9553(struct peak_pciec_card *card, in peak_pciec_write_pca9553()
289 struct peak_pciec_card *card = in peak_pciec_led_work()
290 container_of(work, struct peak_pciec_card, led_work.work); in peak_pciec_led_work()
333 static void peak_pciec_set_leds(struct peak_pciec_card *card, u8 led_mask, u8 s) in peak_pciec_set_leds()
350 static void peak_pciec_start_led_work(struct peak_pciec_card *card) in peak_pciec_start_led_work()
356 static void peak_pciec_stop_led_work(struct peak_pciec_card *card) in peak_pciec_stop_led_work()
362 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()
404 struct peak_pciec_card *card = chan->pciec_card; in peak_pciec_write_reg()
440 struct peak_pciec_card *card; in peak_pciec_probe()
507 static void peak_pciec_remove(struct peak_pciec_card *card) in peak_pciec_remove()
524 static inline void peak_pciec_remove(struct peak_pciec_card *card) in peak_pciec_remove()