Lines Matching refs:port_no
349 if (ata66 & (2 >> ap->port_no)) in hpt37x_cable_detect()
365 unsigned int mcrbase = 0x50 + 4 * ap->port_no; in hpt374_fn1_cable_detect()
377 if (ata66 & (2 >> ap->port_no)) in hpt374_fn1_cable_detect()
400 if (!pci_test_config_bits(pdev, &hpt37x_enable_bits[ap->port_no])) in hpt37x_pre_reset()
404 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37); in hpt37x_pre_reset()
418 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no); in hpt370_set_mode()
419 addr2 = 0x51 + 4 * ap->port_no; in hpt370_set_mode()
488 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37); in hpt370_bmdma_stop()
498 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37); in hpt370_bmdma_stop()
512 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no); in hpt372_set_mode()
513 addr2 = 0x51 + 4 * ap->port_no; in hpt372_set_mode()
572 int mscreg = 0x50 + 4 * ap->port_no; in hpt37x_bmdma_stop()
577 if (bwsr_stat & (1 << ap->port_no)) in hpt37x_bmdma_stop()