Searched refs:field (Results 301 - 325 of 1183) sorted by path

<<11121314151617181920>>

/linux-master/drivers/hid/
H A Dhid-samsung.c43 * Report #4 has an array field with logical range 0..18 instead of 1..15.
46 * Report #4 has an array field with logical range 0..17 instead of 1..14.
49 * Report #3 has an array field with logical range 0..1 instead of 1..3.
88 struct hid_input *hi, struct hid_field *field, struct hid_usage *usage,
143 struct hid_input *hi, struct hid_field *field, struct hid_usage *usage,
236 struct hid_input *hi, struct hid_field *field, struct hid_usage *usage,
327 struct hid_input *hi, struct hid_field *field, struct hid_usage *usage,
350 struct hid_input *hi, struct hid_field *field, struct hid_usage *usage,
481 struct hid_field *field, struct hid_usage *usage,
488 hi, field, usag
87 samsung_kbd_mouse_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
142 samsung_kbd_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
235 samsung_gamepad_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
326 samsung_actionmouse_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
349 samsung_universal_kbd_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
480 samsung_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
[all...]
H A Dhid-sensor-custom.c108 {0x200540, "data-field-custom"},
109 {0x200541, "data-field-custom-usage"},
110 {0x200542, "data-field-custom-boolean-array"},
111 {0x200543, "data-field-custom-value"},
112 {0x200544, "data-field-custom-value_1"},
113 {0x200545, "data-field-custom-value_2"},
114 {0x200546, "data-field-custom-value_3"},
115 {0x200547, "data-field-custom-value_4"},
116 {0x200548, "data-field-custom-value_5"},
117 {0x200549, "data-field
474 hid_sensor_custom_add_field(struct hid_sensor_custom *sensor_inst, int index, int report_type, struct hid_report *report, struct hid_field *field) argument
534 struct hid_field *field; local
[all...]
H A Dhid-sensor-hub.c86 s32 index, s32 report_id, struct hid_field *field)
90 info->units = field->unit;
91 info->unit_expo = field->unit_exponent;
92 info->size = (field->report_size * field->report_count)/8;
93 info->logical_minimum = field->logical_minimum;
94 info->logical_maximum = field->logical_maximum;
212 ret = hid_set_field(report->field[field_index], i,
223 ret = hid_set_field(report->field[field_index], i,
254 report->field[field_inde
84 sensor_hub_fill_attr_info( struct hid_sensor_hub_attribute_info *info, s32 index, s32 report_id, struct hid_field *field) argument
356 struct hid_field *field; local
383 struct hid_field *field; local
[all...]
H A Dhid-sony.c588 struct hid_field *field, struct hid_usage *usage,
617 struct hid_field *field, struct hid_usage *usage,
651 struct hid_field *field, struct hid_usage *usage,
699 struct hid_field *field, struct hid_usage *usage,
964 struct hid_field *field, struct hid_usage *usage,
993 return ps3remote_mapping(hdev, hi, field, usage, bit, max);
996 return navigation_mapping(hdev, hi, field, usage, bit, max);
999 return sixaxis_mapping(hdev, hi, field, usage, bit, max);
1002 return guitar_mapping(hdev, hi, field, usage, bit, max);
1233 s32 *value = report->field[
587 guitar_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
616 ps3remote_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
650 navigation_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
698 sixaxis_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
963 sony_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
[all...]
H A Dhid-steelseries.c133 __s32 *value = report->field[0]->value;
H A Dhid-tmff.c145 struct hid_field *field = report->field[fieldnum]; local
147 if (field->maxusage <= 0)
150 switch (field->usage[0].hid) {
152 if (field->report_count < 2) {
153 hid_warn(hid, "ignoring FF field with report_count < 2\n");
157 if (field->logical_maximum ==
158 field->logical_minimum) {
159 hid_warn(hid, "ignoring FF field with logical_maximum == logical_minimum\n");
164 hid_warn(hid, "ignoring FF field i
[all...]
H A Dhid-uclogic-core.c67 struct hid_field *field,
76 if (params->pen.usage_invalid && (field->application == HID_DG_PEN))
89 struct hid_field *field; local
122 field = hi->report->field[0];
124 switch (field->application) {
65 uclogic_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
H A Dhid-vivaldi-common.c25 * @field: HID field to parse
32 struct hid_field *field, struct hid_usage *usage)
35 struct hid_report *report = field->report;
41 if (field->logical != HID_USAGE_FN_ROW_PHYSMAP ||
74 field->report->id);
91 field->report->id);
96 field->value[usage->usage_index];
31 vivaldi_feature_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) argument
H A Dhid-vivaldi-common.h10 struct hid_field *field, struct hid_usage *usage);
H A Dhid-zpff.c45 zpff->report->field[2]->value[0] = left;
46 zpff->report->field[3]->value[0] = right;
87 zpff->report->field[0]->value[0] = 0x00;
88 zpff->report->field[1]->value[0] = 0x02;
89 zpff->report->field[2]->value[0] = 0x00;
90 zpff->report->field[3]->value[0] = 0x00;
H A Dwacom.h232 struct hid_field *field, struct hid_usage *usage);
233 void wacom_wac_event(struct hid_device *hdev, struct hid_field *field,
H A Dwacom_sys.c100 for (j = 0; j < report->field[i]->maxusage; j++) {
101 struct hid_field *field = report->field[i]; local
102 struct hid_usage *usage = &field->usage[j];
114 offset = field->report_offset;
115 size = field->report_size;
199 struct hid_field field = { local
206 return hidinput_calc_abs_res(&field, ABS_X);
210 struct hid_field *field, struct hid_usage *usage)
222 field
209 wacom_hid_usage_quirk(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) argument
292 wacom_feature_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) argument
425 wacom_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) argument
[all...]
H A Dwacom_wac.c1919 struct hid_field *field, __u8 type, __u16 code, int fuzz)
1924 int fmin = field->logical_minimum;
1925 int fmax = field->logical_maximum;
1928 int resolution = hidinput_calc_abs_res(field, resolution_code);
1968 struct hid_field *field, struct hid_usage *usage)
1973 static void wacom_wac_battery_event(struct hid_device *hdev, struct hid_field *field, argument
1986 value = value * 100 / (field->logical_maximum - field->logical_minimum);
1994 value = value * 100 / (field->logical_maximum - field
1918 wacom_map_usage(struct input_dev *input, struct hid_usage *usage, struct hid_field *field, __u8 type, __u16 code, int fuzz) argument
1967 wacom_wac_battery_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) argument
2032 wacom_wac_pad_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) argument
2141 wacom_wac_pad_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
2256 wacom_wac_pad_report(struct hid_device *hdev, struct hid_report *report, struct hid_field *field) argument
2288 wacom_wac_pen_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) argument
2373 wacom_wac_pen_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
2610 wacom_wac_finger_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) argument
2720 wacom_wac_finger_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
2795 struct hid_field *field = report->field[i]; local
2825 struct hid_field *field = report->field[hid_data->cc_index]; local
2868 wacom_wac_usage_mapping(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage) argument
2889 wacom_wac_event(struct hid_device *hdev, struct hid_field *field, struct hid_usage *usage, __s32 value) argument
2918 struct hid_field *field; local
2937 wacom_wac_collection(struct hid_device *hdev, struct hid_report *report, int collection_index, struct hid_field *field, int field_index) argument
2969 struct hid_field *field; local
[all...]
/linux-master/drivers/hid/surface-hid/
H A Dsurface_kbd.c154 struct hid_field *field; local
158 /* Get LED field. */
159 field = hidinput_get_led_field(hid);
160 if (!field)
164 if (len != hid_report_len(field->report))
167 if (rprt_id != field->report->id)
171 for (i = 0; i < field->report_count; i++)
172 if ((field->usage[i].hid & 0xffff) == 0x02)
175 if (i == field->report_count)
179 size = field
[all...]
/linux-master/drivers/hid/usbhid/
H A Dhid-core.c804 struct hid_field *field; local
810 field = report->field[i];
811 for (j = 0; j < field->maxusage; j++) {
812 usage = &field->usage[j];
815 *pfield = field;
826 struct hid_field *field; local
829 if ((offset = hid_find_field_early(hid, HID_UP_LED, 0x01, &field)) != -1) {
830 hid_set_field(field, offset, 0);
831 usbhid_submit_report(hid, field
[all...]
H A Dhid-pidff.c49 the only field in that report */
109 /* Special field key tables used to put special field keys into arrays */
140 struct hid_field *field; member in struct:pidff_usage
162 /* Special field is a field that is not composed of
165 /* Special field in create_new_effect */
172 /* Special field in device_control */
175 /* Special field in block_load */
178 /* Special field i
192 pidff_rescale(int i, int max, struct hid_field *field) argument
201 pidff_rescale_signed(int i, struct hid_field *field) argument
721 struct hid_field *field = local
[all...]
H A Dhiddev.c114 struct hid_field *field; local
125 field = report->field[i];
126 for (j = 0; j < field->maxusage; j++) {
127 if (field->usage[j].hid == uref->usage_code) {
131 return field;
166 void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, argument
169 unsigned type = field->report_type;
176 uref.report_id = field->report->id;
177 uref.field_index = field
434 struct hid_field *field; local
604 struct hid_field *field; local
[all...]
/linux-master/drivers/hwmon/
H A Ddell-smm-hwmon.c174 static inline const char __init *i8k_get_dmi_data(int field) argument
176 const char *dmi_data = dmi_get_system_info(field);
/linux-master/drivers/hwspinlock/
H A Dqcom_hwspinlock.c30 struct regmap_field *field = lock->priv; local
34 ret = regmap_field_write(field, QCOM_MUTEX_APPS_PROC_ID);
38 ret = regmap_field_read(field, &lock_owner);
47 struct regmap_field *field = lock->priv; local
51 ret = regmap_field_read(field, &lock_owner);
62 ret = regmap_field_write(field, 0);
180 struct reg_field field; local
202 field.reg = base + i * stride;
203 field.lsb = 0;
204 field
[all...]
/linux-master/drivers/iio/accel/
H A Dmsa311.c337 #define MSA311_GENMASK(field) ({ \
339 _field = &msa311_reg_fields[(field)]; \
1136 "can't alloc field[%d]\n", i);
/linux-master/drivers/iio/adc/
H A Daspeed_adc.c87 const unsigned int field; member in struct:aspeed_adc_trim_locate
203 (data->model_data->trim_locate->field)) >>
204 __ffs(data->model_data->trim_locate->field);
211 data->model_data->trim_locate->field);
650 .field = GENMASK(31, 28),
655 .field = GENMASK(3, 0),
660 .field = GENMASK(7, 4),
/linux-master/drivers/iio/gyro/
H A Dfxas21002c_core.c338 enum fxas21002c_fields field, int bits)
355 ret = regmap_field_write(data->regmap_fields[field], bits);
337 fxas21002c_write(struct fxas21002c_data *data, enum fxas21002c_fields field, int bits) argument
/linux-master/drivers/iio/health/
H A Dafe4403.c147 ret = regmap_field_read(afe->fields[afe440x_attr->field], &reg_val);
180 ret = regmap_field_write(afe->fields[afe440x_attr->field], val);
248 unsigned int reg, field; local
265 field = afe4403_channel_leds[chan->address];
266 ret = regmap_field_read(afe->fields[field], val);
288 unsigned int field = afe4403_channel_leds[chan->address]; local
294 return regmap_field_write(afe->fields[field], val);
H A Dafe4404.c178 ret = regmap_field_read(afe->fields[afe440x_attr->field], &reg_val);
211 ret = regmap_field_write(afe->fields[afe440x_attr->field], val);
H A Dafe440x.h137 unsigned int field; member in struct:afe440x_attr
150 .field = _field, \

Completed in 757 milliseconds

<<11121314151617181920>>