Searched refs:field (Results 101 - 125 of 1174) sorted by relevance

1234567891011>>

/linux-master/drivers/hid/
H A Dhid-speedlink.c26 struct hid_field *field, struct hid_usage *usage,
42 static int speedlink_event(struct hid_device *hdev, struct hid_field *field, argument
24 speedlink_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-xinmo.c25 static int xinmo_event(struct hid_device *hdev, struct hid_field *field, argument
34 input_event(field->hidinput->input, usage->type,
H A Dhid-gyration.c25 struct hid_field *field, struct hid_usage *usage,
54 static int gyration_event(struct hid_device *hdev, struct hid_field *field, argument
58 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput)
63 struct input_dev *input = field->hidinput->input;
24 gyration_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-picolcd_lcd.c32 if (!report || report->maxfield != 1 || report->field[0]->report_count != 1)
37 hid_set_field(report->field[0], 0, data->lcd_contrast);
62 if (report->maxfield != 1 || report->field[0]->report_count != 1 ||
63 report->field[0]->report_size != 8) {
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-betopff.c47 betopff->report->field[2]->value[0] = left / 256;
48 betopff->report->field[3]->value[0] = right / 256;
94 if (report->field[i]->report_count < 1) {
95 hid_err(hid, "no values in the field\n");
98 for (j = 0; j < report->field[i]->report_count; j++) {
99 report->field[i]->value[j] = 0x00;
H A Dhid-plantronics.c37 #define PLT_ALLOW_CONSUMER (field->application == HID_CP_CONSUMERCONTROL && \
52 struct hid_field *field,
61 if (field->application == HID_GD_JOYSTICK)
85 /* only map if the field is in the device's primary vendor page */
86 else if (!((field->application ^ plt_type) & HID_USAGE_PAGE)) {
110 usage->hid, field->application);
116 usage->hid, field->application, mapped_key);
120 static int plantronics_event(struct hid_device *hdev, struct hid_field *field, argument
50 plantronics_input_mapping(struct hid_device *hdev, struct hid_input *hi, struct hid_field *field, struct hid_usage *usage, unsigned long **bit, int *max) argument
/linux-master/include/linux/
H A Dhiddev.h43 void hiddev_hid_event(struct hid_device *hid, struct hid_field *field,
51 static inline void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, argument
H A Dregmap.h177 * @field: Regmap field to read from
192 #define regmap_field_read_poll_timeout(field, val, cond, sleep_us, timeout_us) \
196 sleep_us, timeout_us, false, (field), &(val)); \
266 * can be written to. If this field is NULL but wr_table
271 * can be read from. If this field is NULL but rd_table
276 * value can't be cached. If this field is NULL but
283 * field is NULL but precious_table (see below) is not, the
288 * the register number. If this field is NULL but
295 * the register number. If this field i
1391 regmap_field_write(struct regmap_field *field, unsigned int val) argument
1398 regmap_field_force_write(struct regmap_field *field, unsigned int val) argument
1404 regmap_field_update_bits(struct regmap_field *field, unsigned int mask, unsigned int val) argument
1411 regmap_field_set_bits(struct regmap_field *field, unsigned int bits) argument
1418 regmap_field_clear_bits(struct regmap_field *field, unsigned int bits) argument
1428 regmap_field_force_update_bits(struct regmap_field *field, unsigned int mask, unsigned int val) argument
1435 regmap_fields_write(struct regmap_field *field, unsigned int id, unsigned int val) argument
1442 regmap_fields_force_write(struct regmap_field *field, unsigned int id, unsigned int val) argument
1450 regmap_fields_update_bits(struct regmap_field *field, unsigned int id, unsigned int mask, unsigned int val) argument
1458 regmap_fields_force_update_bits(struct regmap_field *field, unsigned int id, unsigned int mask, unsigned int val) argument
1792 regmap_field_update_bits_base(struct regmap_field *field, unsigned int mask, unsigned int val, bool *change, bool async, bool force) argument
1800 regmap_fields_update_bits_base(struct regmap_field *field, unsigned int id, unsigned int mask, unsigned int val, bool *change, bool async, bool force) argument
1847 regmap_field_write(struct regmap_field *field, unsigned int val) argument
1854 regmap_field_force_write(struct regmap_field *field, unsigned int val) argument
1861 regmap_field_update_bits(struct regmap_field *field, unsigned int mask, unsigned int val) argument
1869 regmap_field_force_update_bits(struct regmap_field *field, unsigned int mask, unsigned int val) argument
1876 regmap_field_set_bits(struct regmap_field *field, unsigned int bits) argument
1883 regmap_field_clear_bits(struct regmap_field *field, unsigned int bits) argument
1890 regmap_field_test_bits(struct regmap_field *field, unsigned int bits) argument
1897 regmap_fields_write(struct regmap_field *field, unsigned int id, unsigned int val) argument
1904 regmap_fields_force_write(struct regmap_field *field, unsigned int id, unsigned int val) argument
1912 regmap_fields_update_bits(struct regmap_field *field, unsigned int id, unsigned int mask, unsigned int val) argument
1920 regmap_fields_force_update_bits(struct regmap_field *field, unsigned int id, unsigned int mask, unsigned int val) argument
[all...]
/linux-master/drivers/soundwire/
H A Dsysfs_slave.c69 #define sdw_slave_attr(field, format_string) \
70 static ssize_t field##_show(struct device *dev, \
75 return sprintf(buf, format_string, slave->prop.field); \
77 static DEVICE_ATTR_RO(field)
142 #define sdw_dp0_attr(field, format_string) \
143 static ssize_t field##_show(struct device *dev, \
148 return sprintf(buf, format_string, slave->prop.dp0_prop->field);\
150 static DEVICE_ATTR_RO(field)
/linux-master/arch/x86/tools/
H A Dinsn_decoder_test.c60 struct insn_field *field)
64 indent, field->value, field->bytes[0], field->bytes[1],
65 field->bytes[2], field->bytes[3]);
67 field->got, field->nbytes);
59 dump_field(FILE *fp, const char *name, const char *indent, struct insn_field *field) argument
/linux-master/include/trace/stages/
H A Dstage1_struct_define.h39 #define __sockaddr(field, len) __dynamic_array(u8, field, len)
57 #define __rel_sockaddr(field, len) __rel_dynamic_array(u8, field, len)
H A Dstage2_data_offsets.h45 #define __sockaddr(field, len) __dynamic_array(u8, field, len)
63 #define __rel_sockaddr(field, len) __rel_dynamic_array(u8, field, len)
/linux-master/arch/loongarch/lib/
H A Ddump_tlb.c19 const int field = 2 * sizeof(unsigned long); local
23 pr_info("EntryHi : 0x%0*lx\n", field, read_csr_entryhi());
24 pr_info("EntryLo0 : 0x%0*lx\n", field, read_csr_entrylo0());
25 pr_info("EntryLo1 : 0x%0*lx\n", field, read_csr_entrylo1());
/linux-master/drivers/staging/media/meson/vdec/
H A Dvdec_helpers.h40 * @field: V4L2 interlaced field
43 u32 offset, u32 field);
45 struct vb2_v4l2_buffer *vbuf, u32 field);
48 u32 offset, u32 field, bool allow_drop);
/linux-master/drivers/hid/usbhid/
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/tools/perf/util/scripting-engines/
H A Dtrace-event-perl.c103 static void define_symbolic_values(struct tep_print_flag_sym *field, argument
107 define_symbolic_value(ev_name, field_name, field->value, field->str);
108 if (field->next)
109 define_symbolic_values(field->next, ev_name, field_name);
161 static void define_flag_values(struct tep_print_flag_sym *field, argument
165 define_flag_value(ev_name, field_name, field->value, field->str);
166 if (field->next)
167 define_flag_values(field
348 struct tep_format_field *field; local
[all...]
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_dsa.c39 u32 field; local
60 field = FIELD_GET(PRESTERA_DSA_W3_VID, words[3]);
67 dsa->vlan.vid |= FIELD_PREP(PRESTERA_DSA_VID, field);
69 field = FIELD_GET(PRESTERA_DSA_W3_DEV_NUM, words[3]);
72 dsa->hw_dev_num |= FIELD_PREP(PRESTERA_DSA_DEV_NUM, field);
/linux-master/drivers/scsi/
H A Dscsi_transport_sas.c423 #define sas_phy_show_simple(field, name, format_string, cast) \
430 return snprintf(buf, 20, format_string, cast phy->field); \
433 #define sas_phy_simple_attr(field, name, format_string, type) \
434 sas_phy_show_simple(field, name, format_string, (type)) \
437 #define sas_phy_show_protocol(field, name) \
444 if (!phy->field) \
446 return get_sas_protocol_names(phy->field, buf); \
449 #define sas_phy_protocol_attr(field, name) \
450 sas_phy_show_protocol(field, name) \
453 #define sas_phy_show_linkspeed(field) \
[all...]
H A Dscsi_transport_fc.c986 #define fc_rport_show_function(field, format_string, sz, cast) \
988 show_fc_rport_##field (struct device *dev, \
994 if ((i->f->get_rport_##field) && \
998 i->f->get_rport_##field(rport); \
999 return snprintf(buf, sz, format_string, cast rport->field); \
1002 #define fc_rport_store_function(field) \
1004 store_fc_rport_##field(struct device *dev, \
1020 i->f->set_rport_##field(rport, val); \
1024 #define fc_rport_rd_attr(field, format_string, sz) \
1025 fc_rport_show_function(field, format_strin
[all...]
/linux-master/tools/perf/util/
H A Ddata-convert-bt.c106 struct bt_ctf_field *field; local
110 field = bt_ctf_field_create(type);
111 if (!field) {
112 pr_err("failed to create a field %s\n", name);
117 ret = bt_ctf_field_signed_integer_set_value(field, val);
119 pr_err("failed to set field value %s\n", name);
123 ret = bt_ctf_field_unsigned_integer_set_value(field, val);
125 pr_err("failed to set field value %s\n", name);
130 ret = bt_ctf_event_set_payload(event, name, field);
139 bt_ctf_field_put(field);
167 struct bt_ctf_field *field; local
192 get_tracepoint_field_type(struct ctf_writer *cw, struct tep_format_field *field) argument
255 string_set_value(struct bt_ctf_field *field, const char *string) argument
301 struct bt_ctf_field *field; local
411 struct tep_format_field *field; local
980 event_class_add_field(struct bt_ctf_event_class *event_class, struct bt_ctf_field_type *type, struct tep_format_field *field) argument
1024 struct tep_format_field *field; local
[all...]
/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/arch/x86/kvm/vmx/
H A Dvmcs.h173 static inline int vmcs_field_width(unsigned long field) argument
175 if (0x1 & field) /* the *_HIGH fields are all 32 bit */
177 return (field >> 13) & 0x3;
180 static inline int vmcs_field_readonly(unsigned long field) argument
182 return (((field >> 10) & 0x3) == 1);
188 static inline unsigned int vmcs_field_index(unsigned long field) argument
190 return (field & VMCS_FIELD_INDEX_MASK) >> VMCS_FIELD_INDEX_SHIFT;
/linux-master/Documentation/sphinx/
H A Dmaintainers_include.py55 # Field letter to field name mapping.
91 # Look for and record field letter to field name mappings:
110 # Flush pending field content.
119 # Render a subsystem field as:
122 field, details = line.split(':', 1)
127 if field in ['F', 'N', 'X', 'K']:
132 # Comma separate email field continuations.
133 if field == field_prev and field_prev in ['M', 'R', 'L']:
136 # Do not repeat field name
[all...]
/linux-master/drivers/acpi/acpica/
H A Dexprep.c4 * Module Name: exprep - ACPI AML field prep utilities
35 * PARAMETERS: field_bit_offset - Start of field within parent region/buffer
36 * field_bit_length - Length of field in bits
130 "Entire field can be accessed "
169 * Could not read/write field with one operation,
173 "Cannot access field in one operation, using width 8\n"));
190 * DESCRIPTION: Decode the access_type bits of a field definition.
251 /* Invalid field access type */
253 ACPI_ERROR((AE_INFO, "Unknown field access type 0x%X", access));
262 * implied by the field acces
[all...]

Completed in 195 milliseconds

1234567891011>>