| /linux/sound/isa/cs423x/ |
| A D | cs4236.c | 124 { .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/fs/crypto/ |
| A D | inline_crypt.c | 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() 135 if (IS_ERR(devs)) in fscrypt_select_encryption_impl() 147 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/sound/isa/sb/ |
| A D | sb16.c | 122 { .id = "CTL0024", .devs = { { "CTL0031" } } }, 124 { .id = "CTL0025", .devs = { { "CTL0031" } } }, 126 { .id = "CTL0026", .devs = { { "CTL0031" } } }, 128 { .id = "CTL0027", .devs = { { "CTL0031" } } }, 130 { .id = "CTL0028", .devs = { { "CTL0031" } } }, 132 { .id = "CTL0029", .devs = { { "CTL0031" } } }, 134 { .id = "CTL002a", .devs = { { "CTL0031" } } }, 137 { .id = "CTL002b", .devs = { { "CTL0031" } } }, 139 { .id = "CTL002c", .devs = { { "CTL0031" } } }, 141 { .id = "CTL0051", .devs = { { "CTL0001" } } }, [all …]
|
| /linux/drivers/gpu/drm/ttm/tests/ |
| A D | ttm_kunit_helpers.c | 190 bo->bdev = devs->ttm_dev; in ttm_bo_kunit_init() 221 struct ttm_test_devices *devs; in ttm_test_devices_basic() local 223 devs = kunit_kzalloc(test, sizeof(*devs), GFP_KERNEL); in ttm_test_devices_basic() 232 devs->drm = __drm_kunit_helper_alloc_drm_device(test, devs->dev, in ttm_test_devices_basic() 233 sizeof(*devs->drm), 0, in ttm_test_devices_basic() 237 return devs; in ttm_test_devices_basic() 243 struct ttm_test_devices *devs; in ttm_test_devices_all() local 255 devs->ttm_dev = ttm_dev; in ttm_test_devices_all() 257 return devs; in ttm_test_devices_all() 263 if (devs->ttm_dev) in ttm_test_devices_put() [all …]
|
| A D | ttm_pool_test.c | 19 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, NULL); in ttm_tt_kunit_init() 78 struct ttm_test_devices *devs = priv->devs; in ttm_pool_pre_populated() local 137 struct ttm_test_devices *devs = priv->devs; in ttm_pool_alloc_basic() local 156 KUNIT_ASSERT_PTR_EQ(test, pool->dev, devs->dev); in ttm_pool_alloc_basic() 198 struct ttm_test_devices *devs = priv->devs; in ttm_pool_alloc_basic_dma_addr() local 212 bo = ttm_bo_kunit_init(test, devs, size, NULL); in ttm_pool_alloc_basic_dma_addr() 337 struct ttm_test_devices *devs = priv->devs; in ttm_pool_free_dma_alloc() local [all …]
|
| A D | ttm_resource_test.c | 19 struct ttm_test_devices *devs; member 33 priv->devs = ttm_test_devices_all(test); in ttm_resource_test_init() 34 KUNIT_ASSERT_NOT_NULL(test, priv->devs); in ttm_resource_test_init() 45 ttm_test_devices_put(test, priv->devs); in ttm_resource_test_fini() 55 KUNIT_ASSERT_NOT_NULL(test, priv->devs->ttm_dev); in ttm_init_test_mocks() 57 priv->bo = ttm_bo_kunit_init(test, priv->devs, size, NULL); in ttm_init_test_mocks() 65 struct ttm_device *ttm_dev = priv->devs->ttm_dev; in ttm_init_test_manager() 214 ttm_resource_manager_init(man, priv->devs->ttm_dev, size); in ttm_resource_manager_init_basic() 216 KUNIT_ASSERT_PTR_EQ(test, man->bdev, priv->devs->ttm_dev); in ttm_resource_manager_init_basic() 278 man = ttm_manager_type(priv->devs->ttm_dev, mem_type); in ttm_sys_man_alloc_basic() [all …]
|
| A D | ttm_tt_test.c | 225 const struct ttm_test_devices *devs = test->priv; in ttm_tt_create_failed() local 232 devs->ttm_dev->funcs = &ttm_dev_empty_funcs; in ttm_tt_create_failed() 243 const struct ttm_test_devices *devs = test->priv; in ttm_tt_destroy_basic() local 256 ttm_tt_destroy(devs->ttm_dev, bo->ttm); in ttm_tt_destroy_basic() 261 const struct ttm_test_devices *devs = test->priv; in ttm_tt_populate_null_ttm() local 286 err = ttm_tt_populate(devs->ttm_dev, tt, &ctx); in ttm_tt_populate_populated_ttm() 290 err = ttm_tt_populate(devs->ttm_dev, tt, &ctx); in ttm_tt_populate_populated_ttm() 310 err = ttm_tt_populate(devs->ttm_dev, tt, &ctx); in ttm_tt_unpopulate_basic() 314 ttm_tt_unpopulate(devs->ttm_dev, tt); in ttm_tt_unpopulate_basic() 333 ttm_tt_unpopulate(devs->ttm_dev, tt); in ttm_tt_unpopulate_empty_ttm() [all …]
|
| /linux/drivers/comedi/drivers/ |
| A D | comedi_bond.c | 56 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/drivers/watchdog/ |
| A D | cpwd.c | 91 } 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() 580 p->devs[i].runstatus &= ~WD_STAT_BSTOP; in cpwd_probe() 581 p->devs[i].runstatus |= WD_STAT_INIT; in cpwd_probe() 582 p->devs[i].timeout = p->timeout; in cpwd_probe() 584 p->devs[i].timeout = *parms[i]; in cpwd_probe() 586 err = misc_register(&p->devs[i].misc); in cpwd_probe() 608 misc_deregister(&p->devs[i].misc); in cpwd_probe() [all …]
|
| /linux/fs/bcachefs/ |
| A D | sb-members.h | 40 darray_for_each(devs, i) in bch2_dev_list_has_dev() 49 darray_for_each(*devs, i) in bch2_dev_list_drop_dev() 51 darray_remove_item(devs, i); in bch2_dev_list_drop_dev() 59 if (!bch2_dev_list_has_dev(*devs, dev)) { in bch2_dev_list_add_dev() 60 BUG_ON(devs->nr >= ARRAY_SIZE(devs->data)); in bch2_dev_list_add_dev() 61 devs->data[devs->nr++] = dev; in bch2_dev_list_add_dev() 204 ? rcu_dereference(c->devs[dev]) in bch2_dev_rcu_noerror() 293 struct bch_devs_mask devs; in bch2_online_devs() local 295 memset(&devs, 0, sizeof(devs)); in bch2_online_devs() 297 __set_bit(ca->dev_idx, devs.d); in bch2_online_devs() [all …]
|
| A D | replicas_format.h | 8 __u8 devs[] __counted_by(nr_devs); 20 __u8 devs[] __counted_by(nr_devs); 29 (offsetof(typeof(*(_i)), devs) + (_i)->nr_devs) 33 (e)->devs[(e)->nr_devs - 1] = (d); \
|
| A D | replicas.c | 32 BUG_ON(e->devs[i] >= e->devs[i + 1]); in verify_replicas_entry() 38 bubble_sort(e->devs, e->nr_devs, u8_cmp); in bch2_replicas_entry_sort() 85 if (r->devs[i] != BCH_SB_MEMBER_INVALID && in bch2_replicas_entry_sb_validate() 114 !bch2_dev_exists(c, r->devs[i])) { in bch2_replicas_entry_validate() 201 struct bch_devs_list devs) in bch2_devlist_to_replicas() argument 211 darray_for_each(devs, i) in bch2_devlist_to_replicas() 577 memcpy(dst->devs, e->devs, e->nr_devs); in __bch2_sb_replicas_v0_to_cpu_replicas() 638 memcpy(dst->devs, src->devs, src->nr_devs); in bch2_cpu_replicas_to_sb_replicas_v0() 829 nr_online += test_bit(e->devs[i], devs.d); in bch2_have_enough_devs() 885 if (r->devs[i] == dev) in bch2_sb_dev_has_data() [all …]
|
| /linux/drivers/gpu/host1x/ |
| A D | context.c | 29 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() 99 device_unregister(&cdl->devs[i].dev); in host1x_memory_context_list_init() 101 kfree(cdl->devs); in host1x_memory_context_list_init() 102 cdl->devs = NULL; in host1x_memory_context_list_init() 113 device_unregister(&cdl->devs[i].dev); in host1x_memory_context_list_free() 115 kfree(cdl->devs); in host1x_memory_context_list_free() 133 struct host1x_memory_context *cd = &cdl->devs[i]; in host1x_memory_context_alloc()
|
| /linux/drivers/md/ |
| A D | raid10.c | 166 r10_bio->devs[j].bio = bio; in r10buf_pool_alloc() 187 bio = r10_bio->devs[j].bio; in r10buf_pool_alloc() 215 if (r10_bio->devs[j].bio) in r10buf_pool_alloc() 217 kfree(r10_bio->devs[j].bio); in r10buf_pool_alloc() 1500 if (r10_bio->devs[i].bio) in raid10_write_request() 1522 memset(r10_bio->devs, 0, sizeof(r10_bio->devs[0]) * in __make_request() 1696 memset(r10_bio->devs, 0, sizeof(r10_bio->devs[0]) * geo->raid_disks); in raid10_handle_discard() 2664 r10_bio->devs[slot].bio in fix_read_error() 2871 r10_bio->devs[m].addr, in handle_write_completed() 2888 r10_bio->devs[m].addr, in handle_write_completed() [all …]
|
| /linux/tools/net/ynl/samples/ |
| A D | devlink.c | 11 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()
|
| A D | netdev.c | 63 struct netdev_dev_get_list *devs; in main() local 102 devs = netdev_dev_get_dump(ys); in main() 103 if (!devs) in main() 106 if (ynl_dump_empty(devs)) in main() 108 ynl_dump_foreach(devs, d) in main() 110 netdev_dev_get_list_free(devs); in main()
|
| /linux/sound/isa/ad1816a/ |
| A D | ad1816a.c | 47 { .id = "ADS7150", .devs = { { .id = "ADS7150" }, { .id = "ADS7151" } } }, 49 { .id = "ADS7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 51 { .id = "ADS7181", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 53 { .id = "AZT1022", .devs = { { .id = "AZT1018" }, { .id = "AZT2002" } } }, 55 { .id = "LWC1061", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 57 { .id = "MDK1605", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 59 { .id = "SMM7180", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 61 { .id = "TER1112", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, 63 { .id = "TER1112", .devs = { { .id = "TER1100" }, { .id = "TER1101" } } }, 82 pdev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_ad1816a_pnp() [all …]
|
| /linux/fs/erofs/ |
| A D | super.c | 237 sbi->devs->flatdev = true; in erofs_scan_devices() 241 down_read(&sbi->devs->rwsem); in erofs_scan_devices() 261 ++sbi->devs->extra_devices; in erofs_scan_devices() 268 up_read(&sbi->devs->rwsem); in erofs_scan_devices() 508 ++sbi->devs->extra_devices; in erofs_fc_parse_param() 770 if (!devs) in erofs_free_dev_context() 773 idr_destroy(&devs->tree); in erofs_free_dev_context() 774 kfree(devs); in erofs_free_dev_context() 806 if (!sbi->devs) { in erofs_init_fs_context() 812 idr_init(&sbi->devs->tree); in erofs_init_fs_context() [all …]
|
| A D | data.c | 204 struct erofs_dev_context *devs = EROFS_SB(sb)->devs; in erofs_map_dev() local 216 down_read(&devs->rwsem); in erofs_map_dev() 217 dif = idr_find(&devs->tree, map->m_deviceid - 1); in erofs_map_dev() 219 up_read(&devs->rwsem); in erofs_map_dev() 222 if (devs->flatdev) { in erofs_map_dev() 224 up_read(&devs->rwsem); in erofs_map_dev() 228 up_read(&devs->rwsem); in erofs_map_dev() 229 } else if (devs->extra_devices && !devs->flatdev) { in erofs_map_dev() 230 down_read(&devs->rwsem); in erofs_map_dev() 231 idr_for_each_entry(&devs->tree, dif, id) { in erofs_map_dev() [all …]
|
| /linux/sound/isa/ |
| A D | als100.c | 60 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } }, 64 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } }, 68 .devs = { { "@@@0001" }, { "@X@0001" }, { "@H@0001" } }, 72 .devs = { { "@@@1001" }, { "@X@1001" }, { "@H@1001" } }, 76 .devs = { { "@@@2001" }, { "@X@2001" }, { "@H@2001" } }, 80 .devs = { { "@@@0020" }, { "@X@0020" }, { "@H@0001" } }, 84 .devs = { { "@@@0020" }, { "@X@0020" }, { "@H@0020" } }, 88 .devs = { { "@@@2001" }, { "@X@2001" }, { "@H@2001" } }, 102 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_als100_pnp() 106 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, acard->dev); in snd_card_als100_pnp() [all …]
|
| A D | azt2320.c | 65 { .id = "AZT1008", .devs = { { "AZT1008" }, { "AZT2001" }, } }, 67 { .id = "AZT2320", .devs = { { "AZT0001" }, { "AZT0002" }, } }, 69 { .id = "AZT3000", .devs = { { "AZT1003" }, { "AZT2001" }, } }, 71 { .id = "AZT3002", .devs = { { "AZT1004" }, { "AZT2001" }, } }, 73 { .id = "AZT3005", .devs = { { "AZT1003" }, { "AZT2001" }, } }, 75 { .id = "AZT3011", .devs = { { "AZT1003" }, { "AZT2001" }, } }, 90 acard->dev = pnp_request_card_device(card, id->devs[0].id, NULL); in snd_card_azt2320_pnp() 94 acard->devmpu = pnp_request_card_device(card, id->devs[1].id, NULL); in snd_card_azt2320_pnp()
|
| /linux/Documentation/admin-guide/device-mapper/ |
| A D | striped.rst | 11 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/drivers/char/agp/ |
| A D | ali-agp.c | 304 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/drivers/infiniband/hw/usnic/ |
| A D | usnic_uiom.c | 456 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 …]
|
| /linux/drivers/char/tpm/ |
| A D | tpm2-space.c | 601 cdev_device_del(&chip->cdevs, &chip->devs); in tpm_devs_remove() 602 put_device(&chip->devs); in tpm_devs_remove() 613 device_initialize(&chip->devs); in tpm_devs_add() 614 chip->devs.parent = chip->dev.parent; in tpm_devs_add() 615 chip->devs.class = &tpmrm_class; in tpm_devs_add() 623 chip->devs.release = tpm_devs_release; in tpm_devs_add() 632 rc = cdev_device_add(&chip->cdevs, &chip->devs); in tpm_devs_add() 634 dev_err(&chip->devs, in tpm_devs_add() 636 dev_name(&chip->devs), MAJOR(chip->devs.devt), in tpm_devs_add() 637 MINOR(chip->devs.devt), rc); in tpm_devs_add() [all …]
|