/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/tools/testing/selftests/bpf/progs/ |
H A D | test_pkt_md_access.c | 11 #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/arch/sparc/net/ |
H A D | bpf_jit_comp_32.c | 181 #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/tools/include/nolibc/ |
H A D | types.h | 207 #define offsetof(TYPE, FIELD) ((size_t) &((TYPE *)0)->FIELD) argument 211 #define container_of(PTR, TYPE, FIELD) ({ \ argument 212 __typeof__(((TYPE *)0)->FIELD) *__FIELD_PTR = (PTR); \ 213 (TYPE *)((char *) __FIELD_PTR - offsetof(TYPE, FIELD)); \
|
/linux/tools/testing/selftests/ftrace/test.d/trigger/inter-event/ |
H A D | trigger-synthetic-eprobe.tc | 13 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/include/linux/mfd/ |
H A D | idtRC38xxx_reg.h | 196 #define IDTFC3_FW_FIELD(FW, VER, FIELD) (((FW) < (VER)) ? (FIELD) : (FIELD##_##VER)) argument
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_plane.c | 721 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_LEFT_RPT), in mdp5_write_pixel_ext() 722 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_RIGHT_RPT), in mdp5_write_pixel_ext() 723 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_LEFT_OVF), in mdp5_write_pixel_ext() 724 FIELD(lr, MDP5_PIPE_SW_PIX_EXT_LR_RIGHT_OVF), in mdp5_write_pixel_ext() 725 FIELD(req, MDP5_PIPE_SW_PIX_EXT_REQ_PIXELS_LEFT_RIGHT)); in mdp5_write_pixel_ext() 728 FIELD(tb, MDP5_PIPE_SW_PIX_EXT_TB_TOP_RPT), in mdp5_write_pixel_ext() 729 FIELD(tb, MDP5_PIPE_SW_PIX_EXT_TB_BOTTOM_RPT), in mdp5_write_pixel_ext() 730 FIELD(tb, MDP5_PIPE_SW_PIX_EXT_TB_TOP_OVF), in mdp5_write_pixel_ext() 731 FIELD(tb, MDP5_PIPE_SW_PIX_EXT_TB_BOTTOM_OVF), in mdp5_write_pixel_ext() 732 FIELD(req, MDP5_PIPE_SW_PIX_EXT_REQ_PIXELS_TOP_BOTTOM)); in mdp5_write_pixel_ext()
|
H A D | mdp5_kms.c | 471 *major = FIELD(version, MDP5_HW_VERSION_MAJOR); in read_mdp_hw_revision() 472 *minor = FIELD(version, MDP5_HW_VERSION_MINOR); in read_mdp_hw_revision()
|
/linux/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_symbol.c | 103 case FIELD: in symbol_delete() 243 case FIELD: in symlist_add() 503 case FIELD: in symtable_dump() 630 case FIELD: in symtable_dump()
|
H A D | aicasm_symbol.h | 54 FIELD, enumerator
|
H A D | aicasm_gram.y | 476 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/tools/testing/selftests/ftrace/test.d/dynevent/ |
H A D | add_remove_eprobe.tc | 12 FIELD="filename"
|
/linux/drivers/gpu/drm/msm/dsi/phy/ |
H A D | dsi_phy_28nm.c | 262 sdm_byp_div = FIELD( in dsi_pll_28nm_clk_recalc_rate() 268 sdm_dc_off = FIELD( in dsi_pll_28nm_clk_recalc_rate() 272 sdm2 = FIELD(readl(base + REG_DSI_28nm_PHY_PLL_SDM_CFG2), in dsi_pll_28nm_clk_recalc_rate() 274 sdm3 = FIELD(readl(base + REG_DSI_28nm_PHY_PLL_SDM_CFG3), in dsi_pll_28nm_clk_recalc_rate()
|
/linux/include/linux/ |
H A D | netdevice.h | 185 #define NET_DEV_STAT(FIELD) \ argument 187 unsigned long FIELD; \ 188 atomic_long_t __##FIELD; \ 4078 #define DEV_CORE_STATS_INC(FIELD) \ argument 4079 static inline void dev_core_stats_##FIELD##_inc(struct net_device *dev) \ 4082 offsetof(struct net_device_core_stats, FIELD)); \ 5341 #define DEV_STATS_INC(DEV, FIELD) atomic_long_inc(&(DEV)->stats.__##FIELD) argument 5342 #define DEV_STATS_ADD(DEV, FIELD, VAL) \ argument 5343 atomic_long_add((VAL), &(DEV)->stats.__##FIELD) 5344 #define DEV_STATS_READ(DEV, FIELD) atomic_long_read(&(DEV)->stats.__##FIELD) argument
|
/linux/drivers/gpu/drm/mediatek/ |
H A D | mtk_dpi_regs.h | 148 #define FIELD BIT(20) macro
|
/linux/drivers/gpu/drm/msm/disp/mdp4/ |
H A D | mdp4_kms.c | 370 *major = FIELD(version, MDP4_VERSION_MAJOR); in read_mdp_hw_revision() 371 *minor = FIELD(version, MDP4_VERSION_MINOR); in read_mdp_hw_revision()
|
/linux/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_i2c.c | 201 p->buf[j] = FIELD(ddc_data, HDMI_DDC_DATA_DATA); in msm_hdmi_i2c_xfer()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon.h | 2512 #define REG_SET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) argument 2513 #define REG_GET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) argument
|
/linux/drivers/gpu/drm/msm/ |
H A D | msm_drv.h | 525 #define FIELD(val, name) (((val) & name ## __MASK) >> name ## __SHIFT) macro
|
/linux/net/core/ |
H A D | filter.c | 7147 #define BPF_TCP_SOCK_GET_COMMON(FIELD) \ in bpf_tcp_sock_convert_ctx_access() argument 7149 BUILD_BUG_ON(sizeof_field(struct tcp_sock, FIELD) > \ in bpf_tcp_sock_convert_ctx_access() 7150 sizeof_field(struct bpf_tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access() 7151 *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(struct tcp_sock, FIELD),\ in bpf_tcp_sock_convert_ctx_access() 7153 offsetof(struct tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access() 7156 #define BPF_INET_SOCK_GET_COMMON(FIELD) \ in bpf_tcp_sock_convert_ctx_access() argument 7159 FIELD) > \ in bpf_tcp_sock_convert_ctx_access() 7160 sizeof_field(struct bpf_tcp_sock, FIELD)); \ in bpf_tcp_sock_convert_ctx_access() 7163 FIELD), \ in bpf_tcp_sock_convert_ctx_access() 7167 FIELD)); \ in bpf_tcp_sock_convert_ctx_access() [all …]
|
H A D | net-sysfs.c | 1492 #define BQL_ATTR(NAME, FIELD) \ argument 1496 return bql_show(buf, queue->dql.FIELD); \ 1502 return bql_set(buf, len, &queue->dql.FIELD); \
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ptp.c | 1302 #define MLXSW_SP_PTP_PORT_STAT(NAME, FIELD) \ argument 1306 FIELD), \
|
/linux/Documentation/trace/ |
H A D | boottime-trace.rst | 120 ftrace.[instance.INSTANCE.]event.synthetic.EVENT.fields = FIELD[, FIELD2[...]]
|
/linux/drivers/gpu/drm/msm/dsi/ |
H A D | dsi_host.c | 60 ver = FIELD(ver, DSI_VERSION_MAJOR); in dsi_get_version() 76 ver = FIELD(ver, DSI_VERSION_MAJOR); in dsi_get_version()
|
/linux/ |
H A D | MAINTAINERS | 11592 INTEL IN FIELD SCAN (IFS) DEVICE
|