Lines Matching full:bars
185 * @bars: Bitmask of bars to be requested.
191 csio_pci_init(struct pci_dev *pdev, int *bars) in csio_pci_init() argument
195 *bars = pci_select_bars(pdev, IORESOURCE_MEM); in csio_pci_init()
200 if (pci_request_selected_regions(pdev, *bars, KBUILD_MODNAME)) in csio_pci_init()
218 pci_release_selected_regions(pdev, *bars); in csio_pci_init()
229 * @bars: Bars to be released.
233 csio_pci_exit(struct pci_dev *pdev, int *bars) in csio_pci_exit() argument
235 pci_release_selected_regions(pdev, *bars); in csio_pci_exit()
513 * Allocates HW structure, DMA, memory resources, maps BARS to
930 * - Allocates HW structure, DMA, memory resources, maps BARS to
943 int bars; in csio_probe_one() local
953 rv = csio_pci_init(pdev, &bars); in csio_probe_one()
1018 csio_pci_exit(pdev, &bars); in csio_probe_one()
1033 int bars = pci_select_bars(pdev, IORESOURCE_MEM); in csio_remove_one() local
1048 csio_pci_exit(pdev, &bars); in csio_remove_one()