Searched refs:sata_port (Results 1 – 3 of 3) sorted by relevance
/drivers/ata/ |
D | sata_highbank.c | 214 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_CTL) & CR_BUSY) in combo_phy_wait_for_ready() [all …]
|
/drivers/scsi/ |
D | ipr.c | 822 struct ipr_sata_port *sata_port = qc->ap->private_data; in __ipr_sata_eh_done() local 825 sata_port->ioasa.status |= ATA_BUSY; in __ipr_sata_eh_done() 1193 res->sata_port = NULL; in ipr_init_res_entry() 4804 struct ipr_sata_port *sata_port; in ipr_target_alloc() local 4815 sata_port = kzalloc(sizeof(*sata_port), GFP_KERNEL); in ipr_target_alloc() 4816 if (!sata_port) in ipr_target_alloc() 4822 sata_port->ioa_cfg = ioa_cfg; in ipr_target_alloc() 4823 sata_port->ap = ap; in ipr_target_alloc() 4824 sata_port->res = res; in ipr_target_alloc() 4826 res->sata_port = sata_port; in ipr_target_alloc() [all …]
|
D | ipr.h | 1324 struct ipr_sata_port *sata_port; member
|