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

123456

/linux-master/drivers/gpu/drm/ttm/tests/
H A Dttm_kunit_helpers.c53 struct ttm_test_devices *devs,
64 err = drm_gem_object_init(devs->drm, &bo->base, size);
67 bo->bdev = devs->ttm_dev;
93 struct ttm_test_devices *devs; local
95 devs = kunit_kzalloc(test, sizeof(*devs), GFP_KERNEL);
96 KUNIT_ASSERT_NOT_NULL(test, devs);
98 devs->dev = drm_kunit_helper_alloc_device(test);
99 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, devs->dev);
101 devs
52 ttm_bo_kunit_init(struct kunit *test, struct ttm_test_devices *devs, size_t size) argument
112 struct ttm_test_devices *devs; local
130 ttm_test_devices_put(struct kunit *test, struct ttm_test_devices *devs) argument
[all...]
H A Dttm_kunit_helpers.h30 struct ttm_test_devices *devs,
38 void ttm_test_devices_put(struct kunit *test, struct ttm_test_devices *devs);
H A Dttm_pool_test.c19 struct ttm_test_devices *devs; member in struct:ttm_pool_test_priv
37 priv->devs = ttm_test_devices_basic(test);
47 ttm_test_devices_put(test, priv->devs);
60 bo = ttm_bo_kunit_init(test, priv->devs, size);
78 struct ttm_test_devices *devs = priv->devs; local
89 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, true, false);
137 struct ttm_test_devices *devs = priv->devs; local
153 ttm_pool_init(pool, devs
198 struct ttm_test_devices *devs = priv->devs; local
337 struct ttm_test_devices *devs = priv->devs; local
368 struct ttm_test_devices *devs = priv->devs; local
[all...]
H A Dttm_resource_test.c19 struct ttm_test_devices *devs; member in struct:ttm_resource_test_priv
33 priv->devs = ttm_test_devices_all(test);
34 KUNIT_ASSERT_NOT_NULL(test, priv->devs);
45 ttm_test_devices_put(test, priv->devs);
55 KUNIT_ASSERT_NOT_NULL(test, priv->devs->ttm_dev);
57 priv->bo = ttm_bo_kunit_init(test, priv->devs, size);
65 struct ttm_device *ttm_dev = priv->devs->ttm_dev;
127 man = ttm_manager_type(priv->devs->ttm_dev, place->mem_type);
163 man = ttm_manager_type(priv->devs->ttm_dev, place->mem_type);
193 man = ttm_manager_type(priv->devs
[all...]
/linux-master/fs/bcachefs/
H A Ddisk_groups_types.h9 struct bch_devs_mask devs; member in struct:bch_disk_group_cpu
H A Dsb-members.h45 static inline unsigned dev_mask_nr(const struct bch_devs_mask *devs) argument
47 return bitmap_weight(devs->d, BCH_SB_MEMBERS_MAX);
50 static inline bool bch2_dev_list_has_dev(struct bch_devs_list devs, argument
53 darray_for_each(devs, i)
59 static inline void bch2_dev_list_drop_dev(struct bch_devs_list *devs, argument
62 darray_for_each(*devs, i)
64 darray_remove_item(devs, i);
69 static inline void bch2_dev_list_add_dev(struct bch_devs_list *devs, argument
72 if (!bch2_dev_list_has_dev(*devs, dev)) {
73 BUG_ON(devs
184 struct bch_devs_mask devs; local
[all...]
H A Ddisk_groups.h65 struct bch_devs_mask devs = c->rw_devs[data_type]; local
69 bitmap_and(devs.d, devs.d, t->d, BCH_SB_MEMBERS_MAX);
70 return devs;
H A Dextents_types.h37 } devs[BCH_REPLICAS_MAX]; member in struct:bch_io_failures
/linux-master/tools/net/ynl/samples/
H A Ddevlink.c11 struct devlink_get_list *devs; local
18 devs = devlink_get_dump(ys);
19 if (!devs)
22 ynl_dump_foreach(devs, d) {
48 devlink_get_list_free(devs);
55 devlink_get_list_free(devs);
H A Dnetdev.c63 struct netdev_dev_get_list *devs; local
99 devs = netdev_dev_get_dump(ys);
100 if (!devs)
103 ynl_dump_foreach(devs, d)
105 netdev_dev_get_list_free(devs);
/linux-master/fs/crypto/
H A Dinline_crypt.c27 struct block_device **devs; local
30 devs = sb->s_cop->get_devices(sb, num_devs);
31 if (devs)
32 return devs;
34 devs = kmalloc(sizeof(*devs), GFP_KERNEL);
35 if (!devs)
37 devs[0] = sb->s_bdev;
39 return devs;
72 struct block_device **devs,
71 fscrypt_log_blk_crypto_impl(struct fscrypt_mode *mode, struct block_device **devs, unsigned int num_devs, const struct blk_crypto_config *cfg) argument
97 struct block_device **devs; local
160 struct block_device **devs; local
212 struct block_device **devs; local
[all...]
/linux-master/drivers/comedi/drivers/
H A Dcomedi_bond.c56 struct bonded_device **devs; member in struct:comedi_bond_private
68 struct bonded_device **devs; local
79 devs = devpriv->devs;
81 struct bonded_device *bdev = *devs++;
132 struct bonded_device **devs; local
137 devs = devpriv->devs;
138 for (bdev = *devs++; chan >= bdev->nchans; bdev = *devs
187 struct bonded_device **devs; local
[all...]
/linux-master/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...]
/linux-master/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...]
/linux-master/drivers/gpu/host1x/
H A Dcontext.c29 cdl->devs = NULL;
38 cdl->devs = kcalloc(cdl->len, sizeof(*cdl->devs), GFP_KERNEL);
39 if (!cdl->devs)
43 ctx = &cdl->devs[i];
98 device_unregister(&cdl->devs[i].dev);
100 kfree(cdl->devs);
101 cdl->devs = NULL;
112 device_unregister(&cdl->devs[i].dev);
114 kfree(cdl->devs);
[all...]
H A Dcontext.h20 struct host1x_memory_context *devs; member in struct:host1x_memory_context_list
/linux-master/drivers/watchdog/
H A Dcpwd.c91 } devs[WD_NUMDEVS]; member in struct:cpwd
210 (p->devs[index].intr_mask);
226 cpwd_writew(WD_BLIMIT, p->devs[index].regs + WD_LIMIT);
246 if (p->devs[id].runstatus & WD_STAT_BSTOP) {
264 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING)
265 cpwd_readw(p->devs[index].regs + WD_DCNTR);
274 if (cpwd_readb(p->devs[index].regs + WD_STATUS) & WD_S_RUNNING) {
278 p->devs[index].runstatus |= WD_STAT_BSTOP;
294 p->devs[index].runstatus &= ~WD_STAT_BSTOP;
296 p->devs[inde
[all...]
/linux-master/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...]
/linux-master/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);
108 acard->devmpu = pnp_request_card_device(card, id->devs[
[all...]
H 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);
96 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, NULL);
/linux-master/fs/erofs/
H A Dsuper.c188 if (!sbi->devs->flatdev && !dif->path) {
203 } else if (!sbi->devs->flatdev) {
236 if (sbi->devs->extra_devices &&
237 ondisk_extradevs != sbi->devs->extra_devices) {
239 ondisk_extradevs, sbi->devs->extra_devices);
245 if (!sbi->devs->extra_devices && !erofs_is_fscache_mode(sb))
246 sbi->devs->flatdev = true;
250 down_read(&sbi->devs->rwsem);
251 if (sbi->devs->extra_devices) {
252 idr_for_each_entry(&sbi->devs
753 erofs_free_dev_context(struct erofs_dev_context *devs) argument
[all...]
/linux-master/drivers/md/
H A Draid10.c108 int size = offsetof(struct r10bio, devs[conf->geo.raid_disks]);
166 r10_bio->devs[j].bio = bio;
173 r10_bio->devs[j].repl_bio = bio;
180 struct bio *rbio = r10_bio->devs[j].repl_bio;
187 bio = r10_bio->devs[j].bio;
215 if (r10_bio->devs[j].bio)
216 bio_uninit(r10_bio->devs[j].bio);
217 kfree(r10_bio->devs[j].bio);
218 if (r10_bio->devs[j].repl_bio)
219 bio_uninit(r10_bio->devs[
4225 raid10_takeover_raid0(struct mddev *mddev, sector_t size, int devs) argument
[all...]
/linux-master/arch/arm/mach-s3c/
H A DMakefile14 obj-$(CONFIG_SAMSUNG_ATAGS) += devs.o
/linux-master/drivers/infiniband/hw/usnic/
H A Dusnic_uiom.h61 struct list_head devs; member in struct:usnic_uiom_pd
89 void usnic_uiom_free_dev_list(struct device **devs);
/linux-master/drivers/char/agp/
H A Dali-agp.c304 struct agp_device_ids *devs = ali_agp_device_ids; local
314 for (j = 0; devs[j].chipset_name; j++) {
315 if (pdev->device == devs[j].device_id)
340 devs[j].chipset_name = "M1631";
343 devs[j].chipset_name = "M1632";
346 devs[j].chipset_name = "M1641";
349 devs[j].chipset_name = "M1621";
352 devs[j].chipset_name = "M1647";
355 devs[j].chipset_name = "M1651";
365 dev_info(&pdev->dev, "ALi %s chipset\n", devs[
[all...]

Completed in 440 milliseconds

123456