Lines Matching refs:kp_idev
1185 struct input_dev *kp_idev; member
2098 struct input_dev *kp_idev = iqs7211->kp_idev; in iqs7211_register_kp() local
2109 kp_idev = devm_input_allocate_device(&client->dev); in iqs7211_register_kp()
2110 if (!kp_idev) in iqs7211_register_kp()
2113 iqs7211->kp_idev = kp_idev; in iqs7211_register_kp()
2115 kp_idev->name = dev_desc->kp_name; in iqs7211_register_kp()
2116 kp_idev->id.bustype = BUS_I2C; in iqs7211_register_kp()
2120 input_set_capability(iqs7211->kp_idev, EV_KEY, in iqs7211_register_kp()
2123 error = input_register_device(kp_idev); in iqs7211_register_kp()
2126 kp_idev->name, error); in iqs7211_register_kp()
2271 if (!iqs7211->kp_idev) in iqs7211_report()
2283 input_report_key(iqs7211->kp_idev, *iqs7211->kp_code, 1); in iqs7211_report()
2284 input_sync(iqs7211->kp_idev); in iqs7211_report()
2286 input_report_key(iqs7211->kp_idev, *iqs7211->kp_code, 0); in iqs7211_report()
2293 input_report_key(iqs7211->kp_idev, iqs7211->kp_code[i], in iqs7211_report()
2307 input_report_key(iqs7211->kp_idev, iqs7211->kp_code[i], in iqs7211_report()
2325 input_sync(iqs7211->kp_idev); in iqs7211_report()
2330 input_report_key(iqs7211->kp_idev, in iqs7211_report()
2334 input_sync(iqs7211->kp_idev); in iqs7211_report()