Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_mutex.c14 struct nfp_cpp_mutex { struct
123 struct nfp_cpp_mutex *nfp_cpp_mutex_alloc(struct nfp_cpp *cpp, int target, in nfp_cpp_mutex_alloc()
128 struct nfp_cpp_mutex *mutex; in nfp_cpp_mutex_alloc()
160 void nfp_cpp_mutex_free(struct nfp_cpp_mutex *mutex) in nfp_cpp_mutex_free()
171 int nfp_cpp_mutex_lock(struct nfp_cpp_mutex *mutex) in nfp_cpp_mutex_lock()
217 int nfp_cpp_mutex_unlock(struct nfp_cpp_mutex *mutex) in nfp_cpp_mutex_unlock()
262 int nfp_cpp_mutex_trylock(struct nfp_cpp_mutex *mutex) in nfp_cpp_mutex_trylock()
Dnfp_cpp.h270 struct nfp_cpp_mutex;
274 struct nfp_cpp_mutex *nfp_cpp_mutex_alloc(struct nfp_cpp *cpp, int target,
277 void nfp_cpp_mutex_free(struct nfp_cpp_mutex *mutex);
278 int nfp_cpp_mutex_lock(struct nfp_cpp_mutex *mutex);
279 int nfp_cpp_mutex_unlock(struct nfp_cpp_mutex *mutex);
280 int nfp_cpp_mutex_trylock(struct nfp_cpp_mutex *mutex);
Dnfp_resource.c66 struct nfp_cpp_mutex *mutex;
113 struct nfp_cpp_mutex *dev_mutex) in nfp_resource_try_acquire()
154 struct nfp_cpp_mutex *dev_mutex; in nfp_resource_acquire()
320 struct nfp_cpp_mutex *dev_mutex; in nfp_resource_table_init()