/linux-master/drivers/xen/xen-pciback/ |
H A D | conf_space_quirks.h | 22 *field); 26 void xen_pcibk_config_field_free(struct config_field *field);
|
H A D | conf_space_quirks.c | 67 *field) 71 switch (field->size) { 73 field->u.b.read = xen_pcibk_read_config_byte; 74 field->u.b.write = xen_pcibk_write_config_byte; 77 field->u.w.read = xen_pcibk_read_config_word; 78 field->u.w.write = xen_pcibk_write_config_word; 81 field->u.dw.read = xen_pcibk_read_config_dword; 82 field->u.dw.write = xen_pcibk_write_config_dword; 89 xen_pcibk_config_add_field(dev, field); 121 void xen_pcibk_config_field_free(struct config_field *field) argument 66 xen_pcibk_config_quirks_add_field(struct pci_dev *dev, struct config_field *field) argument [all...] |
/linux-master/drivers/hid/ |
H A D | hid-retrode.c | 22 struct hid_field *field = hi->report->field[0]; local 27 switch (field->report->id) { 34 number = field->report->id; 39 number = field->report->id - 2; 42 hid_err(hdev, "Got unhandled report id %d\n", field->report->id);
|
H A D | hid-pl.c | 84 containing 1 field, which contains 4 ff00.0002 usages and 4 16bit 87 The input reports also contain a field which contains 92 separate fields and misses the extra input field, thus resembling 117 if (report->field[0]->report_count >= 4) { 118 report->field[0]->value[0] = 0x00; 119 report->field[0]->value[1] = 0x00; 120 strong = &report->field[0]->value[2]; 121 weak = &report->field[0]->value[3]; 122 debug("detected single-field device"); 123 } else if (report->field[ [all...] |
H A D | hid-dr.c | 53 drff->report->field[0]->value[0] = 0x51; 54 drff->report->field[0]->value[1] = 0x00; 55 drff->report->field[0]->value[2] = weak; 56 drff->report->field[0]->value[4] = strong; 59 drff->report->field[0]->value[0] = 0xfa; 60 drff->report->field[0]->value[1] = 0xfe; 62 drff->report->field[0]->value[0] = 0xf3; 63 drff->report->field[0]->value[1] = 0x00; 66 drff->report->field[0]->value[2] = 0x00; 67 drff->report->field[ 248 dr_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 D | hid-ezkey.c | 26 struct hid_field *field, struct hid_usage *usage, 47 static int ez_event(struct hid_device *hdev, struct hid_field *field, argument 50 if (!(hdev->claimed & HID_CLAIMED_INPUT) || !field->hidinput || 56 struct input_dev *input = field->hidinput->input; 25 ez_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/tools/testing/selftests/bpf/verifier/ |
H A D | wide_access.c | 1 #define BPF_SOCK_ADDR_STORE(field, off, res, err, flgs) \ 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) \ 45 "wide load from bpf_sock_addr." #field "[" #off "]", \ 48 offsetof(struct bpf_sock_addr, field[off])), \
|
/linux-master/drivers/media/platform/ti/davinci/ |
H A D | vpif_display.h | 20 #define VPIF_VALID_FIELD(field) \ 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))) 95 u32 field_id; /* Indicates id of the field
|
H A D | vpif_capture.h | 18 #define VPIF_VALID_FIELD(field) (((V4L2_FIELD_ANY == field) || \ 19 (V4L2_FIELD_NONE == field)) || \ 20 (((V4L2_FIELD_INTERLACED == field) || \ 21 (V4L2_FIELD_SEQ_TB == field)) || \ 22 (V4L2_FIELD_SEQ_BT == field))) 57 /* Protects the dma_queue field */ 81 /* Indicates id of the field which is being displayed */
|
/linux-master/drivers/crypto/caam/ |
H A D | dpseci_cmd.h | 47 #define DPSECI_MASK(field) \ 48 GENMASK(DPSECI_##field##_SHIFT + DPSECI_##field##_SIZE - 1, \ 49 DPSECI_##field##_SHIFT) 51 #define dpseci_set_field(var, field, val) \ 52 ((var) |= (((val) << DPSECI_##field##_SHIFT) & DPSECI_MASK(field))) 54 #define dpseci_get_field(var, field) \ 55 (((var) & DPSECI_MASK(field)) >> DPSECI_##field##_SHIF [all...] |
/linux-master/include/linux/mdio/ |
H A D | mdio-xgene.h | 100 /* Set the specified value into a bit-field defined by its starting position 108 #define SET_VAL(field, val) \ 109 xgene_enet_set_field_value(field ## _POS, field ## _LEN, val) 111 #define SET_BIT(field) \ 112 xgene_enet_set_field_value(field ## _POS, 1, 1) 114 /* Get the value from a bit-field defined by its starting position 122 #define GET_VAL(field, src) \ 123 xgene_enet_get_field_value(field ## _POS, field ## _LE [all...] |
/linux-master/tools/perf/tests/ |
H A D | evsel-tp-sched.c | 10 struct tep_format_field *field = evsel__field(evsel, name); local 14 if (field == NULL) { 15 pr_debug("%s: \"%s\" field not found!\n", evsel->name, name); 19 is_signed = !!(field->flags & TEP_FIELD_IS_SIGNED); 26 if (field->size != size) { 28 evsel->name, name, field->size, size);
|
/linux-master/arch/riscv/include/asm/ |
H A D | image.h | 21 #define __HEAD_FLAG(field) (__HEAD_FLAG_##field << \ 22 RISCV_IMAGE_FLAG_##field##_SHIFT) 44 * @magic2: Magic number 2 (to match the ARM64 'magic' field pos)
|
/linux-master/drivers/gpu/drm/amd/display/dmub/src/ |
H A D | dmub_reg.h | 33 /* Register offset and field lookup. */ 39 #define FD_SHIFT(reg_name, field) reg_name##__##field##__SHIFT 41 #define FD_MASK(reg_name, field) reg_name##__##field##_MASK 47 #define FN(reg_name, field) FD(reg_name##__##field) 56 /* Register field setting. */ 61 #define REG_SET(reg_name, initial_val, field, val) \ 63 FN(reg_name, field), va [all...] |
/linux-master/arch/arm64/kernel/ |
H A D | image.h | 41 #define __HEAD_FLAG(field) (__HEAD_FLAG_##field << \ 42 ARM64_IMAGE_FLAG_##field##_SHIFT)
|
/linux-master/drivers/staging/rtl8192e/ |
H A D | rtl819x_BA.h | 27 } field; member in union:sequence_control 38 } field; member in union:ba_param_set 48 } field; member in union:delba_param_set
|
/linux-master/include/linux/ |
H A D | build_bug.h | 82 * Compile time check that field has an expected offset 84 #define ASSERT_STRUCT_OFFSET(type, field, expected_offset) \ 85 BUILD_BUG_ON_MSG(offsetof(type, field) != (expected_offset), \ 86 "Offset of " #field " in " #type " has changed.")
|
H A D | vmcore_info.h | 61 #define VMCOREINFO_OFFSET(name, field) \ 62 vmcoreinfo_append_str("OFFSET(%s.%s)=%lu\n", #name, #field, \ 63 (unsigned long)offsetof(struct name, field)) 64 #define VMCOREINFO_TYPE_OFFSET(name, field) \ 65 vmcoreinfo_append_str("OFFSET(%s.%s)=%lu\n", #name, #field, \ 66 (unsigned long)offsetof(name, field))
|
/linux-master/tools/include/linux/ |
H A D | build_bug.h | 84 * Compile time check that field has an expected offset 86 #define ASSERT_STRUCT_OFFSET(type, field, expected_offset) \ 87 BUILD_BUG_ON_MSG(offsetof(type, field) != (expected_offset), \ 88 "Offset of " #field " in " #type " has changed.")
|
/linux-master/drivers/net/ethernet/apm/xgene-v2/ |
H A D | ring.h | 95 #define SET_BITS(field, val) \ 96 xge_set_desc_bits(field ## _POS, field ## _LEN, val) 98 #define GET_BITS(field, src) \ 99 xge_get_desc_bits(field ## _POS, field ## _LEN, src)
|
/linux-master/kernel/trace/ |
H A D | trace_events_inject.c | 39 struct ftrace_event_field *field; local 47 /* First find the field to associate to */ 60 field = trace_find_event_field(call, field_name); 62 if (!field) 65 *pf = field; 78 /* Make sure the field is not a string */ 79 if (is_string_field(field)) 94 if (field->is_signed) 107 /* Make sure the field is OK for strings */ 108 if (!is_string_field(field)) 140 struct ftrace_event_field *field; local 156 struct ftrace_event_field *field; local 198 struct ftrace_event_field *field; local [all...] |
/linux-master/include/media/ |
H A D | v4l2-mediabus.h | 31 * will be replaced by a field whose value reports the intended active state of 185 pix_fmt->field = mbus_fmt->field; 207 mbus_fmt->field = pix_fmt->field; 228 pix_mp_fmt->field = mbus_fmt->field; 248 mbus_fmt->field = pix_mp_fmt->field;
|
/linux-master/drivers/soundwire/ |
H A D | sysfs_slave_dpn.c | 27 #define sdw_dpn_attribute_alloc(field) \ 28 static int field##_attribute_alloc(struct device *dev, \ 42 dpn_attr->dev_attr.attr.name = __stringify(field); \ 44 dpn_attr->dev_attr.show = field##_show; \ 51 #define sdw_dpn_attr(field) \ 53 static ssize_t field##_dpn_show(struct sdw_slave *slave, \ 76 dpn[i].field); \ 83 static ssize_t field##_show(struct device *dev, \ 91 return field##_dpn_show(slave, \ 96 sdw_dpn_attribute_alloc(field) [all...] |
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | bitfield.h | 44 /* Specified attribute (e.g. LBN) of the specified field */ 45 #define EF4_VAL(field, attribute) field ## _ ## attribute 46 /* Low bit number of the specified field */ 47 #define EF4_LOW_BIT(field) EF4_VAL(field, LBN) 48 /* Bit width of the specified field */ 49 #define EF4_WIDTH(field) EF4_VAL(field, WIDTH) 50 /* High bit number of the specified field */ [all...] |
/linux-master/arch/m68k/fpsp040/ |
H A D | smovecr.S | 5 | offset given in the instruction field.
|