Searched refs:CPHY_ADDR (Results 1 – 2 of 2) sorted by relevance
11 #define CPHY_ADDR(base, dev, addr) ((base) | (((addr) & 0x1ff) << 2)) macro45 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()
28 #define CPHY_ADDR(addr) (((addr) & 0x1ff) << 2) macro220 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()