Home
last modified time | relevance | path

Searched refs:CPHY_MAP (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/board/highbank/
H A Dahci.c10 #define CPHY_MAP(dev, addr) ((((dev) & 0x1f) << 7) | (((addr) >> 9) & 0x7f)) macro
44 writel(CPHY_MAP(dev, addr), CPHY_BASE + 0x800 + CPHY_WIDTH * phy); in __combo_phy_reg_read()
51 writel(CPHY_MAP(dev, addr), CPHY_BASE + 0x800 + CPHY_WIDTH * phy); in __combo_phy_reg_write()
/openbmc/linux/drivers/ata/
H A Dsata_highbank.c27 #define CPHY_MAP(dev, addr) ((((dev) & 0x1f) << 7) | (((addr) >> 9) & 0x7f)) macro
219 writel(CPHY_MAP(dev, addr), port_data[sata_port].phy_base + 0x800); in __combo_phy_reg_read()
229 writel(CPHY_MAP(dev, addr), port_data[sata_port].phy_base + 0x800); in __combo_phy_reg_write()