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()
1260 val = do_gpio_read(&mix->hp_detect); in tumbler_resume()
1261 do_gpio_write(&mix->hp_detect, val | 0x80); in tumbler_resume()
1299 NULL, &mix->hp_detect, 0); in tumbler_init()
1302 NULL, &mix->hp_detect, 1); in tumbler_init()
1305 NULL, &mix->hp_detect, 1); in tumbler_init()
1335 tumbler_gpio_free(&mix->hp_detect); in tumbler_cleanup()
1482 val = do_gpio_read(&mix->hp_detect); in snd_pmac_tumbler_init()
1483 do_gpio_write(&mix->hp_detect, val | 0x80); in snd_pmac_tumbler_init()