Lines Matching refs:variant
52 const struct touchkey_variant *variant; member
88 data = touchkey->variant->cmd_led_off; in tm2_touchkey_led_brightness_set()
91 data = touchkey->variant->cmd_led_on; in tm2_touchkey_led_brightness_set()
94 if (!touchkey->variant->fixed_regulator) in tm2_touchkey_led_brightness_set()
97 return touchkey->variant->no_reg ? in tm2_touchkey_led_brightness_set()
100 touchkey->variant->base_reg, data); in tm2_touchkey_led_brightness_set()
133 if (touchkey->variant->no_reg) in tm2_touchkey_irq_handler()
137 touchkey->variant->keycode_reg); in tm2_touchkey_irq_handler()
163 if (touchkey->variant->fixed_regulator && in tm2_touchkey_irq_handler()
195 touchkey->variant = of_device_get_match_data(&client->dev); in tm2_touchkey_probe()
279 if (touchkey->variant->fixed_regulator) in tm2_touchkey_probe()