---
name: "pci_select_bars"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/pci_select_bars"
---

# pci\_select\_bars(9)

Make BAR mask from the type of resource

## NAME

pci\_select\_bars - Make BAR mask from the type of resource

## SYNOPSIS

**int pci\_select\_bars(struct pci\_dev \*** *dev***, unsigned long** *flags***);**

## ARGUMENTS

*dev*

the PCI device for which BAR mask is made

*flags*

resource type mask to be selected

## DESCRIPTION

This helper routine makes bar mask from the type of resource.

## COPYRIGHT
