Home
last modified time | relevance | path

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

/drivers/ata/
Dsata_highbank.c228 static u32 __combo_phy_reg_read(u8 sata_port, u32 addr) in __combo_phy_reg_read() argument
231 u8 dev = port_data[sata_port].phy_devs; in __combo_phy_reg_read()
233 writel(CPHY_MAP(dev, addr), port_data[sata_port].phy_base + 0x800); in __combo_phy_reg_read()
234 data = readl(port_data[sata_port].phy_base + CPHY_ADDR(addr)); in __combo_phy_reg_read()
239 static void __combo_phy_reg_write(u8 sata_port, u32 addr, u32 data) in __combo_phy_reg_write() argument
241 u8 dev = port_data[sata_port].phy_devs; in __combo_phy_reg_write()
243 writel(CPHY_MAP(dev, addr), port_data[sata_port].phy_base + 0x800); in __combo_phy_reg_write()
244 writel(data, port_data[sata_port].phy_base + CPHY_ADDR(addr)); in __combo_phy_reg_write()
248 static void combo_phy_wait_for_ready(u8 sata_port) in combo_phy_wait_for_ready() argument
250 while (__combo_phy_reg_read(sata_port, SERDES_CR_CTL) & CR_BUSY) in combo_phy_wait_for_ready()
[all …]
/drivers/scsi/
Dipr.c827 struct ipr_sata_port *sata_port = qc->ap->private_data; in ipr_sata_eh_done() local
830 sata_port->ioasa.status |= ATA_BUSY; in ipr_sata_eh_done()
1157 res->sata_port = NULL; in ipr_init_res_entry()
4625 struct ipr_sata_port *sata_port; in ipr_target_alloc() local
4636 sata_port = kzalloc(sizeof(*sata_port), GFP_KERNEL); in ipr_target_alloc()
4637 if (!sata_port) in ipr_target_alloc()
4643 sata_port->ioa_cfg = ioa_cfg; in ipr_target_alloc()
4644 sata_port->ap = ap; in ipr_target_alloc()
4645 sata_port->res = res; in ipr_target_alloc()
4647 res->sata_port = sata_port; in ipr_target_alloc()
[all …]
Dipr.h1305 struct ipr_sata_port *sata_port; member