/linux-6.6.21/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 …]
|
/linux-6.6.21/drivers/hid/ |
D | hid-sensor-hub.c | 191 u32 field_index, int buffer_size, void *buffer) in sensor_hub_set_feature() argument 203 if (!report || (field_index >= report->maxfield)) { in sensor_hub_set_feature() 212 ret = hid_set_field(report->field[field_index], i, in sensor_hub_set_feature() 223 ret = hid_set_field(report->field[field_index], i, in sensor_hub_set_feature() 239 u32 field_index, int buffer_size, void *buffer) in sensor_hub_get_feature() argument 253 if (!report || (field_index >= report->maxfield) || in sensor_hub_get_feature() 254 report->field[field_index]->report_count < 1) { in sensor_hub_get_feature() 262 report_size = DIV_ROUND_UP(report->field[field_index]->report_size, in sensor_hub_get_feature() 264 report->field[field_index]->report_count; in sensor_hub_get_feature() 271 val_ptr = (u8 *)report->field[field_index]->value; in sensor_hub_get_feature() [all …]
|
D | hid-sensor-custom.c | 282 int index, usage, field_index; in show_value() local 291 field_index = index + sensor_inst->input_field_count; in show_value() 295 field_index = index; in show_value() 303 attribute = &sensor_inst->fields[field_index].attribute; in show_value() 356 value = sensor_inst->fields[field_index].attribute.units; in show_value() 358 value = sensor_inst->fields[field_index].attribute.unit_expo; in show_value() 360 value = sensor_inst->fields[field_index].attribute.size; in show_value() 362 value = sensor_inst->fields[field_index].attribute. in show_value() 365 value = sensor_inst->fields[field_index].attribute. in show_value() 389 int index, field_index, usage; in store_value() local [all …]
|
D | hid-core.c | 978 unsigned int field_index, in hid_validate_values() argument 1013 if (report->maxfield <= field_index) { in hid_validate_values() 1018 if (report->field[field_index]->report_count < report_counts) { in hid_validate_values() 1020 hid_report_names[type], id, field_index); in hid_validate_values()
|
D | wacom_wac.c | 2903 int field_index) in wacom_report_events() argument 2907 for (r = field_index; r < report->maxfield; r++) { in wacom_report_events() 2929 int field_index) in wacom_wac_collection() argument 2933 wacom_report_events(hdev, report, collection_index, field_index); in wacom_wac_collection()
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | firmware.c | 1899 int field_index, u32 *data) in get_integrated_platform_config_field() argument 1907 if (field_index == SYSTEM_TABLE_QSFP_POWER_CLASS_MAX) in get_integrated_platform_config_field() 1909 else if (field_index == SYSTEM_TABLE_QSFP_ATTENUATION_DEFAULT_25G) in get_integrated_platform_config_field() 1913 if (field_index == PORT_TABLE_PORT_TYPE) in get_integrated_platform_config_field() 1915 else if (field_index == PORT_TABLE_LOCAL_ATTEN_25G) in get_integrated_platform_config_field() 1917 else if (field_index == PORT_TABLE_REMOTE_ATTEN_25G) in get_integrated_platform_config_field() 1921 if (field_index == RX_PRESET_TABLE_QSFP_RX_CDR_APPLY) in get_integrated_platform_config_field() 1924 else if (field_index == RX_PRESET_TABLE_QSFP_RX_EMP_APPLY) in get_integrated_platform_config_field() 1927 else if (field_index == RX_PRESET_TABLE_QSFP_RX_AMP_APPLY) in get_integrated_platform_config_field() 1930 else if (field_index == RX_PRESET_TABLE_QSFP_RX_CDR) in get_integrated_platform_config_field() [all …]
|
D | hfi.h | 2167 table_type, int table_index, int field_index,
|
/linux-6.6.21/include/linux/ |
D | hid-sensor-hub.h | 197 u32 field_index, int buffer_size, void *buffer); 213 u32 field_index, int buffer_size, void *buffer); 269 u32 report_id, int field_index, u32 usage_id);
|
D | hid.h | 959 unsigned int field_index,
|
/linux-6.6.21/include/uapi/linux/ |
D | hiddev.h | 94 __u32 field_index; member 124 __u32 field_index; member
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_cls.c | 402 int field_index) in mvpp2_cls_flow_hek_get() argument 404 return (fe->data[2] >> MVPP2_CLS_FLOW_TBL2_FLD_OFFS(field_index)) & in mvpp2_cls_flow_hek_get() 409 int field_index, int field_id) in mvpp2_cls_flow_hek_set() argument 411 fe->data[2] &= ~MVPP2_CLS_FLOW_TBL2_FLD(field_index, in mvpp2_cls_flow_hek_set() 413 fe->data[2] |= MVPP2_CLS_FLOW_TBL2_FLD(field_index, field_id); in mvpp2_cls_flow_hek_set()
|
/linux-6.6.21/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
|
/linux-6.6.21/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()
|