/Linux-v4.19/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_arm.h | 53 #define NFP_ARM_GCSR_BULK_BAR_TGT(_x) (((_x) & 0xf) << 27) argument 54 #define NFP_ARM_GCSR_BULK_BAR_TGT_of(_x) (((_x) >> 27) & 0xf) argument 55 #define NFP_ARM_GCSR_BULK_BAR_TOK(_x) (((_x) & 0x3) << 25) argument 56 #define NFP_ARM_GCSR_BULK_BAR_TOK_of(_x) (((_x) >> 25) & 0x3) argument 60 #define NFP_ARM_GCSR_BULK_BAR_ADDR(_x) ((_x) & 0x7ff) argument 61 #define NFP_ARM_GCSR_BULK_BAR_ADDR_of(_x) ((_x) & 0x7ff) argument 67 #define NFP_ARM_GCSR_EXPA_BAR_TGT(_x) (((_x) & 0xf) << 27) argument 68 #define NFP_ARM_GCSR_EXPA_BAR_TGT_of(_x) (((_x) >> 27) & 0xf) argument 69 #define NFP_ARM_GCSR_EXPA_BAR_TOK(_x) (((_x) & 0x3) << 25) argument 70 #define NFP_ARM_GCSR_EXPA_BAR_TOK_of(_x) (((_x) >> 25) & 0x3) argument [all …]
|
D | nfp6000_pcie.c | 67 #define NFP_PCIE_BAR_EXPLICIT_BAR0(_x, _y) \ argument 68 (0x00000080 + (0x40 * ((_x) & 0x3)) + (0x10 * ((_y) & 0x3))) 69 #define NFP_PCIE_BAR_EXPLICIT_BAR0_SignalType(_x) (((_x) & 0x3) << 30) argument 70 #define NFP_PCIE_BAR_EXPLICIT_BAR0_SignalType_of(_x) (((_x) >> 30) & 0x3) argument 71 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Token(_x) (((_x) & 0x3) << 28) argument 72 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Token_of(_x) (((_x) >> 28) & 0x3) argument 73 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Address(_x) (((_x) & 0xffffff) << 0) argument 74 #define NFP_PCIE_BAR_EXPLICIT_BAR0_Address_of(_x) (((_x) >> 0) & 0xffffff) argument 75 #define NFP_PCIE_BAR_EXPLICIT_BAR1(_x, _y) \ argument 76 (0x00000084 + (0x40 * ((_x) & 0x3)) + (0x10 * ((_y) & 0x3))) [all …]
|
/Linux-v4.19/include/video/ |
D | samsung_fimd.h | 63 #define VIDCON0_CLKVAL_F(_x) ((_x) << 6) argument 124 #define VIDTCON0_VBPDE(_x) ((_x) << 24) argument 129 #define VIDTCON0_VBPD(_x) ((_x) << 16) argument 134 #define VIDTCON0_VFPD(_x) ((_x) << 8) argument 139 #define VIDTCON0_VSPW(_x) ((_x) << 0) argument 147 #define VIDTCON1_VFPDE(_x) ((_x) << 24) argument 152 #define VIDTCON1_HBPD(_x) ((_x) << 16) argument 157 #define VIDTCON1_HFPD(_x) ((_x) << 8) argument 162 #define VIDTCON1_HSPW(_x) ((_x) << 0) argument 165 #define VIDTCON2_LINEVAL_E(_x) ((((_x) & 0x800) >> 11) << 23) argument [all …]
|
/Linux-v4.19/drivers/gpu/drm/exynos/ |
D | regs-decon7.h | 93 #define VIDOSD_H(_x) (0x80 + ((_x) * 4)) argument 138 #define VIDOSDxA_TOPLEFT_X(_x) (((_x) & 0x1fff) << 13) argument 143 #define VIDOSDxA_TOPLEFT_Y(_x) (((_x) & 0x1fff) << 0) argument 148 #define VIDOSDxB_BOTRIGHT_X(_x) (((_x) & 0x1fff) << 13) argument 153 #define VIDOSDxB_BOTRIGHT_Y(_x) (((_x) & 0x1fff) << 0) argument 155 #define VIDOSDxC_ALPHA0_R_F(_x) (((_x) & 0xFF) << 16) argument 156 #define VIDOSDxC_ALPHA0_G_F(_x) (((_x) & 0xFF) << 8) argument 157 #define VIDOSDxC_ALPHA0_B_F(_x) (((_x) & 0xFF) << 0) argument 159 #define VIDOSDxD_ALPHA1_R_F(_x) (((_x) & 0xFF) << 16) argument 160 #define VIDOSDxD_ALPHA1_G_F(_x) (((_x) & 0xFF) << 8) argument [all …]
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_ctrl.h | 297 #define NFP_NET_CFG_RSS_MASK_of(_x) ((_x) & 0x7f) argument 326 #define NFP_NET_CFG_TXR_ADDR(_x) (NFP_NET_CFG_TXR_BASE + ((_x) * 0x8)) argument 327 #define NFP_NET_CFG_TXR_WB_ADDR(_x) (NFP_NET_CFG_TXR_BASE + 0x200 + \ argument 328 ((_x) * 0x8)) 329 #define NFP_NET_CFG_TXR_SZ(_x) (NFP_NET_CFG_TXR_BASE + 0x400 + (_x)) argument 330 #define NFP_NET_CFG_TXR_VEC(_x) (NFP_NET_CFG_TXR_BASE + 0x440 + (_x)) argument 331 #define NFP_NET_CFG_TXR_PRIO(_x) (NFP_NET_CFG_TXR_BASE + 0x480 + (_x)) argument 332 #define NFP_NET_CFG_TXR_IRQ_MOD(_x) (NFP_NET_CFG_TXR_BASE + 0x500 + \ argument 333 ((_x) * 0x4)) 345 #define NFP_NET_CFG_RXR_ADDR(_x) (NFP_NET_CFG_RXR_BASE + ((_x) * 0x8)) argument [all …]
|
/Linux-v4.19/arch/mips/include/asm/mach-ath79/ |
D | irq.h | 15 #define ATH79_CPU_IRQ(_x) (MIPS_CPU_IRQ_BASE + (_x)) argument 19 #define ATH79_MISC_IRQ(_x) (ATH79_MISC_IRQ_BASE + (_x)) argument 23 #define ATH79_PCI_IRQ(_x) (ATH79_PCI_IRQ_BASE + (_x)) argument 27 #define ATH79_IP2_IRQ(_x) (ATH79_IP2_IRQ_BASE + (_x)) argument 31 #define ATH79_IP3_IRQ(_x) (ATH79_IP3_IRQ_BASE + (_x)) argument
|
/Linux-v4.19/arch/powerpc/boot/ |
D | types.h | 29 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; })
|
/Linux-v4.19/drivers/usb/dwc2/ |
D | hw.h | 118 #define GUSBCFG_TOUTCAL(_x) ((_x) << 0) argument 126 #define GRSTCTL_TXFNUM(_x) ((_x) << 6) argument 418 #define FIFOSIZE_DEPTH_GET(_x) (((_x) >> 16) & 0xffff) argument 427 #define DCFG_EPMISCNT(_x) ((_x) << 18) argument 432 #define DCFG_PERFRINT(_x) ((_x) << 11) argument 436 #define DCFG_DEVADDR(_x) ((_x) << 4) argument 462 #define DSTS_SOFFN(_x) ((_x) << 8) argument 498 #define DAINT_OUTEP(_x) (1 << ((_x) + 16)) argument 499 #define DAINT_INEP(_x) (1 << (_x)) argument 539 #define DXEPCTL_TXFNUM(_x) ((_x) << 22) argument [all …]
|
/Linux-v4.19/include/xen/interface/io/ |
D | ring.h | 18 #define __RD2(_x) (((_x) & 0x00000002) ? 0x2 : ((_x) & 0x1)) argument 19 #define __RD4(_x) (((_x) & 0x0000000c) ? __RD2((_x)>>2)<<2 : __RD2(_x)) argument 20 #define __RD8(_x) (((_x) & 0x000000f0) ? __RD4((_x)>>4)<<4 : __RD4(_x)) argument 21 #define __RD16(_x) (((_x) & 0x0000ff00) ? __RD8((_x)>>8)<<8 : __RD8(_x)) argument 22 #define __RD32(_x) (((_x) & 0xffff0000) ? __RD16((_x)>>16)<<16 : __RD16(_x)) argument
|
/Linux-v4.19/arch/arm64/kvm/ |
D | sys_regs.h | 126 #define Op0(_x) .Op0 = _x argument 127 #define Op1(_x) .Op1 = _x argument 128 #define CRn(_x) .CRn = _x argument 129 #define CRm(_x) .CRm = _x argument 130 #define Op2(_x) .Op2 = _x argument
|
/Linux-v4.19/arch/arm/kvm/ |
D | coproc.h | 130 #define CRn(_x) .CRn = _x argument 131 #define CRm(_x) .CRm = _x argument 132 #define CRm64(_x) .CRn = _x, .CRm = 0 argument 133 #define Op1(_x) .Op1 = _x argument 134 #define Op2(_x) .Op2 = _x argument
|
/Linux-v4.19/drivers/staging/mt7621-eth/ |
D | mtk_eth_soc.h | 255 #define TX_QDMA_SDL(_x) (((_x) & 0x3fff) << 16) argument 332 #define RX_DMA_PLEN0(_x) (((_x) & 0x3fff) << 16) argument 333 #define RX_DMA_GET_PLEN0(_x) (((_x) >> 16) & 0x3fff) argument 337 #define RX_DMA_TPID(_x) (((_x) >> 16) & 0xffff) argument 338 #define RX_DMA_VID(_x) ((_x) & 0xfff) argument 355 #define TX_DMA_PLEN0(_x) (((_x) & TX_DMA_BUF_LEN) << 16) argument 356 #define TX_DMA_PLEN1(_x) ((_x) & TX_DMA_BUF_LEN) argument 357 #define TX_DMA_GET_PLEN0(_x) (((_x) >> 16) & TX_DMA_BUF_LEN) argument 358 #define TX_DMA_GET_PLEN1(_x) ((_x) & TX_DMA_BUF_LEN) argument 369 #define TX_DMA_QN(_x) ((_x) << 16) argument [all …]
|
/Linux-v4.19/arch/mips/include/asm/sn/ |
D | addrs.h | 71 #define TO_NODE(_n, _x) (NODE_OFFSET(_n) | ((_x) )) argument 72 #define TO_NODE_CAC(_n, _x) (NODE_CAC_BASE(_n) | ((_x) & TO_PHYS_MASK)) argument 73 #define TO_NODE_UNCAC(_n, _x) (NODE_UNCAC_BASE(_n) | ((_x) & TO_PHYS_MASK)) argument 74 #define TO_NODE_MSPEC(_n, _x) (NODE_MSPEC_BASE(_n) | ((_x) & TO_PHYS_MASK)) argument 75 #define TO_NODE_HSPEC(_n, _x) (NODE_HSPEC_BASE(_n) | ((_x) & TO_PHYS_MASK)) argument 143 #define UALIAS_FLIP_ADDR(_x) (cputoslice(smp_processor_id()) ? \ argument 144 (_x) ^ UALIAS_FLIP_BIT : (_x)) 259 #define LOCAL_HUB_ADDR(_x) (HUBREG_CAST (IALIAS_BASE + (_x))) argument 260 #define REMOTE_HUB_ADDR(_n, _x) (HUBREG_CAST (NODE_SWIN_BASE(_n, 1) + \ argument 261 0x800000 + (_x))) [all …]
|
D | io.h | 55 #define IIO_IOPRB(_x) (IIO_IOPRB_0 + ( ( (_x) < HUB_WIDGET_ID_MIN ? \ argument 56 (_x) : \ 57 (_x) - (HUB_WIDGET_ID_MIN-1)) << 3) )
|
/Linux-v4.19/arch/ia64/include/asm/sn/ |
D | bte.h | 102 #define BTE_LNSTAT_STORE(_bte, _x) \ argument 103 HUB_S(_bte->bte_base_addr, (_x)) 104 #define BTE_SRC_STORE(_bte, _x) \ argument 106 u64 __addr = ((_x) & ~AS_MASK); \ 111 #define BTE_DEST_STORE(_bte, _x) \ argument 113 u64 __addr = ((_x) & ~AS_MASK); \ 118 #define BTE_CTRL_STORE(_bte, _x) \ argument 119 HUB_S(_bte->bte_control_addr, (_x)) 120 #define BTE_NOTIF_STORE(_bte, _x) \ argument 122 u64 __addr = ia64_tpa((_x) & ~AS_MASK); \
|
D | klconfig.h | 143 #define KLCLASS(_x) ((_x) & KLCLASS_MASK) argument 151 #define KLTYPE(_x) ((_x) & KLTYPE_MASK) argument
|
/Linux-v4.19/arch/x86/crypto/ |
D | camellia-aesni-avx2-asm_64.S | 94 vextracti128 $1, x0, t0##_x; \ 95 vextracti128 $1, x7, t1##_x; \ 98 vextracti128 $1, x3, t3##_x; \ 99 vextracti128 $1, x6, t2##_x; \ 105 vpxor t4##_x, t4##_x, t4##_x; \ 108 vextracti128 $1, x2, t6##_x; \ 109 vextracti128 $1, x5, t5##_x; \ 110 vaesenclast t4##_x, x0##_x, x0##_x; \ 111 vaesenclast t4##_x, t0##_x, t0##_x; \ 112 vinserti128 $1, t0##_x, x0, x0; \ [all …]
|
/Linux-v4.19/arch/x86/include/asm/ |
D | dmi.h | 19 #define dmi_remap(_x, _l) memremap(_x, _l, MEMREMAP_WB) argument 20 #define dmi_unmap(_x) memunmap(_x) argument
|
/Linux-v4.19/drivers/scsi/cxlflash/ |
D | common.h | 36 #define CHAN2PORTBANK(_x) ((_x) >> ilog2(CXLFLASH_NUM_FC_PORTS_PER_BANK)) argument 37 #define CHAN2BANKPORT(_x) ((_x) & (CXLFLASH_NUM_FC_PORTS_PER_BANK - 1)) argument 39 #define CHAN2PORTMASK(_x) (1 << (_x)) /* channel to port mask */ argument 40 #define PORTMASK2CHAN(_x) (ilog2((_x))) /* port mask to channel */ argument 41 #define PORTNUM2CHAN(_x) ((_x) - 1) /* port number to channel */ argument
|
/Linux-v4.19/drivers/scsi/bfa/ |
D | bfa_cs.h | 321 #define bfa_swap_3b(_x) \ argument 322 ((((_x) & 0xff) << 16) | \ 323 ((_x) & 0x00ff00) | \ 324 (((_x) & 0xff0000) >> 16)) 327 #define bfa_hton3b(_x) bfa_swap_3b(_x) argument 329 #define bfa_hton3b(_x) (_x) argument 332 #define bfa_ntoh3b(_x) bfa_hton3b(_x) argument
|
/Linux-v4.19/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.h | 280 #define TX_DMA_PLEN0(_x) (((_x) & MTK_TX_DMA_BUF_LEN) << 16) argument 282 #define TX_DMA_SDL(_x) (((_x) & 0x3fff) << 16) argument 286 #define RX_DMA_PLEN0(_x) (((_x) & 0x3fff) << 16) argument 287 #define RX_DMA_GET_PLEN0(_x) (((_x) >> 16) & 0x3fff) argument 290 #define RX_DMA_VID(_x) ((_x) & 0xfff) argument 570 #define MTK_HAS_CAPS(caps, _x) (((caps) & (_x)) == (_x)) argument
|
/Linux-v4.19/arch/mips/pci/ |
D | pci-rt3883.c | 44 #define RT3883_PCI_REG_BASE(_x) (0x1000 + (_x) * 0x1000) argument 45 #define RT3883_PCI_REG_BAR0SETUP(_x) (RT3883_PCI_REG_BASE((_x)) + 0x10) argument 46 #define RT3883_PCI_REG_IMBASEBAR0(_x) (RT3883_PCI_REG_BASE((_x)) + 0x18) argument 47 #define RT3883_PCI_REG_ID(_x) (RT3883_PCI_REG_BASE((_x)) + 0x30) argument 48 #define RT3883_PCI_REG_CLASS(_x) (RT3883_PCI_REG_BASE((_x)) + 0x34) argument 49 #define RT3883_PCI_REG_SUBID(_x) (RT3883_PCI_REG_BASE((_x)) + 0x38) argument 50 #define RT3883_PCI_REG_STATUS(_x) (RT3883_PCI_REG_BASE((_x)) + 0x50) argument
|
/Linux-v4.19/include/linux/platform_data/ |
D | video-pxafb.h | 31 #define LCD_CONN_TYPE(_x) ((_x) & 0x0f) argument 32 #define LCD_CONN_WIDTH(_x) (((_x) >> 4) & 0x1f) argument
|
/Linux-v4.19/arch/mips/include/asm/sn/sn0/ |
D | hubio.h | 334 #define IIO_PRTE(_x) (IIO_PRTE_0 + (8 * (_x))) argument 407 #define IIO_ICRB_A(_x) (IIO_ICRB_0 + (4 * IIO_ICRB_OFFSET * (_x))) argument 408 #define IIO_ICRB_B(_x) (IIO_ICRB_A(_x) + 1*IIO_ICRB_OFFSET) argument 409 #define IIO_ICRB_C(_x) (IIO_ICRB_A(_x) + 2*IIO_ICRB_OFFSET) argument 410 #define IIO_ICRB_D(_x) (IIO_ICRB_A(_x) + 3*IIO_ICRB_OFFSET) argument
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | intel_guc_log.h | 58 typeof(x) _x = (x); \ 59 GUC_LOG_LEVEL_IS_VERBOSE(_x) ? _x - 2 : 0; \
|