Lines Matching refs:port_no
189 u8 __iomem *chan = qs_mmio_base(ap->host) + (ap->port_no * 0x4000); in qs_enter_reg_mode()
199 u8 __iomem *chan = qs_mmio_base(ap->host) + (ap->port_no * 0x4000); in qs_reset_channel_logic()
321 u8 __iomem *chan = qs_mmio_base(ap->host) + (ap->port_no * 0x4000); in qs_packet_start()
388 unsigned int port_no = (sff1 >> 8) & 0x03; in qs_intr_pkt() local
389 struct ata_port *ap = host->ports[port_no]; in qs_intr_pkt()
394 sff1, sff0, port_no, sHST, sDST); in qs_intr_pkt()
417 unsigned int handled = 0, port_no; in qs_intr_mmio() local
419 for (port_no = 0; port_no < host->n_ports; ++port_no) { in qs_intr_mmio()
420 struct ata_port *ap = host->ports[port_no]; in qs_intr_mmio()
488 void __iomem *chan = mmio_base + (ap->port_no * 0x4000); in qs_port_start()
519 unsigned int port_no; in qs_host_init() local
525 for (port_no = 0; port_no < host->n_ports; ++port_no) { in qs_host_init()
526 u8 __iomem *chan = mmio_base + (port_no * 0x4000); in qs_host_init()
533 for (port_no = 0; port_no < host->n_ports; ++port_no) { in qs_host_init()
534 u8 __iomem *chan = mmio_base + (port_no * 0x4000); in qs_host_init()
594 int rc, port_no; in qs_ata_init_one() local
620 for (port_no = 0; port_no < host->n_ports; ++port_no) { in qs_ata_init_one()
621 struct ata_port *ap = host->ports[port_no]; in qs_ata_init_one()
622 unsigned int offset = port_no * 0x4000; in qs_ata_init_one()