/openbmc/u-boot/include/ |
H A D | edid.h | 24 #define GET_BIT(_x, _pos) \ argument 26 #define GET_BITS(_x, _pos_msb, _pos_lsb) \ argument 40 #define EDID_DETAILED_TIMING_PIXEL_CLOCK(_x) \ argument 141 #define EDID1_INFO_PRODUCT_CODE(_x) \ argument 144 #define EDID1_INFO_SERIAL_NUMBER(_x) \ argument 171 #define EDID1_INFO_FEATURE_STANDBY(_x) \ argument 173 #define EDID1_INFO_FEATURE_SUSPEND(_x) \ argument 179 #define EDID1_INFO_FEATURE_RGB(_x) \ argument 256 #define EDID_CEA861_SUPPORTS_YUV444(_x) \ argument 260 #define EDID_CEA861_DTD_COUNT(_x) \ argument [all …]
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_arm.h | 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 47 #define NFP_ARM_GCSR_EXPA_BAR_ADDR(_x) ((_x) & 0x7fff) argument 48 #define NFP_ARM_GCSR_EXPA_BAR_ADDR_of(_x) ((_x) & 0x7fff) argument 60 #define NFP_ARM_GCSR_EXPL1_BAR_DATA_REF(_x) ((_x) & 0x3fff) argument 74 #define NFP_ARM_GCSR_EXPL2_BAR_SIGNAL_MASTER(_x) ((_x) & 0xff) argument 75 #define NFP_ARM_GCSR_EXPL2_BAR_SIGNAL_MASTER_of(_x) ((_x) & 0xff) argument 113 #define NFP_ARM_GCSR_MP0_CFG_ARMID(_x) ((_x) & 0xf) argument 114 #define NFP_ARM_GCSR_MP0_CFG_ARMID_of(_x) ((_x) & 0xf) argument 142 #define NFP_ARM_GCSR_DFT_BIST_RUN(_x) ((_x) & 0x7) argument [all …]
|
H A D | nfp6000_pcie.c | 38 #define NFP_PCIE_BAR_EXPLICIT_BAR0(_x, _y) \ argument 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 46 #define NFP_PCIE_BAR_EXPLICIT_BAR1(_x, _y) \ argument 48 #define NFP_PCIE_BAR_EXPLICIT_BAR1_SignalRef(_x) (((_x) & 0x7f) << 24) argument 49 #define NFP_PCIE_BAR_EXPLICIT_BAR1_SignalRef_of(_x) (((_x) >> 24) & 0x7f) argument 54 #define NFP_PCIE_BAR_EXPLICIT_BAR2(_x, _y) \ argument 56 #define NFP_PCIE_BAR_EXPLICIT_BAR2_Target(_x) (((_x) & 0xf) << 28) argument [all …]
|
/openbmc/linux/include/video/ |
H A D | samsung_fimd.h | 60 #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 149 #define VIDTCON1_HBPD(_x) ((_x) << 16) argument 154 #define VIDTCON1_HFPD(_x) ((_x) << 8) argument 159 #define VIDTCON1_HSPW(_x) ((_x) << 0) argument 292 #define VIDW_ALPHA_R(_x) ((_x) << 16) argument 293 #define VIDW_ALPHA_G(_x) ((_x) << 8) argument [all …]
|
/openbmc/linux/arch/mips/include/asm/mach-ath79/ |
H A D | irq.h | 12 #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/linux/drivers/gpu/drm/exynos/ |
H A D | regs-decon7.h | 89 #define VIDOSD_H(_x) (0x80 + ((_x) * 4)) argument 166 #define WINxMAP_MAP_COLOUR(_x) ((_x) << 0) argument 179 #define WxKEYCON0_COMPKEY(_x) ((_x) << 0) argument 183 #define WxKEYCON1_COLVAL(_x) ((_x) << 0) argument 257 #define VIDCON1(_x) (0x0600 + ((_x) * 0x50)) argument 277 #define VIDTCON0_VBPD(_x) ((_x) << 16) argument 282 #define VIDTCON0_VFPD(_x) ((_x) << 0) argument 290 #define VIDTCON1_VSPW(_x) ((_x) << 16) argument 298 #define VIDTCON2_HBPD(_x) ((_x) << 16) argument 303 #define VIDTCON2_HFPD(_x) ((_x) << 0) argument [all …]
|
/openbmc/u-boot/arch/arm/mach-s5pc1xx/include/mach/ |
H A D | mmc.h | 23 #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 D | mmc.h | 23 #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 D | xhci-exynos.h | 13 #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/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ctrl.h | 288 #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 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 322 #define NFP_NET_CFG_TXR_IRQ_MOD(_x) (NFP_NET_CFG_TXR_BASE + 0x500 + \ argument 335 #define NFP_NET_CFG_RXR_SZ(_x) (NFP_NET_CFG_RXR_BASE + 0x200 + (_x)) argument 338 #define NFP_NET_CFG_RXR_IRQ_MOD(_x) (NFP_NET_CFG_RXR_BASE + 0x300 + \ argument 351 #define NFP_NET_CFG_ICR(_x) (NFP_NET_CFG_ICR_BASE + (_x)) argument 395 #define NFP_NET_CFG_TXR_STATS(_x) (NFP_NET_CFG_TXR_STATS_BASE + \ argument [all …]
|
/openbmc/u-boot/board/imgtec/malta/ |
H A D | lowlevel_init.S | 18 #define CPU_TO_GT32(_x) ((_x)) argument 20 #define CPU_TO_GT32(_x) ( \ argument
|
/openbmc/linux/arch/mips/pci/ |
H A D | pci-rt3883.c | 42 #define RT3883_PCI_REG_BASE(_x) (0x1000 + (_x) * 0x1000) argument 43 #define RT3883_PCI_REG_BAR0SETUP(_x) (RT3883_PCI_REG_BASE((_x)) + 0x10) argument 44 #define RT3883_PCI_REG_IMBASEBAR0(_x) (RT3883_PCI_REG_BASE((_x)) + 0x18) argument 45 #define RT3883_PCI_REG_ID(_x) (RT3883_PCI_REG_BASE((_x)) + 0x30) argument 46 #define RT3883_PCI_REG_CLASS(_x) (RT3883_PCI_REG_BASE((_x)) + 0x34) argument 47 #define RT3883_PCI_REG_SUBID(_x) (RT3883_PCI_REG_BASE((_x)) + 0x38) argument 48 #define RT3883_PCI_REG_STATUS(_x) (RT3883_PCI_REG_BASE((_x)) + 0x50) argument
|
/openbmc/qemu/include/qemu/ |
H A D | bswap.h | 5 #define bswap16(_x) __builtin_bswap16(_x) argument 7 #define bswap32(_x) __builtin_bswap32(_x) argument 9 #define bswap64(_x) __builtin_bswap64(_x) argument 147 # define const_le64(_x) \ argument 156 # define const_le32(_x) \ argument 161 # define const_le16(_x) \ argument
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | sys_regs.h | 236 #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/arch/mips/include/asm/sn/ |
H A D | addrs.h | 66 #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 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 260 #define REMOTE_HUB_PTR(_n, _x) ((u64 *)REMOTE_HUB_ADDR((_n), (_x))) argument
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | dmi.h | 19 #define dmi_remap(_x, _l) memremap(_x, _l, MEMREMAP_WB) argument 20 #define dmi_unmap(_x) memunmap(_x) argument
|
/openbmc/linux/include/xen/interface/io/ |
H A D | ring.h | 33 #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/qemu/include/hw/xen/interface/io/ |
H A D | ring.h | 39 #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/linux/drivers/mmc/host/ |
H A D | sdhci-s3c.c | 44 #define S3C_SDHCI_CTRL2_FLTCLKSEL(_x) ((_x) << 24) argument 48 #define S3C_SDHCI_CTRL2_LVLDAT(_x) ((_x) << 16) argument 80 #define S3C_SDHCI_CTRL3_FIA3(_x) ((_x) << 24) argument 84 #define S3C_SDHCI_CTRL3_FIA2(_x) ((_x) << 16) argument 88 #define S3C_SDHCI_CTRL3_FIA1(_x) ((_x) << 8) argument 92 #define S3C_SDHCI_CTRL3_FIA0(_x) ((_x) << 0) argument
|
/openbmc/linux/drivers/phy/samsung/ |
H A D | phy-exynos5-usbdrd.c | 40 #define LINKSYSTEM_FLADJ(_x) ((_x) << 1) argument 56 #define PHYCLKRST_SSC_REFCLKSEL(_x) ((_x) << 23) argument 59 #define PHYCLKRST_SSC_RANGE(_x) ((_x) << 21) argument 74 #define PHYCLKRST_FSEL(_x) ((_x) << 5) argument 94 #define PHYREG0_CR_DATA_IN(_x) ((_x) << 2) argument 99 #define PHYREG1_CR_DATA_OUT(_x) ((_x) << 1) argument 150 #define LINKCTRL_BUS_FILTER_BYPASS(_x) ((_x) << 4) argument
|
/openbmc/qemu/include/hw/usb/ |
H A D | dwc2-regs.h | 122 #define GUSBCFG_TOUTCAL(_x) ((_x) << 0) argument 130 #define GRSTCTL_TXFNUM(_x) ((_x) << 6) 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 520 #define DAINT_INEP(_x) (1 << (_x)) argument 560 #define DXEPCTL_TXFNUM(_x) ((_x) << 22) argument 580 #define DXEPCTL_MPS(_x) ((_x) << 0) argument 613 #define DIEPTSIZ0_XFERSIZE(_x) ((_x) << 0) argument [all …]
|
/openbmc/linux/drivers/usb/dwc2/ |
H A D | hw.h | 95 #define GUSBCFG_TOUTCAL(_x) ((_x) << 0) argument 104 #define GRSTCTL_TXFNUM(_x) ((_x) << 6) 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 496 #define DAINT_INEP(_x) (1 << (_x)) argument 536 #define DXEPCTL_TXFNUM(_x) ((_x) << 22) argument 552 #define DXEPCTL_NEXTEP(_x) ((_x) << 11) argument 556 #define DXEPCTL_MPS(_x) ((_x) << 0) argument [all …]
|
/openbmc/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-rt3883.c | 33 #define _RT3883_GPIO_MODE_LNA_A(_x) ((_x) << RT3883_GPIO_MODE_LNA_A_SHIFT) argument 38 #define _RT3883_GPIO_MODE_LNA_G(_x) ((_x) << RT3883_GPIO_MODE_LNA_G_SHIFT) argument
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfa_cs.h | 313 #define bfa_swap_3b(_x) \ argument 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
|
/openbmc/linux/drivers/scsi/cxlflash/ |
H A D | common.h | 32 #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
|