Home
last modified time | relevance | path

Searched refs:num_devs (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/Documentation/admin-guide/device-mapper/
Dstriped.rst38 my $num_devs = @ARGV;
42 if (!$num_devs) {
47 for ($i = 1; $i < $num_devs; $i++) {
53 $stripe_dev_size = $min_dev_size * $num_devs;
54 $stripe_dev_size -= $stripe_dev_size % ($chunk_size * $num_devs);
56 $table = "0 $stripe_dev_size striped $num_devs $chunk_size";
57 for ($i = 0; $i < $num_devs; $i++) {
/Linux-v5.4/drivers/mtd/
Dmtdconcat.c597 int num_devs, /* number of subdevices */ in mtd_concat_create() argument
608 for (i = 0; i < num_devs; i++) in mtd_concat_create()
613 size = SIZEOF_STRUCT_MTD_CONCAT(num_devs); in mtd_concat_create()
633 for (i = 0; i < num_devs; i++) in mtd_concat_create()
656 for (i = 1; i < num_devs; i++) { in mtd_concat_create()
700 concat->num_subdev = num_devs; in mtd_concat_create()
721 for (i = 0; i < num_devs; i++) { in mtd_concat_create()
787 for (i = 0; i < num_devs; i++) { in mtd_concat_create()
/Linux-v5.4/drivers/xen/xen-pciback/
Dxenbus.c364 int num_devs; in xen_pcibk_reconfigure() local
381 &num_devs); in xen_pcibk_reconfigure()
390 for (i = 0; i < num_devs; i++) { in xen_pcibk_reconfigure()
563 int i, num_devs; in xen_pcibk_setup_backend() local
578 &num_devs); in xen_pcibk_setup_backend()
587 for (i = 0; i < num_devs; i++) { in xen_pcibk_setup_backend()
/Linux-v5.4/include/linux/mtd/
Dconcat.h14 int num_devs, /* number of subdevices */
/Linux-v5.4/drivers/pwm/
Dpwm-sti.c480 u32 num_devs; in sti_pwm_probe_dt() local
483 ret = of_property_read_u32(np, "st,pwm-num-chan", &num_devs); in sti_pwm_probe_dt()
485 cdata->pwm_num_devs = num_devs; in sti_pwm_probe_dt()
487 ret = of_property_read_u32(np, "st,capture-num-chan", &num_devs); in sti_pwm_probe_dt()
489 cdata->cpt_num_devs = num_devs; in sti_pwm_probe_dt()
/Linux-v5.4/sound/pci/
Dvia82xx_modem.c234 unsigned int num_devs; member
485 for (i = 0; i < chip->num_devs; i++) { in snd_via82xx_interrupt()
839 chip->num_devs = 2; in snd_via686_pcm_new()
1023 for (i = 0; i < chip->num_devs; i++) in snd_via82xx_suspend()
1040 for (i = 0; i < chip->num_devs; i++) in snd_via82xx_resume()
1060 for (i = 0; i < chip->num_devs; i++) in snd_via82xx_free()
1177 for (i = 0; i < chip->num_devs; i++) in snd_via82xx_probe()
Dvia82xx.c367 unsigned int num_devs; member
632 for (i = 0; i < chip->num_devs; i++) { in snd_via686_interrupt()
673 for (i = 0; i < chip->num_devs; i++) { in snd_via8233_interrupt()
1443 chip->num_devs = 7; in snd_via8233_pcm_new()
1511 chip->num_devs = 3; in snd_via8233a_pcm_new()
1570 chip->num_devs = 2; in snd_via686_pcm_new()
2265 for (i = 0; i < chip->num_devs; i++) in snd_via82xx_suspend()
2301 for (i = 0; i < chip->num_devs; i++) in snd_via82xx_resume()
2321 for (i = 0; i < chip->num_devs; i++) in snd_via82xx_free()
2596 for (i = 0; i < chip->num_devs; i++) in snd_via82xx_probe()
/Linux-v5.4/arch/arm/include/asm/hardware/
Dscoop.h59 int num_devs; member
/Linux-v5.4/drivers/net/hamradio/
Ddmascc.c174 int num_devs; member
317 for (i = 0; i < hw[h].num_devs; i++) in dmascc_init()
322 if (j >= 0 && j < hw[h].num_devs && in dmascc_init()
330 for (i = 0; i < hw[h].num_devs; i++) { in dmascc_init()
337 for (i = 0; i < hw[h].num_devs; i++) in dmascc_init()
356 for (i = 0; i < hw[h].num_devs; i++) in dmascc_init()
380 for (i = 0; i < hw[h].num_devs; i++) in dmascc_init()
395 for (i = 0; i < hw[h].num_devs; i++) in dmascc_init()
/Linux-v5.4/arch/arm/mach-pxa/
Dpoodle.c154 .num_devs = 1,
Dspitz.c264 .num_devs = 2,
272 spitz_pcmcia_config.num_devs = 1; in spitz_pcmcia_init()
Dcorgi.c185 .num_devs = 1,
Dtosa.c237 .num_devs = 2,
/Linux-v5.4/drivers/pcmcia/
Dpxa2xx_sharpsl.c228 sharpsl_pcmcia_ops.nr = platform_scoop_config->num_devs; in sharpsl_pcmcia_init()
/Linux-v5.4/drivers/pci/
Dxen-pcifront.c1014 int i, num_devs; in pcifront_detach_devices() local
1024 &num_devs); in pcifront_detach_devices()
1034 for (i = 0; i < num_devs; i++) { in pcifront_detach_devices()
/Linux-v5.4/arch/arm/mach-sa1100/
Dcollie.c87 .num_devs = 1,
/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/
Drvu.c2192 int dev, num_devs; in rvu_flr_init() local
2209 num_devs = rvu->hw->total_pfs + pci_sriov_get_totalvfs(rvu->pdev); in rvu_flr_init()
2210 rvu->flr_wrk = devm_kcalloc(rvu->dev, num_devs, in rvu_flr_init()
2217 for (dev = 0; dev < num_devs; dev++) { in rvu_flr_init()
/Linux-v5.4/fs/nfs/
Dpnfs.h223 unsigned int num_devs; member
/Linux-v5.4/fs/btrfs/
Dblock-group.c3002 u64 num_devs; in check_system_chunk() local
3015 num_devs = get_profile_num_devs(fs_info, type); in check_system_chunk()
3018 thresh = btrfs_calc_metadata_size(fs_info, num_devs) + in check_system_chunk()