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()
399 if (!pci_test_config_bits(pdev, &hpt37x_enable_bits[ap->port_no])) in hpt37x_pre_reset()
403 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37); in hpt37x_pre_reset()
410 pci_read_config_byte(pdev, 0x51 + 4 * ap->port_no, &mcr2); in hpt37x_pre_reset()
418 pci_write_config_byte(pdev, 0x51 + 4 * ap->port_no, mcr2); in hpt37x_pre_reset()
427 int addr = 0x40 + 4 * (adev->devno + 2 * ap->port_no); in hpt37x_set_mode()
491 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37); in hpt370_bmdma_stop()
501 pci_write_config_byte(pdev, 0x50 + 4 * ap->port_no, 0x37); in hpt370_bmdma_stop()
518 int mscreg = 0x50 + 4 * ap->port_no; in hpt37x_bmdma_stop()
523 if (bwsr_stat & (1 << ap->port_no)) in hpt37x_bmdma_stop()