Searched refs:pnp_res (Results 1 – 7 of 7) sorted by relevance
/drivers/pnp/ |
D | resource.c | 482 struct pnp_resource *pnp_res; in pnp_get_resource() local 485 list_for_each_entry(pnp_res, &dev->resources, list) { in pnp_get_resource() 486 res = &pnp_res->res; in pnp_get_resource() 496 struct pnp_resource *pnp_res; in pnp_new_resource() local 498 pnp_res = kzalloc(sizeof(struct pnp_resource), GFP_KERNEL); in pnp_new_resource() 499 if (!pnp_res) in pnp_new_resource() 502 list_add_tail(&pnp_res->list, &dev->resources); in pnp_new_resource() 503 return pnp_res; in pnp_new_resource() 509 struct pnp_resource *pnp_res; in pnp_add_resource() local 511 pnp_res = pnp_new_resource(dev); in pnp_add_resource() [all …]
|
D | core.c | 102 void pnp_free_resource(struct pnp_resource *pnp_res) in pnp_free_resource() argument 104 list_del(&pnp_res->list); in pnp_free_resource() 105 kfree(pnp_res); in pnp_free_resource() 110 struct pnp_resource *pnp_res, *tmp; in pnp_free_resources() local 112 list_for_each_entry_safe(pnp_res, tmp, &dev->resources, list) { in pnp_free_resources() 113 pnp_free_resource(pnp_res); in pnp_free_resources()
|
D | quirks.c | 306 struct pnp_resource *pnp_res; in quirk_amd_mmconfig_area() local 314 list_for_each_entry(pnp_res, &dev->resources, list) { in quirk_amd_mmconfig_area() 315 res = &pnp_res->res; in quirk_amd_mmconfig_area() 365 struct pnp_resource *pnp_res; in quirk_intel_mch() local 395 list_for_each_entry(pnp_res, &dev->resources, list) { in quirk_intel_mch() 396 res = &pnp_res->res; in quirk_intel_mch()
|
D | support.c | 80 struct pnp_resource *pnp_res; in dbg_pnp_show_resources() local 86 list_for_each_entry(pnp_res, &dev->resources, list) in dbg_pnp_show_resources() 87 pnp_dbg(&dev->dev, "%pr\n", &pnp_res->res); in dbg_pnp_show_resources()
|
D | manager.c | 244 struct pnp_resource *pnp_res, *tmp; in pnp_clean_resource_table() local 246 list_for_each_entry_safe(pnp_res, tmp, &dev->resources, list) { in pnp_clean_resource_table() 247 if (pnp_res->res.flags & IORESOURCE_AUTO) in pnp_clean_resource_table() 248 pnp_free_resource(pnp_res); in pnp_clean_resource_table()
|
D | interface.c | 251 struct pnp_resource *pnp_res; in resources_show() local 268 list_for_each_entry(pnp_res, &dev->resources, list) { in resources_show() 269 res = &pnp_res->res; in resources_show()
|
D | base.h | 160 void pnp_free_resource(struct pnp_resource *pnp_res);
|