Home
last modified time | relevance | path

Searched refs:hid_data (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/hid/intel-ish-hid/
A Dishtp-hid.c66 hid_data->request_done = false; in ishtp_raw_request()
69 hid_data->raw_buf = buf; in ishtp_raw_request()
70 hid_data->raw_buf_size = len; in ishtp_raw_request()
71 hid_data->raw_get_req = true; in ishtp_raw_request()
156 if (!hid_data->request_done) in ishtp_wait_for_response()
160 if (!hid_data->request_done) { in ishtp_wait_for_response()
182 hid_data->request_done = true; in ishtp_hid_wakeup()
217 hid_data = kzalloc(sizeof(*hid_data), GFP_KERNEL); in ishtp_hid_probe()
218 if (!hid_data) { in ishtp_hid_probe()
227 hid->driver_data = hid_data; in ishtp_hid_probe()
[all …]
A Dishtp-hid-client.c80 struct ishtp_hid_data *hid_data = NULL; in process_recv() local
230 hid_data = hid->driver_data; in process_recv()
231 if (hid_data->raw_get_req) { in process_recv()
233 (hid_data->raw_buf_size < in process_recv()
235 hid_data->raw_buf_size : in process_recv()
238 memcpy(hid_data->raw_buf, in process_recv()
372 struct ishtp_hid_data *hid_data = hid->driver_data; in hid_ishtp_set_feature() local
373 struct ishtp_cl_data *client_data = hid_data->client_data; in hid_ishtp_set_feature()
418 struct ishtp_hid_data *hid_data = hid->driver_data; in hid_ishtp_get_report() local
419 struct ishtp_cl_data *client_data = hid_data->client_data; in hid_ishtp_get_report()
/linux/drivers/hid/amd-sfh-hid/
A Damd_sfh_hid.c28 struct amdtp_hid_data *hid_data = hid->driver_data; in amdtp_hid_parse() local
29 struct amdtp_cl_data *cli_data = hid_data->cli_data; in amdtp_hid_parse()
107 wake_up_interruptible(&hid_data->hid_wait); in amdtp_hid_wakeup()
124 struct amdtp_hid_data *hid_data; in amdtp_hid_probe() local
131 hid_data = kzalloc(sizeof(*hid_data), GFP_KERNEL); in amdtp_hid_probe()
132 if (!hid_data) { in amdtp_hid_probe()
138 hid_data->index = cur_hid_dev; in amdtp_hid_probe()
139 hid_data->cli_data = cli_data; in amdtp_hid_probe()
140 init_waitqueue_head(&hid_data->hid_wait); in amdtp_hid_probe()
142 hid->driver_data = hid_data; in amdtp_hid_probe()
[all …]
A Damd_sfh_client.c36 struct amdtp_hid_data *hid_data = hid->driver_data; in amd_sfh_set_report() local
37 struct amdtp_cl_data *cli_data = hid_data->cli_data; in amd_sfh_set_report()
51 struct amdtp_hid_data *hid_data = hid->driver_data; in amd_sfh_get_report() local
52 struct amdtp_cl_data *cli_data = hid_data->cli_data; in amd_sfh_get_report()
/linux/drivers/hid/
A Dwacom_wac.c2538 struct hid_data *hid_data = &wacom_wac->hid_data; in wacom_wac_finger_slot() local
2550 if (wacom_wac->hid_data.num_received > wacom_wac->hid_data.num_expected) in wacom_wac_finger_slot()
2578 hid_data->x); in wacom_wac_finger_slot()
2580 hid_data->y); in wacom_wac_finger_slot()
2583 input_report_abs(input, ABS_MT_TOUCH_MAJOR, max(hid_data->width, hid_data->height)); in wacom_wac_finger_slot()
2584 input_report_abs(input, ABS_MT_TOUCH_MINOR, min(hid_data->width, hid_data->height)); in wacom_wac_finger_slot()
2585 if (hid_data->width != hid_data->height) in wacom_wac_finger_slot()
2652 struct hid_data* hid_data = &wacom_wac->hid_data; in wacom_wac_finger_pre_report() local
2660 hid_data->confidence = true; in wacom_wac_finger_pre_report()
2684 hid_data->cc_index = i; in wacom_wac_finger_pre_report()
[all …]
A Dwacom_wac.h294 struct hid_data { struct
355 struct hid_data hid_data; member
A Dwacom_sys.c299 struct hid_data *hid_data = &wacom->wacom_wac.hid_data; in wacom_feature_mapping() local
344 hid_data->inputmode = field->report->id; in wacom_feature_mapping()
345 hid_data->inputmode_index = usage->usage_index; in wacom_feature_mapping()
552 struct hid_data *hid_data = &wacom->wacom_wac.hid_data; in wacom_hid_set_device_mode() local
556 if (hid_data->inputmode < 0) in wacom_hid_set_device_mode()
560 r = re->report_id_hash[hid_data->inputmode]; in wacom_hid_set_device_mode()
562 r->field[0]->value[hid_data->inputmode_index] = 2; in wacom_hid_set_device_mode()
2767 wacom_wac->hid_data.inputmode = -1; in wacom_probe()

Completed in 26 milliseconds