Home
last modified time | relevance | path

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

12

/linux-5.19.10/arch/x86/kvm/vmx/
Dvmcs12.c6 #define FIELD(number, name) [ROL16(number, 6)] = VMCS12_OFFSET(name) macro
8 FIELD(number, name), \
12 FIELD(VIRTUAL_PROCESSOR_ID, virtual_processor_id),
13 FIELD(POSTED_INTR_NV, posted_intr_nv),
14 FIELD(GUEST_ES_SELECTOR, guest_es_selector),
15 FIELD(GUEST_CS_SELECTOR, guest_cs_selector),
16 FIELD(GUEST_SS_SELECTOR, guest_ss_selector),
17 FIELD(GUEST_DS_SELECTOR, guest_ds_selector),
18 FIELD(GUEST_FS_SELECTOR, guest_fs_selector),
19 FIELD(GUEST_GS_SELECTOR, guest_gs_selector),
[all …]
/linux-5.19.10/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-5.19.10/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-5.19.10/tools/include/nolibc/
Dtypes.h195 #define offsetof(TYPE, FIELD) ((size_t) &((TYPE *)0)->FIELD) argument
199 #define container_of(PTR, TYPE, FIELD) ({ \ argument
200 __typeof__(((TYPE *)0)->FIELD) *__FIELD_PTR = (PTR); \
201 (TYPE *)((char *) __FIELD_PTR - offsetof(TYPE, FIELD)); \
/linux-5.19.10/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-5.19.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c733 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_LEFT_RPT), in mdp5_write_pixel_ext()
734 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_RIGHT_RPT), in mdp5_write_pixel_ext()
735 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_LEFT_OVF), in mdp5_write_pixel_ext()
736 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_RIGHT_OVF), in mdp5_write_pixel_ext()
737 FIELD(req, MDP5_PIPE_SW_PIX_EXT_REQ_PIXELS_LEFT_RIGHT)); in mdp5_write_pixel_ext()
740 FIELD(tb, MDP5_PIPE_SW_PIX_EXT_TB_TOP_RPT), in mdp5_write_pixel_ext()
741 FIELD(tb, MDP5_PIPE_SW_PIX_EXT_TB_BOTTOM_RPT), in mdp5_write_pixel_ext()
742 FIELD(tb, MDP5_PIPE_SW_PIX_EXT_TB_TOP_OVF), in mdp5_write_pixel_ext()
743 FIELD(tb, MDP5_PIPE_SW_PIX_EXT_TB_BOTTOM_OVF), in mdp5_write_pixel_ext()
744 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-5.19.10/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.c102 case FIELD: in symbol_delete()
242 case FIELD: in symlist_add()
502 case FIELD: in symtable_dump()
629 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-5.19.10/tools/lib/bpf/
Dlibbpf_internal.h92 # define offsetofend(TYPE, FIELD) \ argument
93 (offsetof(TYPE, FIELD) + sizeof(((TYPE *)0)->FIELD))
/linux-5.19.10/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy_28nm.c260 sdm_byp_div = FIELD( in dsi_pll_28nm_clk_recalc_rate()
266 sdm_dc_off = FIELD( in dsi_pll_28nm_clk_recalc_rate()
270 sdm2 = FIELD(dsi_phy_read(base + REG_DSI_28nm_PHY_PLL_SDM_CFG2), in dsi_pll_28nm_clk_recalc_rate()
272 sdm3 = FIELD(dsi_phy_read(base + REG_DSI_28nm_PHY_PLL_SDM_CFG3), in dsi_pll_28nm_clk_recalc_rate()
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu.h1134 #define REG_SET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) argument
1135 #define REG_GET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) argument
/linux-5.19.10/tools/testing/selftests/ftrace/test.d/dynevent/
Dadd_remove_eprobe.tc12 FIELD="filename"
/linux-5.19.10/drivers/gpu/drm/mediatek/
Dmtk_dpi_regs.h136 #define FIELD BIT(20) macro
/linux-5.19.10/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_kms.c380 *major = FIELD(version, MDP4_VERSION_MAJOR); in read_mdp_hw_revision()
381 *minor = FIELD(version, MDP4_VERSION_MINOR); in read_mdp_hw_revision()
/linux-5.19.10/drivers/gpu/drm/msm/hdmi/
Dhdmi_i2c.c201 p->buf[j] = FIELD(ddc_data, HDMI_DDC_DATA_DATA); in msm_hdmi_i2c_xfer()
/linux-5.19.10/drivers/gpu/drm/msm/
Dmsm_drv.h494 #define FIELD(val, name) (((val) & name ## __MASK) >> name ## __SHIFT) macro
/linux-5.19.10/drivers/gpu/drm/radeon/
Dradeon.h2549 #define REG_SET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) argument
2550 #define REG_GET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) argument
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c1099 #define MLXSW_SP_PTP_PORT_STAT(NAME, FIELD) \ argument
1103 FIELD), \
/linux-5.19.10/net/core/
Dfilter.c6812 #define BPF_TCP_SOCK_GET_COMMON(FIELD) \ in bpf_tcp_sock_convert_ctx_access() argument
6814 BUILD_BUG_ON(sizeof_field(struct tcp_sock, FIELD) > \ in bpf_tcp_sock_convert_ctx_access()
6815 sizeof_field(struct bpf_tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access()
6816 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct tcp_sock, FIELD),\ in bpf_tcp_sock_convert_ctx_access()
6818 offsetof(struct tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access()
6821 #define BPF_INET_SOCK_GET_COMMON(FIELD) \ in bpf_tcp_sock_convert_ctx_access() argument
6824 FIELD) > \ in bpf_tcp_sock_convert_ctx_access()
6825 sizeof_field(struct bpf_tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access()
6828 FIELD), \ in bpf_tcp_sock_convert_ctx_access()
6832 FIELD)); \ in bpf_tcp_sock_convert_ctx_access()
[all …]
Dnet-sysfs.c1383 #define BQL_ATTR(NAME, FIELD) \ argument
1387 return bql_show(buf, queue->dql.FIELD); \
1393 return bql_set(buf, len, &queue->dql.FIELD); \
/linux-5.19.10/Documentation/trace/
Dboottime-trace.rst120 ftrace.[instance.INSTANCE.]event.synthetic.EVENT.fields = FIELD[, FIELD2[...]]
/linux-5.19.10/include/linux/
Dnetdevice.h3914 #define DEV_CORE_STATS_INC(FIELD) \ argument
3915 static inline void dev_core_stats_##FIELD##_inc(struct net_device *dev) \
3921 this_cpu_inc(p->FIELD); \
/linux-5.19.10/drivers/gpu/drm/msm/dsi/
Ddsi_host.c57 ver = FIELD(ver, DSI_VERSION_MAJOR); in dsi_get_version()
73 ver = FIELD(ver, DSI_VERSION_MAJOR); in dsi_get_version()

12