Home
last modified time | relevance | path

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

/drivers/hid/intel-ish-hid/
Dishtp-hid.c23 struct ishtp_hid_data *hid_data = hid->driver_data; in ishtp_hid_parse() local
24 struct ishtp_cl_data *client_data = hid_data->client_data; in ishtp_hid_parse()
27 rv = hid_parse_report(hid, client_data->report_descr[hid_data->index], in ishtp_hid_parse()
28 client_data->report_descr_size[hid_data->index]); in ishtp_hid_parse()
58 struct ishtp_hid_data *hid_data = hid->driver_data; in ishtp_raw_request() local
66 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()
107 struct ishtp_hid_data *hid_data = hid->driver_data; in ishtp_hid_request() local
[all …]
Dishtp-hid-client.c72 struct ishtp_hid_data *hid_data = NULL; in process_recv() local
222 hid_data = hid->driver_data; in process_recv()
223 if (hid_data->raw_get_req) { in process_recv()
225 (hid_data->raw_buf_size < in process_recv()
227 hid_data->raw_buf_size : in process_recv()
230 memcpy(hid_data->raw_buf, in process_recv()
364 struct ishtp_hid_data *hid_data = hid->driver_data; in hid_ishtp_set_feature() local
365 struct ishtp_cl_data *client_data = hid_data->client_data; in hid_ishtp_set_feature()
410 struct ishtp_hid_data *hid_data = hid->driver_data; in hid_ishtp_get_report() local
411 struct ishtp_cl_data *client_data = hid_data->client_data; in hid_ishtp_get_report()
/drivers/hid/
Dwacom_wac.c1907 wacom_wac->hid_data.bat_status = POWER_SUPPLY_STATUS_UNKNOWN; in wacom_wac_battery_event()
1911 wacom_wac->hid_data.battery_capacity = value; in wacom_wac_battery_event()
1912 wacom_wac->hid_data.bat_connected = 1; in wacom_wac_battery_event()
1913 wacom_wac->hid_data.bat_status = WACOM_POWER_SUPPLY_STATUS_AUTO; in wacom_wac_battery_event()
1918 wacom_wac->hid_data.battery_capacity = value; in wacom_wac_battery_event()
1919 wacom_wac->hid_data.bat_connected = 1; in wacom_wac_battery_event()
1920 wacom_wac->hid_data.bat_status = WACOM_POWER_SUPPLY_STATUS_AUTO; in wacom_wac_battery_event()
1923 wacom_wac->hid_data.bat_charging = value; in wacom_wac_battery_event()
1924 wacom_wac->hid_data.ps_connected = value; in wacom_wac_battery_event()
1925 wacom_wac->hid_data.bat_connected = 1; in wacom_wac_battery_event()
[all …]
Dwacom_wac.h294 struct hid_data { struct
352 struct hid_data hid_data; member
Dwacom_sys.c299 struct hid_data *hid_data = &wacom->wacom_wac.hid_data; in wacom_feature_mapping() local
342 hid_data->inputmode = field->report->id; in wacom_feature_mapping()
343 hid_data->inputmode_index = usage->usage_index; in wacom_feature_mapping()
550 struct hid_data *hid_data = &wacom->wacom_wac.hid_data; in wacom_hid_set_device_mode() local
554 if (hid_data->inputmode < 0) in wacom_hid_set_device_mode()
558 r = re->report_id_hash[hid_data->inputmode]; in wacom_hid_set_device_mode()
560 r->field[0]->value[hid_data->inputmode_index] = 2; in wacom_hid_set_device_mode()
2729 wacom_wac->hid_data.inputmode = -1; in wacom_probe()