Home
last modified time | relevance | path

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

/drivers/pnp/
Dresource.c485 struct pnp_resource *pnp_res; in pnp_get_resource() local
488 list_for_each_entry(pnp_res, &dev->resources, list) { in pnp_get_resource()
489 res = &pnp_res->res; in pnp_get_resource()
499 struct pnp_resource *pnp_res; in pnp_new_resource() local
501 pnp_res = kzalloc(sizeof(struct pnp_resource), GFP_KERNEL); in pnp_new_resource()
502 if (!pnp_res) in pnp_new_resource()
505 list_add_tail(&pnp_res->list, &dev->resources); in pnp_new_resource()
506 return pnp_res; in pnp_new_resource()
512 struct pnp_resource *pnp_res; in pnp_add_resource() local
514 pnp_res = pnp_new_resource(dev); in pnp_add_resource()
[all …]
Dcore.c116 void pnp_free_resource(struct pnp_resource *pnp_res) in pnp_free_resource() argument
118 list_del(&pnp_res->list); in pnp_free_resource()
119 kfree(pnp_res); in pnp_free_resource()
124 struct pnp_resource *pnp_res, *tmp; in pnp_free_resources() local
126 list_for_each_entry_safe(pnp_res, tmp, &dev->resources, list) { in pnp_free_resources()
127 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.c81 struct pnp_resource *pnp_res; in dbg_pnp_show_resources() local
87 list_for_each_entry(pnp_res, &dev->resources, list) in dbg_pnp_show_resources()
88 pnp_dbg(&dev->dev, "%pr\n", &pnp_res->res); in dbg_pnp_show_resources()
Dmanager.c243 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()
Dinterface.c252 struct pnp_resource *pnp_res; in resources_show() local
269 list_for_each_entry(pnp_res, &dev->resources, list) { in resources_show()
270 res = &pnp_res->res; in resources_show()
Dbase.h161 void pnp_free_resource(struct pnp_resource *pnp_res);