Home
last modified time | relevance | path

Searched refs:adapter_refcount (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/cavium/liquidio/
Docteon_device.c768 oct->adapter_refcount = &adapter_refcounts[oct->octeon_id]; in octeon_register_device()
769 atomic_set(oct->adapter_refcount, 0); in octeon_register_device()
782 atomic_inc(oct->adapter_refcount); in octeon_register_device()
790 oct->adapter_refcount = in octeon_register_device()
791 octeon_device[idx]->adapter_refcount; in octeon_register_device()
799 atomic_inc(oct->adapter_refcount); in octeon_register_device()
800 refcount = atomic_read(oct->adapter_refcount); in octeon_register_device()
816 atomic_dec(oct->adapter_refcount); in octeon_deregister_device()
817 refcount = atomic_read(oct->adapter_refcount); in octeon_deregister_device()
Docteon_device.h600 atomic_t *adapter_refcount; /* reference count of adapter */ member
Dcn23xx_pf_device.c1432 if (atomic_read(oct->adapter_refcount) > 1) in cn23xx_fw_loaded()
Dlio_main.c887 if (atomic_read(oct_dev->adapter_refcount) == 1) { in liquidio_probe()