Lines Matching refs:bars
1942 int __weak pcibios_enable_device(struct pci_dev *dev, int bars) in pcibios_enable_device() argument
1944 return pci_enable_resources(dev, bars); in pcibios_enable_device()
1947 static int do_pci_enable_device(struct pci_dev *dev, int bars) in do_pci_enable_device() argument
1962 err = pcibios_enable_device(dev, bars); in do_pci_enable_device()
2022 int i, bars = 0; in pci_enable_device_flags() local
2042 bars |= (1 << i); in pci_enable_device_flags()
2045 bars |= (1 << i); in pci_enable_device_flags()
2047 err = do_pci_enable_device(dev, bars); in pci_enable_device_flags()
4078 void pci_release_selected_regions(struct pci_dev *pdev, int bars) in pci_release_selected_regions() argument
4083 if (bars & (1 << i)) in pci_release_selected_regions()
4088 static int __pci_request_selected_regions(struct pci_dev *pdev, int bars, in __pci_request_selected_regions() argument
4094 if (bars & (1 << i)) in __pci_request_selected_regions()
4101 if (bars & (1 << i)) in __pci_request_selected_regions()
4114 int pci_request_selected_regions(struct pci_dev *pdev, int bars, in pci_request_selected_regions() argument
4117 return __pci_request_selected_regions(pdev, bars, res_name, 0); in pci_request_selected_regions()
4121 int pci_request_selected_regions_exclusive(struct pci_dev *pdev, int bars, in pci_request_selected_regions_exclusive() argument
4124 return __pci_request_selected_regions(pdev, bars, res_name, in pci_request_selected_regions_exclusive()
6430 int i, bars = 0; in pci_select_bars() local
6433 bars |= (1 << i); in pci_select_bars()
6434 return bars; in pci_select_bars()