Home
last modified time | relevance | path

Searched refs:num_btn (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/input/misc/
Datmel_captouch.c71 u32 num_btn; member
148 for (i = 0; i < capdev->num_btn; i++) { in atmel_captouch_isr()
215 capdev->num_btn = of_property_count_u32_elems(node, "linux,keymap"); in atmel_captouch_probe()
216 if (capdev->num_btn > MAX_NUM_OF_BUTTONS) in atmel_captouch_probe()
217 capdev->num_btn = MAX_NUM_OF_BUTTONS; in atmel_captouch_probe()
221 capdev->num_btn); in atmel_captouch_probe()
228 for (i = 0; i < capdev->num_btn; i++) in atmel_captouch_probe()
233 capdev->input->keycodemax = capdev->num_btn; in atmel_captouch_probe()
/linux-5.19.10/sound/soc/codecs/
Dwcd-mbhc-v2.h194 int num_btn; member
245 int num_btn, bool is_micbias);
Dwcd938x.c2955 int num_btn, bool is_micbias) in wcd938x_mbhc_program_btn_thr() argument
2959 if (num_btn > WCD_MBHC_DEF_BUTTONS) { in wcd938x_mbhc_program_btn_thr()
2961 __func__, num_btn); in wcd938x_mbhc_program_btn_thr()
2965 for (i = 0; i < num_btn; i++) { in wcd938x_mbhc_program_btn_thr()
4276 cfg->num_btn = WCD938X_MBHC_MAX_BUTTONS; in wcd938x_populate_dt_data()
Dwcd934x.c2374 int num_btn, bool is_micbias) in wcd934x_mbhc_program_btn_thr() argument
2378 if (num_btn > WCD_MBHC_DEF_BUTTONS) { in wcd934x_mbhc_program_btn_thr()
2380 __func__, num_btn); in wcd934x_mbhc_program_btn_thr()
2384 for (i = 0; i < num_btn; i++) { in wcd934x_mbhc_program_btn_thr()
5886 cfg->num_btn = WCD934X_MBHC_MAX_BUTTONS; in wcd934x_codec_parse_data()
Dwcd-mbhc-v2.c112 mbhc->cfg->num_btn, micbias); in wcd_program_btn_threshold()