Searched refs:pnp_res (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/pnp/ |
D | resource.c | 486 struct pnp_resource *pnp_res; in pnp_get_resource() local 489 list_for_each_entry(pnp_res, &dev->resources, list) { in pnp_get_resource() 490 res = &pnp_res->res; in pnp_get_resource() 500 struct pnp_resource *pnp_res; in pnp_new_resource() local 502 pnp_res = kzalloc(sizeof(struct pnp_resource), GFP_KERNEL); in pnp_new_resource() 503 if (!pnp_res) in pnp_new_resource() 506 list_add_tail(&pnp_res->list, &dev->resources); in pnp_new_resource() 507 return pnp_res; in pnp_new_resource() 513 struct pnp_resource *pnp_res; in pnp_add_resource() local 515 pnp_res = pnp_new_resource(dev); in pnp_add_resource() [all …]
|
D | core.c | 104 void pnp_free_resource(struct pnp_resource *pnp_res) in pnp_free_resource() argument 106 list_del(&pnp_res->list); in pnp_free_resource() 107 kfree(pnp_res); in pnp_free_resource() 112 struct pnp_resource *pnp_res, *tmp; in pnp_free_resources() local 114 list_for_each_entry_safe(pnp_res, tmp, &dev->resources, list) { in pnp_free_resources() 115 pnp_free_resource(pnp_res); in pnp_free_resources()
|
D | quirks.c | 307 struct pnp_resource *pnp_res; in quirk_amd_mmconfig_area() local 315 list_for_each_entry(pnp_res, &dev->resources, list) { in quirk_amd_mmconfig_area() 316 res = &pnp_res->res; in quirk_amd_mmconfig_area() 368 struct pnp_resource *pnp_res; in quirk_intel_mch() local 398 list_for_each_entry(pnp_res, &dev->resources, list) { in quirk_intel_mch() 399 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 | 243 struct pnp_resource *pnp_res, *tmp; in pnp_clean_resource_table() local 245 list_for_each_entry_safe(pnp_res, tmp, &dev->resources, list) { in pnp_clean_resource_table() 246 if (pnp_res->res.flags & IORESOURCE_AUTO) in pnp_clean_resource_table() 247 pnp_free_resource(pnp_res); in pnp_clean_resource_table()
|
D | interface.c | 253 struct pnp_resource *pnp_res; in resources_show() local 270 list_for_each_entry(pnp_res, &dev->resources, list) { in resources_show() 271 res = &pnp_res->res; in resources_show()
|
D | base.h | 160 void pnp_free_resource(struct pnp_resource *pnp_res);
|