Lines Matching refs:hp_detect
87 struct pmac_gpio hp_detect; member
928 if (mix->hp_detect.addr) in tumbler_detect_headphone()
929 detect |= read_audio_gpio(&mix->hp_detect); in tumbler_detect_headphone()
1252 val = do_gpio_read(&mix->hp_detect); in tumbler_resume()
1253 do_gpio_write(&mix->hp_detect, val | 0x80); in tumbler_resume()
1291 NULL, &mix->hp_detect, 0); in tumbler_init()
1294 NULL, &mix->hp_detect, 1); in tumbler_init()
1297 NULL, &mix->hp_detect, 1); in tumbler_init()
1327 tumbler_gpio_free(&mix->hp_detect); in tumbler_cleanup()
1463 val = do_gpio_read(&mix->hp_detect); in snd_pmac_tumbler_init()
1464 do_gpio_write(&mix->hp_detect, val | 0x80); in snd_pmac_tumbler_init()