Home
last modified time | relevance | path

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

/openbmc/u-boot/board/highbank/
H A Dahci.c11 #define CPHY_ADDR(base, dev, addr) ((base) | (((addr) & 0x1ff) << 2)) macro
45 data = readl(CPHY_ADDR(CPHY_BASE + CPHY_WIDTH * phy, dev, addr)); in __combo_phy_reg_read()
52 writel(data, CPHY_ADDR(CPHY_BASE + CPHY_WIDTH * phy, dev, addr)); in __combo_phy_reg_write()
/openbmc/linux/drivers/ata/
H A Dsata_highbank.c28 #define CPHY_ADDR(addr) (((addr) & 0x1ff) << 2) macro
220 data = readl(port_data[sata_port].phy_base + CPHY_ADDR(addr)); in __combo_phy_reg_read()
230 writel(data, port_data[sata_port].phy_base + CPHY_ADDR(addr)); in __combo_phy_reg_write()