Lines Matching refs:pnp_res

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_irq_resource() local
512 pnp_res = pnp_new_resource(dev); in pnp_add_irq_resource()
513 if (!pnp_res) { in pnp_add_irq_resource()
518 res = &pnp_res->res; in pnp_add_irq_resource()
524 return pnp_res; in pnp_add_irq_resource()
530 struct pnp_resource *pnp_res; in pnp_add_dma_resource() local
533 pnp_res = pnp_new_resource(dev); in pnp_add_dma_resource()
534 if (!pnp_res) { in pnp_add_dma_resource()
539 res = &pnp_res->res; in pnp_add_dma_resource()
545 return pnp_res; in pnp_add_dma_resource()
552 struct pnp_resource *pnp_res; in pnp_add_io_resource() local
555 pnp_res = pnp_new_resource(dev); in pnp_add_io_resource()
556 if (!pnp_res) { in pnp_add_io_resource()
563 res = &pnp_res->res; in pnp_add_io_resource()
569 return pnp_res; in pnp_add_io_resource()
576 struct pnp_resource *pnp_res; in pnp_add_mem_resource() local
579 pnp_res = pnp_new_resource(dev); in pnp_add_mem_resource()
580 if (!pnp_res) { in pnp_add_mem_resource()
587 res = &pnp_res->res; in pnp_add_mem_resource()
593 return pnp_res; in pnp_add_mem_resource()
600 struct pnp_resource *pnp_res; in pnp_add_bus_resource() local
603 pnp_res = pnp_new_resource(dev); in pnp_add_bus_resource()
604 if (!pnp_res) { in pnp_add_bus_resource()
611 res = &pnp_res->res; in pnp_add_bus_resource()
617 return pnp_res; in pnp_add_bus_resource()
669 struct pnp_resource *pnp_res; in pnp_range_reserved() local
673 list_for_each_entry(pnp_res, &dev->resources, list) { in pnp_range_reserved()
674 dev_start = &pnp_res->res.start; in pnp_range_reserved()
675 dev_end = &pnp_res->res.end; in pnp_range_reserved()