Home
last modified time | relevance | path

Searched refs:devs (Results 1 - 25 of 221) sorted by relevance

123456789

/kernel/linux/linux-6.6/drivers/gpu/drm/ttm/tests/
H A Dttm_kunit_helpers.c29 struct ttm_test_devices *devs, in ttm_bo_kunit_init()
39 bo->bdev = devs->ttm_dev; in ttm_bo_kunit_init()
47 struct ttm_test_devices *devs; in ttm_test_devices_basic() local
49 devs = kunit_kzalloc(test, sizeof(*devs), GFP_KERNEL); in ttm_test_devices_basic()
50 KUNIT_ASSERT_NOT_NULL(test, devs); in ttm_test_devices_basic()
52 devs->dev = drm_kunit_helper_alloc_device(test); in ttm_test_devices_basic()
53 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, devs->dev); in ttm_test_devices_basic()
55 devs->drm = __drm_kunit_helper_alloc_drm_device(test, devs in ttm_test_devices_basic()
28 ttm_bo_kunit_init(struct kunit *test, struct ttm_test_devices *devs, size_t size) ttm_bo_kunit_init() argument
66 struct ttm_test_devices *devs; ttm_test_devices_all() local
84 ttm_test_devices_put(struct kunit *test, struct ttm_test_devices *devs) ttm_test_devices_put() argument
[all...]
H A Dttm_pool_test.c19 struct ttm_test_devices *devs; member
37 priv->devs = ttm_test_devices_basic(test); in ttm_pool_test_init()
47 ttm_test_devices_put(test, priv->devs); in ttm_pool_test_fini()
60 bo = ttm_bo_kunit_init(test, priv->devs, size); in ttm_tt_kunit_init()
78 struct ttm_test_devices *devs = priv->devs; in ttm_pool_pre_populated() local
90 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, true, false); in ttm_pool_pre_populated()
138 struct ttm_test_devices *devs = priv->devs; in ttm_pool_alloc_basic() local
154 ttm_pool_init(pool, devs in ttm_pool_alloc_basic()
199 struct ttm_test_devices *devs = priv->devs; ttm_pool_alloc_basic_dma_addr() local
338 struct ttm_test_devices *devs = priv->devs; ttm_pool_free_dma_alloc() local
369 struct ttm_test_devices *devs = priv->devs; ttm_pool_free_no_dma_alloc() local
[all...]
/kernel/linux/linux-5.10/sound/isa/sb/
H A Dsb16.c136 { .id = "CTL0024", .devs = { { "CTL0031" } } },
138 { .id = "CTL0025", .devs = { { "CTL0031" } } },
140 { .id = "CTL0026", .devs = { { "CTL0031" } } },
142 { .id = "CTL0027", .devs = { { "CTL0031" } } },
144 { .id = "CTL0028", .devs = { { "CTL0031" } } },
146 { .id = "CTL0029", .devs = { { "CTL0031" } } },
148 { .id = "CTL002a", .devs = { { "CTL0031" } } },
151 { .id = "CTL002b", .devs = { { "CTL0031" } } },
153 { .id = "CTL002c", .devs = { { "CTL0031" } } },
155 { .id = "CTL0051", .devs
[all...]
/kernel/linux/linux-6.6/sound/isa/sb/
H 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
[all...]
/kernel/linux/linux-5.10/sound/isa/cs423x/
H A Dcs4236.c139 { .id = "CSC0d32", .devs = { { "CSC0000" }, { "CSC0010" }, { "PNPb006" } } },
141 { .id = "CSC1a32", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
143 { .id = "CSC4232", .devs = { { "CSC0000" }, { "CSC0002" }, { "CSC0003" } } },
145 { .id = "CSC4236", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
147 { .id = "CSC7532", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSCb006" } } },
149 { .id = "CSC7632", .devs = { { "CSC0000" }, { "CSC0010" }, { "PNPb006" } } },
151 { .id = "CSCf032", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
153 { .id = "CSCe825", .devs = { { "CSC0100" }, { "CSC0110" }, { "CSC010f" } } },
155 { .id = "CSC0225", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
157 { .id = "CSC0225", .devs
[all...]
/kernel/linux/linux-6.6/sound/isa/cs423x/
H A Dcs4236.c104 { .id = "CSC0d32", .devs = { { "CSC0000" }, { "CSC0010" }, { "PNPb006" } } },
106 { .id = "CSC1a32", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
108 { .id = "CSC4232", .devs = { { "CSC0000" }, { "CSC0002" }, { "CSC0003" } } },
110 { .id = "CSC4236", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
112 { .id = "CSC7532", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSCb006" } } },
114 { .id = "CSC7632", .devs = { { "CSC0000" }, { "CSC0010" }, { "PNPb006" } } },
116 { .id = "CSCf032", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
118 { .id = "CSCe825", .devs = { { "CSC0100" }, { "CSC0110" }, { "CSC010f" } } },
120 { .id = "CSC0225", .devs = { { "CSC0000" }, { "CSC0010" }, { "CSC0003" } } },
122 { .id = "CSC0225", .devs
[all...]
/kernel/linux/linux-6.6/fs/crypto/
H A Dinline_crypt.c27 struct block_device **devs; in fscrypt_get_devices() local
30 devs = sb->s_cop->get_devices(sb, num_devs); in fscrypt_get_devices()
31 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()
73 struct block_device **devs, in fscrypt_log_blk_crypto_impl()
72 fscrypt_log_blk_crypto_impl(struct fscrypt_mode *mode, struct block_device **devs, unsigned int num_devs, const struct blk_crypto_config *cfg) fscrypt_log_blk_crypto_impl() argument
98 struct block_device **devs; fscrypt_select_encryption_impl() local
161 struct block_device **devs; fscrypt_prepare_inline_crypt_key() local
212 struct block_device **devs; fscrypt_destroy_inline_crypt_key() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H 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()
81 struct bonded_device *bdev = *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()
187 struct bonded_device **devs; do_dev_config() local
[all...]
/kernel/linux/linux-6.6/drivers/comedi/drivers/
H 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()
81 struct bonded_device *bdev = *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()
187 struct bonded_device **devs; do_dev_config() local
[all...]
/kernel/linux/linux-5.10/drivers/watchdog/
H A Dcpwd.c91 } devs[WD_NUMDEVS]; member
211 (p->devs[index].intr_mask); in cpwd_toggleintr()
227 cpwd_writew(WD_BLIMIT, p->devs[index].regs + WD_LIMIT); in cpwd_resetbrokentimer()
247 if (p->devs[id].runstatus & WD_STAT_BSTOP) { in cpwd_brokentimer()
265 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) in cpwd_pingtimer()
266 cpwd_readw(p->devs[index].regs + WD_DCNTR); in cpwd_pingtimer()
275 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) { in cpwd_stoptimer()
279 p->devs[index].runstatus |= WD_STAT_BSTOP; in cpwd_stoptimer()
295 p->devs[index].runstatus &= ~WD_STAT_BSTOP; in cpwd_starttimer()
297 p->devs[inde in cpwd_starttimer()
[all...]
/kernel/linux/linux-6.6/drivers/watchdog/
H A Dcpwd.c91 } devs[WD_NUMDEVS]; member
210 (p->devs[index].intr_mask); in cpwd_toggleintr()
226 cpwd_writew(WD_BLIMIT, p->devs[index].regs + WD_LIMIT); in cpwd_resetbrokentimer()
246 if (p->devs[id].runstatus & WD_STAT_BSTOP) { in cpwd_brokentimer()
264 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) in cpwd_pingtimer()
265 cpwd_readw(p->devs[index].regs + WD_DCNTR); in cpwd_pingtimer()
274 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) { in cpwd_stoptimer()
278 p->devs[index].runstatus |= WD_STAT_BSTOP; in cpwd_stoptimer()
294 p->devs[index].runstatus &= ~WD_STAT_BSTOP; in cpwd_starttimer()
296 p->devs[inde in cpwd_starttimer()
[all...]
/kernel/linux/linux-5.10/fs/crypto/
H A Dinline_crypt.c26 struct request_queue *devs[]; member
37 struct request_queue **devs) in fscrypt_get_devices()
40 devs[0] = bdev_get_queue(sb->s_bdev); in fscrypt_get_devices()
42 sb->s_cop->get_devices(sb, devs); in fscrypt_get_devices()
73 struct request_queue **devs; in fscrypt_select_encryption_impl() local
109 devs = kmalloc_array(num_devs, sizeof(*devs), GFP_KERNEL); in fscrypt_select_encryption_impl()
110 if (!devs) in fscrypt_select_encryption_impl()
112 fscrypt_get_devices(sb, num_devs, devs); in fscrypt_select_encryption_impl()
115 if (!blk_crypto_config_supported(devs[ in fscrypt_select_encryption_impl()
36 fscrypt_get_devices(struct super_block *sb, int num_devs, struct request_queue **devs) fscrypt_get_devices() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/host1x/
H A Dcontext.c29 cdl->devs = NULL; in host1x_memory_context_list_init()
38 cdl->devs = kcalloc(cdl->len, sizeof(*cdl->devs), GFP_KERNEL); in host1x_memory_context_list_init()
39 if (!cdl->devs) in host1x_memory_context_list_init()
43 ctx = &cdl->devs[i]; in host1x_memory_context_list_init()
98 device_unregister(&cdl->devs[i].dev); in host1x_memory_context_list_init()
100 kfree(cdl->devs); in host1x_memory_context_list_init()
101 cdl->devs = NULL; in host1x_memory_context_list_init()
112 device_unregister(&cdl->devs[i].dev); in host1x_memory_context_list_free()
114 kfree(cdl->devs); in host1x_memory_context_list_free()
[all...]
/kernel/linux/linux-6.6/sound/isa/ad1816a/
H 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" } } },
67 { .id = "TER1411", .devs
[all...]
/kernel/linux/linux-6.6/tools/net/ynl/samples/
H A Ddevlink.c11 struct devlink_get_list *devs; in main() local
18 devs = devlink_get_dump(ys); in main()
19 if (!devs) in main()
22 ynl_dump_foreach(devs, d) { in main()
48 devlink_get_list_free(devs); in main()
55 devlink_get_list_free(devs); in main()
H A Dnetdev.c51 struct netdev_dev_get_list *devs; in main() local
87 devs = netdev_dev_get_dump(ys); in main()
88 if (!devs) in main()
91 ynl_dump_foreach(devs, d) in main()
93 netdev_dev_get_list_free(devs); in main()
/kernel/linux/linux-6.6/drivers/md/
H A Draid10.c109 int size = offsetof(struct r10bio, devs[conf->geo.raid_disks]); in r10bio_pool_alloc()
167 r10_bio->devs[j].bio = bio; in r10buf_pool_alloc()
174 r10_bio->devs[j].repl_bio = bio; in r10buf_pool_alloc()
181 struct bio *rbio = r10_bio->devs[j].repl_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()
217 bio_uninit(r10_bio->devs[j].bio); in r10buf_pool_alloc()
218 kfree(r10_bio->devs[j].bio); in r10buf_pool_alloc()
219 if (r10_bio->devs[j].repl_bio) in r10buf_pool_alloc()
220 bio_uninit(r10_bio->devs[ in r10buf_pool_alloc()
4390 raid10_takeover_raid0(struct mddev *mddev, sector_t size, int devs) raid10_takeover_raid0() argument
[all...]
/kernel/linux/linux-6.6/fs/erofs/
H A Dsuper.c185 if (!sbi->devs->flatdev && !dif->path) { in erofs_init_device()
200 } else if (!sbi->devs->flatdev) { in erofs_init_device()
233 if (sbi->devs->extra_devices && in erofs_scan_devices()
234 ondisk_extradevs != sbi->devs->extra_devices) { in erofs_scan_devices()
236 ondisk_extradevs, sbi->devs->extra_devices); in erofs_scan_devices()
242 if (!sbi->devs->extra_devices && !erofs_is_fscache_mode(sb)) in erofs_scan_devices()
243 sbi->devs->flatdev = true; in erofs_scan_devices()
247 down_read(&sbi->devs->rwsem); in erofs_scan_devices()
248 if (sbi->devs->extra_devices) { in erofs_scan_devices()
249 idr_for_each_entry(&sbi->devs in erofs_scan_devices()
750 erofs_free_dev_context(struct erofs_dev_context *devs) erofs_free_dev_context() argument
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A Draid10.c94 int size = offsetof(struct r10bio, devs[conf->copies]); in r10bio_pool_alloc()
151 r10_bio->devs[j].bio = bio; in r10buf_pool_alloc()
157 r10_bio->devs[j].repl_bio = bio; in r10buf_pool_alloc()
164 struct bio *rbio = r10_bio->devs[j].repl_bio; in r10buf_pool_alloc()
171 bio = r10_bio->devs[j].bio; in r10buf_pool_alloc()
199 if (r10_bio->devs[j].bio) in r10buf_pool_alloc()
200 bio_put(r10_bio->devs[j].bio); in r10buf_pool_alloc()
201 if (r10_bio->devs[j].repl_bio) in r10buf_pool_alloc()
202 bio_put(r10_bio->devs[j].repl_bio); in r10buf_pool_alloc()
218 struct bio *bio = r10bio->devs[ in r10buf_pool_free()
4001 raid10_takeover_raid0(struct mddev *mddev, sector_t size, int devs) raid10_takeover_raid0() argument
[all...]
/kernel/linux/linux-5.10/sound/isa/ad1816a/
H A Dad1816a.c56 { .id = "ADS7150", .devs = { { .id = "ADS7150" }, { .id = "ADS7151" } } },
58 { .id = "ADS7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
60 { .id = "ADS7181", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
62 { .id = "AZT1022", .devs = { { .id = "AZT1018" }, { .id = "AZT2002" } } },
64 { .id = "LWC1061", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
66 { .id = "MDK1605", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
68 { .id = "SMM7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
70 { .id = "TER1112", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } },
72 { .id = "TER1112", .devs = { { .id = "TER1100" }, { .id = "TER1101" } } },
74 { .id = "TER1411", .devs
[all...]
/kernel/linux/linux-5.10/sound/isa/
H A Dals100.c73 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } },
77 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } },
81 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } },
85 .devs = { { "@@@1001" }, { "@X@1001" }, { "@H@1001" } },
89 .devs = { { "@@@2001" }, { "@X@2001" }, { "@H@2001" } },
93 .devs = { { "@@@0020" }, { "@X@0020" }, { "@H@0001" } },
97 .devs = { { "@@@0020" }, { "@X@0020" }, { "@H@0020" } },
101 .devs = { { "@@@2001" }, { "@X@2001" }, { "@H@2001" } },
115 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_als100_pnp()
119 acard->devmpu = pnp_request_card_device(card, id->devs[ in snd_card_als100_pnp()
[all...]
/kernel/linux/linux-6.6/sound/isa/
H 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[ in snd_card_als100_pnp()
[all...]
/kernel/linux/linux-5.10/drivers/char/agp/
H 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[ in agp_ali_probe()
[all...]
/kernel/linux/linux-6.6/drivers/char/agp/
H 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[ in agp_ali_probe()
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/
H A Dusnic_uiom.c461 INIT_LIST_HEAD(&pd->devs); in usnic_uiom_alloc_pd()
494 list_add_tail(&uiom_dev->link, &pd->devs); in usnic_uiom_attach_dev_to_pd()
513 list_for_each_entry(uiom_dev, &pd->devs, link) { in usnic_uiom_detach_dev_from_pd()
537 struct device **devs; in usnic_uiom_get_dev_list() local
541 devs = kcalloc(pd->dev_cnt + 1, sizeof(*devs), GFP_ATOMIC); in usnic_uiom_get_dev_list()
542 if (!devs) { in usnic_uiom_get_dev_list()
543 devs = ERR_PTR(-ENOMEM); in usnic_uiom_get_dev_list()
547 list_for_each_entry(uiom_dev, &pd->devs, link) { in usnic_uiom_get_dev_list()
548 devs[ in usnic_uiom_get_dev_list()
555 usnic_uiom_free_dev_list(struct device **devs) usnic_uiom_free_dev_list() argument
[all...]

Completed in 16 milliseconds

123456789