Searched refs:btn_type (Results 1 – 9 of 9) sorted by relevance
| /Linux-v5.10/sound/soc/codecs/ |
| D | rt700.c | 62 unsigned int btn_type = 0, val80, val81; in rt700_button_detect() local 79 btn_type |= SND_JACK_BTN_0; in rt700_button_detect() 82 btn_type |= SND_JACK_BTN_3; in rt700_button_detect() 89 btn_type |= SND_JACK_BTN_1; in rt700_button_detect() 94 btn_type |= SND_JACK_BTN_2; in rt700_button_detect() 98 btn_type |= SND_JACK_BTN_3; in rt700_button_detect() 102 return btn_type; in rt700_button_detect() 159 int btn_type = 0, ret; in rt700_jack_detect_handler() local 181 btn_type = rt700_button_detect(rt700); in rt700_jack_detect_handler() 184 btn_type = rt700_button_detect(rt700); in rt700_jack_detect_handler() [all …]
|
| D | rt711.c | 138 unsigned int btn_type = 0, val80, val81; in rt711_button_detect() local 157 btn_type |= SND_JACK_BTN_0; in rt711_button_detect() 160 btn_type |= SND_JACK_BTN_3; in rt711_button_detect() 167 btn_type |= SND_JACK_BTN_1; in rt711_button_detect() 172 btn_type |= SND_JACK_BTN_2; in rt711_button_detect() 176 btn_type |= SND_JACK_BTN_3; in rt711_button_detect() 180 return btn_type; in rt711_button_detect() 239 int btn_type = 0, ret; in rt711_jack_detect_handler() local 261 btn_type = rt711_button_detect(rt711); in rt711_jack_detect_handler() 264 btn_type = rt711_button_detect(rt711); in rt711_jack_detect_handler() [all …]
|
| 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 | 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 | rt5682.c | 861 int btn_type, val; in rt5682_button_detect() local 864 btn_type = val & 0xfff0; in rt5682_button_detect() 866 dev_dbg(component->dev, "%s btn_type=%x\n", __func__, btn_type); in rt5682_button_detect() 870 return btn_type; in rt5682_button_detect() 1073 int val, btn_type; in rt5682_jack_detect_handler() local 1095 btn_type = rt5682_button_detect(rt5682->component); in rt5682_jack_detect_handler() 1103 switch (btn_type) { in rt5682_jack_detect_handler() 1129 btn_type); in rt5682_jack_detect_handler()
|
| 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 3286 btn_type = 0; in rt5645_jack_detect_work() 3290 btn_type = rt5645_button_detect(rt5645->component); in rt5645_jack_detect_work() 3296 switch (btn_type) { in rt5645_jack_detect_work() 3322 btn_type); in rt5645_jack_detect_work() 3326 if (btn_type == 0)/* button release */ in rt5645_jack_detect_work()
|
| D | rt5659.c | 1321 int btn_type, val; in rt5659_button_detect() local 1324 btn_type = val & 0xfff0; in rt5659_button_detect() 1327 return btn_type; in rt5659_button_detect() 1357 int val, btn_type, report = 0; in rt5659_jack_detect_work() local 1371 btn_type = rt5659_button_detect(rt5659->component); in rt5659_jack_detect_work() 1379 switch (btn_type) { in rt5659_jack_detect_work() 1403 btn_type = 0; in rt5659_jack_detect_work() 1406 btn_type); in rt5659_jack_detect_work() 1411 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()
|