/kernel/linux/linux-5.10/drivers/hid/usbhid/ |
D | hiddev.c | 129 uref->field_index = i; in hiddev_lookup_usage() 149 if (uref->field_index != HID_FIELD_INDEX_NONE || in hiddev_send_event() 177 uref.field_index = field->index; in hiddev_hid_event() 197 uref.field_index = HID_FIELD_INDEX_NONE; in hiddev_report_event() 377 if (list->buffer[list->tail].field_index != HID_FIELD_INDEX_NONE) { in hiddev_read() 389 if (list->buffer[list->tail].field_index != HID_FIELD_INDEX_NONE || in hiddev_read() 457 if (uref->field_index >= report->maxfield) in hiddev_ioctl_usage() 459 uref->field_index = array_index_nospec(uref->field_index, in hiddev_ioctl_usage() 462 field = report->field[uref->field_index]; in hiddev_ioctl_usage() 491 if (uref->field_index >= report->maxfield) in hiddev_ioctl_usage() [all …]
|
/kernel/linux/linux-5.10/drivers/hid/ |
D | hid-sensor-hub.c | 192 u32 field_index, int buffer_size, void *buffer) in sensor_hub_set_feature() argument 204 if (!report || (field_index >= report->maxfield)) { in sensor_hub_set_feature() 213 ret = hid_set_field(report->field[field_index], i, in sensor_hub_set_feature() 224 ret = hid_set_field(report->field[field_index], i, in sensor_hub_set_feature() 240 u32 field_index, int buffer_size, void *buffer) in sensor_hub_get_feature() argument 254 if (!report || (field_index >= report->maxfield) || in sensor_hub_get_feature() 255 report->field[field_index]->report_count < 1) { in sensor_hub_get_feature() 263 report_size = DIV_ROUND_UP(report->field[field_index]->report_size, in sensor_hub_get_feature() 265 report->field[field_index]->report_count; in sensor_hub_get_feature() 272 val_ptr = (u8 *)report->field[field_index]->value; in sensor_hub_get_feature() [all …]
|
D | hid-sensor-custom.c | 278 int index, usage, field_index; in show_value() local 287 field_index = index + sensor_inst->input_field_count; in show_value() 291 field_index = index; in show_value() 299 attribute = &sensor_inst->fields[field_index].attribute; in show_value() 352 value = sensor_inst->fields[field_index].attribute.units; in show_value() 354 value = sensor_inst->fields[field_index].attribute.unit_expo; in show_value() 356 value = sensor_inst->fields[field_index].attribute.size; in show_value() 358 value = sensor_inst->fields[field_index].attribute. in show_value() 361 value = sensor_inst->fields[field_index].attribute. in show_value() 385 int index, field_index, usage; in store_value() local [all …]
|
D | hid-core.c | 966 unsigned int field_index, in hid_validate_values() argument 1001 if (report->maxfield <= field_index) { in hid_validate_values() 1006 if (report->field[field_index]->report_count < report_counts) { in hid_validate_values() 1008 hid_report_names[type], id, field_index); in hid_validate_values()
|
D | wacom_wac.c | 2796 int field_index) in wacom_report_events() argument 2800 for (r = field_index; r < report->maxfield; r++) { in wacom_report_events() 2822 int field_index) in wacom_wac_collection() argument 2826 wacom_report_events(hdev, report, collection_index, field_index); in wacom_wac_collection()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | firmware.c | 1942 int field_index, u32 *data) in get_integrated_platform_config_field() argument 1950 if (field_index == SYSTEM_TABLE_QSFP_POWER_CLASS_MAX) in get_integrated_platform_config_field() 1952 else if (field_index == SYSTEM_TABLE_QSFP_ATTENUATION_DEFAULT_25G) in get_integrated_platform_config_field() 1956 if (field_index == PORT_TABLE_PORT_TYPE) in get_integrated_platform_config_field() 1958 else if (field_index == PORT_TABLE_LOCAL_ATTEN_25G) in get_integrated_platform_config_field() 1960 else if (field_index == PORT_TABLE_REMOTE_ATTEN_25G) in get_integrated_platform_config_field() 1964 if (field_index == RX_PRESET_TABLE_QSFP_RX_CDR_APPLY) in get_integrated_platform_config_field() 1967 else if (field_index == RX_PRESET_TABLE_QSFP_RX_EMP_APPLY) in get_integrated_platform_config_field() 1970 else if (field_index == RX_PRESET_TABLE_QSFP_RX_AMP_APPLY) in get_integrated_platform_config_field() 1973 else if (field_index == RX_PRESET_TABLE_QSFP_RX_CDR) in get_integrated_platform_config_field() [all …]
|
D | hfi.h | 2220 table_type, int table_index, int field_index,
|
/kernel/linux/linux-5.10/include/linux/ |
D | hid-sensor-hub.h | 197 u32 field_index, int buffer_size, void *buffer); 212 u32 field_index, int buffer_size, void *buffer); 261 u32 report_id, int field_index, u32 usage_id);
|
D | hid.h | 906 unsigned int field_index,
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | hiddev.h | 65 __u32 field_index; member 90 __u32 field_index; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | hiddev.h | 52 __u32 field_index; member 77 __u32 field_index; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | hiddev.h | 94 __u32 field_index; member 124 __u32 field_index; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | sumo_dpm.c | 477 u32 field_index = index % 4; in sumo_set_divider_value() local 479 if (field_index == 0) in sumo_set_divider_value() 482 else if (field_index == 1) in sumo_set_divider_value() 485 else if (field_index == 2) in sumo_set_divider_value() 488 else if (field_index == 3) in sumo_set_divider_value() 583 u32 field_index = index % 4; in sumo_power_level_enable() local 585 if (field_index == 0) in sumo_power_level_enable() 588 else if (field_index == 1) in sumo_power_level_enable() 591 else if (field_index == 2) in sumo_power_level_enable() 594 else if (field_index == 3) in sumo_power_level_enable()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_cls.c | 396 int field_index) in mvpp2_cls_flow_hek_get() argument 398 return (fe->data[2] >> MVPP2_CLS_FLOW_TBL2_FLD_OFFS(field_index)) & in mvpp2_cls_flow_hek_get() 403 int field_index, int field_id) in mvpp2_cls_flow_hek_set() argument 405 fe->data[2] &= ~MVPP2_CLS_FLOW_TBL2_FLD(field_index, in mvpp2_cls_flow_hek_set() 407 fe->data[2] |= MVPP2_CLS_FLOW_TBL2_FLD(field_index, field_id); in mvpp2_cls_flow_hek_set()
|
/kernel/linux/linux-5.10/Documentation/hid/ |
D | hid-sensor.rst | 124 u32 field_index, s32 value); 133 u32 field_index, s32 *value);
|
D | hiddev.rst | 195 report_type in this structure, as above. The field_index should also 250 with field_index set to FIELD_INDEX_NONE. This serves as
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
D | stv0900_core.c | 883 field_index; in stv0900_activate_s2_modcod() local 895 field_index = mod_code % 2; in stv0900_activate_s2_modcod() 915 if (field_index == 0) in stv0900_activate_s2_modcod()
|