Try to lock pci config reads/writes
bool pci_cfg_access_trylock(struct pci_dev * dev);
dev
pci device struct
Same as pci_cfg_access_lock, but will return 0 if access is already locked, 1 otherwise. This function can be used from atomic contexts.