/Linux-v5.10/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 …]
|
/Linux-v5.10/drivers/hwtracing/intel_th/ |
D | core.c | 390 struct resource *res, int nres) in intel_th_device_add_resources() argument 394 r = kmemdup(res, sizeof(*res) * nres, GFP_KERNEL); in intel_th_device_add_resources() 399 thdev->num_resources = nres; in intel_th_device_add_resources() 422 unsigned nres; member 430 .nres = 1, 444 .nres = 2, 465 .nres = 2, 486 .nres = 2, 504 .nres = 2, 522 .nres = 1, [all …]
|
/Linux-v5.10/drivers/pci/ |
D | iov.c | 464 int nres; in sriov_enable() local 487 nres = 0; in sriov_enable() 492 nres++; in sriov_enable() 494 if (nres != iov->nres) { in sriov_enable() 606 int nres; in sriov_init() local 648 nres = 0; in sriov_init() 671 nres++; in sriov_init() 675 iov->nres = nres; in sriov_init()
|
D | pci.h | 325 int nres; /* Number of resources */ member
|
/Linux-v5.10/drivers/usb/chipidea/ |
D | ci_hdrc_pci.c | 60 int retval = 0, nres = 2; in ci_hdrc_pci_probe() local 95 ci->ci = ci_hdrc_add_device(&pdev->dev, res, nres, platdata); in ci_hdrc_pci_probe()
|
D | core.c | 829 struct resource *res, int nres, in ci_hdrc_add_device() argument 851 ret = platform_device_add_resources(pdev, res, nres); in ci_hdrc_add_device()
|
/Linux-v5.10/drivers/staging/board/ |
D | board.c | 114 unsigned int nres) in board_staging_gic_fixup_resources() argument 118 for (i = 0; i < nres; i++) in board_staging_gic_fixup_resources()
|
D | board.h | 29 void board_staging_gic_fixup_resources(struct resource *res, unsigned int nres);
|
/Linux-v5.10/arch/powerpc/boot/ |
D | devtree.c | 350 int dt_get_virtual_reg(void *node, void **addr, int nres) in dt_get_virtual_reg() argument 355 n = getprop(node, "virtual-reg", addr, nres * 4); in dt_get_virtual_reg() 359 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-v5.10/include/linux/usb/ |
D | chipidea.h | 98 struct resource *res, int nres,
|
/Linux-v5.10/fs/fuse/ |
D | file.c | 1443 ssize_t nres; in fuse_direct_io() local 1456 nres = fuse_send_write(ia, pos, nbytes, owner); in fuse_direct_io() 1458 nres = fuse_send_read(ia, pos, nbytes, owner); in fuse_direct_io() 1461 if (!io->async || nres < 0) { in fuse_direct_io() 1466 if (nres < 0) { in fuse_direct_io() 1468 err = nres; in fuse_direct_io() 1471 WARN_ON(nres > nbytes); in fuse_direct_io() 1473 count -= nres; in fuse_direct_io() 1474 res += nres; in fuse_direct_io() 1475 pos += nres; in fuse_direct_io() [all …]
|
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_sriov.h | 89 int nres; /* number of resources */ member
|
D | qed_sriov.c | 378 iov->nres, in qed_iov_pci_cfg_info()
|
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.h | 48 int nres; /* number of resources */ member
|
D | bnx2x_sriov.c | 1139 iov->nres = 0; in bnx2x_sriov_info() 1149 iov->first_vf_in_pf, iov->nres, iov->cap, iov->ctrl, iov->total, in bnx2x_sriov_info()
|
/Linux-v5.10/Documentation/driver-api/driver-model/ |
D | platform.rst | 149 struct resource *res, unsigned int nres);
|
/Linux-v5.10/fs/xfs/libxfs/ |
D | xfs_bmap.c | 4723 xfs_filblks_t nres = len1 + len2; /* new total res. */ in xfs_bmap_split_indlen() local 4731 if (ores < nres && avail) in xfs_bmap_split_indlen() 4732 stolen = XFS_FILBLKS_MIN(nres - ores, avail); in xfs_bmap_split_indlen() 4736 if (ores >= nres) in xfs_bmap_split_indlen() 4748 do_div(resfactor, nres); in xfs_bmap_split_indlen()
|