Lines Matching full:item
11 * The @item parameter should be used as an index/hash to the memory region.
22 * alloc() - allocate space for a smem item
25 * @item: smem item handle
30 unsigned int item, size_t size);
33 * get() - Resolve ptr of size of a smem item
36 * @item: smem item handle
37 * @size: pointer to be filled out with the size of the item
41 unsigned int item, size_t *size);
56 * smem_alloc() - allocate space for a smem item
58 * @item: smem item handle
62 * Allocate space for a given smem item of size @size, given that the item is
65 int smem_alloc(struct udevice *dev, unsigned int host, unsigned int item, size_t size);
68 * smem_get() - resolve ptr of size of a smem item
70 * @item: smem item handle
71 * @size: pointer to be filled out with size of the item
74 * Looks up smem item and returns pointer to it. Size of smem
75 * item is returned in @size.
77 void *smem_get(struct udevice *dev, unsigned int host, unsigned int item, size_t *size);