Home
last modified time | relevance | path

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

/Linux-v4.19/sound/soc/codecs/
Drt5682.c854 int btn_type, val; in rt5682_button_detect() local
857 btn_type = val & 0xfff0; in rt5682_button_detect()
859 pr_debug("%s btn_type=%x\n", __func__, btn_type); in rt5682_button_detect()
863 return btn_type; in rt5682_button_detect()
1031 int val, btn_type; in rt5682_jack_detect_handler() local
1052 btn_type = rt5682_button_detect(rt5682->component); in rt5682_jack_detect_handler()
1060 switch (btn_type) { in rt5682_jack_detect_handler()
1084 btn_type = 0; in rt5682_jack_detect_handler()
1087 btn_type); in rt5682_jack_detect_handler()
Drt5668.c851 int btn_type, val; in rt5668_button_detect() local
854 btn_type = val & 0xfff0; in rt5668_button_detect()
856 pr_debug("%s btn_type=%x\n", __func__, btn_type); in rt5668_button_detect()
858 return btn_type; in rt5668_button_detect()
1026 int val, btn_type; in rt5668_jack_detect_handler() local
1047 btn_type = rt5668_button_detect(rt5668->component); in rt5668_jack_detect_handler()
1055 switch (btn_type) { in rt5668_jack_detect_handler()
1079 btn_type = 0; in rt5668_jack_detect_handler()
1082 btn_type); in rt5668_jack_detect_handler()
Drt5670.c502 int btn_type, val; in rt5670_button_detect() local
505 btn_type = val & 0xff80; in rt5670_button_detect()
507 if (btn_type != 0) { in rt5670_button_detect()
513 return btn_type; in rt5670_button_detect()
521 int val, btn_type, report = jack->status; in rt5670_irq_detection() local
538 btn_type = 0; in rt5670_irq_detection()
542 btn_type = rt5670_button_detect(rt5670->component); in rt5670_irq_detection()
543 switch (btn_type) { in rt5670_irq_detection()
556 btn_type); in rt5670_irq_detection()
560 if (btn_type == 0)/* button release */ in rt5670_irq_detection()
Drt5663.c1836 int btn_type, val; in rt5663_button_detect() local
1840 btn_type = val & 0xfff0; in rt5663_button_detect()
1843 return btn_type; in rt5663_button_detect()
1896 int btn_type, report = 0; in rt5663_jack_detect_work() local
1924 btn_type = rt5663_button_detect(rt5663->component); in rt5663_jack_detect_work()
1932 switch (btn_type) { in rt5663_jack_detect_work()
1956 btn_type = 0; in rt5663_jack_detect_work()
1959 btn_type); in rt5663_jack_detect_work()
1963 if (btn_type == 0) { in rt5663_jack_detect_work()
Drt5645.c3254 int btn_type, val; in rt5645_button_detect() local
3258 btn_type = val & 0xfff0; in rt5645_button_detect()
3261 return btn_type; in rt5645_button_detect()
3292 int val, btn_type, gpio_state = 0, report = 0; in rt5645_jack_detect_work() local
3320 btn_type = 0; in rt5645_jack_detect_work()
3324 btn_type = rt5645_button_detect(rt5645->component); in rt5645_jack_detect_work()
3330 switch (btn_type) { in rt5645_jack_detect_work()
3356 btn_type); in rt5645_jack_detect_work()
3360 if (btn_type == 0)/* button release */ in rt5645_jack_detect_work()
Drt5659.c1361 int btn_type, val; in rt5659_button_detect() local
1364 btn_type = val & 0xfff0; in rt5659_button_detect()
1367 return btn_type; in rt5659_button_detect()
1397 int val, btn_type, report = 0; in rt5659_jack_detect_work() local
1411 btn_type = rt5659_button_detect(rt5659->component); in rt5659_jack_detect_work()
1419 switch (btn_type) { in rt5659_jack_detect_work()
1443 btn_type = 0; in rt5659_jack_detect_work()
1446 btn_type); in rt5659_jack_detect_work()
1451 if (btn_type == 0) in rt5659_jack_detect_work()
Drt5665.c1130 int btn_type, val; in rt5665_button_detect() local
1133 btn_type = val & 0xfff0; in rt5665_button_detect()
1136 return btn_type; in rt5665_button_detect()
1297 int val, btn_type; in rt5665_jack_detect_handler() local
1326 btn_type = rt5665_button_detect(rt5665->component); in rt5665_jack_detect_handler()
1334 switch (btn_type) { in rt5665_jack_detect_handler()
1358 btn_type = 0; in rt5665_jack_detect_handler()
1361 btn_type); in rt5665_jack_detect_handler()