Lines Matching refs:variant
131 const struct stmpe_keypad_variant *variant; member
142 const struct stmpe_keypad_variant *variant = keypad->variant; in stmpe_keypad_read_data() local
147 if (variant->auto_increment) in stmpe_keypad_read_data()
149 variant->num_data, data); in stmpe_keypad_read_data()
151 for (i = 0; i < variant->num_data; i++) { in stmpe_keypad_read_data()
166 const struct stmpe_keypad_variant *variant = keypad->variant; in stmpe_keypad_irq() local
175 for (i = 0; i < variant->num_normal_data; i++) { in stmpe_keypad_irq()
196 const struct stmpe_keypad_variant *variant = keypad->variant; in stmpe_keypad_altfunc_init() local
197 unsigned int col_gpios = variant->col_gpios; in stmpe_keypad_altfunc_init()
198 unsigned int row_gpios = variant->row_gpios; in stmpe_keypad_altfunc_init()
217 for (i = 0; i < variant->max_cols; i++) { in stmpe_keypad_altfunc_init()
228 for (i = 0; i < variant->max_rows; i++) { in stmpe_keypad_altfunc_init()
247 if (variant->set_pullup) { in stmpe_keypad_altfunc_init()
266 const struct stmpe_keypad_variant *variant = keypad->variant; in stmpe_keypad_chip_init() local
292 if (variant->max_rows > 8) { in stmpe_keypad_chip_init()
351 keypad->variant = &stmpe_keypad_variants[stmpe->partnum]; in stmpe_keypad_probe()