Home
last modified time | relevance | path

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

/sound/soc/codecs/
Drt5670.c483 int btn_type, val; in rt5670_button_detect() local
486 btn_type = val & 0xff80; in rt5670_button_detect()
488 if (btn_type != 0) { in rt5670_button_detect()
494 return btn_type; in rt5670_button_detect()
502 int val, btn_type, report = jack->status; in rt5670_irq_detection() local
519 btn_type = 0; in rt5670_irq_detection()
523 btn_type = rt5670_button_detect(rt5670->codec); in rt5670_irq_detection()
524 switch (btn_type) { in rt5670_irq_detection()
537 btn_type); in rt5670_irq_detection()
541 if (btn_type == 0)/* button release */ in rt5670_irq_detection()
Drt5645.c3011 int btn_type, val; in rt5645_button_detect() local
3015 btn_type = val & 0xfff0; in rt5645_button_detect()
3018 return btn_type; in rt5645_button_detect()
3049 int val, btn_type, gpio_state = 0, report = 0; in rt5645_jack_detect_work() local
3085 btn_type = 0; in rt5645_jack_detect_work()
3089 btn_type = rt5645_button_detect(rt5645->codec); in rt5645_jack_detect_work()
3095 switch (btn_type) { in rt5645_jack_detect_work()
3121 btn_type); in rt5645_jack_detect_work()
3125 if (btn_type == 0)/* button release */ in rt5645_jack_detect_work()