Searched refs:num_btn (Results 1 – 5 of 5) sorted by relevance
71 u32 num_btn; member148 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()
194 int num_btn; member245 int num_btn, bool is_micbias);
2955 int num_btn, bool is_micbias) in wcd938x_mbhc_program_btn_thr() argument2959 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()
2374 int num_btn, bool is_micbias) in wcd934x_mbhc_program_btn_thr() argument2378 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()
112 mbhc->cfg->num_btn, micbias); in wcd_program_btn_threshold()