Searched refs:idp (Results 1 – 2 of 2) sorted by relevance
43 static int as3722_read_id(struct udevice *dev, uint *idp, uint *revisionp) in as3722_read_id() argument52 *idp = ret; in as3722_read_id()
96 void idr_remove(struct idr *idp, int id) in idr_remove() argument98 if (idp->id[id].used) { in idr_remove()99 idp->id[id].used = 0; in idr_remove()100 idp->updated = true; in idr_remove()105 void *idr_find(struct idr *idp, int id) in idr_find() argument107 if (idp->id[id].used) in idr_find()108 return idp->id[id].ptr; in idr_find()113 void *idr_get_next(struct idr *idp, int *next) in idr_get_next() argument118 ret = idr_find(idp, id); in idr_get_next()121 if (!idp->id[id].used) in idr_get_next()[all …]