Home
last modified time | relevance | path

Searched refs:pnp_res (Results 1 – 7 of 7) sorted by relevance

/drivers/pnp/
Dresource.c484 struct pnp_resource *pnp_res; in pnp_get_resource() local
487 list_for_each_entry(pnp_res, &dev->resources, list) { in pnp_get_resource()
488 res = &pnp_res->res; in pnp_get_resource()
498 struct pnp_resource *pnp_res; in pnp_new_resource() local
500 pnp_res = kzalloc(sizeof(struct pnp_resource), GFP_KERNEL); in pnp_new_resource()
501 if (!pnp_res) in pnp_new_resource()
504 list_add_tail(&pnp_res->list, &dev->resources); in pnp_new_resource()
505 return pnp_res; in pnp_new_resource()
511 struct pnp_resource *pnp_res; in pnp_add_resource() local
513 pnp_res = pnp_new_resource(dev); in pnp_add_resource()
[all …]
Dcore.c115 void pnp_free_resource(struct pnp_resource *pnp_res) in pnp_free_resource() argument
117 list_del(&pnp_res->list); in pnp_free_resource()
118 kfree(pnp_res); in pnp_free_resource()
123 struct pnp_resource *pnp_res, *tmp; in pnp_free_resources() local
125 list_for_each_entry_safe(pnp_res, tmp, &dev->resources, list) { in pnp_free_resources()
126 pnp_free_resource(pnp_res); in pnp_free_resources()
Dquirks.c309 struct pnp_resource *pnp_res; in quirk_amd_mmconfig_area() local
317 list_for_each_entry(pnp_res, &dev->resources, list) { in quirk_amd_mmconfig_area()
318 res = &pnp_res->res; in quirk_amd_mmconfig_area()
370 struct pnp_resource *pnp_res; in quirk_intel_mch() local
400 list_for_each_entry(pnp_res, &dev->resources, list) { in quirk_intel_mch()
401 res = &pnp_res->res; in quirk_intel_mch()
Dsupport.c80 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()
Dmanager.c242 struct pnp_resource *pnp_res, *tmp; in pnp_clean_resource_table() local
244 list_for_each_entry_safe(pnp_res, tmp, &dev->resources, list) { in pnp_clean_resource_table()
245 if (pnp_res->res.flags & IORESOURCE_AUTO) in pnp_clean_resource_table()
246 pnp_free_resource(pnp_res); in pnp_clean_resource_table()
Dinterface.c251 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()
Dbase.h160 void pnp_free_resource(struct pnp_resource *pnp_res);