Searched refs:btn_type (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/sound/soc/codecs/ |
D | rt5668.c | 848 int btn_type, val; in rt5668_button_detect() local 851 btn_type = val & 0xfff0; in rt5668_button_detect() 853 pr_debug("%s btn_type=%x\n", __func__, btn_type); in rt5668_button_detect() 855 return btn_type; in rt5668_button_detect() 1023 int val, btn_type; in rt5668_jack_detect_handler() local 1044 btn_type = rt5668_button_detect(rt5668->component); in rt5668_jack_detect_handler() 1052 switch (btn_type) { in rt5668_jack_detect_handler() 1076 btn_type = 0; in rt5668_jack_detect_handler() 1079 btn_type); in rt5668_jack_detect_handler()
|
D | rt5682.c | 857 int btn_type, val; in rt5682_button_detect() local 860 btn_type = val & 0xfff0; in rt5682_button_detect() 862 pr_debug("%s btn_type=%x\n", __func__, btn_type); in rt5682_button_detect() 866 return btn_type; in rt5682_button_detect() 1052 int val, btn_type; in rt5682_jack_detect_handler() local 1073 btn_type = rt5682_button_detect(rt5682->component); in rt5682_jack_detect_handler() 1081 switch (btn_type) { in rt5682_jack_detect_handler() 1105 btn_type = 0; in rt5682_jack_detect_handler() 1108 btn_type); in rt5682_jack_detect_handler()
|
D | rt5670.c | 499 int btn_type, val; in rt5670_button_detect() local 502 btn_type = val & 0xff80; in rt5670_button_detect() 504 if (btn_type != 0) { in rt5670_button_detect() 510 return btn_type; in rt5670_button_detect() 518 int val, btn_type, report = jack->status; in rt5670_irq_detection() local 535 btn_type = 0; in rt5670_irq_detection() 539 btn_type = rt5670_button_detect(rt5670->component); in rt5670_irq_detection() 540 switch (btn_type) { in rt5670_irq_detection() 553 btn_type); in rt5670_irq_detection() 557 if (btn_type == 0)/* button release */ in rt5670_irq_detection()
|
D | rt5663.c | 1844 int btn_type, val; in rt5663_button_detect() local 1848 btn_type = val & 0xfff0; in rt5663_button_detect() 1851 return btn_type; in rt5663_button_detect() 1904 int btn_type, report = 0; in rt5663_jack_detect_work() local 1932 btn_type = rt5663_button_detect(rt5663->component); in rt5663_jack_detect_work() 1940 switch (btn_type) { in rt5663_jack_detect_work() 1964 btn_type = 0; in rt5663_jack_detect_work() 1967 btn_type); in rt5663_jack_detect_work() 1971 if (btn_type == 0) { in rt5663_jack_detect_work()
|
D | rt5645.c | 3217 int btn_type, val; in rt5645_button_detect() local 3221 btn_type = val & 0xfff0; in rt5645_button_detect() 3224 return btn_type; in rt5645_button_detect() 3255 int val, btn_type, gpio_state = 0, report = 0; in rt5645_jack_detect_work() local 3283 btn_type = 0; in rt5645_jack_detect_work() 3287 btn_type = rt5645_button_detect(rt5645->component); in rt5645_jack_detect_work() 3293 switch (btn_type) { in rt5645_jack_detect_work() 3319 btn_type); in rt5645_jack_detect_work() 3323 if (btn_type == 0)/* button release */ in rt5645_jack_detect_work()
|
D | rt5659.c | 1358 int btn_type, val; in rt5659_button_detect() local 1361 btn_type = val & 0xfff0; in rt5659_button_detect() 1364 return btn_type; in rt5659_button_detect() 1394 int val, btn_type, report = 0; in rt5659_jack_detect_work() local 1408 btn_type = rt5659_button_detect(rt5659->component); in rt5659_jack_detect_work() 1416 switch (btn_type) { in rt5659_jack_detect_work() 1440 btn_type = 0; in rt5659_jack_detect_work() 1443 btn_type); in rt5659_jack_detect_work() 1448 if (btn_type == 0) in rt5659_jack_detect_work()
|
D | rt5665.c | 1127 int btn_type, val; in rt5665_button_detect() local 1130 btn_type = val & 0xfff0; in rt5665_button_detect() 1133 return btn_type; in rt5665_button_detect() 1294 int val, btn_type; in rt5665_jack_detect_handler() local 1323 btn_type = rt5665_button_detect(rt5665->component); in rt5665_jack_detect_handler() 1331 switch (btn_type) { in rt5665_jack_detect_handler() 1355 btn_type = 0; in rt5665_jack_detect_handler() 1358 btn_type); in rt5665_jack_detect_handler()
|