Home
last modified time | relevance | path

Searched refs:nfp_cpp_mutex (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_mutex.c44 struct nfp_cpp_mutex { struct
153 struct nfp_cpp_mutex *nfp_cpp_mutex_alloc(struct nfp_cpp *cpp, int target, in nfp_cpp_mutex_alloc()
158 struct nfp_cpp_mutex *mutex; in nfp_cpp_mutex_alloc()
190 void nfp_cpp_mutex_free(struct nfp_cpp_mutex *mutex) in nfp_cpp_mutex_free()
201 int nfp_cpp_mutex_lock(struct nfp_cpp_mutex *mutex) in nfp_cpp_mutex_lock()
247 int nfp_cpp_mutex_unlock(struct nfp_cpp_mutex *mutex) in nfp_cpp_mutex_unlock()
292 int nfp_cpp_mutex_trylock(struct nfp_cpp_mutex *mutex) in nfp_cpp_mutex_trylock()
Dnfp_cpp.h292 struct nfp_cpp_mutex;
296 struct nfp_cpp_mutex *nfp_cpp_mutex_alloc(struct nfp_cpp *cpp, int target,
299 void nfp_cpp_mutex_free(struct nfp_cpp_mutex *mutex);
300 int nfp_cpp_mutex_lock(struct nfp_cpp_mutex *mutex);
301 int nfp_cpp_mutex_unlock(struct nfp_cpp_mutex *mutex);
302 int nfp_cpp_mutex_trylock(struct nfp_cpp_mutex *mutex);
Dnfp_resource.c96 struct nfp_cpp_mutex *mutex;
143 struct nfp_cpp_mutex *dev_mutex) in nfp_resource_try_acquire()
184 struct nfp_cpp_mutex *dev_mutex; in nfp_resource_acquire()
350 struct nfp_cpp_mutex *dev_mutex; in nfp_resource_table_init()