Home
last modified time | relevance | path

Searched refs:FIELD (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.6.21/arch/x86/kvm/vmx/
Dvmcs12.c7 #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-6.6.21/arch/arm64/kernel/
Didreg-override.c35 #define FIELD(n, s, f) { .name = n, .shift = s, .width = 4, .filter = f } macro
53 FIELD("vh", ID_AA64MMFR1_EL1_VH_SHIFT, mmfr1_vh_filter),
77 FIELD("sve", ID_AA64PFR0_EL1_SVE_SHIFT, pfr0_sve_filter),
101 FIELD("bt", ID_AA64PFR1_EL1_BT_SHIFT, NULL ),
102 FIELD("mte", ID_AA64PFR1_EL1_MTE_SHIFT, NULL),
103 FIELD("sme", ID_AA64PFR1_EL1_SME_SHIFT, pfr1_sme_filter),
112 FIELD("gpi", ID_AA64ISAR1_EL1_GPI_SHIFT, NULL),
113 FIELD("gpa", ID_AA64ISAR1_EL1_GPA_SHIFT, NULL),
114 FIELD("api", ID_AA64ISAR1_EL1_API_SHIFT, NULL),
115 FIELD("apa", ID_AA64ISAR1_EL1_APA_SHIFT, NULL),
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_pkt_md_access.c11 #define TEST_FIELD(TYPE, FIELD, MASK) \ argument
13 TYPE tmp = *(volatile TYPE *)&skb->FIELD; \
14 if (tmp != ((*(volatile __u32 *)&skb->FIELD) & MASK)) \
19 #define TEST_FIELD(TYPE, FIELD, MASK) \ argument
21 TYPE tmp = *((volatile TYPE *)&skb->FIELD + \
22 TEST_FIELD_OFFSET(skb->FIELD, TYPE)); \
23 if (tmp != ((*(volatile __u32 *)&skb->FIELD) & MASK)) \
/linux-6.6.21/arch/sparc/net/
Dbpf_jit_comp_32.c181 #define emit_loadptr(BASE, STRUCT, FIELD, DEST) \ argument
182 do { unsigned int _off = offsetof(STRUCT, FIELD); \
183 BUILD_BUG_ON(sizeof_field(STRUCT, FIELD) != sizeof(void *)); \
187 #define emit_load32(BASE, STRUCT, FIELD, DEST) \ argument
188 do { unsigned int _off = offsetof(STRUCT, FIELD); \
189 BUILD_BUG_ON(sizeof_field(STRUCT, FIELD) != sizeof(u32)); \
193 #define emit_load16(BASE, STRUCT, FIELD, DEST) \ argument
194 do { unsigned int _off = offsetof(STRUCT, FIELD); \
195 BUILD_BUG_ON(sizeof_field(STRUCT, FIELD) != sizeof(u16)); \
199 #define __emit_load8(BASE, STRUCT, FIELD, DEST) \ argument
[all …]
/linux-6.6.21/tools/include/nolibc/
Dtypes.h228 #define offsetof(TYPE, FIELD) ((size_t) &((TYPE *)0)->FIELD) argument
232 #define container_of(PTR, TYPE, FIELD) ({ \ argument
233 __typeof__(((TYPE *)0)->FIELD) *__FIELD_PTR = (PTR); \
234 (TYPE *)((char *) __FIELD_PTR - offsetof(TYPE, FIELD)); \
/linux-6.6.21/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
Dtrigger-synthetic-eprobe.tc13 FIELD="filename"
18 echo "hist:keys=common_pid:__arg__1=$FIELD" > events/$SYSTEM/$START/trigger
45 echo '!'"hist:keys=common_pid:__arg__1=$FIELD" > events/$SYSTEM/$START/trigger
/linux-6.6.21/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c734 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_LEFT_RPT), in mdp5_write_pixel_ext()
735 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_RIGHT_RPT), in mdp5_write_pixel_ext()
736 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_LEFT_OVF), in mdp5_write_pixel_ext()
737 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_RIGHT_OVF), in mdp5_write_pixel_ext()
738 FIELD(req, MDP5_PIPE_SW_PIX_EXT_REQ_PIXELS_LEFT_RIGHT)); in mdp5_write_pixel_ext()
741 FIELD(tb, MDP5_PIPE_SW_PIX_EXT_TB_TOP_RPT), in mdp5_write_pixel_ext()
742 FIELD(tb, MDP5_PIPE_SW_PIX_EXT_TB_BOTTOM_RPT), in mdp5_write_pixel_ext()
743 FIELD(tb, MDP5_PIPE_SW_PIX_EXT_TB_TOP_OVF), in mdp5_write_pixel_ext()
744 FIELD(tb, MDP5_PIPE_SW_PIX_EXT_TB_BOTTOM_OVF), in mdp5_write_pixel_ext()
745 FIELD(req, MDP5_PIPE_SW_PIX_EXT_REQ_PIXELS_TOP_BOTTOM)); in mdp5_write_pixel_ext()
Dmdp5_kms.c526 *major = FIELD(version, MDP5_HW_VERSION_MAJOR); in read_mdp_hw_revision()
527 *minor = FIELD(version, MDP5_HW_VERSION_MINOR); in read_mdp_hw_revision()
/linux-6.6.21/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.c103 case FIELD: in symbol_delete()
243 case FIELD: in symlist_add()
503 case FIELD: in symtable_dump()
630 case FIELD: in symtable_dump()
Daicasm_symbol.h54 FIELD, enumerator
Daicasm_gram.y476 process_field(FIELD, $2, $3.value);
484 process_field(FIELD, $2, $3.value);
707 case FIELD:
1510 case FIELD: in initialize_symbol()
1895 || node->symbol->type == FIELD in type_check()
/linux-6.6.21/tools/lib/bpf/
Dlibbpf_internal.h92 # define offsetofend(TYPE, FIELD) \ argument
93 (offsetof(TYPE, FIELD) + sizeof(((TYPE *)0)->FIELD))
/linux-6.6.21/tools/testing/selftests/ftrace/test.d/dynevent/
Dadd_remove_eprobe.tc12 FIELD="filename"
/linux-6.6.21/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy_28nm.c261 sdm_byp_div = FIELD( in dsi_pll_28nm_clk_recalc_rate()
267 sdm_dc_off = FIELD( in dsi_pll_28nm_clk_recalc_rate()
271 sdm2 = FIELD(dsi_phy_read(base + REG_DSI_28nm_PHY_PLL_SDM_CFG2), in dsi_pll_28nm_clk_recalc_rate()
273 sdm3 = FIELD(dsi_phy_read(base + REG_DSI_28nm_PHY_PLL_SDM_CFG3), in dsi_pll_28nm_clk_recalc_rate()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu.h1175 #define REG_SET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) argument
1176 #define REG_GET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) argument
/linux-6.6.21/drivers/gpu/drm/mediatek/
Dmtk_dpi_regs.h148 #define FIELD BIT(20) macro
/linux-6.6.21/include/linux/
Dnetdevice.h182 #define NET_DEV_STAT(FIELD) \ argument
184 unsigned long FIELD; \
185 atomic_long_t __##FIELD; \
4018 #define DEV_CORE_STATS_INC(FIELD) \ argument
4019 static inline void dev_core_stats_##FIELD##_inc(struct net_device *dev) \
4025 this_cpu_inc(p->FIELD); \
5236 #define DEV_STATS_INC(DEV, FIELD) atomic_long_inc(&(DEV)->stats.__##FIELD) argument
5237 #define DEV_STATS_ADD(DEV, FIELD, VAL) \ argument
5238 atomic_long_add((VAL), &(DEV)->stats.__##FIELD)
5239 #define DEV_STATS_READ(DEV, FIELD) atomic_long_read(&(DEV)->stats.__##FIELD) argument
/linux-6.6.21/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_kms.c373 *major = FIELD(version, MDP4_VERSION_MAJOR); in read_mdp_hw_revision()
374 *minor = FIELD(version, MDP4_VERSION_MINOR); in read_mdp_hw_revision()
/linux-6.6.21/drivers/gpu/drm/msm/hdmi/
Dhdmi_i2c.c201 p->buf[j] = FIELD(ddc_data, HDMI_DDC_DATA_DATA); in msm_hdmi_i2c_xfer()
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_drv.h540 #define FIELD(val, name) (((val) & name ## __MASK) >> name ## __SHIFT) macro
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon.h2510 #define REG_SET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) argument
2511 #define REG_GET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) argument
/linux-6.6.21/net/core/
Dfilter.c7045 #define BPF_TCP_SOCK_GET_COMMON(FIELD) \ in bpf_tcp_sock_convert_ctx_access() argument
7047 BUILD_BUG_ON(sizeof_field(struct tcp_sock, FIELD) > \ in bpf_tcp_sock_convert_ctx_access()
7048 sizeof_field(struct bpf_tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access()
7049 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct tcp_sock, FIELD),\ in bpf_tcp_sock_convert_ctx_access()
7051 offsetof(struct tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access()
7054 #define BPF_INET_SOCK_GET_COMMON(FIELD) \ in bpf_tcp_sock_convert_ctx_access() argument
7057 FIELD) > \ in bpf_tcp_sock_convert_ctx_access()
7058 sizeof_field(struct bpf_tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access()
7061 FIELD), \ in bpf_tcp_sock_convert_ctx_access()
7065 FIELD)); \ in bpf_tcp_sock_convert_ctx_access()
[all …]
Dnet-sysfs.c1412 #define BQL_ATTR(NAME, FIELD) \ argument
1416 return bql_show(buf, queue->dql.FIELD); \
1422 return bql_set(buf, len, &queue->dql.FIELD); \
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c1301 #define MLXSW_SP_PTP_PORT_STAT(NAME, FIELD) \ argument
1305 FIELD), \
/linux-6.6.21/Documentation/trace/
Dboottime-trace.rst120 ftrace.[instance.INSTANCE.]event.synthetic.EVENT.fields = FIELD[, FIELD2[...]]

12