Lines Matching full:keypad
87 struct max7359_keypad *keypad = dev_id; in max7359_interrupt() local
88 struct input_dev *input_dev = keypad->input_dev; in max7359_interrupt()
91 val = max7359_read_reg(keypad->client, MAX7359_REG_KEYFIFO); in max7359_interrupt()
98 dev_dbg(&keypad->client->dev, in max7359_interrupt()
102 input_report_key(input_dev, keypad->keycodes[code], !release); in max7359_interrupt()
129 struct max7359_keypad *keypad = input_get_drvdata(dev); in max7359_open() local
131 max7359_take_catnap(keypad->client); in max7359_open()
138 struct max7359_keypad *keypad = input_get_drvdata(dev); in max7359_close() local
140 max7359_fall_deepsleep(keypad->client); in max7359_close()
163 struct max7359_keypad *keypad; in max7359_probe() local
182 keypad = devm_kzalloc(&client->dev, sizeof(struct max7359_keypad), in max7359_probe()
184 if (!keypad) { in max7359_probe()
195 keypad->client = client; in max7359_probe()
196 keypad->input_dev = input_dev; in max7359_probe()
205 input_dev->keycodesize = sizeof(keypad->keycodes[0]); in max7359_probe()
206 input_dev->keycodemax = ARRAY_SIZE(keypad->keycodes); in max7359_probe()
207 input_dev->keycode = keypad->keycodes; in max7359_probe()
210 input_set_drvdata(input_dev, keypad); in max7359_probe()
215 keypad->keycodes, in max7359_probe()
225 client->name, keypad); in max7359_probe()