Lines Matching full:keycodes
78 u32 keycodes[MAX_BUTTONS]; member
102 input_report_key(msg2638->input_dev, msg2638->keycodes[i], in msg2138_report_keys()
325 input_dev->keycode = msg2638->keycodes; in msg2638_init_input_dev()
327 input_dev->keycodesize = sizeof(msg2638->keycodes[0]); in msg2638_init_input_dev()
330 EV_KEY, msg2638->keycodes[i]); in msg2638_init_input_dev()
402 "linux,keycodes"); in msg2638_ts_probe()
406 dev_err(dev, "Unable to parse linux,keycodes property: %d\n", in msg2638_ts_probe()
409 } else if (msg2638->num_keycodes > ARRAY_SIZE(msg2638->keycodes)) { in msg2638_ts_probe()
410 dev_warn(dev, "Found %d linux,keycodes but max is %zd, ignoring the rest\n", in msg2638_ts_probe()
411 msg2638->num_keycodes, ARRAY_SIZE(msg2638->keycodes)); in msg2638_ts_probe()
412 msg2638->num_keycodes = ARRAY_SIZE(msg2638->keycodes); in msg2638_ts_probe()
416 error = device_property_read_u32_array(dev, "linux,keycodes", in msg2638_ts_probe()
417 msg2638->keycodes, in msg2638_ts_probe()
420 dev_err(dev, "Unable to read linux,keycodes values: %d\n", in msg2638_ts_probe()