Searched refs:new_res (Results 1 – 8 of 8) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/core/ |
| H A D | devres.c | 115 void *devres_get(struct udevice *dev, void *new_res, in devres_get() argument 118 struct devres *new_dr = container_of(new_res, struct devres, data); in devres_get() 123 devres_add(dev, new_res); in devres_get() 124 res = new_res; in devres_get() 125 new_res = NULL; in devres_get() 127 devres_free(new_res); in devres_get()
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | resource.c | 1263 struct resource *new_res = NULL; in release_mem_region_adjustable() local 1281 new_res = alloc_resource(GFP_KERNEL | (alloc_nofail ? __GFP_NOFAIL : 0)); in release_mem_region_adjustable() 1333 if (!new_res) { in release_mem_region_adjustable() 1334 new_res = alloc_resource(GFP_ATOMIC); in release_mem_region_adjustable() 1335 if (!new_res) { in release_mem_region_adjustable() 1341 new_res->name = res->name; in release_mem_region_adjustable() 1342 new_res->start = end + 1; in release_mem_region_adjustable() 1343 new_res->end = res->end; in release_mem_region_adjustable() 1344 new_res->flags = res->flags; in release_mem_region_adjustable() 1345 new_res->desc = res->desc; in release_mem_region_adjustable() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hv/ |
| H A D | vmbus_drv.c | 2080 struct resource *new_res; in vmbus_walk_resources() local 2131 new_res = kzalloc(sizeof(*new_res), GFP_ATOMIC); in vmbus_walk_resources() 2132 if (!new_res) in vmbus_walk_resources() 2139 new_res->name = "hyperv mmio"; in vmbus_walk_resources() 2140 new_res->flags = IORESOURCE_MEM; in vmbus_walk_resources() 2141 new_res->start = start; in vmbus_walk_resources() 2142 new_res->end = end; in vmbus_walk_resources() 2149 *old_res = new_res; in vmbus_walk_resources() 2153 if (((*old_res)->end + 1) == new_res->start) { in vmbus_walk_resources() 2154 (*old_res)->end = new_res->end; in vmbus_walk_resources() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/char/tpm/ |
| H A D | tpm_crb.c | 459 struct resource new_res = { in crb_map_res() local 466 if (start != new_res.start) in crb_map_res() 470 return devm_ioremap_resource(dev, &new_res); in crb_map_res() 478 return *iobase_ptr + (new_res.start - iores->start); in crb_map_res()
|
| /OK3568_Linux_fs/kernel/drivers/base/ |
| H A D | devres.c | 318 void * devres_get(struct device *dev, void *new_res, in devres_get() argument 321 struct devres *new_dr = container_of(new_res, struct devres, data); in devres_get() 330 new_res = NULL; in devres_get() 333 devres_free(new_res); in devres_get()
|
| /OK3568_Linux_fs/u-boot/include/dm/ |
| H A D | device.h | 710 void *devres_get(struct udevice *dev, void *new_res, 829 static inline void *devres_get(struct udevice *dev, void *new_res, in devres_get() argument
|
| /OK3568_Linux_fs/kernel/drivers/nvdimm/ |
| H A D | namespace_devs.c | 615 struct resource *next = res->sibling, *new_res = NULL; in scan_allocate() local 679 new_res = next; in scan_allocate() 701 new_res = nvdimm_allocate_dpa(ndd, label_id, in scan_allocate() 703 if (!new_res) in scan_allocate() 713 if (!new_res) in scan_allocate() 714 new_res = res; in scan_allocate() 716 nd_dbg_dpa(nd_region, ndd, new_res, "%s(%d) %d\n", in scan_allocate()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | device.h | 193 void *devres_get(struct device *dev, void *new_res,
|