1PCI_CFG_ACCESS_TRYLO(9) Hardware Interfaces PCI_CFG_ACCESS_TRYLO(9)
23
4
NAME
6pci_cfg_access_trylock - try to lock PCI config reads/writes
7
SYNOPSIS
9bool pci_cfg_access_trylock(struct pci_dev * dev);
10
ARGUMENTS
12dev
13pci device struct
14
DESCRIPTION
16Same as pci_cfg_access_lock, but will return 0 if access is already
17locked, 1 otherwise. This function can be used from atomic contexts.
18
COPYRIGHT
20Kernel Hackers Manual 3.10 June 2019 PCI_CFG_ACCESS_TRYLO(9)