/linux/drivers/scsi/aic7xxx/ |
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 argument 148 SLIST_REMOVE(head,elm,type,field) global() argument 161 SLIST_REMOVE_HEAD(head,field) global() argument 189 STAILQ_FOREACH(var,head,field) global() argument 199 STAILQ_INSERT_AFTER(head,tqelm,elm,field) global() argument 205 STAILQ_INSERT_HEAD(head,elm,field) global() argument 211 STAILQ_INSERT_TAIL(head,elm,field) global() argument 219 STAILQ_NEXT(elm,field) global() argument 221 STAILQ_REMOVE(head,elm,type,field) global() argument 235 STAILQ_REMOVE_HEAD(head,field) global() argument 241 STAILQ_REMOVE_HEAD_UNTIL(head,elm,field) global() argument 271 LIST_FOREACH(var,head,field) global() argument 280 LIST_INSERT_AFTER(listelm,elm,field) global() argument 288 LIST_INSERT_BEFORE(listelm,elm,field) global() argument 295 LIST_INSERT_HEAD(head,elm,field) global() argument 302 LIST_NEXT(elm,field) global() argument 304 LIST_REMOVE(elm,field) global() argument 336 TAILQ_FOREACH(var,head,field) global() argument 341 TAILQ_FOREACH_REVERSE(var,head,headname,field) global() argument 351 TAILQ_INSERT_AFTER(head,listelm,elm,field) global() argument 361 TAILQ_INSERT_BEFORE(listelm,elm,field) global() argument 368 TAILQ_INSERT_HEAD(head,elm,field) global() argument 378 TAILQ_INSERT_TAIL(head,elm,field) global() argument 388 TAILQ_NEXT(elm,field) global() argument 390 TAILQ_PREV(elm,headname,field) global() argument 393 TAILQ_REMOVE(head,elm,field) global() argument 427 CIRCLEQ_FOREACH(var,head,field) global() argument 432 CIRCLEQ_FOREACH_REVERSE(var,head,field) global() argument 442 CIRCLEQ_INSERT_AFTER(head,listelm,elm,field) global() argument 452 CIRCLEQ_INSERT_BEFORE(head,listelm,elm,field) global() argument 462 CIRCLEQ_INSERT_HEAD(head,elm,field) global() argument 472 CIRCLEQ_INSERT_TAIL(head,elm,field) global() argument 484 CIRCLEQ_NEXT(elm,field) global() argument 486 CIRCLEQ_PREV(elm,field) global() argument 488 CIRCLEQ_REMOVE(head,elm,field) global() argument [all...] |
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 SPLTIN [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 DFPEX [all...] |
/linux/arch/x86/kvm/vmx/ |
H A D | vmx_ops.h | 13 void vmread_error(unsigned long field); 14 void vmwrite_error(unsigned long field, unsigned long value); 31 * void vmread_error_trampoline(unsigned long field, bool fault); 39 void vmread_error_trampoline2(unsigned long field, bool fault); 43 static __always_inline void vmcs_check16(unsigned long field) in vmcs_check16() argument 45 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) & 0x6001) == 0x2000, in vmcs_check16() 46 "16-bit accessor invalid for 64-bit field"); in vmcs_check16() 47 BUILD_BUG_ON_MSG(__builtin_constant_p(field) && ((field) in vmcs_check16() 55 vmcs_check32(unsigned long field) vmcs_check32() argument 67 vmcs_check64(unsigned long field) vmcs_check64() argument 79 vmcs_checkl(unsigned long field) vmcs_checkl() argument 91 __vmcs_readl(unsigned long field) __vmcs_readl() argument 155 vmcs_read16(unsigned long field) vmcs_read16() argument 163 vmcs_read32(unsigned long field) vmcs_read32() argument 171 vmcs_read64(unsigned long field) vmcs_read64() argument 183 vmcs_readl(unsigned long field) vmcs_readl() argument 225 __vmcs_writel(unsigned long field,unsigned long value) __vmcs_writel() argument 230 vmcs_write16(unsigned long field,u16 value) vmcs_write16() argument 239 vmcs_write32(unsigned long field,u32 value) vmcs_write32() argument 248 vmcs_write64(unsigned long field,u64 value) vmcs_write64() argument 260 vmcs_writel(unsigned long field,unsigned long value) vmcs_writel() argument 269 vmcs_clear_bits(unsigned long field,u32 mask) vmcs_clear_bits() argument 279 vmcs_set_bits(unsigned long field,u32 mask) vmcs_set_bits() argument [all...] |
H A D | tdx.h | 76 void tdh_vp_rd_failed(struct vcpu_tdx *tdx, char *uclass, u32 field, u64 err); 77 void tdh_vp_wr_failed(struct vcpu_tdx *tdx, char *uclass, char *op, u32 field, 80 static __always_inline u64 td_tdcs_exec_read64(struct kvm_tdx *kvm_tdx, u32 field) in td_tdcs_exec_read64() argument 84 err = tdh_mng_rd(&kvm_tdx->td, TDCS_EXEC(field), &data); in td_tdcs_exec_read64() 86 pr_err("TDH_MNG_RD[EXEC.0x%x] failed: 0x%llx\n", field, err); in td_tdcs_exec_read64() 92 static __always_inline void tdvps_vmcs_check(u32 field, u8 bits) in tdvps_vmcs_check() argument 97 #define VMCS_ENC_ACCESS_TYPE(field) ((field) & VMCS_ENC_ACCESS_TYPE_MASK) in tdvps_vmcs_check() argument 99 /* TDX is 64bit only. HIGH field isn't supported. */ in tdvps_vmcs_check() 100 BUILD_BUG_ON_MSG(__builtin_constant_p(field) in tdvps_vmcs_check() 111 VMCS_ENC_WIDTH(field) tdvps_vmcs_check() argument 126 tdvps_management_check(u64 field,u8 bits) tdvps_management_check() argument 127 tdvps_state_non_arch_check(u64 field,u8 bits) tdvps_state_non_arch_check() argument [all...] |
H A D | vmx_onhyperv.h | 26 static __always_inline int get_evmcs_offset(unsigned long field, in get_evmcs_offset() argument 29 int offset = evmcs_field_offset(field, clean_field); in get_evmcs_offset() 31 WARN_ONCE(offset < 0, "accessing unsupported EVMCS field %lx\n", field); in get_evmcs_offset() 35 static __always_inline void evmcs_write64(unsigned long field, u64 value) in evmcs_write64() argument 38 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write64() 48 static __always_inline void evmcs_write32(unsigned long field, u32 value) in evmcs_write32() argument 51 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write32() 60 static __always_inline void evmcs_write16(unsigned long field, u16 value) in evmcs_write16() argument 63 int offset = get_evmcs_offset(field, in evmcs_write16() 72 evmcs_read64(unsigned long field) evmcs_read64() argument 82 evmcs_read32(unsigned long field) evmcs_read32() argument 92 evmcs_read16(unsigned long field) evmcs_read16() argument 124 evmcs_write64(unsigned long field,u64 value) evmcs_write64() argument 125 evmcs_write32(unsigned long field,u32 value) evmcs_write32() argument 126 evmcs_write16(unsigned long field,u16 value) evmcs_write16() argument 127 evmcs_read64(unsigned long field) evmcs_read64() argument 128 evmcs_read32(unsigned long field) evmcs_read32() argument 129 evmcs_read16(unsigned long field) evmcs_read16() argument [all...] |
H A D | tdx_arch.h | 9 /* TDX control structure (TDR/TDCS/TDVPS) field access codes */ 14 #define __BUILD_TDX_FIELD(non_arch, class, field) \ argument 17 ((u64)(field) & TDX_FIELD_MASK)) 19 #define BUILD_TDX_FIELD(class, field) \ argument 20 __BUILD_TDX_FIELD(false, (class), (field)) 22 #define BUILD_TDX_FIELD_NON_ARCH(class, field) \ argument 23 __BUILD_TDX_FIELD(true, (class), (field)) 51 /* @field is any of enum tdx_tdcs_execution_control */ 52 #define TDCS_EXEC(field) BUILD_TDX_FIELD(TD_CLASS_EXECUTION_CONTROLS, (field)) argument 55 TDVPS_VMCS(field) global() argument 58 TDVPS_STATE(field) global() argument 59 TDVPS_STATE_NON_ARCH(field) global() argument 67 TDVPS_MANAGEMENT(field) global() argument [all...] |
/linux/tools/net/sunrpc/xdrgen/generators/ |
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...] |
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...] |
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/inc/ |
H A D | dml2_debug.h | 14 #define _BOOL_FORMAT(field) "%s", field ? "true" : "false" argument 15 #define _UINT_FORMAT(field) "%u", field argument 16 #define _INT_FORMAT(field) "%d", field argument 17 #define _DOUBLE_FORMAT(field) "%lf", field argument 27 #define _LOG_SCALAR(field, format) do { \ argument 28 DML_LOG_INTERNAL(#field" 31 _LOG_ARRAY(field,size,format) global() argument 40 _LOG_2D_ARRAY(field,size0,size1,format) global() argument 57 _LOG_3D_ARRAY(field,size0,size1,size2,format) global() argument 143 DML_LOG_DEBUG_BOOL(field) global() argument 144 DML_LOG_DEBUG_UINT(field) global() argument 145 DML_LOG_DEBUG_INT(field) global() argument 146 DML_LOG_DEBUG_DOUBLE(field) global() argument 147 DML_LOG_DEBUG_ARRAY_BOOL(field,size) global() argument 148 DML_LOG_DEBUG_ARRAY_UINT(field,size) global() argument 149 DML_LOG_DEBUG_ARRAY_INT(field,size) global() argument 150 DML_LOG_DEBUG_ARRAY_DOUBLE(field,size) global() argument 151 DML_LOG_DEBUG_2D_ARRAY_BOOL(field,size0,size1) global() argument 152 DML_LOG_DEBUG_2D_ARRAY_UINT(field,size0,size1) global() argument 153 DML_LOG_DEBUG_2D_ARRAY_INT(field,size0,size1) global() argument 154 DML_LOG_DEBUG_2D_ARRAY_DOUBLE(field,size0,size1) global() argument 155 DML_LOG_DEBUG_3D_ARRAY_BOOL(field,size0,size1,size2) global() argument 156 DML_LOG_DEBUG_3D_ARRAY_UINT(field,size0,size1,size2) global() argument 157 DML_LOG_DEBUG_3D_ARRAY_INT(field,size0,size1,size2) global() argument 158 DML_LOG_DEBUG_3D_ARRAY_DOUBLE(field,size0,size1,size2) global() argument 165 DML_LOG_DEBUG_BOOL(field) global() argument 166 DML_LOG_DEBUG_UINT(field) global() argument 167 DML_LOG_DEBUG_INT(field) global() argument 168 DML_LOG_DEBUG_DOUBLE(field) global() argument 169 DML_LOG_DEBUG_ARRAY_BOOL(field,size) global() argument 170 DML_LOG_DEBUG_ARRAY_UINT(field,size) global() argument 171 DML_LOG_DEBUG_ARRAY_INT(field,size) global() argument 172 DML_LOG_DEBUG_ARRAY_DOUBLE(field,size) global() argument 173 DML_LOG_DEBUG_2D_ARRAY_BOOL(field,size0,size1) global() argument 174 DML_LOG_DEBUG_2D_ARRAY_UINT(field,size0,size1) global() argument 175 DML_LOG_DEBUG_2D_ARRAY_INT(field,size0,size1) global() argument 176 DML_LOG_DEBUG_2D_ARRAY_DOUBLE(field,size0,size1) global() argument 177 DML_LOG_DEBUG_3D_ARRAY_BOOL(field,size0,size1,size2) global() argument 178 DML_LOG_DEBUG_3D_ARRAY_UINT(field,size0,size1,size2) global() argument 179 DML_LOG_DEBUG_3D_ARRAY_INT(field,size0,size1,size2) global() argument 180 DML_LOG_DEBUG_3D_ARRAY_DOUBLE(field,size0,size1,size2) global() argument [all...] |
/linux/kernel/trace/ |
H A D | trace_output.c | 34 struct bputs_entry *field; in trace_print_bputs_msg_only() local 36 trace_assign_type(field, entry); in trace_print_bputs_msg_only() 38 trace_seq_puts(s, field->str); in trace_print_bputs_msg_only() 47 struct bprint_entry *field; in trace_print_bprintk_msg_only() local 49 trace_assign_type(field, entry); in trace_print_bprintk_msg_only() 51 trace_seq_bprintf(s, field->fmt, field->buf); in trace_print_bprintk_msg_only() 60 struct print_entry *field; in trace_print_printk_msg_only() local 62 trace_assign_type(field, entry); in trace_print_printk_msg_only() 64 trace_seq_puts(s, field in trace_print_printk_msg_only() 917 print_array(struct trace_iterator * iter,void * pos,struct ftrace_event_field * field) print_array() argument 946 struct ftrace_event_field *field; print_fields() local 1140 struct ftrace_entry *field; trace_fn_trace() local 1162 struct ftrace_entry *field; trace_fn_raw() local 1176 struct ftrace_entry *field; trace_fn_hex() local 1190 struct ftrace_entry *field; trace_fn_bin() local 1217 struct ctx_switch_entry *field; trace_ctxwake_print() local 1254 struct ctx_switch_entry *field; trace_ctxwake_raw() local 1289 struct ctx_switch_entry *field; trace_ctxwake_hex() local 1325 struct ctx_switch_entry *field; trace_ctxwake_bin() local 1370 struct stack_entry *field; trace_stack_print() local 1411 struct userstack_entry *field; trace_user_stack_print() local 1466 struct hwlat_entry *field; trace_hwlat_print() local 1498 struct hwlat_entry *field; trace_hwlat_raw() local 1530 struct osnoise_entry *field; trace_osnoise_print() local 1565 struct osnoise_entry *field; trace_osnoise_raw() local 1602 struct timerlat_entry *field; trace_timerlat_print() local 1618 struct timerlat_entry *field; trace_timerlat_raw() local 1648 struct bputs_entry *field; trace_bputs_print() local 1664 struct bputs_entry *field; trace_bputs_raw() local 1692 struct bprint_entry *field; trace_bprint_print() local 1708 struct bprint_entry *field; trace_bprint_raw() local 1733 struct print_entry *field; trace_print_print() local 1750 struct print_entry *field; trace_print_raw() local 1772 struct raw_data_entry *field; trace_raw_data() local 1802 struct func_repeats_entry *field; trace_func_repeats_raw() local 1820 struct func_repeats_entry *field; trace_func_repeats_print() local [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() 140 struct ftrace_event_field *field; trace_get_entry_size() local 156 struct ftrace_event_field *field; trace_alloc_entry() local 198 struct ftrace_event_field *field; parse_entry() local [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, adden argument 142 SNMP_ADD_STATS(mib,field,addend) global() argument 160 __SNMP_ADD_STATS64(mib,field,addend) global() argument 168 SNMP_ADD_STATS64(mib,field,addend) global() argument 175 __SNMP_INC_STATS64(mib,field) global() argument 176 SNMP_INC_STATS64(mib,field) global() argument 192 __SNMP_INC_STATS64(mib,field) global() argument 193 SNMP_INC_STATS64(mib,field) global() argument 194 SNMP_DEC_STATS64(mib,field) global() argument 195 __SNMP_ADD_STATS64(mib,field,addend) global() argument 196 SNMP_ADD_STATS64(mib,field,addend) global() argument [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() 178 mlx5_ib_set_cc_param_mask_val(void * field,int offset,u32 var,u32 * attr_mask) mlx5_ib_set_cc_param_mask_val() argument 297 void *field; mlx5_ib_get_cc_params() local 334 void *field; mlx5_ib_set_cc_params() local [all...] |
/linux/include/trace/stages/ |
H A D | stage3_trace_output.h | 6 #define __entry field 12 #define __get_dynamic_array(field) \ argument 13 ((void *)__entry + (__entry->__data_loc_##field & 0xffff)) 16 #define __get_dynamic_array_len(field) \ argument 17 ((__entry->__data_loc_##field >> 16) & 0xffff) 20 #define __get_str(field) ((char *)__get_dynamic_array(field)) argument 23 #define __get_rel_dynamic_array(field) \ argument 25 offsetof(typeof(*__entry), __rel_loc_##field) + \ 26 sizeof(__entry->__rel_loc_##field) 30 __get_rel_dynamic_array_len(field) global() argument 34 __get_rel_str(field) global() argument 37 __get_bitmask(field) global() argument 46 __get_cpumask(field) global() argument 49 __get_rel_bitmask(field) global() argument 58 __get_rel_cpumask(field) global() argument 61 __get_sockaddr(field) global() argument 64 __get_rel_sockaddr(field) global() argument [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' 133 field_multiplier(u64 field) field_multiplier() argument 139 field_mask(u64 field) field_mask() argument 143 field_max(field) global() argument [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, sig [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 in conf_space_write() local 153 const struct config_field *field; xen_pcibk_config_read() local 209 const struct config_field *field; xen_pcibk_config_write() local 333 const struct config_field *field; xen_pcibk_config_free_dyn_fields() local 359 const struct config_field *field; xen_pcibk_config_reset_dev() local 377 const struct config_field *field; xen_pcibk_config_free_dev() local 396 xen_pcibk_config_add_field_offset(struct pci_dev * dev,const struct config_field * field,unsigned int base_offset) xen_pcibk_config_add_field_offset() argument [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' 180 field_multiplier(u64 field) field_multiplier() argument 186 field_mask(u64 field) field_mask() argument 190 field_max(field) global() argument [all...] |
/linux/drivers/clk/st/ |
H A D | clkgen.h | 22 struct clkgen_field *field) in clkgen_read() argument 24 return (readl(base + field->offset) >> field->shift) & field->mask; in clkgen_read() 28 static inline void clkgen_write(void __iomem *base, struct clkgen_field *field, in clkgen_write() argument 31 writel((readl(base + field->offset) & in clkgen_write() 32 ~(field->mask << field->shift)) | (val << field->shift), in clkgen_write() 33 base + field in clkgen_write() 44 CLKGEN_READ(pll,field) global() argument 47 CLKGEN_WRITE(pll,field,val) global() argument [all...] |
/linux/drivers/infiniband/hw/hfi1/ |
H A D | exp_rcv.h | 18 #define EXP_TID_GET(tid, field) \ argument 19 (((tid) >> EXP_TID_TID##field##_SHIFT) & EXP_TID_TID##field##_MASK) 21 #define EXP_TID_SET(field, value) \ argument 22 (((value) & EXP_TID_TID##field##_MASK) << \ 23 EXP_TID_TID##field##_SHIFT) 24 #define EXP_TID_CLEAR(tid, field) ({ \ argument 25 (tid) &= ~(EXP_TID_TID##field##_MASK << \ 26 EXP_TID_TID##field##_SHIFT); \ 28 #define EXP_TID_RESET(tid, field, valu argument 58 KDETH_GET(val,field) global() argument 60 KDETH_SET(dw,field,val) global() argument 68 KDETH_RESET(dw,field,val) global() argument [all...] |
/linux/Documentation/userspace-api/media/v4l/ |
H A D | field-order.rst | 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 [all...] |
/linux/drivers/md/ |
H A D | dm-init.c | 82 * @separator: char that delimits the field 95 /* Delimit the field and remove trailing spaces */ in str_field_delimit() 117 char *field[4]; in dm_parse_table_entry() local 120 field[0] = str; in dm_parse_table_entry() 122 for (i = 0; i < ARRAY_SIZE(field) - 1; i++) { in dm_parse_table_entry() 123 field[i + 1] = str_field_delimit(&field[i], ' '); in dm_parse_table_entry() 124 if (!field[i + 1]) in dm_parse_table_entry() 127 /* Delimit last field that can be terminated by comma */ in dm_parse_table_entry() 128 next = str_field_delimit(&field[ in dm_parse_table_entry() 195 char *field[5]; dm_parse_device_entry() local [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 CDX_HIGH_BIT(field) global() argument 39 CDX_DWORD_FIELD(dword,field) global() argument 47 CDX_INSERT_FIELD(field,value) global() argument [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 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() 139 || obj_desc->field in acpi_ex_read_data_from_field() [all...] |