Home
last modified time | relevance | path

Searched refs:nres (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/arch/arm/mach-mmp/
Ddevices.c21 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/
Diov.c279 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()
Dpci.h236 int nres; /* number of resources */ member
/linux-2.6.39/arch/powerpc/boot/
Ddevtree.c354 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()
Dops.h99 int dt_get_virtual_reg(void *node, void **addr, int nres);
/linux-2.6.39/fs/fuse/
Dfile.c774 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/
Dxfs_iomap.c499 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/
Dplatform.txt133 struct resource *res, unsigned int nres);