Home
last modified time | relevance | path

Searched refs:new_res (Results 1 – 8 of 8) sorted by relevance

/openbmc/u-boot/drivers/core/
H A Ddevres.c114 void *devres_get(struct udevice *dev, void *new_res, in devres_get() argument
117 struct devres *new_dr = container_of(new_res, struct devres, data); in devres_get()
122 devres_add(dev, new_res); in devres_get()
123 res = new_res; in devres_get()
124 new_res = NULL; in devres_get()
126 devres_free(new_res); in devres_get()
/openbmc/linux/kernel/
H A Dresource.c1411 if (!new_res) { in release_mem_region_adjustable()
1413 if (!new_res) { in release_mem_region_adjustable()
1419 new_res->name = res->name; in release_mem_region_adjustable()
1420 new_res->start = end + 1; in release_mem_region_adjustable()
1421 new_res->end = res->end; in release_mem_region_adjustable()
1422 new_res->flags = res->flags; in release_mem_region_adjustable()
1423 new_res->desc = res->desc; in release_mem_region_adjustable()
1426 new_res->child = NULL; in release_mem_region_adjustable()
1431 res->sibling = new_res; in release_mem_region_adjustable()
1432 new_res = NULL; in release_mem_region_adjustable()
[all …]
/openbmc/linux/drivers/hv/
H A Dvmbus_drv.c1976 struct resource *new_res; in vmbus_walk_resources() local
2027 new_res = kzalloc(sizeof(*new_res), GFP_ATOMIC); in vmbus_walk_resources()
2028 if (!new_res) in vmbus_walk_resources()
2035 new_res->name = "hyperv mmio"; in vmbus_walk_resources()
2037 new_res->start = start; in vmbus_walk_resources()
2038 new_res->end = end; in vmbus_walk_resources()
2045 *old_res = new_res; in vmbus_walk_resources()
2051 kfree(new_res); in vmbus_walk_resources()
2057 kfree(new_res); in vmbus_walk_resources()
2062 new_res->sibling = *old_res; in vmbus_walk_resources()
[all …]
/openbmc/linux/drivers/char/tpm/
H A Dtpm_crb.c505 struct resource new_res = { in crb_map_res() local
512 if (start != new_res.start) in crb_map_res()
516 return devm_ioremap_resource(dev, &new_res); in crb_map_res()
524 return *iobase_ptr + (new_res.start - iores->start); in crb_map_res()
/openbmc/linux/drivers/base/
H A Ddevres.c316 void * devres_get(struct device *dev, void *new_res, in devres_get() argument
319 struct devres *new_dr = container_of(new_res, struct devres, data); in devres_get()
328 new_res = NULL; in devres_get()
331 devres_free(new_res); in devres_get()
/openbmc/u-boot/include/dm/
H A Ddevice.h777 void *devres_get(struct udevice *dev, void *new_res,
896 static inline void *devres_get(struct udevice *dev, void *new_res, in devres_get() argument
/openbmc/linux/drivers/nvdimm/
H A Dnamespace_devs.c452 struct resource *next = res->sibling, *new_res = NULL; in scan_allocate() local
516 new_res = next; in scan_allocate()
534 new_res = nvdimm_allocate_dpa(ndd, label_id, in scan_allocate()
536 if (!new_res) in scan_allocate()
546 if (!new_res) in scan_allocate()
547 new_res = res; in scan_allocate()
549 nd_dbg_dpa(nd_region, ndd, new_res, "%s(%d) %d\n", in scan_allocate()
/openbmc/linux/include/linux/
H A Ddevice.h289 void *devres_get(struct device *dev, void *new_res,