/linux-6.6.21/include/linux/mfd/ |
D | idt82p33_reg.h | 10 #define REG_ADDR(page, offset) (((page) << 0x7) | ((offset) & 0x7f)) macro 45 #define OUT_MUX_CNFG(outn) REG_ADDR(0x6, (0xC * (outn)))
|
/linux-6.6.21/drivers/net/ethernet/apm/xgene-v2/ |
D | mdio.c | 19 SET_REG_BITS(&val, REG_ADDR, reg); in xge_mdio_write() 43 SET_REG_BITS(&val, REG_ADDR, reg); in xge_mdio_read()
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb/ |
D | my3126.c | 35 #define OFFSET(REG_ADDR) (REG_ADDR << 2) argument
|
D | pm3393.c | 39 #define OFFSET(REG_ADDR) ((REG_ADDR) << 2) argument
|
/linux-6.6.21/drivers/hwmon/ |
D | ultra45_env.c | 37 #define REG_ADDR 0x41UL macro 74 writeb(ireg, p->regs + REG_ADDR); in env_read() 84 writeb(ireg, p->regs + REG_ADDR); in env_write()
|
/linux-6.6.21/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_sgmac.h | 13 #define REG_ADDR(src) ((src) & GENMASK(4, 0)) macro
|
D | xgene_enet_sgmac.c | 119 addr = PHY_ADDR(phy_id) | REG_ADDR(reg); in xgene_mii_phy_write() 140 addr = PHY_ADDR(phy_id) | REG_ADDR(reg); in xgene_mii_phy_read()
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/ |
D | qed.h | 957 #define REG_ADDR(cdev, offset) ((void __iomem *)((u8 __iomem *)\ macro 961 #define REG_RD(cdev, offset) readl(REG_ADDR(cdev, offset)) 962 #define REG_WR(cdev, offset, val) writel((u32)val, REG_ADDR(cdev, offset)) 963 #define REG_WR16(cdev, offset, val) writew((u16)val, REG_ADDR(cdev, offset))
|
D | qed_hw.c | 264 reg_addr = (u32 __iomem *)REG_ADDR(p_hwfn, hw_offset); in qed_memcpy_hw()
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x.h | 169 #define REG_ADDR(bp, offset) ((bp->regview) + (offset)) macro 171 #define REG_RD(bp, offset) readl(REG_ADDR(bp, offset)) 172 #define REG_RD8(bp, offset) readb(REG_ADDR(bp, offset)) 173 #define REG_RD16(bp, offset) readw(REG_ADDR(bp, offset)) 176 writel_relaxed((u32)val, REG_ADDR(bp, offset)) 179 writew_relaxed((u16)val, REG_ADDR(bp, offset)) 181 #define REG_WR(bp, offset, val) writel((u32)val, REG_ADDR(bp, offset)) 182 #define REG_WR8(bp, offset, val) writeb((u8)val, REG_ADDR(bp, offset)) 183 #define REG_WR16(bp, offset, val) writew((u16)val, REG_ADDR(bp, offset))
|
D | bnx2x_vfpf.c | 144 REG_ADDR(bp, PXP_VF_ADDR_CSDM_GLOBAL_START); in bnx2x_send_msg2pf()
|
/linux-6.6.21/drivers/net/mdio/ |
D | mdio-xgene.c | 84 data = SET_VAL(PHY_ADDR, phy_id) | SET_VAL(REG_ADDR, reg); in xgene_mdio_rgmii_read() 110 val = SET_VAL(PHY_ADDR, phy_id) | SET_VAL(REG_ADDR, reg); in xgene_mdio_rgmii_write()
|
/linux-6.6.21/drivers/gpu/drm/panel/ |
D | panel-raspberrypi-touchscreen.c | 61 enum REG_ADDR { enum
|
/linux-6.6.21/drivers/spi/ |
D | spi-meson-spifc.c | 23 #define REG_ADDR 0x04 macro
|
/linux-6.6.21/drivers/ptp/ |
D | ptp_idt82p33.c | 1327 err = idt82p33_write(idt82p33, REG_ADDR(page, loaddr), in idt82p33_load_firmware()
|