Lines Matching refs:port_no
347 if (ata66 & (2 >> ap->port_no)) in hpt37x_cable_detect()
363 unsigned int mcrbase = 0x50 + 4 * ap->port_no; in hpt374_fn1_cable_detect()
375 if (ata66 & (2 >> ap->port_no)) in hpt374_fn1_cable_detect()
398 if (!pci_test_config_bits(pdev, &hpt37x_enable_bits[ap->port_no])) in hpt37x_pre_reset()
402 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37); in hpt37x_pre_reset()
416 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no); in hpt370_set_mode()
417 addr2 = 0x51 + 4 * ap->port_no; in hpt370_set_mode()
486 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37); in hpt370_bmdma_stop()
496 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37); in hpt370_bmdma_stop()
510 addr1 = 0x40 + 4 * (adev->devno + 2 * ap->port_no); in hpt372_set_mode()
511 addr2 = 0x51 + 4 * ap->port_no; in hpt372_set_mode()
570 int mscreg = 0x50 + 4 * ap->port_no; in hpt37x_bmdma_stop()
575 if (bwsr_stat & (1 << ap->port_no)) in hpt37x_bmdma_stop()