Lines Matching full:keycodes
26 u32 *keycodes; member
55 touchkey->keycodes[key], new_state); in cypress_sf_irq_handler()
96 "linux,keycodes", in cypress_sf_probe()
103 touchkey->keycodes = devm_kcalloc(&client->dev, in cypress_sf_probe()
105 sizeof(*touchkey->keycodes), in cypress_sf_probe()
107 if (!touchkey->keycodes) in cypress_sf_probe()
110 error = device_property_read_u32_array(&client->dev, "linux,keycodes", in cypress_sf_probe()
111 touchkey->keycodes, in cypress_sf_probe()
116 "Failed to read keycodes: %d, using defaults\n", in cypress_sf_probe()
119 /* Default keycodes */ in cypress_sf_probe()
120 touchkey->keycodes[0] = KEY_BACK; in cypress_sf_probe()
121 touchkey->keycodes[1] = KEY_MENU; in cypress_sf_probe()
149 EV_KEY, touchkey->keycodes[key]); in cypress_sf_probe()