Lines Matching refs:bars

1900 int __weak pcibios_enable_device(struct pci_dev *dev, int bars)  in pcibios_enable_device()  argument
1902 return pci_enable_resources(dev, bars); in pcibios_enable_device()
1905 static int do_pci_enable_device(struct pci_dev *dev, int bars) in do_pci_enable_device() argument
1920 err = pcibios_enable_device(dev, bars); in do_pci_enable_device()
1980 int i, bars = 0; in pci_enable_device_flags() local
2000 bars |= (1 << i); in pci_enable_device_flags()
2003 bars |= (1 << i); in pci_enable_device_flags()
2005 err = do_pci_enable_device(dev, bars); in pci_enable_device_flags()
4025 void pci_release_selected_regions(struct pci_dev *pdev, int bars) in pci_release_selected_regions() argument
4030 if (bars & (1 << i)) in pci_release_selected_regions()
4035 static int __pci_request_selected_regions(struct pci_dev *pdev, int bars, in __pci_request_selected_regions() argument
4041 if (bars & (1 << i)) in __pci_request_selected_regions()
4048 if (bars & (1 << i)) in __pci_request_selected_regions()
4061 int pci_request_selected_regions(struct pci_dev *pdev, int bars, in pci_request_selected_regions() argument
4064 return __pci_request_selected_regions(pdev, bars, res_name, 0); in pci_request_selected_regions()
4068 int pci_request_selected_regions_exclusive(struct pci_dev *pdev, int bars, in pci_request_selected_regions_exclusive() argument
4071 return __pci_request_selected_regions(pdev, bars, res_name, in pci_request_selected_regions_exclusive()
6294 int i, bars = 0; in pci_select_bars() local
6297 bars |= (1 << i); in pci_select_bars()
6298 return bars; in pci_select_bars()