Searched refs:nres (Results 1 – 8 of 8) sorted by relevance
/linux-2.6.39/arch/arm/mach-mmp/ |
D | devices.c | 21 int i, ret = 0, nres = 0; in pxa_register_device() local 32 res[nres].start = desc->start; in pxa_register_device() 33 res[nres].end = desc->start + desc->size - 1; in pxa_register_device() 34 res[nres].flags = IORESOURCE_MEM; in pxa_register_device() 35 nres++; in pxa_register_device() 39 res[nres].start = desc->irq; in pxa_register_device() 40 res[nres].end = desc->irq; in pxa_register_device() 41 res[nres].flags = IORESOURCE_IRQ; in pxa_register_device() 42 nres++; in pxa_register_device() 45 for (i = 0; i < MAX_RESOURCE_DMA; i++, nres++) { in pxa_register_device() [all …]
|
/linux-2.6.39/drivers/pci/ |
D | iov.c | 279 int nres; in sriov_enable() local 306 nres = 0; in sriov_enable() 310 nres++; in sriov_enable() 312 if (nres != iov->nres) { in sriov_enable() 414 int nres; in sriov_init() local 461 nres = 0; in sriov_init() 473 nres++; in sriov_init() 483 iov->nres = nres; in sriov_init()
|
D | pci.h | 236 int nres; /* number of resources */ member
|
/linux-2.6.39/arch/powerpc/boot/ |
D | devtree.c | 354 int dt_get_virtual_reg(void *node, void **addr, int nres) in dt_get_virtual_reg() argument 359 n = getprop(node, "virtual-reg", addr, nres * 4); in dt_get_virtual_reg() 363 for (n = 0; n < nres; n++) { in dt_get_virtual_reg()
|
D | ops.h | 99 int dt_get_virtual_reg(void *node, void **addr, int nres);
|
/linux-2.6.39/fs/fuse/ |
D | file.c | 774 size_t nres; in fuse_buffered_write() local 796 nres = fuse_send_write(req, file, pos, count, NULL); in fuse_buffered_write() 799 if (!err && !nres) in fuse_buffered_write() 802 pos += nres; in fuse_buffered_write() 808 return err ? err : nres; in fuse_buffered_write() 1090 size_t nres; in fuse_direct_io() local 1100 nres = fuse_send_write(req, file, pos, nbytes, owner); in fuse_direct_io() 1102 nres = fuse_send_read(req, file, pos, nbytes, owner); in fuse_direct_io() 1109 } else if (nres > nbytes) { in fuse_direct_io() 1113 count -= nres; in fuse_direct_io() [all …]
|
/linux-2.6.39/fs/xfs/ |
D | xfs_iomap.c | 499 int nres; in xfs_iomap_write_allocate() local 528 nres = XFS_EXTENTADD_SPACE_RES(mp, XFS_DATA_FORK); in xfs_iomap_write_allocate() 529 error = xfs_trans_reserve(tp, nres, in xfs_iomap_write_allocate()
|
/linux-2.6.39/Documentation/driver-model/ |
D | platform.txt | 133 struct resource *res, unsigned int nres);
|