Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_pkt_md_access.c13 #define TEST_FIELD(TYPE, FIELD, MASK) \ argument
15 TYPE tmp = *(volatile TYPE *)&skb->FIELD; \
16 if (tmp != ((*(volatile __u32 *)&skb->FIELD) & MASK)) \
21 #define TEST_FIELD(TYPE, FIELD, MASK) \ argument
23 TYPE tmp = *((volatile TYPE *)&skb->FIELD + \
24 TEST_FIELD_OFFSET(skb->FIELD, TYPE)); \
25 if (tmp != ((*(volatile __u32 *)&skb->FIELD) & MASK)) \
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.10/drivers/visorbus/
Dvisorchannel.c169 #define SIG_WRITE_FIELD(channel, queue, sig_hdr, FIELD) \ argument
172 offsetof(struct signal_queue_header, FIELD), \
173 &((sig_hdr)->FIELD), \
174 sizeof((sig_hdr)->FIELD))
/kernel/linux/linux-5.10/tools/lib/bpf/
Dlibbpf_internal.h48 # define offsetofend(TYPE, FIELD) \ argument
49 (offsetof(TYPE, FIELD) + sizeof(((TYPE *)0)->FIELD))
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_plane.c789 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_LEFT_RPT), in mdp5_write_pixel_ext()
790 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_RIGHT_RPT), in mdp5_write_pixel_ext()
791 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_LEFT_OVF), in mdp5_write_pixel_ext()
792 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_RIGHT_OVF), in mdp5_write_pixel_ext()
793 FIELD(req, MDP5_PIPE_SW_PIX_EXT_REQ_PIXELS_LEFT_RIGHT)); in mdp5_write_pixel_ext()
796 FIELD(tb, MDP5_PIPE_SW_PIX_EXT_TB_TOP_RPT), in mdp5_write_pixel_ext()
797 FIELD(tb, MDP5_PIPE_SW_PIX_EXT_TB_BOTTOM_RPT), in mdp5_write_pixel_ext()
798 FIELD(tb, MDP5_PIPE_SW_PIX_EXT_TB_TOP_OVF), in mdp5_write_pixel_ext()
799 FIELD(tb, MDP5_PIPE_SW_PIX_EXT_TB_BOTTOM_OVF), in mdp5_write_pixel_ext()
800 FIELD(req, MDP5_PIPE_SW_PIX_EXT_REQ_PIXELS_TOP_BOTTOM)); in mdp5_write_pixel_ext()
Dmdp5_kms.c555 *major = FIELD(version, MDP5_HW_VERSION_MAJOR); in read_mdp_hw_revision()
556 *minor = FIELD(version, MDP5_HW_VERSION_MINOR); in read_mdp_hw_revision()
/kernel/linux/linux-5.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.y477 process_field(FIELD, $2, $3.value);
485 process_field(FIELD, $2, $3.value);
708 case FIELD:
1511 case FIELD: in initialize_symbol()
1896 || node->symbol->type == FIELD in type_check()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll_28nm.c274 sdm_byp_div = FIELD( in dsi_pll_28nm_clk_recalc_rate()
280 sdm_dc_off = FIELD( in dsi_pll_28nm_clk_recalc_rate()
284 sdm2 = FIELD(pll_read(base + REG_DSI_28nm_PHY_PLL_SDM_CFG2), in dsi_pll_28nm_clk_recalc_rate()
286 sdm3 = FIELD(pll_read(base + REG_DSI_28nm_PHY_PLL_SDM_CFG3), in dsi_pll_28nm_clk_recalc_rate()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu.h1072 #define REG_SET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) argument
1073 #define REG_GET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) argument
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_dpi_regs.h136 #define FIELD BIT(20) macro
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_kms.c390 *major = FIELD(version, MDP4_VERSION_MAJOR); in read_mdp_hw_revision()
391 *minor = FIELD(version, MDP4_VERSION_MINOR); in read_mdp_hw_revision()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/
Dhdmi_i2c.c201 p->buf[j] = FIELD(ddc_data, HDMI_DDC_DATA_DATA); in msm_hdmi_i2c_xfer()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon.h2524 #define REG_SET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) argument
2525 #define REG_GET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) argument
/kernel/linux/linux-5.10/net/core/
Dfilter.c6252 #define BPF_TCP_SOCK_GET_COMMON(FIELD) \ in bpf_tcp_sock_convert_ctx_access() argument
6254 BUILD_BUG_ON(sizeof_field(struct tcp_sock, FIELD) > \ in bpf_tcp_sock_convert_ctx_access()
6255 sizeof_field(struct bpf_tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access()
6256 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct tcp_sock, FIELD),\ in bpf_tcp_sock_convert_ctx_access()
6258 offsetof(struct tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access()
6261 #define BPF_INET_SOCK_GET_COMMON(FIELD) \ in bpf_tcp_sock_convert_ctx_access() argument
6264 FIELD) > \ in bpf_tcp_sock_convert_ctx_access()
6265 sizeof_field(struct bpf_tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access()
6268 FIELD), \ in bpf_tcp_sock_convert_ctx_access()
6272 FIELD)); \ in bpf_tcp_sock_convert_ctx_access()
[all …]
Dnet-sysfs.c1335 #define BQL_ATTR(NAME, FIELD) \ argument
1339 return bql_show(buf, queue->dql.FIELD); \
1345 return bql_set(buf, len, &queue->dql.FIELD); \
/kernel/linux/linux-5.10/kernel/bpf/
Dverifier.c691 #define COPY_STATE_FN(NAME, COUNT, FIELD, SIZE) \ argument
695 if (!src->FIELD) \
702 memcpy(dst->FIELD, src->FIELD, \
703 sizeof(*src->FIELD) * (src->COUNT / SIZE)); \
712 #define REALLOC_STATE_FN(NAME, COUNT, FIELD, SIZE) \ in COPY_STATE_FN() argument
717 struct bpf_##NAME##_state *new_##FIELD; \ in COPY_STATE_FN()
725 kfree(state->FIELD); \ in COPY_STATE_FN()
726 state->FIELD = NULL; \ in COPY_STATE_FN()
730 new_##FIELD = kmalloc_array(slot, sizeof(struct bpf_##NAME##_state), \ in COPY_STATE_FN()
732 if (!new_##FIELD) \ in COPY_STATE_FN()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c1100 #define MLXSW_SP_PTP_PORT_STAT(NAME, FIELD) \ argument
1104 FIELD), \
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_drv.h539 #define FIELD(val, name) (((val) & name ## __MASK) >> name ## __SHIFT) macro
/kernel/linux/linux-5.10/Documentation/trace/
Dboottime-trace.rst114 ftrace.[instance.INSTANCE.]event.synthetic.EVENT.fields = FIELD[, FIELD2[...]]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/
Ddsi_host.c53 ver = FIELD(ver, DSI_VERSION_MAJOR); in dsi_get_version()
69 ver = FIELD(ver, DSI_VERSION_MAJOR); in dsi_get_version()