Searched refs:configured_state (Results 1 – 4 of 4) sorted by relevance
95 atomic_dec_if_positive(&afu->configured_state); in cxl_afu_configured_put()100 return atomic_inc_unless_negative(&afu->configured_state); in cxl_afu_configured_get()
258 atomic_set(&afu->configured_state, -1); in cxl_alloc_afu()
1110 atomic_set(&afu->configured_state, 0); in pci_configure_afu()1127 if (atomic_read(&afu->configured_state) != -1) { in pci_deconfigure_afu()1128 while (atomic_cmpxchg(&afu->configured_state, 0, -1) != -1) in pci_deconfigure_afu()
498 atomic_t configured_state; member