Lines Matching defs:id
30 void *id;
437 * @id: Separator ID
440 * Open a new devres group for @dev with @id. For @id, using a
442 * recommended. If @id is NULL, address-wise unique ID is created.
447 void * devres_open_group(struct device *dev, void *id, gfp_t gfp)
462 grp->id = grp;
463 if (id)
464 grp->id = id;
469 return grp->id;
473 /* Find devres group with ID @id. If @id is NULL, look for the latest. */
474 static struct devres_group * find_group(struct device *dev, void *id)
486 if (id) {
487 if (grp->id == id)
499 * @id: ID of target group, can be NULL
501 * Close the group identified by @id. If @id is NULL, the latest open
504 void devres_close_group(struct device *dev, void *id)
511 grp = find_group(dev, id);
524 * @id: ID of target group, can be NULL
526 * Remove the group identified by @id. If @id is NULL, the latest
530 void devres_remove_group(struct device *dev, void *id)
537 grp = find_group(dev, id);
554 * @id: ID of target group, can be NULL
556 * Release all resources in the group identified by @id. If @id is
563 int devres_release_group(struct device *dev, void *id)
571 grp = find_group(dev, id);