Home
last modified time | relevance | path

Searched refs:idp (Results 1 – 2 of 2) sorted by relevance

/u-boot/drivers/power/pmic/
A Das3722.c43 static int as3722_read_id(struct udevice *dev, uint *idp, uint *revisionp) in as3722_read_id() argument
52 *idp = ret; in as3722_read_id()
/u-boot/drivers/mtd/
A Dmtdcore.c95 void idr_remove(struct idr *idp, int id) in idr_remove() argument
97 if (idp->id[id].used) { in idr_remove()
98 idp->id[id].used = 0; in idr_remove()
99 idp->updated = true; in idr_remove()
104 void *idr_find(struct idr *idp, int id) in idr_find() argument
106 if (idp->id[id].used) in idr_find()
107 return idp->id[id].ptr; in idr_find()
117 ret = idr_find(idp, id); in idr_get_next()
120 if (!idp->id[id].used) in idr_get_next()
136 idl = &idp->id[i]; in idr_alloc()
[all …]

Completed in 6 milliseconds