---
name: "pci_release_region"
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_release_region"
---

# pci\_release\_region(9)

Release a PCI bar

## NAME

pci\_release\_region - Release a PCI bar

## SYNOPSIS

**void pci\_release\_region(struct pci\_dev \*** *pdev***, int** *bar***);**

## ARGUMENTS

*pdev*

PCI device whose resources were previously reserved by pci\_request\_region

*bar*

BAR to release

## DESCRIPTION

Releases the PCI I/O and memory resources previously reserved by a successful call to pci\_request\_region. Call this function only after all use of the PCI regions has ceased.

## COPYRIGHT
