Home
last modified time | relevance | path

Searched refs:devs (Results 1 – 25 of 190) sorted by relevance

12345678

/linux-6.3-rc2/sound/isa/cs423x/
A Dcs4236.c124 { .id = "CSC0225", .devs = { { "CSC0100" }, { "CSC0110" } } },
128 { .id = "CSC0735", .devs = { { "CSC0000" }, { "CSC0010" } } },
134 { .id = "CSC1425", .devs = { { "CSC0100" }, { "CSC0110" } } },
158 { .id = "CSC6835", .devs = { { "CSC0000" }, { "CSC0010" } } },
168 { .id = "CSCc835", .devs = { { "CSC0000" }, { "CSC0010" } } },
178 { .id = "CSCa836", .devs = { { "CSCa800" }, { "CSCa810" } } },
184 { .id = "CSCe825", .devs = { { "CSC0100" }, { "CSC0110" } } },
186 { .id = "CSC4825", .devs = { { "CSC0100" }, { "CSC0110" } } },
188 { .id = "CSCe835", .devs = { { "CSC0000" }, { "CSC0010" } } },
190 { .id = "CSCe836", .devs = { { "CSC0000" }, { "CSC0010" } } },
[all …]
/linux-6.3-rc2/fs/crypto/
A Dinline_crypt.c31 if (devs) in fscrypt_get_devices()
32 return devs; in fscrypt_get_devices()
34 devs = kmalloc(sizeof(*devs), GFP_KERNEL); in fscrypt_get_devices()
35 if (!devs) in fscrypt_get_devices()
37 devs[0] = sb->s_bdev; in fscrypt_get_devices()
39 return devs; in fscrypt_get_devices()
136 if (IS_ERR(devs)) in fscrypt_select_encryption_impl()
148 kfree(devs); in fscrypt_select_encryption_impl()
179 if (IS_ERR(devs)) { in fscrypt_prepare_inline_crypt_key()
188 kfree(devs); in fscrypt_prepare_inline_crypt_key()
[all …]
/linux-6.3-rc2/sound/isa/sb/
A Dsb16.c128 { .id = "CTL0024", .devs = { { "CTL0031" } } },
130 { .id = "CTL0025", .devs = { { "CTL0031" } } },
132 { .id = "CTL0026", .devs = { { "CTL0031" } } },
134 { .id = "CTL0027", .devs = { { "CTL0031" } } },
136 { .id = "CTL0028", .devs = { { "CTL0031" } } },
138 { .id = "CTL0029", .devs = { { "CTL0031" } } },
140 { .id = "CTL002a", .devs = { { "CTL0031" } } },
143 { .id = "CTL002b", .devs = { { "CTL0031" } } },
145 { .id = "CTL002c", .devs = { { "CTL0031" } } },
147 { .id = "CTL0051", .devs = { { "CTL0001" } } },
[all …]
/linux-6.3-rc2/drivers/comedi/drivers/
A Dcomedi_bond.c56 struct bonded_device **devs; member
68 struct bonded_device **devs; in bonding_dio_insn_bits() local
79 devs = devpriv->devs; in bonding_dio_insn_bits()
132 struct bonded_device **devs; in bonding_dio_insn_config() local
137 devs = devpriv->devs; in bonding_dio_insn_config()
138 for (bdev = *devs++; chan >= bdev->nchans; bdev = *devs++) in bonding_dio_insn_config()
242 devs = krealloc(devpriv->devs, in do_dev_config()
245 if (!devs) { in do_dev_config()
251 devpriv->devs = devs; in do_dev_config()
332 kfree(devpriv->devs); in bonding_detach()
[all …]
/linux-6.3-rc2/drivers/watchdog/
A Dcpwd.c91 } devs[WD_NUMDEVS]; member
210 (p->devs[index].intr_mask); in cpwd_toggleintr()
298 cpwd_writew(p->devs[index].timeout, p->devs[index].regs + WD_LIMIT); in cpwd_starttimer()
316 if (intr & p->devs[index].intr_mask) { in cpwd_getstatus()
581 p->devs[i].runstatus &= ~WD_STAT_BSTOP; in cpwd_probe()
582 p->devs[i].runstatus |= WD_STAT_INIT; in cpwd_probe()
583 p->devs[i].timeout = p->timeout; in cpwd_probe()
585 p->devs[i].timeout = *parms[i]; in cpwd_probe()
587 err = misc_register(&p->devs[i].misc); in cpwd_probe()
609 misc_deregister(&p->devs[i].misc); in cpwd_probe()
[all …]
/linux-6.3-rc2/drivers/gpu/host1x/
A Dcontext.c24 cdl->devs = NULL; in host1x_memory_context_list_init()
32 cdl->devs = kcalloc(err, sizeof(*cdl->devs), GFP_KERNEL); in host1x_memory_context_list_init()
33 if (!cdl->devs) in host1x_memory_context_list_init()
38 ctx = &cdl->devs[i]; in host1x_memory_context_list_init()
83 device_del(&cdl->devs[i].dev); in host1x_memory_context_list_init()
85 kfree(cdl->devs); in host1x_memory_context_list_init()
96 device_del(&cdl->devs[i].dev); in host1x_memory_context_list_free()
98 kfree(cdl->devs); in host1x_memory_context_list_free()
116 struct host1x_memory_context *cd = &cdl->devs[i]; in host1x_memory_context_alloc()
/linux-6.3-rc2/sound/isa/ad1816a/
A Dad1816a.c49 { .id = "ADS7150", .devs = { { .id = "ADS7150" }, { .id = "ADS7151" } } },
51 { .id = "ADS7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
53 { .id = "ADS7181", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
55 { .id = "AZT1022", .devs = { { .id = "AZT1018" }, { .id = "AZT2002" } } },
57 { .id = "LWC1061", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
59 { .id = "MDK1605", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
61 { .id = "SMM7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
63 { .id = "TER1112", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
65 { .id = "TER1112", .devs = { { .id = "TER1100" }, { .id = "TER1101" } } },
84 pdev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_ad1816a_pnp()
[all …]
/linux-6.3-rc2/drivers/md/
A Draid10.c167 r10_bio->devs[j].bio = bio; in r10buf_pool_alloc()
188 bio = r10_bio->devs[j].bio; in r10buf_pool_alloc()
216 if (r10_bio->devs[j].bio) in r10buf_pool_alloc()
218 kfree(r10_bio->devs[j].bio); in r10buf_pool_alloc()
539 r10_bio->devs[slot].addr, in raid10_end_write_request()
1555 if (r10_bio->devs[i].bio) in raid10_write_request()
1577 memset(r10_bio->devs, 0, sizeof(r10_bio->devs[0]) * in __make_request()
1760 memset(r10_bio->devs, 0, sizeof(r10_bio->devs[0]) * geo->raid_disks); in raid10_handle_discard()
3008 r10_bio->devs[m].addr, in handle_write_completed()
3025 r10_bio->devs[m].addr, in handle_write_completed()
[all …]
/linux-6.3-rc2/sound/isa/
A Dals100.c62 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } },
66 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } },
70 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } },
74 .devs = { { "@@@1001" }, { "@X@1001" }, { "@H@1001" } },
78 .devs = { { "@@@2001" }, { "@X@2001" }, { "@H@2001" } },
82 .devs = { { "@@@0020" }, { "@X@0020" }, { "@H@0001" } },
86 .devs = { { "@@@0020" }, { "@X@0020" }, { "@H@0020" } },
90 .devs = { { "@@@2001" }, { "@X@2001" }, { "@H@2001" } },
104 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_als100_pnp()
108 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, acard->dev); in snd_card_als100_pnp()
[all …]
A Dazt2320.c67 { .id = "AZT1008", .devs = { { "AZT1008" }, { "AZT2001" }, } },
69 { .id = "AZT2320", .devs = { { "AZT0001" }, { "AZT0002" }, } },
71 { .id = "AZT3000", .devs = { { "AZT1003" }, { "AZT2001" }, } },
73 { .id = "AZT3002", .devs = { { "AZT1004" }, { "AZT2001" }, } },
75 { .id = "AZT3005", .devs = { { "AZT1003" }, { "AZT2001" }, } },
77 { .id = "AZT3011", .devs = { { "AZT1003" }, { "AZT2001" }, } },
92 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_azt2320_pnp()
96 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_card_azt2320_pnp()
/linux-6.3-rc2/fs/erofs/
A Dsuper.c295 down_read(&sbi->devs->rwsem); in erofs_scan_devices()
315 ++sbi->devs->extra_devices; in erofs_scan_devices()
322 up_read(&sbi->devs->rwsem); in erofs_scan_devices()
729 sbi->devs = ctx->devs; in erofs_fc_fill_super()
730 ctx->devs = NULL; in erofs_fc_fill_super()
867 if (!devs) in erofs_free_dev_context()
870 idr_destroy(&devs->tree); in erofs_free_dev_context()
871 kfree(devs); in erofs_free_dev_context()
909 if (!ctx->devs) { in erofs_init_fs_context()
915 idr_init(&ctx->devs->tree); in erofs_init_fs_context()
[all …]
A Ddata.c196 struct erofs_dev_context *devs = EROFS_SB(sb)->devs; in erofs_map_dev() local
207 down_read(&devs->rwsem); in erofs_map_dev()
208 dif = idr_find(&devs->tree, map->m_deviceid - 1); in erofs_map_dev()
210 up_read(&devs->rwsem); in erofs_map_dev()
217 up_read(&devs->rwsem); in erofs_map_dev()
218 } else if (devs->extra_devices) { in erofs_map_dev()
219 down_read(&devs->rwsem); in erofs_map_dev()
220 idr_for_each_entry(&devs->tree, dif, id) { in erofs_map_dev()
238 up_read(&devs->rwsem); in erofs_map_dev()
/linux-6.3-rc2/Documentation/admin-guide/device-mapper/
A Dstriped.rst11 Parameters: <num devs> <chunk size> [<dev path> <offset>]+
12 <num devs>:
39 my @devs = @ARGV;
46 $min_dev_size = `blockdev --getsz $devs[0]`;
48 my $this_size = `blockdev --getsz $devs[$i]`;
58 $table .= " $devs[$i] 0";
/linux-6.3-rc2/drivers/char/agp/
A Dali-agp.c304 struct agp_device_ids *devs = ali_agp_device_ids; in agp_ali_probe() local
314 for (j = 0; devs[j].chipset_name; j++) { in agp_ali_probe()
315 if (pdev->device == devs[j].device_id) in agp_ali_probe()
340 devs[j].chipset_name = "M1631"; in agp_ali_probe()
343 devs[j].chipset_name = "M1632"; in agp_ali_probe()
346 devs[j].chipset_name = "M1641"; in agp_ali_probe()
349 devs[j].chipset_name = "M1621"; in agp_ali_probe()
352 devs[j].chipset_name = "M1647"; in agp_ali_probe()
355 devs[j].chipset_name = "M1651"; in agp_ali_probe()
365 dev_info(&pdev->dev, "ALi %s chipset\n", devs[j].chipset_name); in agp_ali_probe()
/linux-6.3-rc2/drivers/infiniband/hw/usnic/
A Dusnic_uiom.c456 INIT_LIST_HEAD(&pd->devs); in usnic_uiom_alloc_pd()
489 list_add_tail(&uiom_dev->link, &pd->devs); in usnic_uiom_attach_dev_to_pd()
508 list_for_each_entry(uiom_dev, &pd->devs, link) { in usnic_uiom_detach_dev_from_pd()
532 struct device **devs; in usnic_uiom_get_dev_list() local
536 devs = kcalloc(pd->dev_cnt + 1, sizeof(*devs), GFP_ATOMIC); in usnic_uiom_get_dev_list()
537 if (!devs) { in usnic_uiom_get_dev_list()
538 devs = ERR_PTR(-ENOMEM); in usnic_uiom_get_dev_list()
542 list_for_each_entry(uiom_dev, &pd->devs, link) { in usnic_uiom_get_dev_list()
543 devs[i++] = uiom_dev->dev; in usnic_uiom_get_dev_list()
547 return devs; in usnic_uiom_get_dev_list()
[all …]
A Dusnic_uiom.h61 struct list_head devs; member
89 void usnic_uiom_free_dev_list(struct device **devs);
/linux-6.3-rc2/drivers/char/tpm/
A Dtpm2-space.c595 cdev_device_del(&chip->cdevs, &chip->devs); in tpm_devs_remove()
596 put_device(&chip->devs); in tpm_devs_remove()
607 device_initialize(&chip->devs); in tpm_devs_add()
608 chip->devs.parent = chip->dev.parent; in tpm_devs_add()
609 chip->devs.class = tpmrm_class; in tpm_devs_add()
617 chip->devs.release = tpm_devs_release; in tpm_devs_add()
626 rc = cdev_device_add(&chip->cdevs, &chip->devs); in tpm_devs_add()
628 dev_err(&chip->devs, in tpm_devs_add()
630 dev_name(&chip->devs), MAJOR(chip->devs.devt), in tpm_devs_add()
631 MINOR(chip->devs.devt), rc); in tpm_devs_add()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Ddevcom.c28 struct mlx5_core_dev *devs[MLX5_DEVCOM_PORTS_SUPPORTED]; member
86 if (iter->devs[i]) in mlx5_devcom_register_device()
87 tmp_dev = iter->devs[i]; in mlx5_devcom_register_device()
112 priv->devs[idx] = dev; in mlx5_devcom_register_device()
135 priv->devs[devcom->idx] = NULL; in mlx5_devcom_unregister_device()
140 if (priv->devs[i]) in mlx5_devcom_unregister_device()
/linux-6.3-rc2/drivers/vdpa/solidrun/
A Dsnet_main.c599 if (!cfg->devs) in snet_free_cfg()
604 if (!cfg->devs[i]) in snet_free_cfg()
607 kfree(cfg->devs[i]); in snet_free_cfg()
610 kfree(cfg->devs); in snet_free_cfg()
711 if (!cfg->devs) in psnet_read_cfg()
716 cfg->devs[i] = kzalloc(sizeof(*cfg->devs[i]), GFP_KERNEL); in psnet_read_cfg()
717 if (!cfg->devs[i]) { in psnet_read_cfg()
733 off += sizeof(cfg->devs[i]->rsvd); in psnet_read_cfg()
756 irq_num += psnet->cfg.devs[i]->vq_num + 1; in psnet_alloc_irq_vector()
865 if (cfg->devs[i]->vfid == vfid) in snet_find_dev_cfg()
[all …]
/linux-6.3-rc2/drivers/nvdimm/
A Dnamespace_devs.c1535 if (!devs) { in create_namespace_io()
1549 devs[0] = dev; in create_namespace_io()
1550 return devs; in create_namespace_io()
1957 kfree(devs); in scan_labels()
1987 if (!devs) in scan_labels()
2025 return devs; in scan_labels()
2028 if (devs) { in scan_labels()
2031 kfree(devs); in scan_labels()
2060 return devs; in create_namespaces()
2179 if (!devs) in nd_region_register_namespaces()
[all …]
/linux-6.3-rc2/drivers/macintosh/
A Dmacio-adb.c70 static int macio_adb_autopoll(int devs);
136 static int macio_adb_autopoll(int devs) in macio_adb_autopoll() argument
141 out_8(&adb->active_hi.r, devs >> 8); in macio_adb_autopoll()
142 out_8(&adb->active_lo.r, devs); in macio_adb_autopoll()
143 out_8(&adb->autopoll.r, devs? APE: 0); in macio_adb_autopoll()
/linux-6.3-rc2/arch/arm/mach-rpc/
A Driscpc.c184 static struct platform_device *devs[] __initdata = { variable
199 return platform_add_devices(devs, ARRAY_SIZE(devs)); in rpc_init()
/linux-6.3-rc2/include/linux/
A Ddmar.h97 #define for_each_dev_scope(devs, cnt, i, tmp) \ argument
99 dmar_rcu_dereference((devs)[(i)].dev) : NULL, (i) < (cnt)); \
102 #define for_each_active_dev_scope(devs, cnt, i, tmp) \ argument
103 for_each_dev_scope((devs), (cnt), (i), (tmp)) \
/linux-6.3-rc2/sound/pci/
A Dvia82xx_modem.c235 struct viadev devs[VIA_MAX_MODEM_DEVS]; member
488 struct viadev *viadev = &chip->devs[i]; in snd_via82xx_interrupt()
766 struct viadev *viadev = &chip->devs[chip->playback_devno + substream->number]; in snd_via82xx_playback_open()
777 struct viadev *viadev = &chip->devs[chip->capture_devno + substream->pcm->device]; in snd_via82xx_capture_open()
820 chip->devs[idx].reg_offset = reg_offset; in init_viadev()
821 chip->devs[idx].direction = direction; in init_viadev()
822 chip->devs[idx].port = chip->port + reg_offset; in init_viadev()
1023 snd_via82xx_channel_reset(chip, &chip->devs[i]); in snd_via82xx_suspend()
1039 snd_via82xx_channel_reset(chip, &chip->devs[i]); in snd_via82xx_resume()
1058 snd_via82xx_channel_reset(chip, &chip->devs[i]); in snd_via82xx_free()
[all …]
/linux-6.3-rc2/drivers/mfd/
A Ducb1x00-core.c408 list_add_tail(&dev->dev_node, &ucb->devs); in ucb1x00_add_dev()
409 list_add_tail(&dev->drv_node, &drv->devs); in ucb1x00_add_dev()
586 INIT_LIST_HEAD(&ucb->devs); in ucb1x00_probe()
619 list_for_each_safe(l, n, &ucb->devs) { in ucb1x00_remove()
640 INIT_LIST_HEAD(&drv->devs); in ucb1x00_register_driver()
656 list_for_each_safe(l, n, &drv->devs) { in ucb1x00_unregister_driver()
670 list_for_each_entry(udev, &ucb->devs, dev_node) { in ucb1x00_suspend()
723 list_for_each_entry(udev, &ucb->devs, dev_node) { in ucb1x00_resume()

Completed in 67 milliseconds

12345678