Searched refs:chan0_map (Results 1 – 1 of 1) sorted by relevance
87 struct sun4i_lradc_keymap *chan0_map; member116 diff = abs(lradc->chan0_map[i].voltage - voltage); in sun4i_lradc_irq()119 keycode = lradc->chan0_map[i].keycode; in sun4i_lradc_irq()187 lradc->chan0_map = devm_kmalloc_array(dev, lradc->chan0_map_count, in sun4i_lradc_load_dt_keymap()190 if (!lradc->chan0_map) in sun4i_lradc_load_dt_keymap()195 struct sun4i_lradc_keymap *map = &lradc->chan0_map[i]; in sun4i_lradc_load_dt_keymap()266 __set_bit(lradc->chan0_map[i].keycode, lradc->input->keybit); in sun4i_lradc_probe()