Home
last modified time | relevance | path

Searched refs:_x (Results 1 – 25 of 112) sorted by relevance

12345

/openbmc/u-boot/include/
H A Dedid.h24 #define GET_BIT(_x, _pos) \ argument
25 (((_x) >> (_pos)) & 1)
26 #define GET_BITS(_x, _pos_msb, _pos_lsb) \ argument
27 (((_x) >> (_pos_lsb)) & ((1 << ((_pos_msb) - (_pos_lsb) + 1)) - 1))
40 #define EDID_DETAILED_TIMING_PIXEL_CLOCK(_x) \ argument
41 (((((uint32_t)(_x).pixel_clock[1]) << 8) + \
42 (_x).pixel_clock[0]) * 10000)
46 #define EDID_DETAILED_TIMING_HORIZONTAL_ACTIVE(_x) \ argument
47 ((GET_BITS((_x).horizontal_active_blanking_hi, 7, 4) << 8) + \
48 (_x).horizontal_active)
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_arm.h23 #define NFP_ARM_GCSR_BULK_BAR_TGT(_x) (((_x) & 0xf) << 27) argument
24 #define NFP_ARM_GCSR_BULK_BAR_TGT_of(_x) (((_x) >> 27) & 0xf) argument
25 #define NFP_ARM_GCSR_BULK_BAR_TOK(_x) (((_x) & 0x3) << 25) argument
26 #define NFP_ARM_GCSR_BULK_BAR_TOK_of(_x) (((_x) >> 25) & 0x3) argument
30 #define NFP_ARM_GCSR_BULK_BAR_ADDR(_x) ((_x) & 0x7ff) argument
31 #define NFP_ARM_GCSR_BULK_BAR_ADDR_of(_x) ((_x) & 0x7ff) argument
37 #define NFP_ARM_GCSR_EXPA_BAR_TGT(_x) (((_x) & 0xf) << 27) argument
38 #define NFP_ARM_GCSR_EXPA_BAR_TGT_of(_x) (((_x) >> 27) & 0xf) argument
39 #define NFP_ARM_GCSR_EXPA_BAR_TOK(_x) (((_x) & 0x3) << 25) argument
40 #define NFP_ARM_GCSR_EXPA_BAR_TOK_of(_x) (((_x) >> 25) & 0x3) argument
[all …]
H A Dnfp6000_pcie.c38 #define NFP_PCIE_BAR_EXPLICIT_BAR0(_x, _y) \ argument
39 (0x00000080 + (0x40 * ((_x) & 0x3)) + (0x10 * ((_y) & 0x3)))
40 #define NFP_PCIE_BAR_EXPLICIT_BAR0_SignalType(_x) (((_x) & 0x3) << 30) argument
41 #define NFP_PCIE_BAR_EXPLICIT_BAR0_SignalType_of(_x) (((_x) >> 30) & 0x3) argument
42 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Token(_x) (((_x) & 0x3) << 28) argument
43 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Token_of(_x) (((_x) >> 28) & 0x3) argument
44 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Address(_x) (((_x) & 0xffffff) << 0) argument
45 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Address_of(_x) (((_x) >> 0) & 0xffffff) argument
46 #define NFP_PCIE_BAR_EXPLICIT_BAR1(_x, _y) \ argument
47 (0x00000084 + (0x40 * ((_x) & 0x3)) + (0x10 * ((_y) & 0x3)))
[all …]
/openbmc/linux/include/video/
H A Dsamsung_fimd.h60 #define VIDCON0_CLKVAL_F(_x) ((_x) << 6) argument
121 #define VIDTCON0_VBPDE(_x) ((_x) << 24) argument
126 #define VIDTCON0_VBPD(_x) ((_x) << 16) argument
131 #define VIDTCON0_VFPD(_x) ((_x) << 8) argument
136 #define VIDTCON0_VSPW(_x) ((_x) << 0) argument
144 #define VIDTCON1_VFPDE(_x) ((_x) << 24) argument
149 #define VIDTCON1_HBPD(_x) ((_x) << 16) argument
154 #define VIDTCON1_HFPD(_x) ((_x) << 8) argument
159 #define VIDTCON1_HSPW(_x) ((_x) << 0) argument
162 #define VIDTCON2_LINEVAL_E(_x) ((((_x) & 0x800) >> 11) << 23) argument
[all …]
/openbmc/linux/drivers/gpu/drm/exynos/
H A Dregs-decon7.h89 #define VIDOSD_H(_x) (0x80 + ((_x) * 4)) argument
134 #define VIDOSDxA_TOPLEFT_X(_x) (((_x) & 0x1fff) << 13) argument
139 #define VIDOSDxA_TOPLEFT_Y(_x) (((_x) & 0x1fff) << 0) argument
144 #define VIDOSDxB_BOTRIGHT_X(_x) (((_x) & 0x1fff) << 13) argument
149 #define VIDOSDxB_BOTRIGHT_Y(_x) (((_x) & 0x1fff) << 0) argument
151 #define VIDOSDxC_ALPHA0_R_F(_x) (((_x) & 0xFF) << 16) argument
152 #define VIDOSDxC_ALPHA0_G_F(_x) (((_x) & 0xFF) << 8) argument
153 #define VIDOSDxC_ALPHA0_B_F(_x) (((_x) & 0xFF) << 0) argument
155 #define VIDOSDxD_ALPHA1_R_F(_x) (((_x) & 0xFF) << 16) argument
156 #define VIDOSDxD_ALPHA1_G_F(_x) (((_x) & 0xFF) << 8) argument
[all …]
/openbmc/linux/tools/lib/bpf/
H A Dusdt.bpf.h217 #define ___bpf_usdt_args1(x) ___bpf_usdt_args0(), ({ long _x; bpf_usdt_arg(ctx, 0, &_x); (void *)_x
218 …usdt_args2(x, args...) ___bpf_usdt_args1(args), ({ long _x; bpf_usdt_arg(ctx, 1, &_x); (void *)_x;…
219 …usdt_args3(x, args...) ___bpf_usdt_args2(args), ({ long _x; bpf_usdt_arg(ctx, 2, &_x); (void *)_x;…
220 …usdt_args4(x, args...) ___bpf_usdt_args3(args), ({ long _x; bpf_usdt_arg(ctx, 3, &_x); (void *)_x;…
221 …usdt_args5(x, args...) ___bpf_usdt_args4(args), ({ long _x; bpf_usdt_arg(ctx, 4, &_x); (void *)_x;…
222 …usdt_args6(x, args...) ___bpf_usdt_args5(args), ({ long _x; bpf_usdt_arg(ctx, 5, &_x); (void *)_x;…
223 …usdt_args7(x, args...) ___bpf_usdt_args6(args), ({ long _x; bpf_usdt_arg(ctx, 6, &_x); (void *)_x;…
224 …usdt_args8(x, args...) ___bpf_usdt_args7(args), ({ long _x; bpf_usdt_arg(ctx, 7, &_x); (void *)_x;…
225 …usdt_args9(x, args...) ___bpf_usdt_args8(args), ({ long _x; bpf_usdt_arg(ctx, 8, &_x); (void *)_x;…
226 …sdt_args10(x, args...) ___bpf_usdt_args9(args), ({ long _x; bpf_usdt_arg(ctx, 9, &_x); (void *)_x;…
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_ctrl.h288 #define NFP_NET_CFG_RSS_MASK_of(_x) ((_x) & 0x7f) argument
316 #define NFP_NET_CFG_TXR_ADDR(_x) (NFP_NET_CFG_TXR_BASE + ((_x) * 0x8)) argument
317 #define NFP_NET_CFG_TXR_WB_ADDR(_x) (NFP_NET_CFG_TXR_BASE + 0x200 + \ argument
318 ((_x) * 0x8))
319 #define NFP_NET_CFG_TXR_SZ(_x) (NFP_NET_CFG_TXR_BASE + 0x400 + (_x)) argument
320 #define NFP_NET_CFG_TXR_VEC(_x) (NFP_NET_CFG_TXR_BASE + 0x440 + (_x)) argument
321 #define NFP_NET_CFG_TXR_PRIO(_x) (NFP_NET_CFG_TXR_BASE + 0x480 + (_x)) argument
322 #define NFP_NET_CFG_TXR_IRQ_MOD(_x) (NFP_NET_CFG_TXR_BASE + 0x500 + \ argument
323 ((_x) * 0x4))
334 #define NFP_NET_CFG_RXR_ADDR(_x) (NFP_NET_CFG_RXR_BASE + ((_x) * 0x8)) argument
[all …]
/openbmc/qemu/include/qemu/
H A Dbswap.h5 #define bswap16(_x) __builtin_bswap16(_x) argument
7 #define bswap32(_x) __builtin_bswap32(_x) argument
9 #define bswap64(_x) __builtin_bswap64(_x) argument
151 # define const_le64(_x) \ argument
152 ((((_x) & 0x00000000000000ffULL) << 56) | \
153 (((_x) & 0x000000000000ff00ULL) << 40) | \
154 (((_x) & 0x0000000000ff0000ULL) << 24) | \
155 (((_x) & 0x00000000ff000000ULL) << 8) | \
156 (((_x) & 0x000000ff00000000ULL) >> 8) | \
157 (((_x) & 0x0000ff0000000000ULL) >> 24) | \
[all …]
/openbmc/linux/arch/mips/include/asm/mach-ath79/
H A Dirq.h12 #define ATH79_CPU_IRQ(_x) (MIPS_CPU_IRQ_BASE + (_x)) argument
16 #define ATH79_MISC_IRQ(_x) (ATH79_MISC_IRQ_BASE + (_x)) argument
20 #define ATH79_PCI_IRQ(_x) (ATH79_PCI_IRQ_BASE + (_x)) argument
24 #define ATH79_IP2_IRQ(_x) (ATH79_IP2_IRQ_BASE + (_x)) argument
28 #define ATH79_IP3_IRQ(_x) (ATH79_IP3_IRQ_BASE + (_x)) argument
/openbmc/u-boot/arch/arm/mach-s5pc1xx/include/mach/
H A Dmmc.h23 #define SDHCI_CTRL2_FLTCLKSEL(_x) ((_x) << 24) argument
27 #define SDHCI_CTRL2_LVLDAT(_x) ((_x) << 16) argument
35 #define SDHCI_CTRL2_DFCNT_MASK(_x) ((_x) << 9) argument
41 #define SDHCI_CTRL2_SELBASECLK_MASK(_x) ((_x) << 4) argument
52 #define SDHCI_CTRL4_DRIVE_MASK(_x) ((_x) << 16) argument
/openbmc/u-boot/arch/arm/mach-exynos/include/mach/
H A Dmmc.h23 #define SDHCI_CTRL2_FLTCLKSEL(_x) ((_x) << 24) argument
27 #define SDHCI_CTRL2_LVLDAT(_x) ((_x) << 16) argument
35 #define SDHCI_CTRL2_DFCNT_MASK(_x) ((_x) << 9) argument
41 #define SDHCI_CTRL2_SELBASECLK_MASK(_x) ((_x) << 4) argument
52 #define SDHCI_CTRL4_DRIVE_MASK(_x) ((_x) << 16) argument
H A Dxhci-exynos.h13 #define LINKSYSTEM_FLADJ(_x) ((_x) << 1) argument
21 #define PHYCLKRST_SSC_REFCLKSEL(_x) ((_x) << 23) argument
24 #define PHYCLKRST_SSC_RANGE(_x) ((_x) << 21) argument
38 #define PHYCLKRST_FSEL(_x) ((_x) << 5) argument
/openbmc/linux/drivers/usb/dwc2/
H A Dhw.h95 #define GUSBCFG_TOUTCAL(_x) ((_x) << 0) argument
104 #define GRSTCTL_TXFNUM(_x) ((_x) << 6) argument
414 #define FIFOSIZE_DEPTH_GET(_x) (((_x) >> 16) & 0xffff) argument
423 #define DCFG_EPMISCNT(_x) ((_x) << 18) argument
428 #define DCFG_PERFRINT(_x) ((_x) << 11) argument
432 #define DCFG_DEVADDR(_x) ((_x) << 4) argument
459 #define DSTS_SOFFN(_x) ((_x) << 8) argument
495 #define DAINT_OUTEP(_x) (1 << ((_x) + 16)) argument
496 #define DAINT_INEP(_x) (1 << (_x)) argument
536 #define DXEPCTL_TXFNUM(_x) ((_x) << 22) argument
[all …]
/openbmc/qemu/include/hw/usb/
H A Ddwc2-regs.h122 #define GUSBCFG_TOUTCAL(_x) ((_x) << 0) argument
130 #define GRSTCTL_TXFNUM(_x) ((_x) << 6) argument
438 #define FIFOSIZE_DEPTH_GET(_x) (((_x) >> 16) & 0xffff) argument
447 #define DCFG_EPMISCNT(_x) ((_x) << 18) argument
452 #define DCFG_PERFRINT(_x) ((_x) << 11) argument
456 #define DCFG_DEVADDR(_x) ((_x) << 4) argument
483 #define DSTS_SOFFN(_x) ((_x) << 8) argument
519 #define DAINT_OUTEP(_x) (1 << ((_x) + 16)) argument
520 #define DAINT_INEP(_x) (1 << (_x)) argument
560 #define DXEPCTL_TXFNUM(_x) ((_x) << 22) argument
[all …]
/openbmc/linux/arch/mips/include/asm/sn/
H A Daddrs.h66 #define TO_NODE(_n, _x) (NODE_OFFSET(_n) | ((_x) )) argument
67 #define TO_NODE_CAC(_n, _x) (NODE_CAC_BASE(_n) | ((_x) & TO_PHYS_MASK)) argument
68 #define TO_NODE_UNCAC(_n, _x) (NODE_UNCAC_BASE(_n) | ((_x) & TO_PHYS_MASK)) argument
69 #define TO_NODE_MSPEC(_n, _x) (NODE_MSPEC_BASE(_n) | ((_x) & TO_PHYS_MASK)) argument
70 #define TO_NODE_HSPEC(_n, _x) (NODE_HSPEC_BASE(_n) | ((_x) & TO_PHYS_MASK)) argument
138 #define UALIAS_FLIP_ADDR(_x) (cputoslice(smp_processor_id()) ? \ argument
139 (_x) ^ UALIAS_FLIP_BIT : (_x))
254 #define LOCAL_HUB_ADDR(_x) (IALIAS_BASE + (_x)) argument
255 #define REMOTE_HUB_ADDR(_n, _x) ((NODE_SWIN_BASE(_n, 1) + 0x800000 + (_x))) argument
259 #define LOCAL_HUB_PTR(_x) ((u64 *)LOCAL_HUB_ADDR((_x))) argument
[all …]
/openbmc/linux/arch/powerpc/boot/
H A Dtypes.h29 typeof(x) _x = (x); \
31 (void) (&_x == &_y); \
32 _x < _y ? _x : _y; })
35 typeof(x) _x = (x); \
37 (void) (&_x == &_y); \
38 _x > _y ? _x : _y; })
/openbmc/linux/include/xen/interface/io/
H A Dring.h33 #define __RD2(_x) (((_x) & 0x00000002) ? 0x2 : ((_x) & 0x1)) argument
34 #define __RD4(_x) (((_x) & 0x0000000c) ? __RD2((_x)>>2)<<2 : __RD2(_x)) argument
35 #define __RD8(_x) (((_x) & 0x000000f0) ? __RD4((_x)>>4)<<4 : __RD4(_x)) argument
36 #define __RD16(_x) (((_x) & 0x0000ff00) ? __RD8((_x)>>8)<<8 : __RD8(_x)) argument
37 #define __RD32(_x) (((_x) & 0xffff0000) ? __RD16((_x)>>16)<<16 : __RD16(_x)) argument
/openbmc/linux/arch/x86/crypto/
H A Dcamellia-aesni-avx2-asm_64.S88 vextracti128 $1, x0, t0##_x; \
89 vextracti128 $1, x7, t1##_x; \
92 vextracti128 $1, x3, t3##_x; \
93 vextracti128 $1, x6, t2##_x; \
99 vpxor t4##_x, t4##_x, t4##_x; \
102 vextracti128 $1, x2, t6##_x; \
103 vextracti128 $1, x5, t5##_x; \
104 vaesenclast t4##_x, x0##_x, x0##_x; \
105 vaesenclast t4##_x, t0##_x, t0##_x; \
106 vinserti128 $1, t0##_x, x0, x0; \
[all …]
/openbmc/qemu/include/hw/xen/interface/io/
H A Dring.h39 #define __RD2(_x) (((_x) & 0x00000002) ? 0x2 : ((_x) & 0x1)) argument
40 #define __RD4(_x) (((_x) & 0x0000000c) ? __RD2((_x)>>2)<<2 : __RD2(_x)) argument
41 #define __RD8(_x) (((_x) & 0x000000f0) ? __RD4((_x)>>4)<<4 : __RD4(_x)) argument
42 #define __RD16(_x) (((_x) & 0x0000ff00) ? __RD8((_x)>>8)<<8 : __RD8(_x)) argument
43 #define __RD32(_x) (((_x) & 0xffff0000) ? __RD16((_x)>>16)<<16 : __RD16(_x)) argument
/openbmc/qemu/replay/
H A Dreplay.c46 #define ASYNC_EVENT(_x) case REPLAY_ASYNC_EVENT_ ## _x: return "ASYNC_EVENT_"#_x in replay_async_event_name() argument
63 #define CLOCK_EVENT(_x) case REPLAY_CLOCK_ ## _x: return "CLOCK_" #_x in replay_clock_event_name() argument
76 #define SHUTDOWN_EVENT(_x) case SHUTDOWN_CAUSE_ ## _x: return "SHUTDOWN_CAUSE_" #_x in replay_shutdown_event_name() argument
97 #define CHECKPOINT_EVENT(_x) case CHECKPOINT_ ## _x: return "CHECKPOINT_" #_x in replay_checkpoint_event_name() argument
117 #define EVENT(_x) case EVENT_ ## _x: return "EVENT_"#_x in replay_event_name() argument
/openbmc/linux/arch/arm64/kvm/
H A Dsys_regs.h236 #define AA32(_x) .aarch32_map = AA32_##_x argument
237 #define Op0(_x) .Op0 = _x argument
238 #define Op1(_x) .Op1 = _x argument
239 #define CRn(_x) .CRn = _x argument
240 #define CRm(_x) .CRm = _x argument
241 #define Op2(_x) .Op2 = _x argument
/openbmc/linux/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_iio.h234 #define INV_MPU6050_REG_I2C_SLV_ADDR(_x) (0x25 + 3 * (_x)) argument
237 #define INV_MPU6050_REG_I2C_SLV_REG(_x) (0x26 + 3 * (_x)) argument
239 #define INV_MPU6050_REG_I2C_SLV_CTRL(_x) (0x27 + 3 * (_x)) argument
247 #define INV_MPU6050_BITS_I2C_MST_DLY(_x) ((_x) & 0x1F) argument
270 #define INV_MPU6050_REG_I2C_SLV_DO(_x) (0x63 + (_x)) argument
/openbmc/linux/drivers/scsi/cxlflash/
H A Dcommon.h32 #define CHAN2PORTBANK(_x) ((_x) >> ilog2(CXLFLASH_NUM_FC_PORTS_PER_BANK)) argument
33 #define CHAN2BANKPORT(_x) ((_x) & (CXLFLASH_NUM_FC_PORTS_PER_BANK - 1)) argument
35 #define CHAN2PORTMASK(_x) (1 << (_x)) /* channel to port mask */ argument
36 #define PORTMASK2CHAN(_x) (ilog2((_x))) /* port mask to channel */ argument
37 #define PORTNUM2CHAN(_x) ((_x) - 1) /* port number to channel */ argument
/openbmc/linux/arch/x86/include/asm/
H A Ddmi.h19 #define dmi_remap(_x, _l) memremap(_x, _l, MEMREMAP_WB) argument
20 #define dmi_unmap(_x) memunmap(_x) argument
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_cs.h313 #define bfa_swap_3b(_x) \ argument
314 ((((_x) & 0xff) << 16) | \
315 ((_x) & 0x00ff00) | \
316 (((_x) & 0xff0000) >> 16))
319 #define bfa_hton3b(_x) bfa_swap_3b(_x) argument
321 #define bfa_hton3b(_x) (_x) argument
324 #define bfa_ntoh3b(_x) bfa_hton3b(_x) argument

12345