Home
last modified time | relevance | path

Searched refs:gpio_ctrls (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/sound/macio/
H A Di2s.c273 static struct aoagpio_softc *gpio_ctrls[GPIO_CTRL_NUM] = variable
333 gpio_ctrls[m->ctrl] = sc; in aoagpio_probe()
600 if ((sc = gpio_ctrls[ctrl]) == NULL) in gpio_read()
612 if ((sc = gpio_ctrls[ctrl]) == NULL) in gpio_write()
627 if (gpio_ctrls[HEADPHONE_DETECT] && in i2s_cint()
628 gpio_ctrls[HEADPHONE_DETECT]->level) in i2s_cint()
631 if (gpio_ctrls[LINEOUT_DETECT] && in i2s_cint()
632 gpio_ctrls[LINEOUT_DETECT]->level) in i2s_cint()
651 if (gpio_ctrls[AUDIO_HW_RESET]) { in i2s_audio_hw_reset()
678 if (gpio_ctrls[yyy##_MUTE] == NULL) \
[all …]