Searched refs:nres (Results 1 – 3 of 3) sorted by relevance
/arch/arm/mach-mmp/ |
D | devices.c | 22 int i, ret = 0, nres = 0; in pxa_register_device() local 33 res[nres].start = desc->start; in pxa_register_device() 34 res[nres].end = desc->start + desc->size - 1; in pxa_register_device() 35 res[nres].flags = IORESOURCE_MEM; in pxa_register_device() 36 nres++; in pxa_register_device() 40 res[nres].start = desc->irq; in pxa_register_device() 41 res[nres].end = desc->irq; in pxa_register_device() 42 res[nres].flags = IORESOURCE_IRQ; in pxa_register_device() 43 nres++; in pxa_register_device() 46 for (i = 0; i < MAX_RESOURCE_DMA; i++, nres++) { in pxa_register_device() [all …]
|
/arch/powerpc/boot/ |
D | devtree.c | 356 int dt_get_virtual_reg(void *node, void **addr, int nres) in dt_get_virtual_reg() argument 361 n = getprop(node, "virtual-reg", addr, nres * 4); in dt_get_virtual_reg() 368 for (n = 0; n < nres; n++) { in dt_get_virtual_reg()
|
D | ops.h | 100 int dt_get_virtual_reg(void *node, void **addr, int nres);
|