Searched refs:idp (Results 1 – 2 of 2) sorted by relevance
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/ |
H A D | qdf_idr.c | 50 __qdf_idr_alloc(qdf_idr *idp, void *ptr, int32_t start, int32_t end) in __qdf_idr_alloc() argument 54 idr_get_new(&idp->idr, ptr, &id); in __qdf_idr_alloc() 60 __qdf_idr_alloc(qdf_idr *idp, void *ptr, int32_t start, int32_t end) in __qdf_idr_alloc() argument 62 return idr_alloc(&idp->idr, ptr, start, end, qdf_idr_gpf_flag()); in __qdf_idr_alloc() 66 QDF_STATUS qdf_idr_create(qdf_idr *idp) in qdf_idr_create() argument 68 if (!idp) in qdf_idr_create() 71 qdf_spinlock_create(&idp->lock); in qdf_idr_create() 73 idr_init(&idp->idr); in qdf_idr_create() 80 QDF_STATUS qdf_idr_destroy(qdf_idr *idp) in qdf_idr_destroy() argument 82 if (!idp) in qdf_idr_destroy() [all …]
|
/wlan-driver/qca-wifi-host-cmn/qdf/inc/ |
H A D | qdf_idr.h | 44 QDF_STATUS qdf_idr_create(qdf_idr *idp); 52 QDF_STATUS qdf_idr_destroy(qdf_idr *idp); 62 QDF_STATUS qdf_idr_alloc(qdf_idr *idp, void *ptr, int32_t *id); 71 QDF_STATUS qdf_idr_remove(qdf_idr *idp, int32_t id); 81 QDF_STATUS qdf_idr_find(qdf_idr *idp, int32_t id, void **ptr);
|