Lines Matching refs:hp_detect
87 struct pmac_gpio hp_detect; member
938 if (mix->hp_detect.addr) in tumbler_detect_headphone()
939 detect |= read_audio_gpio(&mix->hp_detect); in tumbler_detect_headphone()
1262 val = do_gpio_read(&mix->hp_detect); in tumbler_resume()
1263 do_gpio_write(&mix->hp_detect, val | 0x80); in tumbler_resume()
1301 NULL, &mix->hp_detect, 0); in tumbler_init()
1304 NULL, &mix->hp_detect, 1); in tumbler_init()
1307 NULL, &mix->hp_detect, 1); in tumbler_init()
1337 tumbler_gpio_free(&mix->hp_detect); in tumbler_cleanup()
1484 val = do_gpio_read(&mix->hp_detect); in snd_pmac_tumbler_init()
1485 do_gpio_write(&mix->hp_detect, val | 0x80); in snd_pmac_tumbler_init()