Lines Matching refs:variant
51 const struct touchkey_variant *variant; member
95 data = touchkey->variant->cmd_led_off; in tm2_touchkey_led_brightness_set()
98 data = touchkey->variant->cmd_led_on; in tm2_touchkey_led_brightness_set()
101 if (!touchkey->variant->fixed_regulator) in tm2_touchkey_led_brightness_set()
104 return touchkey->variant->no_reg ? in tm2_touchkey_led_brightness_set()
107 touchkey->variant->base_reg, data); in tm2_touchkey_led_brightness_set()
140 if (touchkey->variant->no_reg) in tm2_touchkey_irq_handler()
144 touchkey->variant->keycode_reg); in tm2_touchkey_irq_handler()
172 if (touchkey->variant->fixed_regulator && in tm2_touchkey_irq_handler()
203 touchkey->variant = of_device_get_match_data(&client->dev); in tm2_touchkey_probe()
293 if (touchkey->variant->fixed_regulator) in tm2_touchkey_probe()