Searched refs:btn_type (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/sound/soc/codecs/ |
D | rt5682.c | 854 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()
|
D | rt5668.c | 851 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()
|
D | rt5670.c | 502 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()
|
D | rt5663.c | 1836 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()
|
D | rt5645.c | 3254 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()
|
D | rt5659.c | 1361 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()
|
D | rt5665.c | 1130 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()
|