pci_machdep.c | 324 pci_conf_lock(struct pci_conf_lock *ocl, uint32_t sel) 339 ocl->cl_cpuno = cpuno; 347 ocl->cl_cpuno = 0; 372 ocl->cl_sel = atomic_cas_32_ni(&cl->cl_sel, cl->cl_sel, sel); 377 pci_conf_unlock(struct pci_conf_lock *ocl) 379 atomic_cas_32_ni(&cl->cl_sel, cl->cl_sel, ocl->cl_sel); 380 pci_conf_select(ocl->cl_sel); 381 if (ocl->cl_cpuno != cl->cl_cpuno) 382 atomic_cas_32(&cl->cl_cpuno, cl->cl_cpuno, ocl->cl_cpuno); 673 struct pci_conf_lock ocl; local in function:pci_conf_read 711 struct pci_conf_lock ocl; local in function:pci_conf_write 750 struct pci_conf_lock ocl; local in function:pci_conf_write16 [all...] |