Searched refs:bar_pos (Results 1 – 1 of 1) sorted by relevance
417 int n_ports, i, rc, bar_pos; in k2_sata_init_one() local430 bar_pos = 5; in k2_sata_init_one()432 bar_pos = 3; in k2_sata_init_one()445 if (pci_resource_len(pdev, bar_pos) == 0) { in k2_sata_init_one()455 rc = pcim_iomap_regions(pdev, 1 << bar_pos, DRV_NAME); in k2_sata_init_one()461 mmio_base = host->iomap[bar_pos]; in k2_sata_init_one()