Lines Matching full:variant
52 const struct touchkey_variant *variant; member
96 data = touchkey->variant->cmd_led_off; in tm2_touchkey_led_brightness_set()
99 data = touchkey->variant->cmd_led_on; in tm2_touchkey_led_brightness_set()
102 if (!touchkey->variant->fixed_regulator) in tm2_touchkey_led_brightness_set()
105 return touchkey->variant->no_reg ? in tm2_touchkey_led_brightness_set()
108 touchkey->variant->base_reg, data); in tm2_touchkey_led_brightness_set()
141 if (touchkey->variant->no_reg) in tm2_touchkey_irq_handler()
145 touchkey->variant->keycode_reg); in tm2_touchkey_irq_handler()
171 if (touchkey->variant->fixed_regulator && in tm2_touchkey_irq_handler()
203 touchkey->variant = of_device_get_match_data(&client->dev); in tm2_touchkey_probe()
288 if (touchkey->variant->fixed_regulator) in tm2_touchkey_probe()