_x 123 arch/arc/include/asm/perf_event.h #define C(_x) PERF_COUNT_HW_CACHE_##_x _x 118 arch/arm/kvm/coproc.h #define CRn(_x) .CRn = _x _x 119 arch/arm/kvm/coproc.h #define CRm(_x) .CRm = _x _x 120 arch/arm/kvm/coproc.h #define CRm64(_x) .CRn = _x, .CRm = 0 _x 121 arch/arm/kvm/coproc.h #define Op1(_x) .Op1 = _x _x 122 arch/arm/kvm/coproc.h #define Op2(_x) .Op2 = _x _x 143 arch/arm64/kvm/sys_regs.h #define Op0(_x) .Op0 = _x _x 144 arch/arm64/kvm/sys_regs.h #define Op1(_x) .Op1 = _x _x 145 arch/arm64/kvm/sys_regs.h #define CRn(_x) .CRn = _x _x 146 arch/arm64/kvm/sys_regs.h #define CRm(_x) .CRm = _x _x 147 arch/arm64/kvm/sys_regs.h #define Op2(_x) .Op2 = _x _x 727 arch/csky/kernel/perf_event.c #define C(_x) PERF_COUNT_HW_CACHE_##_x _x 12 arch/mips/include/asm/mach-ath79/irq.h #define ATH79_CPU_IRQ(_x) (MIPS_CPU_IRQ_BASE + (_x)) _x 16 arch/mips/include/asm/mach-ath79/irq.h #define ATH79_MISC_IRQ(_x) (ATH79_MISC_IRQ_BASE + (_x)) _x 20 arch/mips/include/asm/mach-ath79/irq.h #define ATH79_PCI_IRQ(_x) (ATH79_PCI_IRQ_BASE + (_x)) _x 24 arch/mips/include/asm/mach-ath79/irq.h #define ATH79_IP2_IRQ(_x) (ATH79_IP2_IRQ_BASE + (_x)) _x 28 arch/mips/include/asm/mach-ath79/irq.h #define ATH79_IP3_IRQ(_x) (ATH79_IP3_IRQ_BASE + (_x)) _x 137 arch/mips/include/asm/mach-ralink/rt3883.h #define _RT3883_GPIO_MODE_LNA_A(_x) ((_x) << RT3883_GPIO_MODE_LNA_A_SHIFT) _x 142 arch/mips/include/asm/mach-ralink/rt3883.h #define _RT3883_GPIO_MODE_LNA_G(_x) ((_x) << RT3883_GPIO_MODE_LNA_G_SHIFT) _x 66 arch/mips/include/asm/sn/addrs.h #define TO_NODE(_n, _x) (NODE_OFFSET(_n) | ((_x) )) _x 67 arch/mips/include/asm/sn/addrs.h #define TO_NODE_CAC(_n, _x) (NODE_CAC_BASE(_n) | ((_x) & TO_PHYS_MASK)) _x 68 arch/mips/include/asm/sn/addrs.h #define TO_NODE_UNCAC(_n, _x) (NODE_UNCAC_BASE(_n) | ((_x) & TO_PHYS_MASK)) _x 69 arch/mips/include/asm/sn/addrs.h #define TO_NODE_MSPEC(_n, _x) (NODE_MSPEC_BASE(_n) | ((_x) & TO_PHYS_MASK)) _x 70 arch/mips/include/asm/sn/addrs.h #define TO_NODE_HSPEC(_n, _x) (NODE_HSPEC_BASE(_n) | ((_x) & TO_PHYS_MASK)) _x 138 arch/mips/include/asm/sn/addrs.h #define UALIAS_FLIP_ADDR(_x) (cputoslice(smp_processor_id()) ? \ _x 139 arch/mips/include/asm/sn/addrs.h (_x) ^ UALIAS_FLIP_BIT : (_x)) _x 254 arch/mips/include/asm/sn/addrs.h #define LOCAL_HUB_ADDR(_x) (IALIAS_BASE + (_x)) _x 255 arch/mips/include/asm/sn/addrs.h #define REMOTE_HUB_ADDR(_n, _x) ((NODE_SWIN_BASE(_n, 1) + 0x800000 + (_x))) _x 259 arch/mips/include/asm/sn/addrs.h #define LOCAL_HUB_PTR(_x) ((u64 *)LOCAL_HUB_ADDR((_x))) _x 260 arch/mips/include/asm/sn/addrs.h #define REMOTE_HUB_PTR(_n, _x) ((u64 *)REMOTE_HUB_ADDR((_n), (_x))) _x 55 arch/mips/include/asm/sn/io.h #define IIO_IOPRB(_x) (IIO_IOPRB_0 + ( ( (_x) < HUB_WIDGET_ID_MIN ? \ _x 56 arch/mips/include/asm/sn/io.h (_x) : \ _x 57 arch/mips/include/asm/sn/io.h (_x) - (HUB_WIDGET_ID_MIN-1)) << 3) ) _x 341 arch/mips/include/asm/sn/klconfig.h #define KLCLASS(_x) ((_x) & KLCLASS_MASK) _x 405 arch/mips/include/asm/sn/klconfig.h #define KLTYPE(_x) ((_x) & KLTYPE_MASK) _x 334 arch/mips/include/asm/sn/sn0/hubio.h #define IIO_PRTE(_x) (IIO_PRTE_0 + (8 * (_x))) _x 407 arch/mips/include/asm/sn/sn0/hubio.h #define IIO_ICRB_A(_x) (IIO_ICRB_0 + (4 * IIO_ICRB_OFFSET * (_x))) _x 408 arch/mips/include/asm/sn/sn0/hubio.h #define IIO_ICRB_B(_x) (IIO_ICRB_A(_x) + 1*IIO_ICRB_OFFSET) _x 409 arch/mips/include/asm/sn/sn0/hubio.h #define IIO_ICRB_C(_x) (IIO_ICRB_A(_x) + 2*IIO_ICRB_OFFSET) _x 410 arch/mips/include/asm/sn/sn0/hubio.h #define IIO_ICRB_D(_x) (IIO_ICRB_A(_x) + 3*IIO_ICRB_OFFSET) _x 62 arch/mips/include/asm/sn/sn0/hubni.h #define NI_META_TABLE(_x) (NI_META_TABLE0 + (8 * (_x))) _x 66 arch/mips/include/asm/sn/sn0/hubni.h #define NI_LOCAL_TABLE(_x) (NI_LOCAL_TABLE0 + (8 * (_x))) _x 41 arch/mips/pci/pci-rt3883.c #define RT3883_PCI_REG_BASE(_x) (0x1000 + (_x) * 0x1000) _x 42 arch/mips/pci/pci-rt3883.c #define RT3883_PCI_REG_BAR0SETUP(_x) (RT3883_PCI_REG_BASE((_x)) + 0x10) _x 43 arch/mips/pci/pci-rt3883.c #define RT3883_PCI_REG_IMBASEBAR0(_x) (RT3883_PCI_REG_BASE((_x)) + 0x18) _x 44 arch/mips/pci/pci-rt3883.c #define RT3883_PCI_REG_ID(_x) (RT3883_PCI_REG_BASE((_x)) + 0x30) _x 45 arch/mips/pci/pci-rt3883.c #define RT3883_PCI_REG_CLASS(_x) (RT3883_PCI_REG_BASE((_x)) + 0x34) _x 46 arch/mips/pci/pci-rt3883.c #define RT3883_PCI_REG_SUBID(_x) (RT3883_PCI_REG_BASE((_x)) + 0x38) _x 47 arch/mips/pci/pci-rt3883.c #define RT3883_PCI_REG_STATUS(_x) (RT3883_PCI_REG_BASE((_x)) + 0x50) _x 14 arch/nds32/include/asm/pmu.h #define C(_x) PERF_COUNT_HW_CACHE_##_x _x 42 arch/parisc/include/asm/fixmap.h #define __fix_to_virt(_x) (FIXMAP_START + ((_x) << PAGE_SHIFT)) _x 29 arch/powerpc/boot/types.h typeof(x) _x = (x); \ _x 31 arch/powerpc/boot/types.h (void) (&_x == &_y); \ _x 32 arch/powerpc/boot/types.h _x < _y ? _x : _y; }) _x 35 arch/powerpc/boot/types.h typeof(x) _x = (x); \ _x 37 arch/powerpc/boot/types.h (void) (&_x == &_y); \ _x 38 arch/powerpc/boot/types.h _x > _y ? _x : _y; }) _x 47 arch/powerpc/kernel/module_32.c static int relacmp(const void *_x, const void *_y) _x 51 arch/powerpc/kernel/module_32.c y = (Elf32_Rela *)_x; _x 70 arch/powerpc/kernel/module_32.c static void relaswap(void *_x, void *_y, int size) _x 75 arch/powerpc/kernel/module_32.c y = (uint32_t *)_x; _x 206 arch/powerpc/kernel/module_64.c static int relacmp(const void *_x, const void *_y) _x 210 arch/powerpc/kernel/module_64.c y = (Elf64_Rela *)_x; _x 229 arch/powerpc/kernel/module_64.c static void relaswap(void *_x, void *_y, int size) _x 234 arch/powerpc/kernel/module_64.c y = (uint64_t *)_x; _x 33 arch/powerpc/platforms/cell/pmu.c u32 _x = (x); \ _x 38 arch/powerpc/platforms/cell/pmu.c out_be64(&(pmd_regs->reg), (((u64)_x) << 32)); \ _x 39 arch/powerpc/platforms/cell/pmu.c shadow_regs->reg = _x; \ _x 633 arch/powerpc/platforms/ps3/interrupt.c #define dump_bmp(_x) _dump_bmp(_x, __func__, __LINE__) _x 644 arch/powerpc/platforms/ps3/interrupt.c #define dump_mask(_x) _dump_mask(_x, __func__, __LINE__) _x 19 arch/x86/include/asm/dmi.h #define dmi_remap(_x, _l) memremap(_x, _l, MEMREMAP_WB) _x 20 arch/x86/include/asm/dmi.h #define dmi_unmap(_x) memunmap(_x) _x 934 arch/x86/kvm/emulate.c ({ _type _x; \ _x 940 arch/x86/kvm/emulate.c memcpy(&_x, ctxt->fetch.ptr, sizeof(_type)); \ _x 942 arch/x86/kvm/emulate.c _x; \ _x 71 arch/xtensa/kernel/perf_event.c #define C(_x) PERF_COUNT_HW_CACHE_##_x _x 8 drivers/crypto/cavium/nitrox/nitrox_mbx.c #define RING_TO_VFNO(_x, _y) ((_x) / (_y)) _x 1576 drivers/crypto/ccree/cc_hash.c #define CC_STATE_SIZE(_x) \ _x 1577 drivers/crypto/ccree/cc_hash.c ((_x) + HASH_MAX_LEN_SIZE + CC_MAX_HASH_BLCK_SIZE + (2 * sizeof(u32))) _x 111 drivers/crypto/nx/nx-842-pseries.c #define NX842_COUNTER_INC(_x) \ _x 112 drivers/crypto/nx/nx-842-pseries.c static inline void nx842_inc_##_x( \ _x 115 drivers/crypto/nx/nx-842-pseries.c atomic64_inc(&dev->counters->_x); \ _x 89 drivers/gpu/drm/exynos/regs-decon7.h #define VIDOSD_H(_x) (0x80 + ((_x) * 4)) _x 134 drivers/gpu/drm/exynos/regs-decon7.h #define VIDOSDxA_TOPLEFT_X(_x) (((_x) & 0x1fff) << 13) _x 139 drivers/gpu/drm/exynos/regs-decon7.h #define VIDOSDxA_TOPLEFT_Y(_x) (((_x) & 0x1fff) << 0) _x 144 drivers/gpu/drm/exynos/regs-decon7.h #define VIDOSDxB_BOTRIGHT_X(_x) (((_x) & 0x1fff) << 13) _x 149 drivers/gpu/drm/exynos/regs-decon7.h #define VIDOSDxB_BOTRIGHT_Y(_x) (((_x) & 0x1fff) << 0) _x 151 drivers/gpu/drm/exynos/regs-decon7.h #define VIDOSDxC_ALPHA0_R_F(_x) (((_x) & 0xFF) << 16) _x 152 drivers/gpu/drm/exynos/regs-decon7.h #define VIDOSDxC_ALPHA0_G_F(_x) (((_x) & 0xFF) << 8) _x 153 drivers/gpu/drm/exynos/regs-decon7.h #define VIDOSDxC_ALPHA0_B_F(_x) (((_x) & 0xFF) << 0) _x 155 drivers/gpu/drm/exynos/regs-decon7.h #define VIDOSDxD_ALPHA1_R_F(_x) (((_x) & 0xFF) << 16) _x 156 drivers/gpu/drm/exynos/regs-decon7.h #define VIDOSDxD_ALPHA1_G_F(_x) (((_x) & 0xFF) << 8) _x 157 drivers/gpu/drm/exynos/regs-decon7.h #define VIDOSDxD_ALPHA1_B_F(_x) (((_x) & 0xFF) >> 0) _x 166 drivers/gpu/drm/exynos/regs-decon7.h #define WINxMAP_MAP_COLOUR(_x) ((_x) << 0) _x 179 drivers/gpu/drm/exynos/regs-decon7.h #define WxKEYCON0_COMPKEY(_x) ((_x) << 0) _x 183 drivers/gpu/drm/exynos/regs-decon7.h #define WxKEYCON1_COLVAL(_x) ((_x) << 0) _x 257 drivers/gpu/drm/exynos/regs-decon7.h #define VIDCON1(_x) (0x0600 + ((_x) * 0x50)) _x 277 drivers/gpu/drm/exynos/regs-decon7.h #define VIDTCON0_VBPD(_x) ((_x) << 16) _x 282 drivers/gpu/drm/exynos/regs-decon7.h #define VIDTCON0_VFPD(_x) ((_x) << 0) _x 290 drivers/gpu/drm/exynos/regs-decon7.h #define VIDTCON1_VSPW(_x) ((_x) << 16) _x 298 drivers/gpu/drm/exynos/regs-decon7.h #define VIDTCON2_HBPD(_x) ((_x) << 16) _x 303 drivers/gpu/drm/exynos/regs-decon7.h #define VIDTCON2_HFPD(_x) ((_x) << 0) _x 311 drivers/gpu/drm/exynos/regs-decon7.h #define VIDTCON3_HSPW(_x) ((_x) << 16) _x 319 drivers/gpu/drm/exynos/regs-decon7.h #define VIDTCON4_LINEVAL(_x) (((_x) & 0xfff) << 16) _x 324 drivers/gpu/drm/exynos/regs-decon7.h #define VIDTCON4_HOZVAL(_x) (((_x) & 0xfff) << 0) _x 39 drivers/gpu/drm/i915/gt/uc/intel_guc_log.h typeof(x) _x = (x); \ _x 40 drivers/gpu/drm/i915/gt/uc/intel_guc_log.h GUC_LOG_LEVEL_IS_VERBOSE(_x) ? _x - 2 : 0; \ _x 38 drivers/i2c/busses/i2c-axxia.c #define WT_VALUE(_x) ((_x) & 0x7fff) _x 71 drivers/i2c/busses/i2c-riic.c #define ICMR1_CKS(_x) ((((_x) << 4) & ICMR1_CKS_MASK) | ICMR1_BCWP) _x 83 drivers/input/touchscreen/da9034-ts.c uint8_t _x, _y, _v; _x 86 drivers/input/touchscreen/da9034-ts.c ret = da903x_read(touch->da9034_dev, DA9034_TSI_X_MSB, &_x); _x 98 drivers/input/touchscreen/da9034-ts.c touch->last_x = ((_x << 2) & 0x3fc) | (_v & 0x3); _x 68 drivers/media/pci/ddbridge/ddbridge.h #define DDB_LINK_TAG(_x) (_x << DDB_LINK_SHIFT) _x 44 drivers/mmc/host/sdhci-s3c.c #define S3C_SDHCI_CTRL2_FLTCLKSEL(_x) ((_x) << 24) _x 48 drivers/mmc/host/sdhci-s3c.c #define S3C_SDHCI_CTRL2_LVLDAT(_x) ((_x) << 16) _x 80 drivers/mmc/host/sdhci-s3c.c #define S3C_SDHCI_CTRL3_FIA3(_x) ((_x) << 24) _x 84 drivers/mmc/host/sdhci-s3c.c #define S3C_SDHCI_CTRL3_FIA2(_x) ((_x) << 16) _x 88 drivers/mmc/host/sdhci-s3c.c #define S3C_SDHCI_CTRL3_FIA1(_x) ((_x) << 8) _x 92 drivers/mmc/host/sdhci-s3c.c #define S3C_SDHCI_CTRL3_FIA0(_x) ((_x) << 0) _x 101 drivers/net/arcnet/arcdevice.h unsigned long _x, _y; \ _x 102 drivers/net/arcnet/arcdevice.h _x = get_cycles(); \ _x 107 drivers/net/arcnet/arcdevice.h name, bytes, _y - _x, \ _x 108 drivers/net/arcnet/arcdevice.h 100000000 / 1024 * bytes / (_y - _x + 1)); \ _x 204 drivers/net/dsa/rtl8366rb.c #define RTL8366RB_VLAN_MC_BASE(_x) (0x0020 + (_x) * 3) _x 274 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c #define XGBE_SFP_DIAGS_SUPPORTED(_x) \ _x 275 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c ((_x)->extd[XGBE_SFP_EXTD_SFF_8472] && \ _x 276 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c !((_x)->extd[XGBE_SFP_EXTD_DIAG] & XGBE_SFP_EXTD_DIAG_ADDR_CHANGE)) _x 245 drivers/net/ethernet/amd/xgbe/xgbe.h #define XGMAC_FIFO_ALIGN(_x) \ _x 246 drivers/net/ethernet/amd/xgbe/xgbe.h (((_x) + XGMAC_FIFO_UNIT - 1) & ~(XGMAC_FIFO_UNIT - 1)) _x 275 drivers/net/ethernet/amd/xgbe/xgbe.h #define XGMAC_FLOW_CONTROL_ALIGN(_x) \ _x 276 drivers/net/ethernet/amd/xgbe/xgbe.h (((_x) + XGMAC_FLOW_CONTROL_UNIT - 1) & ~(XGMAC_FLOW_CONTROL_UNIT - 1)) _x 277 drivers/net/ethernet/amd/xgbe/xgbe.h #define XGMAC_FLOW_CONTROL_VALUE(_x) \ _x 278 drivers/net/ethernet/amd/xgbe/xgbe.h (((_x) < 1024) ? 0 : ((_x) / XGMAC_FLOW_CONTROL_UNIT) - 2) _x 146 drivers/net/ethernet/atheros/alx/hw.h #define DESC_GET(_x, _name) ((_x) >> _name##SHIFT & _name##MASK) _x 15 drivers/net/ethernet/atheros/atl1c/atl1c_hw.h #define FIELD_GETX(_x, _name) ((_x) >> (_name##_SHIFT) & (_name##_MASK)) _x 16 drivers/net/ethernet/atheros/atl1c/atl1c_hw.h #define FIELD_SETX(_x, _name, _v) \ _x 17 drivers/net/ethernet/atheros/atl1c/atl1c_hw.h (((_x) & ~((_name##_MASK) << (_name##_SHIFT))) |\ _x 54 drivers/net/ethernet/brocade/bna/bfi.h #define BFA_I2HM(_x) ((_x) + BFI_I2H_OPCODE_BASE) _x 78 drivers/net/ethernet/freescale/fec_main.c #define FEC_ENET_GET_QUQUE(_x) ((_x == 0) ? 1 : ((_x == 1) ? 2 : 0)) _x 281 drivers/net/ethernet/mediatek/mtk_eth_soc.h #define TX_DMA_PLEN0(_x) (((_x) & MTK_TX_DMA_BUF_LEN) << 16) _x 282 drivers/net/ethernet/mediatek/mtk_eth_soc.h #define TX_DMA_PLEN1(_x) ((_x) & MTK_TX_DMA_BUF_LEN) _x 284 drivers/net/ethernet/mediatek/mtk_eth_soc.h #define TX_DMA_SDL(_x) (((_x) & 0x3fff) << 16) _x 294 drivers/net/ethernet/mediatek/mtk_eth_soc.h #define RX_DMA_PLEN0(_x) (((_x) & 0x3fff) << 16) _x 295 drivers/net/ethernet/mediatek/mtk_eth_soc.h #define RX_DMA_GET_PLEN0(_x) (((_x) >> 16) & 0x3fff) _x 298 drivers/net/ethernet/mediatek/mtk_eth_soc.h #define RX_DMA_VID(_x) ((_x) & 0xfff) _x 759 drivers/net/ethernet/mediatek/mtk_eth_soc.h #define MTK_HAS_CAPS(caps, _x) (((caps) & (_x)) == (_x)) _x 807 drivers/net/ethernet/mediatek/mtk_eth_soc.h #define MTK_HAS_FLAGS(flags, _x) (((flags) & (_x)) == (_x)) _x 149 drivers/net/ethernet/micrel/ks8851.c #define BYTE_EN(_x) ((_x) << 2) _x 761 drivers/net/ethernet/netronome/nfp/nfp_net.h #define NFP_QCP_QUEUE_OFF(_x) ((_x) * NFP_QCP_QUEUE_ADDR_SZ) _x 265 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h #define NFP_NET_CFG_RSS_MASK_of(_x) ((_x) & 0x7f) _x 294 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h #define NFP_NET_CFG_TXR_ADDR(_x) (NFP_NET_CFG_TXR_BASE + ((_x) * 0x8)) _x 295 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h #define NFP_NET_CFG_TXR_WB_ADDR(_x) (NFP_NET_CFG_TXR_BASE + 0x200 + \ _x 296 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h ((_x) * 0x8)) _x 297 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h #define NFP_NET_CFG_TXR_SZ(_x) (NFP_NET_CFG_TXR_BASE + 0x400 + (_x)) _x 298 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h #define NFP_NET_CFG_TXR_VEC(_x) (NFP_NET_CFG_TXR_BASE + 0x440 + (_x)) _x 299 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h #define NFP_NET_CFG_TXR_PRIO(_x) (NFP_NET_CFG_TXR_BASE + 0x480 + (_x)) _x 300 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h #define NFP_NET_CFG_TXR_IRQ_MOD(_x) (NFP_NET_CFG_TXR_BASE + 0x500 + \ _x 301 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h ((_x) * 0x4)) _x 313 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h #define NFP_NET_CFG_RXR_ADDR(_x) (NFP_NET_CFG_RXR_BASE + ((_x) * 0x8)) _x 314 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h #define NFP_NET_CFG_RXR_SZ(_x) (NFP_NET_CFG_RXR_BASE + 0x200 + (_x)) _x 315 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h #define NFP_NET_CFG_RXR_VEC(_x) (NFP_NET_CFG_RXR_BASE + 0x240 + (_x)) _x 316 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h #define NFP_NET_CFG_RXR_PRIO(_x) (NFP_NET_CFG_RXR_BASE + 0x280 + (_x)) _x 317 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h #define NFP_NET_CFG_RXR_IRQ_MOD(_x) (NFP_NET_CFG_RXR_BASE + 0x300 + \ _x 318 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h ((_x) * 0x4)) _x 331 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h #define NFP_NET_CFG_ICR(_x) (NFP_NET_CFG_ICR_BASE + (_x)) _x 377 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h #define NFP_NET_CFG_TXR_STATS(_x) (NFP_NET_CFG_TXR_STATS_BASE + \ _x 378 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h ((_x) * 0x10)) _x 380 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h #define NFP_NET_CFG_RXR_STATS(_x) (NFP_NET_CFG_RXR_STATS_BASE + \ _x 381 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.h ((_x) * 0x10)) _x 37 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR0(_x, _y) \ _x 38 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c (0x00000080 + (0x40 * ((_x) & 0x3)) + (0x10 * ((_y) & 0x3))) _x 39 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR0_SignalType(_x) (((_x) & 0x3) << 30) _x 40 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR0_SignalType_of(_x) (((_x) >> 30) & 0x3) _x 41 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR0_Token(_x) (((_x) & 0x3) << 28) _x 42 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR0_Token_of(_x) (((_x) >> 28) & 0x3) _x 43 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR0_Address(_x) (((_x) & 0xffffff) << 0) _x 44 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR0_Address_of(_x) (((_x) >> 0) & 0xffffff) _x 45 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR1(_x, _y) \ _x 46 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c (0x00000084 + (0x40 * ((_x) & 0x3)) + (0x10 * ((_y) & 0x3))) _x 47 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR1_SignalRef(_x) (((_x) & 0x7f) << 24) _x 48 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR1_SignalRef_of(_x) (((_x) >> 24) & 0x7f) _x 49 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR1_DataMaster(_x) (((_x) & 0x3ff) << 14) _x 50 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR1_DataMaster_of(_x) (((_x) >> 14) & 0x3ff) _x 51 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR1_DataRef(_x) (((_x) & 0x3fff) << 0) _x 52 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR1_DataRef_of(_x) (((_x) >> 0) & 0x3fff) _x 53 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR2(_x, _y) \ _x 54 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c (0x00000088 + (0x40 * ((_x) & 0x3)) + (0x10 * ((_y) & 0x3))) _x 55 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR2_Target(_x) (((_x) & 0xf) << 28) _x 56 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR2_Target_of(_x) (((_x) >> 28) & 0xf) _x 57 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR2_Action(_x) (((_x) & 0x1f) << 23) _x 58 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR2_Action_of(_x) (((_x) >> 23) & 0x1f) _x 59 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR2_Length(_x) (((_x) & 0x1f) << 18) _x 60 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR2_Length_of(_x) (((_x) >> 18) & 0x1f) _x 61 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR2_ByteMask(_x) (((_x) & 0xff) << 10) _x 62 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR2_ByteMask_of(_x) (((_x) >> 10) & 0xff) _x 63 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR2_SignalMaster(_x) (((_x) & 0x3ff) << 0) _x 64 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_EXPLICIT_BAR2_SignalMaster_of(_x) (((_x) >> 0) & 0x3ff) _x 66 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_PCIE2CPP_Action_BaseAddress(_x) (((_x) & 0x1f) << 16) _x 67 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_PCIE2CPP_Action_BaseAddress_of(_x) (((_x) >> 16) & 0x1f) _x 68 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_PCIE2CPP_BaseAddress(_x) (((_x) & 0xffff) << 0) _x 69 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_PCIE2CPP_BaseAddress_of(_x) (((_x) >> 0) & 0xffff) _x 70 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_PCIE2CPP_LengthSelect(_x) (((_x) & 0x3) << 27) _x 71 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_PCIE2CPP_LengthSelect_of(_x) (((_x) >> 27) & 0x3) _x 75 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_PCIE2CPP_MapType(_x) (((_x) & 0x7) << 29) _x 76 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_PCIE2CPP_MapType_of(_x) (((_x) >> 29) & 0x7) _x 85 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_PCIE2CPP_Target_BaseAddress(_x) (((_x) & 0xf) << 23) _x 86 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_PCIE2CPP_Target_BaseAddress_of(_x) (((_x) >> 23) & 0xf) _x 87 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_PCIE2CPP_Token_BaseAddress(_x) (((_x) & 0x3) << 21) _x 88 drivers/net/ethernet/netronome/nfp/nfpcore/nfp6000_pcie.c #define NFP_PCIE_BAR_PCIE2CPP_Token_BaseAddress_of(_x) (((_x) >> 21) & 0x3) _x 23 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_BULK_BAR_TGT(_x) (((_x) & 0xf) << 27) _x 24 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_BULK_BAR_TGT_of(_x) (((_x) >> 27) & 0xf) _x 25 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_BULK_BAR_TOK(_x) (((_x) & 0x3) << 25) _x 26 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_BULK_BAR_TOK_of(_x) (((_x) >> 25) & 0x3) _x 30 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_BULK_BAR_ADDR(_x) ((_x) & 0x7ff) _x 31 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_BULK_BAR_ADDR_of(_x) ((_x) & 0x7ff) _x 37 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPA_BAR_TGT(_x) (((_x) & 0xf) << 27) _x 38 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPA_BAR_TGT_of(_x) (((_x) >> 27) & 0xf) _x 39 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPA_BAR_TOK(_x) (((_x) & 0x3) << 25) _x 40 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPA_BAR_TOK_of(_x) (((_x) >> 25) & 0x3) _x 44 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPA_BAR_ACT(_x) (((_x) & 0x1f) << 19) _x 45 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPA_BAR_ACT_of(_x) (((_x) >> 19) & 0x1f) _x 47 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPA_BAR_ADDR(_x) ((_x) & 0x7fff) _x 48 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPA_BAR_ADDR_of(_x) ((_x) & 0x7fff) _x 51 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL0_BAR_ADDR(_x) ((_x) & 0x3ffff) _x 52 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL0_BAR_ADDR_of(_x) ((_x) & 0x3ffff) _x 56 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL1_BAR_SIGNAL_REF(_x) (((_x) & 0x7f) << 24) _x 57 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL1_BAR_SIGNAL_REF_of(_x) (((_x) >> 24) & 0x7f) _x 58 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL1_BAR_DATA_MASTER(_x) (((_x) & 0xff) << 16) _x 59 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL1_BAR_DATA_MASTER_of(_x) (((_x) >> 16) & 0xff) _x 60 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL1_BAR_DATA_REF(_x) ((_x) & 0x3fff) _x 61 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL1_BAR_DATA_REF_of(_x) ((_x) & 0x3fff) _x 64 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL2_BAR_TGT(_x) (((_x) & 0xf) << 28) _x 65 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL2_BAR_TGT_of(_x) (((_x) >> 28) & 0xf) _x 66 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL2_BAR_ACT(_x) (((_x) & 0x1f) << 23) _x 67 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL2_BAR_ACT_of(_x) (((_x) >> 23) & 0x1f) _x 68 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL2_BAR_LEN(_x) (((_x) & 0x1f) << 18) _x 69 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL2_BAR_LEN_of(_x) (((_x) >> 18) & 0x1f) _x 70 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL2_BAR_BYTE_MASK(_x) (((_x) & 0xff) << 10) _x 71 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL2_BAR_BYTE_MASK_of(_x) (((_x) >> 10) & 0xff) _x 72 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL2_BAR_TOK(_x) (((_x) & 0x3) << 8) _x 73 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL2_BAR_TOK_of(_x) (((_x) >> 8) & 0x3) _x 74 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL2_BAR_SIGNAL_MASTER(_x) ((_x) & 0xff) _x 75 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL2_BAR_SIGNAL_MASTER_of(_x) ((_x) & 0xff) _x 78 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL_POST_SIG_B(_x) (((_x) & 0x7f) << 25) _x 79 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL_POST_SIG_B_of(_x) (((_x) >> 25) & 0x7f) _x 83 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL_POST_SIG_A(_x) (((_x) & 0x7f) << 17) _x 84 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_EXPL_POST_SIG_A_of(_x) (((_x) >> 17) & 0x7f) _x 95 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_MPCORE_BASE_ADDR(_x) (((_x) & 0x7ffff) << 13) _x 96 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_MPCORE_BASE_ADDR_of(_x) (((_x) >> 13) & 0x7ffff) _x 99 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_PL310_BASE_ADDR(_x) (((_x) & 0xfffff) << 12) _x 100 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_PL310_BASE_ADDR_of(_x) (((_x) >> 12) & 0xfffff) _x 104 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_MP0_CFG_ENDIAN(_x) (((_x) & 0x3) << 12) _x 105 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_MP0_CFG_ENDIAN_of(_x) (((_x) >> 12) & 0x3) _x 111 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_MP0_CFG_OUTCLK_EN(_x) (((_x) & 0xf) << 4) _x 112 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_MP0_CFG_OUTCLK_EN_of(_x) (((_x) >> 4) & 0xf) _x 113 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_MP0_CFG_ARMID(_x) ((_x) & 0xf) _x 114 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_MP0_CFG_ARMID_of(_x) ((_x) & 0xf) _x 140 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_DFT_BIST_FAIL_of(_x) (((_x) >> 8) & 0xf) _x 141 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_DFT_BIST_DONE_of(_x) (((_x) >> 4) & 0xf) _x 142 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_DFT_BIST_RUN(_x) ((_x) & 0x7) _x 143 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_arm.h #define NFP_ARM_GCSR_DFT_BIST_RUN_of(_x) ((_x) & 0x7) _x 241 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cppcore.c #define NFP_IMB_TGTADDRESSMODECFG_MODE_of(_x) (((_x) >> 13) & 0x7) _x 337 drivers/net/ethernet/sfc/mcdi_pcol.h #define MC_CMD_SENSOR_INFO_OUT_OFFSET_OFST(_x) \ _x 338 drivers/net/ethernet/sfc/mcdi_pcol.h (MC_CMD_SENSOR_ENTRY_OFST + (_x)) _x 206 drivers/net/wireless/ath/ath5k/eeprom.h #define AR5K_EEPROM_SCALE_OC_DELTA(_x) (((_x) * 2) / 10) _x 272 drivers/net/wireless/ath/ath6kl/core.h #define TID_WINDOW_SZ(_x) ((_x) << 1) _x 220 drivers/net/wireless/ath/ath9k/reg_mci.h #define AR_BTCOEX_MAX_TXPWR(_x) (0x18c0 + ((_x) << 2)) _x 252 drivers/net/wireless/ath/ath9k/reg_mci.h #define AR_BTCOEX_MAX_RFGAIN(_x) (0x1950 + ((_x) << 2)) _x 40 drivers/phy/samsung/phy-exynos5-usbdrd.c #define LINKSYSTEM_FLADJ(_x) ((_x) << 1) _x 56 drivers/phy/samsung/phy-exynos5-usbdrd.c #define PHYCLKRST_SSC_REFCLKSEL(_x) ((_x) << 23) _x 59 drivers/phy/samsung/phy-exynos5-usbdrd.c #define PHYCLKRST_SSC_RANGE(_x) ((_x) << 21) _x 74 drivers/phy/samsung/phy-exynos5-usbdrd.c #define PHYCLKRST_FSEL(_x) ((_x) << 5) _x 94 drivers/phy/samsung/phy-exynos5-usbdrd.c #define PHYREG0_CR_DATA_IN(_x) ((_x) << 2) _x 99 drivers/phy/samsung/phy-exynos5-usbdrd.c #define PHYREG1_CR_DATA_OUT(_x) ((_x) << 1) _x 313 drivers/scsi/bfa/bfa_cs.h #define bfa_swap_3b(_x) \ _x 314 drivers/scsi/bfa/bfa_cs.h ((((_x) & 0xff) << 16) | \ _x 315 drivers/scsi/bfa/bfa_cs.h ((_x) & 0x00ff00) | \ _x 316 drivers/scsi/bfa/bfa_cs.h (((_x) & 0xff0000) >> 16)) _x 319 drivers/scsi/bfa/bfa_cs.h #define bfa_hton3b(_x) bfa_swap_3b(_x) _x 321 drivers/scsi/bfa/bfa_cs.h #define bfa_hton3b(_x) (_x) _x 324 drivers/scsi/bfa/bfa_cs.h #define bfa_ntoh3b(_x) bfa_hton3b(_x) _x 67 drivers/scsi/bfa/bfa_ioc.h #define bfa_swap_words(_x) ( \ _x 68 drivers/scsi/bfa/bfa_ioc.h ((u64)(_x) << 32) | ((u64)(_x) >> 32)) _x 71 drivers/scsi/bfa/bfa_ioc.h #define bfa_sge_to_be(_x) _x 72 drivers/scsi/bfa/bfa_ioc.h #define bfa_sge_to_le(_x) bfa_sge_word_swap(_x) _x 73 drivers/scsi/bfa/bfa_ioc.h #define bfa_sgaddr_le(_x) bfa_swap_words(_x) _x 75 drivers/scsi/bfa/bfa_ioc.h #define bfa_sge_to_be(_x) bfa_sge_word_swap(_x) _x 76 drivers/scsi/bfa/bfa_ioc.h #define bfa_sge_to_le(_x) _x 77 drivers/scsi/bfa/bfa_ioc.h #define bfa_sgaddr_le(_x) (_x) _x 17 drivers/scsi/bfa/bfa_plog.h #define BFA_PL_LOG_REC_INCR(_x) ((_x)++, (_x) %= BFA_PL_NLOG_ENTS) _x 78 drivers/scsi/bfa/bfi.h #define BFA_I2HM(_x) ((_x) + BFI_I2H_OPCODE_BASE) _x 55 drivers/scsi/csiostor/csio_lnode.c #define PORT_ID_PTR(_x) ((uint8_t *)(&_x) + 1) _x 32 drivers/scsi/cxlflash/common.h #define CHAN2PORTBANK(_x) ((_x) >> ilog2(CXLFLASH_NUM_FC_PORTS_PER_BANK)) _x 33 drivers/scsi/cxlflash/common.h #define CHAN2BANKPORT(_x) ((_x) & (CXLFLASH_NUM_FC_PORTS_PER_BANK - 1)) _x 35 drivers/scsi/cxlflash/common.h #define CHAN2PORTMASK(_x) (1 << (_x)) /* channel to port mask */ _x 36 drivers/scsi/cxlflash/common.h #define PORTMASK2CHAN(_x) (ilog2((_x))) /* port mask to channel */ _x 37 drivers/scsi/cxlflash/common.h #define PORTNUM2CHAN(_x) ((_x) - 1) /* port number to channel */ _x 69 drivers/soc/mediatek/mtk-pmic-wrap.c #define HAS_CAP(_c, _x) (((_c) & (_x)) == (_x)) _x 28 drivers/soc/mediatek/mtk-scpsys.c #define MTK_SCPD_CAPS(_scpd, _x) ((_scpd)->data->caps & (_x)) _x 114 drivers/staging/mt7621-dma/mtk-hsdma.c #define HSDMA_DESC_PLEN0(_x) (((_x) & HSDMA_PLEN_MASK) << 16) _x 117 drivers/staging/mt7621-dma/mtk-hsdma.c #define HSDMA_DESC_PLEN1(_x) ((_x) & HSDMA_PLEN_MASK) _x 126 drivers/thermal/rcar_gen3_thermal.c #define FIXPT_INT(_x) ((_x) << FIXPT_SHIFT) _x 127 drivers/thermal/rcar_gen3_thermal.c #define INT_FIXPT(_x) ((_x) >> FIXPT_SHIFT) _x 129 drivers/thermal/rcar_gen3_thermal.c #define FIXPT_TO_MCELSIUS(_x) ((_x) * 1000 >> FIXPT_SHIFT) _x 118 drivers/usb/dwc2/hw.h #define GUSBCFG_TOUTCAL(_x) ((_x) << 0) _x 126 drivers/usb/dwc2/hw.h #define GRSTCTL_TXFNUM(_x) ((_x) << 6) _x 434 drivers/usb/dwc2/hw.h #define FIFOSIZE_DEPTH_GET(_x) (((_x) >> 16) & 0xffff) _x 443 drivers/usb/dwc2/hw.h #define DCFG_EPMISCNT(_x) ((_x) << 18) _x 448 drivers/usb/dwc2/hw.h #define DCFG_PERFRINT(_x) ((_x) << 11) _x 452 drivers/usb/dwc2/hw.h #define DCFG_DEVADDR(_x) ((_x) << 4) _x 479 drivers/usb/dwc2/hw.h #define DSTS_SOFFN(_x) ((_x) << 8) _x 515 drivers/usb/dwc2/hw.h #define DAINT_OUTEP(_x) (1 << ((_x) + 16)) _x 516 drivers/usb/dwc2/hw.h #define DAINT_INEP(_x) (1 << (_x)) _x 556 drivers/usb/dwc2/hw.h #define DXEPCTL_TXFNUM(_x) ((_x) << 22) _x 572 drivers/usb/dwc2/hw.h #define DXEPCTL_NEXTEP(_x) ((_x) << 11) _x 576 drivers/usb/dwc2/hw.h #define DXEPCTL_MPS(_x) ((_x) << 0) _x 605 drivers/usb/dwc2/hw.h #define DIEPTSIZ0_PKTCNT(_x) ((_x) << 19) _x 609 drivers/usb/dwc2/hw.h #define DIEPTSIZ0_XFERSIZE(_x) ((_x) << 0) _x 615 drivers/usb/dwc2/hw.h #define DOEPTSIZ0_SUPCNT(_x) ((_x) << 29) _x 625 drivers/usb/dwc2/hw.h #define DXEPTSIZ_MC(_x) ((_x) << 29) _x 630 drivers/usb/dwc2/hw.h #define DXEPTSIZ_PKTCNT(_x) ((_x) << 19) _x 635 drivers/usb/dwc2/hw.h #define DXEPTSIZ_XFERSIZE(_x) ((_x) << 0) _x 66 drivers/usb/gadget/udc/s3c-hsudc.c #define S3C_BR(_x) S3C_HSUDC_REG(0x60 + (_x * 4)) _x 102 drivers/usb/musb/musb_core.h #define test_devctl_hst_mode(_x) \ _x 103 drivers/usb/musb/musb_core.h (musb_readb((_x)->mregs, MUSB_DEVCTL)&MUSB_DEVCTL_HM) _x 402 drivers/video/fbdev/omap/hwa742.c #define ADD_PREQ(_x, _y, _w, _h) do { \ _x 406 drivers/video/fbdev/omap/hwa742.c req->par.update.x = _x; \ _x 42 include/linux/cgroup-defs.h #define SUBSYS(_x) _x ## _cgrp_id, _x 75 include/linux/cgroup.h #define SUBSYS(_x) extern struct cgroup_subsys _x ## _cgrp_subsys; _x 79 include/linux/cgroup.h #define SUBSYS(_x) \ _x 80 include/linux/cgroup.h extern struct static_key_true _x ## _cgrp_subsys_enabled_key; \ _x 81 include/linux/cgroup.h extern struct static_key_true _x ## _cgrp_subsys_on_dfl_key; _x 31 include/linux/perf/arm_pmu.h #define C(_x) PERF_COUNT_HW_CACHE_##_x _x 28 include/linux/platform_data/video-pxafb.h #define LCD_CONN_TYPE(_x) ((_x) & 0x0f) _x 29 include/linux/platform_data/video-pxafb.h #define LCD_CONN_WIDTH(_x) (((_x) >> 4) & 0x1f) _x 309 include/math-emu/op-2.h _FP_W_TYPE _x[2], _y[2]; \ _x 310 include/math-emu/op-2.h _x[0] = X##_f0; _x[1] = X##_f1; \ _x 313 include/math-emu/op-2.h mpn_mul_n(_z_f, _x, _y, 2); \ _x 493 include/math-emu/op-2.h _FP_W_TYPE _x[4], _y[2], _z[4]; \ _x 495 include/math-emu/op-2.h _x[0] = _x[3] = 0; \ _x 499 include/math-emu/op-2.h _x[1] = (X##_f0 << (_FP_WFRACBITS_##fs-1 - _FP_W_TYPE_SIZE) | \ _x 502 include/math-emu/op-2.h _x[2] = X##_f1 << (_FP_WFRACBITS_##fs-1 - _FP_W_TYPE_SIZE); \ _x 506 include/math-emu/op-2.h _x[1] = (X##_f0 << (_FP_WFRACBITS_##fs - _FP_W_TYPE_SIZE) | \ _x 509 include/math-emu/op-2.h _x[2] = X##_f1 << (_FP_WFRACBITS_##fs - _FP_W_TYPE_SIZE); \ _x 512 include/math-emu/op-2.h (void) mpn_divrem (_z, 0, _x, 4, _y, 2); \ _x 514 include/math-emu/op-2.h R##_f0 = _z[0] | ((_x[0] | _x[1]) != 0); \ _x 60 include/video/samsung_fimd.h #define VIDCON0_CLKVAL_F(_x) ((_x) << 6) _x 121 include/video/samsung_fimd.h #define VIDTCON0_VBPDE(_x) ((_x) << 24) _x 126 include/video/samsung_fimd.h #define VIDTCON0_VBPD(_x) ((_x) << 16) _x 131 include/video/samsung_fimd.h #define VIDTCON0_VFPD(_x) ((_x) << 8) _x 136 include/video/samsung_fimd.h #define VIDTCON0_VSPW(_x) ((_x) << 0) _x 144 include/video/samsung_fimd.h #define VIDTCON1_VFPDE(_x) ((_x) << 24) _x 149 include/video/samsung_fimd.h #define VIDTCON1_HBPD(_x) ((_x) << 16) _x 154 include/video/samsung_fimd.h #define VIDTCON1_HFPD(_x) ((_x) << 8) _x 159 include/video/samsung_fimd.h #define VIDTCON1_HSPW(_x) ((_x) << 0) _x 162 include/video/samsung_fimd.h #define VIDTCON2_LINEVAL_E(_x) ((((_x) & 0x800) >> 11) << 23) _x 166 include/video/samsung_fimd.h #define VIDTCON2_LINEVAL(_x) (((_x) & 0x7ff) << 11) _x 168 include/video/samsung_fimd.h #define VIDTCON2_HOZVAL_E(_x) ((((_x) & 0x800) >> 11) << 22) _x 172 include/video/samsung_fimd.h #define VIDTCON2_HOZVAL(_x) (((_x) & 0x7ff) << 0) _x 244 include/video/samsung_fimd.h #define VIDOSDxA_TOPLEFT_X_E(_x) ((((_x) & 0x800) >> 11) << 23) _x 248 include/video/samsung_fimd.h #define VIDOSDxA_TOPLEFT_X(_x) (((_x) & 0x7ff) << 11) _x 250 include/video/samsung_fimd.h #define VIDOSDxA_TOPLEFT_Y_E(_x) ((((_x) & 0x800) >> 11) << 22) _x 254 include/video/samsung_fimd.h #define VIDOSDxA_TOPLEFT_Y(_x) (((_x) & 0x7ff) << 0) _x 256 include/video/samsung_fimd.h #define VIDOSDxB_BOTRIGHT_X_E(_x) ((((_x) & 0x800) >> 11) << 23) _x 260 include/video/samsung_fimd.h #define VIDOSDxB_BOTRIGHT_X(_x) (((_x) & 0x7ff) << 11) _x 262 include/video/samsung_fimd.h #define VIDOSDxB_BOTRIGHT_Y_E(_x) ((((_x) & 0x800) >> 11) << 22) _x 266 include/video/samsung_fimd.h #define VIDOSDxB_BOTRIGHT_Y(_x) (((_x) & 0x7ff) << 0) _x 269 include/video/samsung_fimd.h #define VIDISD14C_ALPHA0_R(_x) ((_x) << 20) _x 273 include/video/samsung_fimd.h #define VIDISD14C_ALPHA0_G(_x) ((_x) << 16) _x 277 include/video/samsung_fimd.h #define VIDISD14C_ALPHA0_B(_x) ((_x) << 12) _x 281 include/video/samsung_fimd.h #define VIDISD14C_ALPHA1_R(_x) ((_x) << 8) _x 285 include/video/samsung_fimd.h #define VIDISD14C_ALPHA1_G(_x) ((_x) << 4) _x 289 include/video/samsung_fimd.h #define VIDISD14C_ALPHA1_B(_x) ((_x) << 0) _x 292 include/video/samsung_fimd.h #define VIDW_ALPHA_R(_x) ((_x) << 16) _x 293 include/video/samsung_fimd.h #define VIDW_ALPHA_G(_x) ((_x) << 8) _x 294 include/video/samsung_fimd.h #define VIDW_ALPHA_B(_x) ((_x) << 0) _x 304 include/video/samsung_fimd.h #define VIDW_BUF_SIZE_OFFSET_E(_x) ((((_x) & 0x2000) >> 13) << 27) _x 308 include/video/samsung_fimd.h #define VIDW_BUF_SIZE_OFFSET(_x) (((_x) & 0x1fff) << 13) _x 310 include/video/samsung_fimd.h #define VIDW_BUF_SIZE_PAGEWIDTH_E(_x) ((((_x) & 0x2000) >> 13) << 26) _x 314 include/video/samsung_fimd.h #define VIDW_BUF_SIZE_PAGEWIDTH(_x) (((_x) & 0x1fff) << 0) _x 322 include/video/samsung_fimd.h #define VIDINTCON0_FIFOINTERVAL(_x) ((_x) << 20) _x 380 include/video/samsung_fimd.h #define WxKEYCON0_COMPKEY(_x) ((_x) << 0) _x 384 include/video/samsung_fimd.h #define WxKEYCON1_COLVAL(_x) ((_x) << 0) _x 411 include/video/samsung_fimd.h #define WINxMAP_MAP_COLOUR(_x) ((_x) << 0) _x 445 include/video/samsung_fimd.h #define BLENDEQ_B_FUNC_F(_x) (_x << 6) _x 446 include/video/samsung_fimd.h #define BLENDEQ_A_FUNC_F(_x) (_x << 0) _x 18 include/xen/interface/io/ring.h #define __RD2(_x) (((_x) & 0x00000002) ? 0x2 : ((_x) & 0x1)) _x 19 include/xen/interface/io/ring.h #define __RD4(_x) (((_x) & 0x0000000c) ? __RD2((_x)>>2)<<2 : __RD2(_x)) _x 20 include/xen/interface/io/ring.h #define __RD8(_x) (((_x) & 0x000000f0) ? __RD4((_x)>>4)<<4 : __RD4(_x)) _x 21 include/xen/interface/io/ring.h #define __RD16(_x) (((_x) & 0x0000ff00) ? __RD8((_x)>>8)<<8 : __RD8(_x)) _x 22 include/xen/interface/io/ring.h #define __RD32(_x) (((_x) & 0xffff0000) ? __RD16((_x)>>16)<<16 : __RD16(_x)) _x 120 kernel/cgroup/cgroup.c #define SUBSYS(_x) [_x ## _cgrp_id] = &_x ## _cgrp_subsys, _x 127 kernel/cgroup/cgroup.c #define SUBSYS(_x) [_x ## _cgrp_id] = #_x, _x 134 kernel/cgroup/cgroup.c #define SUBSYS(_x) \ _x 135 kernel/cgroup/cgroup.c DEFINE_STATIC_KEY_TRUE(_x ## _cgrp_subsys_enabled_key); \ _x 136 kernel/cgroup/cgroup.c DEFINE_STATIC_KEY_TRUE(_x ## _cgrp_subsys_on_dfl_key); \ _x 137 kernel/cgroup/cgroup.c EXPORT_SYMBOL_GPL(_x ## _cgrp_subsys_enabled_key); \ _x 138 kernel/cgroup/cgroup.c EXPORT_SYMBOL_GPL(_x ## _cgrp_subsys_on_dfl_key); _x 142 kernel/cgroup/cgroup.c #define SUBSYS(_x) [_x ## _cgrp_id] = &_x ## _cgrp_subsys_enabled_key, _x 148 kernel/cgroup/cgroup.c #define SUBSYS(_x) [_x ## _cgrp_id] = &_x ## _cgrp_subsys_on_dfl_key, _x 1263 net/rxrpc/ar-internal.h __typeof__(X) _x = (X); \ _x 1265 net/rxrpc/ar-internal.h if (unlikely(!(_x OP _y))) { \ _x 1267 net/rxrpc/ar-internal.h (unsigned long)_x, (unsigned long)_x, #OP, \ _x 1283 net/rxrpc/ar-internal.h __typeof__(X) _x = (X); \ _x 1285 net/rxrpc/ar-internal.h if (unlikely((C) && !(_x OP _y))) { \ _x 1287 net/rxrpc/ar-internal.h (unsigned long)_x, (unsigned long)_x, #OP, \ _x 474 sound/pci/emu10k1/emu10k1_main.c #define EC_SPDIF0_SELECT(_x) (((_x) << EC_SPDIF0_SEL_SHIFT) & EC_SPDIF0_SEL_MASK) _x 475 sound/pci/emu10k1/emu10k1_main.c #define EC_SPDIF1_SELECT(_x) (((_x) << EC_SPDIF1_SEL_SHIFT) & EC_SPDIF1_SEL_MASK) _x 1067 tools/testing/selftests/seccomp/seccomp_bpf.c #define FILTER_ALLOC(_x) \ _x 1068 tools/testing/selftests/seccomp/seccomp_bpf.c self->_x.filter = malloc(sizeof(_x##_insns)); \ _x 1069 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_NE(NULL, self->_x.filter); \ _x 1070 tools/testing/selftests/seccomp/seccomp_bpf.c memcpy(self->_x.filter, &_x##_insns, sizeof(_x##_insns)); \ _x 1071 tools/testing/selftests/seccomp/seccomp_bpf.c self->_x.len = (unsigned short)ARRAY_SIZE(_x##_insns) _x 1082 tools/testing/selftests/seccomp/seccomp_bpf.c #define FILTER_FREE(_x) if (self->_x.filter) free(self->_x.filter) _x 72 tools/testing/selftests/sparc64/drivers/adi-test.c #define RDTICK(_x) \ _x 73 tools/testing/selftests/sparc64/drivers/adi-test.c asm volatile(" rd %%tick, %0\n" : "=r" (_x)) _x 14 virt/kvm/arm/vgic/vgic.h #define IS_VGIC_ADDR_UNDEF(_x) ((_x) == VGIC_ADDR_UNDEF)