/linux/arch/x86/kvm/vmx/ |
H A D | vmcs12.c | 7 #define FIELD(number, name) [ROL16(number, 6)] = VMCS12_OFFSET(name) macro 9 FIELD(number, name), \ 13 FIELD(VIRTUAL_PROCESSOR_ID, virtual_processor_id), 14 FIELD(POSTED_INTR_NV, posted_intr_nv), 15 FIELD(GUEST_ES_SELECTOR, guest_es_selector), 16 FIELD(GUEST_CS_SELECTOR, guest_cs_selector), 17 FIELD(GUEST_SS_SELECTOR, guest_ss_selector), 18 FIELD(GUEST_DS_SELECTOR, guest_ds_selector), 19 FIELD(GUEST_FS_SELECTOR, guest_fs_selector), 20 FIELD(GUEST_GS_SELECTOR, guest_gs_selector), [all …]
|
/linux/drivers/scsi/aic7xxx/ |
H A D | aic79xx.reg | 102 field DST_MODE 0x70 103 field SRC_MODE 0x07 117 field HWERRINT 0x80 118 field BRKADRINT 0x40 119 field SWTMINT 0x20 120 field PCIINT 0x10 121 field SCSIINT 0x08 122 field SEQINT 0x04 123 field CMDCMPLT 0x02 124 field SPLTINT 0x01 [all …]
|
H A D | aic7xxx.reg | 71 field TEMODE 0x80 72 field ENSELO 0x40 73 field ENSELI 0x20 74 field ENRSELI 0x10 75 field ENAUTOATNO 0x08 76 field ENAUTOATNI 0x04 77 field ENAUTOATNP 0x02 78 field SCSIRSTO 0x01 88 field DFON 0x80 89 field DFPEXP 0x40 [all …]
|
H A D | queue.h | 127 #define SLIST_FOREACH(var, head, field) \ argument 130 (var) = SLIST_NEXT((var), field)) 136 #define SLIST_INSERT_AFTER(slistelm, elm, field) do { \ argument 137 SLIST_NEXT((elm), field) = SLIST_NEXT((slistelm), field); \ 138 SLIST_NEXT((slistelm), field) = (elm); \ 141 #define SLIST_INSERT_HEAD(head, elm, field) do { \ argument 142 SLIST_NEXT((elm), field) = SLIST_FIRST((head)); \ 146 #define SLIST_NEXT(elm, field) ((elm)->field.sle_next) argument 148 #define SLIST_REMOVE(head, elm, type, field) do { \ argument 150 SLIST_REMOVE_HEAD((head), field); \ [all …]
|
/linux/tools/net/sunrpc/xdrgen/generators/ |
H A D | struct.py | 26 environment: Environment, field: _XdrDeclaration 28 """Emit a definition for one field in an XDR struct""" 29 if isinstance(field, _XdrBasic): 30 template = get_jinja2_template(environment, "definition", field.template) 33 name=field.name, 34 type=kernel_c_type(field.spec), 35 classifier=field.spec.c_classifier, 38 elif isinstance(field, _XdrFixedLengthOpaque): 39 template = get_jinja2_template(environment, "definition", field.template) 42 name=field [all...] |
H A D | pointer.py | 26 environment: Environment, field: _XdrDeclaration 28 """Emit a definition for one field in an XDR struct""" 29 if isinstance(field, _XdrBasic): 30 template = get_jinja2_template(environment, "definition", field.template) 33 name=field.name, 34 type=kernel_c_type(field.spec), 35 classifier=field.spec.c_classifier, 38 elif isinstance(field, _XdrFixedLengthOpaque): 39 template = get_jinja2_template(environment, "definition", field.template) 42 name=field [all...] |
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | sdma_v6_0_0_pkt_open.h | 107 /*define for op field*/ 113 /*define for sub_op field*/ 119 /*define for encrypt field*/ 125 /*define for tmz field*/ 131 /*define for cpv field*/ 137 /*define for backwards field*/ 143 /*define for broadcast field*/ 150 /*define for count field*/ 157 /*define for dst_sw field*/ 163 /*define for dst_cache_policy field*/ [all …]
|
H A D | tonga_sdma_pkt_open.h | 53 /*define for op field*/ 59 /*define for sub_op field*/ 70 /*define for op field*/ 76 /*define for sub_op field*/ 82 /*define for broadcast field*/ 89 /*define for count field*/ 96 /*define for dst_sw field*/ 102 /*define for dst_ha field*/ 108 /*define for src_sw field*/ 114 /*define for src_ha field*/ [all …]
|
H A D | vega10_sdma_pkt_open.h | 68 /*define for op field*/ 74 /*define for sub_op field*/ 86 /*define for op field*/ 92 /*define for sub_op field*/ 98 /*define for encrypt field*/ 104 /*define for tmz field*/ 110 /*define for broadcast field*/ 117 /*define for count field*/ 124 /*define for dst_sw field*/ 130 /*define for src_sw field*/ [all …]
|
H A D | iceland_sdma_pkt_open.h | 53 /*define for op field*/ 59 /*define for sub_op field*/ 70 /*define for op field*/ 76 /*define for sub_op field*/ 82 /*define for broadcast field*/ 89 /*define for count field*/ 96 /*define for dst_sw field*/ 102 /*define for dst_ha field*/ 108 /*define for src_sw field*/ 114 /*define for src_ha field*/ [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | field-order.rst | 6 Field Order 13 odd and even field are transmitted, and due to a small delay between 23 object on screen may well move between one field and the next. For 25 which field of a frame is older, the *temporal order*. 27 When the driver provides or accepts images field by field rather than 30 even) fields, the *spatial order*: The first line of the top field is 32 field is the second line of that frame. 35 whether a frame commences with the top or bottom field is pointless. Any 41 Counter to intuition the top field is not necessarily the older field. 42 Whether the older field contains the top or bottom lines is a convention [all …]
|
/linux/arch/arm/mach-sa1100/include/mach/ |
H A D | bitfield.h | 29 * The macro "Fld" encodes a bit field, given its size and its shift value 35 * field's mask is cumbersome and might break the assembler (255-character 39 * Size Size of the bit field, in number of bits. 40 * Shft Shift value of the bit field with respect to bit 0. 43 * Fld Encoded bit field. 55 * bit field. 58 * Field Encoded bit field (using the macro "Fld"). 61 * FSize Size of the bit field, in number of bits. 62 * FShft Shift value of the bit field with respect to bit 0. 63 * FMsk Mask for the bit field. [all …]
|
/linux/kernel/trace/ |
H A D | trace_output.c | 29 struct bputs_entry *field; in trace_print_bputs_msg_only() local 31 trace_assign_type(field, entry); in trace_print_bputs_msg_only() 33 trace_seq_puts(s, field->str); in trace_print_bputs_msg_only() 42 struct bprint_entry *field; in trace_print_bprintk_msg_only() local 44 trace_assign_type(field, entry); in trace_print_bprintk_msg_only() 46 trace_seq_bprintf(s, field->fmt, field->buf); in trace_print_bprintk_msg_only() 55 struct print_entry *field; in trace_print_printk_msg_only() local 57 trace_assign_type(field, entry); in trace_print_printk_msg_only() 59 trace_seq_puts(s, field->buf); in trace_print_printk_msg_only() 443 * @entry: The trace entry field from the ring buffer [all …]
|
H A D | trace_events_inject.c | 39 struct ftrace_event_field *field; in parse_field() local 47 /* First find the field to associate to */ in parse_field() 60 field = trace_find_event_field(call, field_name); in parse_field() 62 if (!field) in parse_field() 65 *pf = field; in parse_field() 78 /* Make sure the field is not a string */ in parse_field() 79 if (is_string_field(field)) in parse_field() 94 if (field->is_signed) in parse_field() 107 /* Make sure the field is OK for strings */ in parse_field() 108 if (!is_string_field(field)) in parse_field() [all …]
|
/linux/arch/s390/include/asm/ |
H A D | scsw.h | 237 * scsw_key - return scsw key field 240 * Return the value of the key field of the specified scsw, regardless of 252 * scsw_eswf - return scsw eswf field 255 * Return the value of the eswf field of the specified scsw, regardless of 267 * scsw_cc - return scsw cc field 270 * Return the value of the cc field of the specified scsw, regardless of 282 * scsw_ectl - return scsw ectl field 285 * Return the value of the ectl field of the specified scsw, regardless of 297 * scsw_pno - return scsw pno field 300 * Return the value of the pno field of the specified scsw, regardless of [all …]
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | cong.c | 104 static u32 mlx5_get_cc_param_val(void *field, int offset) in mlx5_get_cc_param_val() argument 108 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 111 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 114 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 117 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 120 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 123 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 126 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 129 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() 132 return MLX5_GET(cong_control_r_roce_ecn_rp, field, in mlx5_get_cc_param_val() [all …]
|
/linux/tools/include/linux/ |
H A D | bitfield.h | 67 _pfx "value too large for the field"); \ 76 * FIELD_MAX() - produce the maximum value representable by a field 77 * @_mask: shifted mask defining the field's length and position 79 * FIELD_MAX() returns the maximum value that can be held in the field 89 * FIELD_FIT() - check if value fits in the field 90 * @_mask: shifted mask defining the field's length and position 91 * @_val: value to test against the field 103 * @_mask: shifted mask defining the field's length and position 104 * @_val: value to put in the field 117 * @_mask: shifted mask defining the field's length and position [all …]
|
/linux/include/linux/ |
H A D | bitfield.h | 71 _pfx "value too large for the field"); \ 80 * FIELD_MAX() - produce the maximum value representable by a field 81 * @_mask: shifted mask defining the field's length and position 83 * FIELD_MAX() returns the maximum value that can be held in the field 93 * FIELD_FIT() - check if value fits in the field 94 * @_mask: shifted mask defining the field's length and position 95 * @_val: value to test against the field 107 * @_mask: shifted mask defining the field's length and position 108 * @_val: value to put in the field 123 * @_mask: shifted mask defining the field's length and position [all …]
|
/linux/arch/arm64/tools/ |
H A D | gen-sysreg.awk | 38 # Sanity check the number of records for a field makes sense. If not, produce 51 # Print standard BITMASK/SHIFT/WIDTH CPP definitions for a field 52 function define_field(reg, field, msb, lsb) { 53 define(reg "_" field, "GENMASK(" msb ", " lsb ")") 54 define(reg "_" field "_MASK", "GENMASK(" msb ", " lsb ")") 55 define(reg "_" field "_SHIFT", lsb) 56 define(reg "_" field "_WIDTH", msb - lsb + 1) 59 # Print a field _SIGNED definition for a field 60 function define_field_sign(reg, field, sign) { 61 define(reg "_" field "_SIGNED", sign) [all …]
|
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu_helper.h | 97 extern uint32_t phm_set_field_to_u32(u32 offset, u32 original_data, u32 field, u32 size); 137 #define PHM_FIELD_SHIFT(reg, field) reg##__##field##__SHIFT argument 138 #define PHM_FIELD_MASK(reg, field) reg##__##field##_MASK argument 140 #define PHM_SET_FIELD(origval, reg, field, fieldval) \ argument 141 (((origval) & ~PHM_FIELD_MASK(reg, field)) | \ 142 (PHM_FIELD_MASK(reg, field) & ((fieldval) << PHM_FIELD_SHIFT(reg, field)))) 144 #define PHM_GET_FIELD(value, reg, field) \ argument 145 (((value) & PHM_FIELD_MASK(reg, field)) >> \ 146 PHM_FIELD_SHIFT(reg, field)) 151 #define PHM_READ_FIELD(device, reg, field) \ argument [all …]
|
/linux/include/net/ |
H A D | snmp.h | 52 /* mibs[] must be first field of struct ipstats_mib */ 127 #define __SNMP_INC_STATS(mib, field) \ argument 128 __this_cpu_inc(mib->mibs[field]) 130 #define SNMP_INC_STATS_ATOMIC_LONG(mib, field) \ argument 131 atomic_long_inc(&mib->mibs[field]) 133 #define SNMP_INC_STATS(mib, field) \ argument 134 this_cpu_inc(mib->mibs[field]) 136 #define SNMP_DEC_STATS(mib, field) \ argument 137 this_cpu_dec(mib->mibs[field]) 139 #define __SNMP_ADD_STATS(mib, field, addend) \ argument [all …]
|
/linux/drivers/xen/xen-pciback/ |
H A D | conf_space.c | 47 const struct config_field *field = entry->field; in DEFINE_PCI_CONFIG() local 51 switch (field->size) { in DEFINE_PCI_CONFIG() 53 if (field->u.b.read) in DEFINE_PCI_CONFIG() 54 ret = field->u.b.read(dev, offset, (u8 *) value, in DEFINE_PCI_CONFIG() 58 if (field->u.w.read) in DEFINE_PCI_CONFIG() 59 ret = field->u.w.read(dev, offset, (u16 *) value, in DEFINE_PCI_CONFIG() 63 if (field->u.dw.read) in DEFINE_PCI_CONFIG() 64 ret = field->u.dw.read(dev, offset, value, entry->data); in DEFINE_PCI_CONFIG() 75 const struct config_field *field = entry->field; in conf_space_write() local 77 switch (field->size) { in conf_space_write() [all …]
|
/linux/sound/soc/codecs/ |
H A D | tscs42xx.h | 121 /* Field Offsets */ 124 /* Field Masks */ 127 /* Field Values */ 144 /* Field Offsets */ 147 /* Field Masks */ 150 /* Field Values */ 167 /* Field Offsets */ 170 /* Field Masks */ 173 /* Field Values */ 192 /* Field Offsets */ [all …]
|
/linux/drivers/acpi/acpica/ |
H A D | exfield.c | 47 * The following macros determine a given offset is a COMD field. 49 * 2-byte COMD field at offset 4 and master subspaces (type 3) contains a 4-byte 50 * COMD field starting at offset 12. 60 * field access attributes 78 "Invalid Field/AccessAs protocol ID: 0x%4.4X", in acpi_ex_get_protocol_buffer_length() 93 * obj_desc - The named field 98 * DESCRIPTION: Read from a named field. Returns either an Integer or a 99 * Buffer, depending on the size of the field and whether if a 100 * field is created by the create_field() operator. 137 (obj_desc->field.region_obj->region.space_id == in acpi_ex_read_data_from_field() [all …]
|
/linux/drivers/cdx/controller/ |
H A D | bitfield.h | 17 /* Specified attribute (e.g. LBN) of the specified field */ 18 #define CDX_VAL(field, attribute) field ## _ ## attribute argument 19 /* Low bit number of the specified field */ 20 #define CDX_LOW_BIT(field) CDX_VAL(field, LBN) argument 21 /* Bit width of the specified field */ 22 #define CDX_WIDTH(field) CDX_VAL(field, WIDTH) argument 23 /* High bit number of the specified field */ 24 #define CDX_HIGH_BIT(field) (CDX_LOW_BIT(field) + CDX_WIDTH(field) - 1) argument 36 * Extract bit field portion [low,high) from the 32-bit little-endian 39 #define CDX_DWORD_FIELD(dword, field) \ argument [all …]
|