Home
last modified time | relevance | path

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

/linux/drivers/ata/
H A Dsata_highbank.c214 static u32 __combo_phy_reg_read(u8 sata_port, u32 addr) in __combo_phy_reg_read() argument
217 u8 dev = port_data[sata_port].phy_devs; in __combo_phy_reg_read()
219 writel(CPHY_MAP(dev, addr), port_data[sata_port].phy_base + 0x800); in __combo_phy_reg_read()
220 data = readl(port_data[sata_port].phy_base + CPHY_ADDR(addr)); in __combo_phy_reg_read()
225 static void __combo_phy_reg_write(u8 sata_port, u32 addr, u32 data) in __combo_phy_reg_write() argument
227 u8 dev = port_data[sata_port].phy_devs; in __combo_phy_reg_write()
229 writel(CPHY_MAP(dev, addr), port_data[sata_port].phy_base + 0x800); in __combo_phy_reg_write()
230 writel(data, port_data[sata_port].phy_base + CPHY_ADDR(addr)); in __combo_phy_reg_write()
234 static void combo_phy_wait_for_ready(u8 sata_port) in combo_phy_wait_for_ready() argument
236 while (__combo_phy_reg_read(sata_port, SERDES_CR_CT in combo_phy_wait_for_ready()
240 combo_phy_read(u8 sata_port,u32 addr) combo_phy_read() argument
249 combo_phy_write(u8 sata_port,u32 addr,u32 data) combo_phy_write() argument
257 highbank_cphy_disable_overrides(u8 sata_port) highbank_cphy_disable_overrides() argument
268 cphy_override_tx_attenuation(u8 sata_port,u32 val) cphy_override_tx_attenuation() argument
287 cphy_override_rx_mode(u8 sata_port,u32 val) cphy_override_rx_mode() argument
311 highbank_cphy_override_lane(u8 sata_port) highbank_cphy_override_lane() argument
[all...]