Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/pnp/
Dresource.c482 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_irq_resource() local
512 pnp_res = pnp_new_resource(dev); in pnp_add_irq_resource()
[all …]
Dcore.c102 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()
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.c223 struct pnp_resource *pnp_res, *tmp; in pnp_clean_resource_table() local
225 list_for_each_entry_safe(pnp_res, tmp, &dev->resources, list) { in pnp_clean_resource_table()
226 if (pnp_res->res.flags & IORESOURCE_AUTO) in pnp_clean_resource_table()
227 pnp_free_resource(pnp_res); in pnp_clean_resource_table()
Dinterface.c251 struct pnp_resource *pnp_res; in pnp_show_current_resources() local
268 list_for_each_entry(pnp_res, &dev->resources, list) { in pnp_show_current_resources()
269 res = &pnp_res->res; in pnp_show_current_resources()
Dbase.h160 void pnp_free_resource(struct pnp_resource *pnp_res);