Lines Matching refs:resource
55 static void __iomem *_sparc_ioremap(struct resource *res, u32 bus, u32 pa, int sz);
58 static void _sparc_free_io(struct resource *res);
63 static struct resource _sparc_dvma = {
67 /*ext*/ struct resource sparc_iomap = {
81 struct resource xres; /* Must be first */
128 struct resource *res; in iounmap()
148 void __iomem *of_ioremap(struct resource *res, unsigned long offset, in of_ioremap()
157 void of_iounmap(struct resource *res, void __iomem *base, unsigned long size) in of_iounmap()
171 struct resource *res; in _sparc_alloc_io()
187 tack = kmalloc(sizeof (struct resource) + tlen + 1, GFP_KERNEL); in _sparc_alloc_io()
189 memset(tack, 0, sizeof(struct resource)); in _sparc_alloc_io()
190 res = (struct resource *) tack; in _sparc_alloc_io()
191 tack += sizeof (struct resource); in _sparc_alloc_io()
205 _sparc_ioremap(struct resource *res, u32 bus, u32 pa, int sz) in _sparc_ioremap()
227 static void _sparc_free_io(struct resource *res) in _sparc_free_io()
239 struct resource *res; in sparc_dma_alloc_resource()
259 struct resource *res; in sparc_dma_free_resource()
322 struct resource *root = m->private, *r; in sparc_io_proc_show()