/openbmc/linux/drivers/scsi/be2iscsi/ |
H A D | be.h | 155 #define AMAP_BIT_OFFSET(_struct, field) \ argument 156 (((size_t)&(((_struct *)0)->field))%32) 172 #define AMAP_SET_BITS(_struct, field, ptr, val) \ argument 174 offsetof(_struct, field)/32, \ 175 amap_mask(sizeof(((_struct *)0)->field)), \ 176 AMAP_BIT_OFFSET(_struct, field), \ 185 #define AMAP_GET_BITS(_struct, field, ptr) \ argument 187 offsetof(_struct, field)/32, \ 188 amap_mask(sizeof(((_struct *)0)->field)), \ 189 AMAP_BIT_OFFSET(_struct, field))
|
/openbmc/linux/drivers/phy/broadcom/ |
H A D | phy-brcm-usb-init.h | 28 #define USB_CTRL_MASK(reg, field) \ argument 29 USB_CTRL_##reg##_##field##_MASK 30 #define USB_CTRL_SET(base, reg, field) \ argument 32 USB_CTRL_##reg##_##field##_MASK) 33 #define USB_CTRL_UNSET(base, reg, field) \ argument 35 USB_CTRL_##reg##_##field##_MASK) 38 #define USB_XHCI_GBL_SET(base, reg, field) \ argument 40 USB_XHCI_GBL_##reg##_##field##_MASK) 41 #define USB_XHCI_GBL_UNSET(base, reg, field) \ argument 43 USB_XHCI_GBL_##reg##_##field##_MASK)
|
/openbmc/linux/include/linux/ |
H A D | regmap.h | 196 sleep_us, timeout_us, false, (field), &(val)); \ 1359 void regmap_field_free(struct regmap_field *field); 1369 void regmap_field_bulk_free(struct regmap_field *field); 1371 struct regmap_field **field, 1375 struct regmap_field *field); 1390 return regmap_field_update_bits_base(field, ~0, val, in regmap_field_write() 1403 return regmap_field_update_bits_base(field, mask, val, in regmap_field_update_bits() 1424 regmap_field_force_update_bits(struct regmap_field *field, in regmap_field_force_update_bits() argument 1427 return regmap_field_update_bits_base(field, mask, val, in regmap_field_force_update_bits() 1434 return regmap_fields_update_bits_base(field, id, ~0, val, in regmap_fields_write() [all …]
|
/openbmc/linux/arch/x86/tools/ |
H A D | objdump_reformat.awk | 25 if (split($0, field, "\t") < 3) { 27 prev_hex = prev_hex field[2] 39 prev_addr = field[1] 40 prev_hex = field[2] 41 prev_mnemonic = field[3]
|
H A D | insn_decoder_test.c | 60 struct insn_field *field) in dump_field() argument 64 indent, field->value, field->bytes[0], field->bytes[1], in dump_field() 65 field->bytes[2], field->bytes[3]); in dump_field() 67 field->got, field->nbytes); in dump_field()
|
/openbmc/linux/drivers/hid/ |
H A D | hid-retrode.c | 22 struct hid_field *field = hi->report->field[0]; in retrode_input_configured() local 27 switch (field->report->id) { in retrode_input_configured() 34 number = field->report->id; in retrode_input_configured() 39 number = field->report->id - 2; in retrode_input_configured() 42 hid_err(hdev, "Got unhandled report id %d\n", field->report->id); in retrode_input_configured()
|
H A D | hid-lgff.c | 73 report->field[0]->value[0] = 0x51; in hid_lgff_play() 74 report->field[0]->value[1] = 0x08; in hid_lgff_play() 75 report->field[0]->value[2] = x; in hid_lgff_play() 76 report->field[0]->value[3] = y; in hid_lgff_play() 88 report->field[0]->value[0] = 0x42; in hid_lgff_play() 89 report->field[0]->value[1] = 0x00; in hid_lgff_play() 90 report->field[0]->value[2] = left; in hid_lgff_play() 91 report->field[0]->value[3] = right; in hid_lgff_play() 104 __s32 *value = report->field[0]->value; in hid_lgff_set_autocenter()
|
H A D | hid-tmff.c | 145 struct hid_field *field = report->field[fieldnum]; in tmff_init() local 147 if (field->maxusage <= 0) in tmff_init() 150 switch (field->usage[0].hid) { in tmff_init() 152 if (field->report_count < 2) { in tmff_init() 157 if (field->logical_maximum == in tmff_init() 158 field->logical_minimum) { in tmff_init() 168 if (tmff->ff_field && tmff->ff_field != field) { in tmff_init() 174 tmff->ff_field = field; in tmff_init() 183 field->usage[0].hid); in tmff_init()
|
H A D | hid-lenovo.c | 170 struct hid_input *hi, struct hid_field *field, in lenovo_input_mapping_tpkbd() argument 238 field->logical_minimum = -127; in lenovo_input_mapping_cptkbd() 239 field->logical_maximum = 127; in lenovo_input_mapping_cptkbd() 268 field->report->id == 5) { in lenovo_input_mapping_tpIIkbd() 312 field->report->id == 21) { in lenovo_input_mapping_tpIIkbd() 333 field->logical_minimum = -127; in lenovo_input_mapping_tpIIkbd() 334 field->logical_maximum = 127; in lenovo_input_mapping_tpIIkbd() 741 input_event(field->hidinput->input, in lenovo_event_cptkbd() 743 input_sync(field->hidinput->input); in lenovo_event_cptkbd() 744 input_event(field->hidinput->input, in lenovo_event_cptkbd() [all …]
|
/openbmc/linux/drivers/media/platform/ti/davinci/ |
H A D | vpif_display.h | 20 #define VPIF_VALID_FIELD(field) \ argument 21 (((V4L2_FIELD_ANY == field) || (V4L2_FIELD_NONE == field)) || \ 22 (((V4L2_FIELD_INTERLACED == field) || (V4L2_FIELD_SEQ_TB == field)) || \ 23 (V4L2_FIELD_SEQ_BT == field)))
|
/openbmc/linux/drivers/phy/ti/ |
H A D | phy-gmii-sel.c | 333 struct reg_field field; in phy_gmii_init_phy() local 340 field = *fields++; in phy_gmii_init_phy() 341 field.reg += priv->reg_offset; in phy_gmii_init_phy() 343 field.reg, field.msb, field.lsb); in phy_gmii_init_phy() 350 field = *fields++; in phy_gmii_init_phy() 351 field.reg += priv->reg_offset; in phy_gmii_init_phy() 355 field); in phy_gmii_init_phy() 360 field.reg, field.msb, field.lsb); in phy_gmii_init_phy() 363 field = *fields; in phy_gmii_init_phy() 368 field); in phy_gmii_init_phy() [all …]
|
/openbmc/qemu/hw/acpi/ |
H A D | tpm.c | 46 aml_append(field, aml_named_field("PPIN", 8)); in tpm_build_ppi_acpi() 47 aml_append(field, aml_named_field("PPIP", 32)); in tpm_build_ppi_acpi() 48 aml_append(field, aml_named_field("PPRP", 32)); in tpm_build_ppi_acpi() 49 aml_append(field, aml_named_field("PPRQ", 32)); in tpm_build_ppi_acpi() 50 aml_append(field, aml_named_field("PPRM", 32)); in tpm_build_ppi_acpi() 51 aml_append(field, aml_named_field("LPPR", 32)); in tpm_build_ppi_acpi() 52 aml_append(dev, field); in tpm_build_ppi_acpi() 63 aml_append(field, aml_named_field("MOVV", 8)); in tpm_build_ppi_acpi() 64 aml_append(dev, field); in tpm_build_ppi_acpi() 83 aml_append(field, aml_named_field("TPPF", 8)); in tpm_build_ppi_acpi() [all …]
|
/openbmc/linux/drivers/message/fusion/lsi/ |
H A D | mpi_history.txt | 366 * to add a Flags field. 380 * DiscoveryStatus field. 398 * BootAdapterNum with reserved field. 404 * Flags field. 408 * Discovery Info field. 432 * Page 0 PhysDiskStatus field. 486 * field of RAID Volume Page 0. 496 * Flags field of SAS Device Page 0. 509 * Expander Page 0 Flags field. 629 * field. [all …]
|
/openbmc/linux/include/media/ |
H A D | v4l2-mediabus.h | 185 pix_fmt->field = mbus_fmt->field; in v4l2_fill_pix_format() 207 mbus_fmt->field = pix_fmt->field; in v4l2_fill_mbus_format() 228 pix_mp_fmt->field = mbus_fmt->field; in v4l2_fill_pix_format_mplane() 248 mbus_fmt->field = pix_mp_fmt->field; in v4l2_fill_mbus_format_mplane()
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | exserial.c | 46 obj_desc->field.pin_number_index, in acpi_ex_read_gpio() 47 obj_desc->field.bit_length)); in acpi_ex_read_gpio() 104 obj_desc->field.pin_number_index, in acpi_ex_write_gpio() 105 obj_desc->field.bit_length)); in acpi_ex_write_gpio() 158 switch (obj_desc->field.region_obj->region.space_id) { in acpi_ex_read_serial_bus() 162 function = ACPI_READ | (obj_desc->field.attribute << 16); in acpi_ex_read_serial_bus() 173 accessor_type = obj_desc->field.attribute; in acpi_ex_read_serial_bus() 287 switch (obj_desc->field.region_obj->region.space_id) { in acpi_ex_write_serial_bus() 291 function = ACPI_WRITE | (obj_desc->field.attribute << 16); in acpi_ex_write_serial_bus() 302 accessor_type = obj_desc->field.attribute; in acpi_ex_write_serial_bus()
|
H A D | exprep.c | 431 obj_desc->field.region_obj = in acpi_ex_prep_field_value() 436 obj_desc->field.access_length = info->access_length; in acpi_ex_prep_field_value() 449 obj_desc->field.resource_buffer = in acpi_ex_prep_field_value() 451 obj_desc->field.resource_length = in acpi_ex_prep_field_value() 462 if ((obj_desc->field.region_obj->region.space_id == in acpi_ex_prep_field_value() 478 obj_desc->field.start_field_bit_offset, in acpi_ex_prep_field_value() 479 obj_desc->field.base_byte_offset, in acpi_ex_prep_field_value() 480 obj_desc->field.access_byte_width, in acpi_ex_prep_field_value() 481 obj_desc->field.region_obj)); in acpi_ex_prep_field_value() 501 obj_desc->field.access_byte_width, in acpi_ex_prep_field_value() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | trace-event-parse.c | 22 struct tep_format_field *field; in get_common_field() local 30 field = tep_find_common_field(event, type); in get_common_field() 31 if (!field) in get_common_field() 33 *offset = field->offset; in get_common_field() 34 *size = field->size; in get_common_field() 85 struct tep_format_field *field; in raw_field_value() local 88 field = tep_find_any_field(event, name); in raw_field_value() 89 if (!field) in raw_field_value() 92 tep_read_number_field(field, data, &val); in raw_field_value()
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | cpufeature.h | 513 return (s64)(features << (64 - width - field)) >> (64 - width); in cpuid_feature_extract_signed_field_width() 517 cpuid_feature_extract_signed_field(u64 features, int field) in cpuid_feature_extract_signed_field() argument 525 return (u64)(features << (64 - width - field)) >> (64 - width); in cpuid_feature_extract_unsigned_field_width() 529 cpuid_feature_extract_unsigned_field(u64 features, int field) in cpuid_feature_extract_unsigned_field() argument 540 cpuid_feature_cap_perfmon_field(u64 features, int field, u64 cap) in cpuid_feature_cap_perfmon_field() argument 542 u64 val = cpuid_feature_extract_unsigned_field(features, field); in cpuid_feature_cap_perfmon_field() 543 u64 mask = GENMASK_ULL(field + 3, field); in cpuid_feature_cap_perfmon_field() 551 features |= (cap << field) & mask; in cpuid_feature_cap_perfmon_field() 573 cpuid_feature_extract_signed_field_width(features, field, width) : in cpuid_feature_extract_field_width() 578 cpuid_feature_extract_field(u64 features, int field, bool sign) in cpuid_feature_extract_field() argument [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/verifier/ |
H A D | wide_access.c | 1 #define BPF_SOCK_ADDR_STORE(field, off, res, err, flgs) \ argument 3 "wide store to bpf_sock_addr." #field "[" #off "]", \ 7 offsetof(struct bpf_sock_addr, field[off])), \ 43 #define BPF_SOCK_ADDR_LOAD(field, off, res, err, flgs) \ argument 45 "wide load from bpf_sock_addr." #field "[" #off "]", \ 48 offsetof(struct bpf_sock_addr, field[off])), \
|
/openbmc/linux/arch/mips/include/uapi/asm/ |
H A D | bitfield.h | 16 #define __BITFIELD_FIELD(field, more) \ argument 17 field; \ 22 #define __BITFIELD_FIELD(field, more) \ argument 24 field;
|
/openbmc/qemu/include/hw/ |
H A D | clock.h | 98 #define VMSTATE_CLOCK(field, state) \ argument 99 VMSTATE_CLOCK_V(field, state, 0) 100 #define VMSTATE_CLOCK_V(field, state, version) \ argument 101 VMSTATE_STRUCT_POINTER_V(field, state, version, vmstate_clock, Clock) 102 #define VMSTATE_ARRAY_CLOCK(field, state, num) \ argument 103 VMSTATE_ARRAY_CLOCK_V(field, state, num, 0) 104 #define VMSTATE_ARRAY_CLOCK_V(field, state, num, version) \ argument 105 VMSTATE_ARRAY_OF_POINTER_TO_STRUCT(field, state, num, version, \
|
/openbmc/linux/drivers/net/ethernet/apm/xgene-v2/ |
H A D | ring.h | 95 #define SET_BITS(field, val) \ argument 96 xge_set_desc_bits(field ## _POS, field ## _LEN, val) 98 #define GET_BITS(field, src) \ argument 99 xge_get_desc_bits(field ## _POS, field ## _LEN, src)
|
/openbmc/linux/drivers/media/platform/st/sti/delta/ |
H A D | delta.h | 74 enum v4l2_field field; member 142 enum v4l2_field field; member 180 enum v4l2_field field; member 526 static inline char *frame_field_str(enum v4l2_field field) in frame_field_str() argument 528 if (field == V4L2_FIELD_NONE) in frame_field_str() 530 if (field == V4L2_FIELD_TOP) in frame_field_str() 532 if (field == V4L2_FIELD_BOTTOM) in frame_field_str() 534 if (field == V4L2_FIELD_INTERLACED) in frame_field_str() 536 if (field == V4L2_FIELD_INTERLACED_TB) in frame_field_str() 538 if (field == V4L2_FIELD_INTERLACED_BT) in frame_field_str()
|
/openbmc/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | tvp7002.txt | 24 - field-even-active: Active-high Field ID output polarity control of the bus. 25 Under normal operation, the field ID output is set to logic 1 for an odd field 26 (field 1) and set to logic 0 for an even field (field 0). 48 field-even-active = <0>;
|
/openbmc/linux/kernel/trace/ |
H A D | trace_events_hist.c | 1340 if (field->field) in hist_field_name() 1364 if (field->field) in hist_field_name() 2065 hist_field->field = field; in create_hist_field() 2378 if (!field || !field->size) { in parse_field() 5064 field = hist_field->field; in create_tracing_map_fields() 5228 field = key_field->field; in add_to_key() 5681 if (field->field) in hist_field_debug_show() 5683 field->field->name); in hist_field_debug_show() 5740 if (field->field) in field_var_debug_show() 5742 field->field->name); in field_var_debug_show() [all …]
|