Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Docteon_device.c772 oct->adapter_refcount = &adapter_refcounts[oct->octeon_id]; in octeon_register_device()
773 atomic_set(oct->adapter_refcount, 0); in octeon_register_device()
786 atomic_inc(oct->adapter_refcount); in octeon_register_device()
794 oct->adapter_refcount = in octeon_register_device()
795 octeon_device[idx]->adapter_refcount; in octeon_register_device()
803 atomic_inc(oct->adapter_refcount); in octeon_register_device()
804 refcount = atomic_read(oct->adapter_refcount); in octeon_register_device()
821 atomic_dec(oct->adapter_refcount); in octeon_deregister_device()
822 refcount = atomic_read(oct->adapter_refcount); in octeon_deregister_device()
H A Docteon_device.h600 atomic_t *adapter_refcount; /* reference count of adapter */ member
H A Dcn23xx_pf_device.c1431 if (atomic_read(oct->adapter_refcount) > 1) in cn23xx_fw_loaded()
H A Dlio_main.c881 if (atomic_read(oct_dev->adapter_refcount) == 1) { in liquidio_probe()