/linux-master/drivers/hid/amd-sfh-hid/ |
H A D | amd_sfh_hid.h | 21 u8 report_id; member in struct:request_list 49 u8 report_id[MAX_HID_DEVICES]; member in struct:amdtp_cl_data 76 void hid_amdtp_set_feature(struct hid_device *hid, char *buf, u32 len, int report_id); 77 void hid_amdtp_get_report(struct hid_device *hid, int report_id, int report_type); 80 int amd_sfh_get_report(struct hid_device *hid, int report_id, int report_type); 81 void amd_sfh_set_report(struct hid_device *hid, int report_id, int report_type);
|
H A D | amd_sfh_client.c | 21 void amd_sfh_set_report(struct hid_device *hid, int report_id, argument 37 int amd_sfh_get_report(struct hid_device *hid, int report_id, int report_type) argument 55 new->report_id = report_id; 56 cli_data->report_id[i] = report_id; 75 u8 report_id, node_type; local 82 report_id = req_node->report_id; 89 report_size = mp2_ops->get_feat_rep(sensor_index, report_id, [all...] |
H A D | amd_sfh_common.h | 77 u8 (*get_feat_rep)(int sensor_idx, int report_id, u8 *feature_report); 78 u8 (*get_in_rep)(u8 current_index, int sensor_idx, int report_id,
|
/linux-master/drivers/hid/amd-sfh-hid/hid_descriptor/ |
H A D | amd_sfh_hid_desc.c | 128 static void get_common_features(struct common_feature_property *common, int report_id) argument 130 common->report_id = report_id; 138 static u8 get_feature_report(int sensor_idx, int report_id, u8 *feature_report) argument 152 get_common_features(&acc_feature.common_property, report_id); 160 get_common_features(&gyro_feature.common_property, report_id); 168 get_common_features(&magno_feature.common_property, report_id); 180 get_common_features(&als_feature.common_property, report_id); 188 get_common_features(&hpd_feature.common_property, report_id); 199 static void get_common_inputs(struct common_input_property *common, int report_id) argument 206 get_input_report(u8 current_index, int sensor_idx, int report_id, struct amd_input_data *in_data) argument [all...] |
H A D | amd_sfh_hid_desc.h | 22 u8 report_id; member in struct:common_feature_property 32 u8 report_id; member in struct:common_input_property
|
/linux-master/drivers/hid/amd-sfh-hid/sfh1_1/ |
H A D | amd_sfh_desc.c | 61 static void get_common_features(struct common_feature_property *common, int report_id) argument 63 common->report_id = report_id; 71 static u8 get_feature_rep(int sensor_idx, int report_id, u8 *feature_report) argument 85 get_common_features(&acc_feature.common_property, report_id); 93 get_common_features(&gyro_feature.common_property, report_id); 101 get_common_features(&magno_feature.common_property, report_id); 112 get_common_features(&als_feature.common_property, report_id); 120 get_common_features(&hpd_feature.common_property, report_id); 128 static void get_common_inputs(struct common_input_property *common, int report_id) argument 176 get_input_rep(u8 current_index, int sensor_idx, int report_id, struct amd_input_data *in_data) argument [all...] |
/linux-master/drivers/input/touchscreen/ |
H A D | sis_i2c.c | 112 u8 report_id; local 129 report_id = buf[SIS_PKT_REPORT_OFFSET]; 133 if (report_id != SIS_ALL_IN_ONE_PACKAGE) { 134 if (SIS_PKT_IS_TOUCH(report_id)) { 152 } else if (!SIS_PKT_IS_HIDI2C(report_id)) { 155 __func__, report_id); 159 if (SIS_PKT_HAS_SCANTIME(report_id)) 162 if (SIS_PKT_HAS_AREA(report_id)) 164 if (SIS_PKT_HAS_PRESSURE(report_id)) 231 u8 report_id; local [all...] |
/linux-master/drivers/hid/ |
H A D | hid-roccat-common.c | 16 static inline uint16_t roccat_common2_feature_report(uint8_t report_id) argument 18 return 0x300 | report_id; 21 int roccat_common2_receive(struct usb_device *usb_dev, uint report_id, argument 34 roccat_common2_feature_report(report_id), 43 int roccat_common2_send(struct usb_device *usb_dev, uint report_id, argument 56 roccat_common2_feature_report(report_id),
|
H A D | hid-roccat-common.h | 25 int roccat_common2_receive(struct usb_device *usb_dev, uint report_id, 27 int roccat_common2_send(struct usb_device *usb_dev, uint report_id,
|
/linux-master/drivers/hid/intel-ish-hid/ |
H A D | ishtp-hid.h | 38 uint8_t report_id; member in struct:hostif_msg_to_sensor 169 int report_id); 170 void hid_ishtp_get_report(struct hid_device *hid, int report_id,
|
/linux-master/drivers/iio/common/hid-sensors/ |
H A D | hid-sensor-attributes.c | 160 st->poll.report_id, 181 st->poll.report_id, 219 ret = sensor_hub_set_feature(st->hsdev, st->poll.report_id, 225 st->poll.report_id, 243 st->sensitivity.report_id, 266 st->sensitivity_rel.report_id, 294 ret = sensor_hub_set_feature(st->hsdev, st->sensitivity.report_id, 301 st->sensitivity.report_id, 325 ret = sensor_hub_set_feature(st->hsdev, st->sensitivity_rel.report_id, 332 st->sensitivity_rel.report_id, [all...] |
H A D | hid-sensor-trigger.c | 97 st->power_state.report_id, 101 st->report_state.report_id, 115 st->power_state.report_id, 119 st->report_state.report_id, 126 sensor_hub_set_feature(st->hsdev, st->power_state.report_id, 133 sensor_hub_set_feature(st->hsdev, st->report_state.report_id, 142 sensor_hub_get_feature(st->hsdev, st->power_state.report_id, 187 sensor_hub_set_feature(attrb->hsdev, attrb->poll.report_id, 194 attrb->sensitivity.report_id,
|
/linux-master/include/linux/ |
H A D | hid-sensor-hub.h | 18 * @report_id: Report id in which this information resides. 29 s32 report_id; member in struct:hid_sensor_hub_attribute_info 165 * @report_id: Report id to look for 180 u32 attr_usage_id, u32 report_id, 188 * @report_id: Report id to look for 196 int sensor_hub_set_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, 202 * @report_id: Report id to look for 212 int sensor_hub_get_feature(struct hid_sensor_hub_device *hsdev, u32 report_id, 269 u32 report_id, int field_index, u32 usage_id);
|
/linux-master/drivers/iio/light/ |
H A D | hid-sensor-als.c | 139 int report_id = -1; local 151 report_id = als_state->als[chan->scan_index].report_id; 156 report_id = als_state->als[chan->scan_index].report_id; 161 report_id = als_state->als[chan->scan_index].report_id; 166 report_id = als_state->als[chan->scan_index].report_id; 171 report_id [all...] |
H A D | hid-sensor-prox.c | 65 int report_id = -1; local 76 report_id = prox_state->prox_attr.report_id; 82 report_id = -1; 85 if (report_id >= 0) { 89 hsdev, hsdev->usage, address, report_id, 228 st->prox_attr.report_id);
|
/linux-master/drivers/rtc/ |
H A D | rtc-hid-sensor-time.c | 139 int report_id, i; local 148 report_id = time_state->info[0].report_id; 149 if (report_id < 0) { 154 if (time_state->info[i].report_id != report_id) { 202 time_state->info[0].report_id, SENSOR_HUB_SYNC, false);
|
/linux-master/include/uapi/linux/ |
H A D | hiddev.h | 68 __u32 report_id; member in struct:hiddev_report_info 73 * report_id. Set report_id to REPORT_ID_UNKNOWN if the rest of the fields 93 __u32 report_id; member in struct:hiddev_field_info 108 /* Fill in report_type, report_id and field_index to get the information on a 123 __u32 report_id; member in struct:hiddev_usage_ref 189 * rinfo.report_id = HID_REPORT_ID_FIRST; 195 * finfo.report_id = rinfo.report_id; 200 * uref.report_id [all...] |
/linux-master/drivers/iio/orientation/ |
H A D | hid-sensor-incl-3d.c | 106 int report_id = -1; local 116 report_id = incl_state->incl[chan->scan_index].report_id; 119 if (report_id >= 0) 123 report_id, 287 st->incl[0].report_id, 288 st->incl[1].index, st->incl[1].report_id, 289 st->incl[2].index, st->incl[2].report_id);
|
/linux-master/drivers/iio/gyro/ |
H A D | hid-sensor-gyro-3d.c | 103 int report_id = -1; local 113 report_id = gyro_state->gyro[chan->scan_index].report_id; 116 if (report_id >= 0) 120 report_id, 267 st->gyro[0].report_id, 268 st->gyro[1].index, st->gyro[1].report_id, 269 st->gyro[2].index, st->gyro[2].report_id);
|
/linux-master/drivers/staging/greybus/ |
H A D | hid.c | 74 static int gb_hid_get_report(struct gb_hid *ghid, u8 report_type, u8 report_id, argument 85 request.report_id = report_id; 95 static int gb_hid_set_report(struct gb_hid *ghid, u8 report_type, u8 report_id, argument 116 request->report_id = report_id; 244 int report_id = buf[0]; local 250 if (report_id) { 255 ret = gb_hid_set_report(ghid, report_type, report_id, buf, len); 256 if (report_id [all...] |
/linux-master/drivers/iio/pressure/ |
H A D | hid-sensor-press.c | 74 int report_id = -1; local 85 report_id = press_state->press_attr.report_id; 90 report_id = -1; 93 if (report_id >= 0) { 99 report_id, 231 st->press_attr.report_id);
|
/linux-master/drivers/hid/i2c-hid/ |
H A D | i2c-hid-core.c | 211 int report_type, int report_id) 215 if (report_id < 0x0F) { 216 buf[length++] = report_type << 4 | report_id; 221 buf[length++] = report_id; 228 u8 report_type, u8 report_id, 243 report_type, report_id); 275 if (report_id && recv_len != 0 && recv_buf[0] != report_id) { 278 recv_buf[0], report_id); 285 static size_t i2c_hid_format_report(u8 *buf, int report_id, argument 210 i2c_hid_encode_command(u8 *buf, u8 opcode, int report_type, int report_id) argument 227 i2c_hid_get_report(struct i2c_hid *ihid, u8 report_type, u8 report_id, u8 *recv_buf, size_t recv_len) argument 311 i2c_hid_set_or_send_report(struct i2c_hid *ihid, u8 report_type, u8 report_id, const u8 *buf, size_t data_len, bool do_set) argument 622 i2c_hid_get_raw_report(struct hid_device *hid, u8 report_type, u8 report_id, u8 *buf, size_t count) argument 659 int report_id = buf[0]; local [all...] |
/linux-master/drivers/iio/magnetometer/ |
H A D | hid-sensor-magn-3d.c | 153 int report_id = -1; local 163 report_id = magn_state->magn[chan->address].report_id; 166 if (report_id >= 0) 170 report_id, 385 st->magn[0].report_id, 386 st->magn[1].index, st->magn[1].report_id, 387 st->magn[2].index, st->magn[2].report_id); 460 st->rot_attributes.sensitivity.report_id);
|
/linux-master/drivers/iio/accel/ |
H A D | hid-sensor-accel-3d.c | 140 int report_id = -1; local 152 report_id = accel_state->accel[chan->scan_index].report_id; 155 if (report_id >= 0) 158 hsdev->usage, address, report_id, 316 st->accel[0].report_id, 317 st->accel[1].index, st->accel[1].report_id, 318 st->accel[2].index, st->accel[2].report_id);
|
/linux-master/drivers/hid/usbhid/ |
H A D | hiddev.c | 58 unsigned int flags = rinfo->report_id & ~HID_REPORT_ID_MASK; 59 unsigned int rid = rinfo->report_id & HID_REPORT_ID_MASK; 72 case 0: /* Nothing to do -- report_id is already set correctly */ 81 rinfo->report_id = report->id; 94 rinfo->report_id = report->id; 101 return report_enum->report_id_hash[rinfo->report_id]; 128 uref->report_id = report->id; 176 uref.report_id = field->report->id; 196 uref.report_id = report->id; 453 rinfo.report_id [all...] |