| /linux/sound/isa/cs423x/ |
| H A D | cs4236.c | 104 { .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/drivers/gpu/drm/ttm/tests/ |
| H A D | ttm_kunit_helpers.c | 170 struct ttm_test_devices *devs, in ttm_bo_kunit_init() argument 186 err = drm_gem_object_init(devs->drm, &bo->base, size); in ttm_bo_kunit_init() 189 bo->bdev = devs->ttm_dev; in ttm_bo_kunit_init() 220 struct ttm_test_devices *devs; in ttm_test_devices_basic() local 222 devs = kunit_kzalloc(test, sizeof(*devs), GFP_KERNEL); in ttm_test_devices_basic() 223 KUNIT_ASSERT_NOT_NULL(test, devs); in ttm_test_devices_basic() 225 devs->dev = drm_kunit_helper_alloc_device(test); in ttm_test_devices_basic() 226 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, devs->dev); in ttm_test_devices_basic() 229 devs->dev->coherent_dma_mask = -1; in ttm_test_devices_basic() 231 devs->drm = __drm_kunit_helper_alloc_drm_device(test, devs->dev, in ttm_test_devices_basic() [all …]
|
| H 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() 127 man = ttm_manager_type(priv->devs->ttm_dev, place->mem_type); in ttm_resource_init_basic() 163 man = ttm_manager_type(priv->devs->ttm_dev, place->mem_type); in ttm_resource_init_pinned() 193 man = ttm_manager_type(priv->devs->ttm_dev, place->mem_type); in ttm_resource_fini_basic() [all …]
|
| H 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 265 err = ttm_tt_populate(devs->ttm_dev, NULL, &ctx); in ttm_tt_populate_null_ttm() 271 const struct ttm_test_devices *devs = test->priv; in ttm_tt_populate_populated_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() 296 const struct ttm_test_devices *devs = test->priv; in ttm_tt_unpopulate_basic() local [all …]
|
| /linux/drivers/comedi/drivers/ |
| H A D | comedi_bond.c | 57 struct bonded_device **devs; 69 struct bonded_device **devs; in bonding_dio_insn_bits() 80 devs = devpriv->devs; in bonding_dio_insn_bits() 82 struct bonded_device *bdev = *devs++; in bonding_dio_insn_bits() 133 struct bonded_device **devs; in bonding_dio_insn_config() 138 devs = devpriv->devs; in bonding_dio_insn_config() 139 for (bdev = *devs++; chan >= bdev->nchans; bdev = *devs in bonding_dio_insn_config() 56 struct bonded_device **devs; global() member 68 struct bonded_device **devs; bonding_dio_insn_bits() local 132 struct bonded_device **devs; bonding_dio_insn_config() local 187 struct bonded_device **devs; do_dev_config() local [all...] |
| /linux/drivers/watchdog/ |
| H A D | cpwd.c | 91 } 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...] |
| /linux/drivers/md/ |
| H A D | raid10.c | 108 return offsetof(struct r10bio, devs[raid_disks]); in calc_r10bio_size() 177 r10_bio->devs[j].bio = bio; in r10buf_pool_alloc() 184 r10_bio->devs[j].repl_bio = bio; in r10buf_pool_alloc() 191 struct bio *rbio = r10_bio->devs[j].repl_bio; in r10buf_pool_alloc() 198 bio = r10_bio->devs[j].bio; in r10buf_pool_alloc() 226 if (r10_bio->devs[j].bio) in r10buf_pool_alloc() 227 bio_uninit(r10_bio->devs[j].bio); in r10buf_pool_alloc() 228 kfree(r10_bio->devs[j].bio); in r10buf_pool_alloc() 229 if (r10_bio->devs[j].repl_bio) in r10buf_pool_alloc() 230 bio_uninit(r10_bio->devs[ in r10buf_pool_alloc() 4180 raid10_takeover_raid0(struct mddev * mddev,sector_t size,int devs) raid10_takeover_raid0() argument [all...] |
| /linux/sound/isa/ad1816a/ |
| H 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" } } }, 65 { .id = "TER1411", .devs = { { .id = "ADS7180" }, { .id = "ADS7181" } } }, [all …]
|
| /linux/tools/net/ynl/samples/ |
| H A D | devlink.c | |
| H A D | netdev.c | |
| /linux/sound/isa/ |
| H 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 …]
|
| H 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/ |
| H 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/ |
| H 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/fs/erofs/ |
| H A D | super.c | 148 if (!sbi->devs->flatdev && !dif->path) { in erofs_init_device() 158 if (!sbi->devs->flatdev) { in erofs_init_device() 215 if (sbi->devs->extra_devices && in erofs_scan_devices() 216 ondisk_extradevs != sbi->devs->extra_devices) { in erofs_scan_devices() 218 ondisk_extradevs, sbi->devs->extra_devices); in erofs_scan_devices() 229 if (!sbi->devs->extra_devices) in erofs_scan_devices() 230 sbi->devs->flatdev = true; in erofs_scan_devices() 234 down_read(&sbi->devs->rwsem); in erofs_scan_devices() 235 if (sbi->devs->extra_devices) { in erofs_scan_devices() 236 idr_for_each_entry(&sbi->devs in erofs_scan_devices() 874 erofs_free_dev_context(struct erofs_dev_context * devs,struct super_block * sb) erofs_free_dev_context() argument [all...] |
| H A D | data.c | 203 struct erofs_dev_context *devs = EROFS_SB(sb)->devs; in erofs_map_dev() 211 down_read(&devs->rwsem); in erofs_map_dev() 212 dif = idr_find(&devs->tree, map->m_deviceid - 1); in erofs_map_dev() 214 up_read(&devs->rwsem); in erofs_map_dev() 217 if (devs->flatdev) { in erofs_map_dev() 219 up_read(&devs->rwsem); in erofs_map_dev() 223 up_read(&devs->rwsem); in erofs_map_dev() 224 } else if (devs->extra_devices && !devs in erofs_map_dev() 199 struct erofs_dev_context *devs = EROFS_SB(sb)->devs; erofs_map_dev() local [all...] |
| /linux/drivers/char/tpm/ |
| H A D | tpm2-space.c | 568 struct tpm_chip *chip = container_of(dev, struct tpm_chip, devs); in tpm_devs_release() 580 cdev_device_del(&chip->cdevs, &chip->devs); in tpm_devs_remove() 581 put_device(&chip->devs); in tpm_devs_remove() 592 device_initialize(&chip->devs); in tpm_devs_add() 593 chip->devs.parent = chip->dev.parent; in tpm_devs_add() 594 chip->devs.class = &tpmrm_class; in tpm_devs_add() 602 chip->devs.release = tpm_devs_release; in tpm_devs_add() 603 chip->devs.devt = MKDEV(MAJOR(tpm_devt), chip->dev_num + TPM_NUM_DEVICES); in tpm_devs_add() 607 rc = dev_set_name(&chip->devs, "tpmrm%d", chip->dev_num); in tpm_devs_add() 611 rc = cdev_device_add(&chip->cdevs, &chip->devs); in tpm_devs_add() [all …]
|
| /linux/drivers/vdpa/solidrun/ |
| H A D | snet_main.c | 625 if (!cfg->devs) in snet_free_cfg() 630 if (!cfg->devs[i]) in snet_free_cfg() 633 kfree(cfg->devs[i]); in snet_free_cfg() 636 kfree(cfg->devs); in snet_free_cfg() 733 cfg->devs = kcalloc(cfg->devices_num, sizeof(void *), GFP_KERNEL); in psnet_read_cfg() 734 if (!cfg->devs) in psnet_read_cfg() 739 cfg->devs[i] = kzalloc_obj(*cfg->devs[i]); in psnet_read_cfg() 740 if (!cfg->devs[i]) { in psnet_read_cfg() 745 cfg->devs[i]->virtio_id = psnet_read32(psnet, off); in psnet_read_cfg() 747 cfg->devs[i]->vq_num = psnet_read32(psnet, off); in psnet_read_cfg() [all …]
|
| /linux/drivers/nvdimm/ |
| H A D | namespace_devs.c | 1530 struct device *dev, **devs; in create_namespace_io() local 1537 devs = kzalloc_objs(struct device *, 2); in create_namespace_io() 1538 if (!devs) { in create_namespace_io() 1552 devs[0] = dev; in create_namespace_io() 1553 return devs; in create_namespace_io() 1884 struct nd_namespace_label *nd_label, struct device **devs, in add_namespace_resource() argument 1892 uuid_t *uuid = namespace_to_uuid(devs[i]); in add_namespace_resource() 1928 struct device *dev, **devs; in scan_labels() local 1934 devs = kzalloc_objs(dev, 2); in scan_labels() 1935 if (!devs) in scan_labels() 2035 struct device **devs; create_namespaces() local 2150 create_relevant_namespaces(struct nd_region * nd_region,int * type,struct device *** devs) create_relevant_namespaces() argument 2174 struct device **devs = NULL; nd_region_register_namespaces() local [all...] |
| /linux/tools/perf/tests/shell/ |
| H A D | stat.sh | 207 devs="/sys/bus/event_source/devices" 208 for i in $devs/cpu $devs/cpu_atom $devs/armv8_pmuv3_0 $devs/armv8_cortex_*
|
| /linux/drivers/macintosh/ |
| H A D | macio-adb.c | 70 static int macio_adb_autopoll(int devs); 133 static int macio_adb_autopoll(int devs) in macio_adb_autopoll() argument 138 out_8(&adb->active_hi.r, devs >> 8); in macio_adb_autopoll() 139 out_8(&adb->active_lo.r, devs); in macio_adb_autopoll() 140 out_8(&adb->autopoll.r, devs? APE: 0); in macio_adb_autopoll()
|
| /linux/arch/arm/mach-rpc/ |
| H A D | riscpc.c | 184 static struct platform_device *devs[] __initdata = { variable 199 return platform_add_devices(devs, ARRAY_SIZE(devs)); in rpc_init()
|
| /linux/drivers/net/ethernet/microchip/sparx5/lan969x/ |
| H A D | lan969x_calendar.c | 28 u32 devs[LAN969X_DSM_CAL_DEVS_PER_TAXI]; member 120 speed->devs[speed->n_devs++] = i; in lan969x_dsm_calendar_calc() 184 data->schedule[idx] = speed->devs[dev]; in lan969x_dsm_calendar_calc()
|
| /linux/drivers/infiniband/hw/usnic/ |
| H A D | usnic_uiom.h | 61 struct list_head devs; member 89 void usnic_uiom_free_dev_list(struct device **devs);
|
| /linux/sound/pci/ |
| H A D | via82xx_modem.c | 235 struct viadev devs[VIA_MAX_MODEM_DEVS]; member 486 struct viadev *viadev = &chip->devs[i]; in snd_via82xx_interrupt() 756 struct viadev *viadev = &chip->devs[chip->playback_devno + substream->number]; 767 struct viadev *viadev = &chip->devs[chip->capture_devno + substream->pcm->device]; 810 chip->devs[idx].reg_offset = reg_offset; 811 chip->devs[idx].direction = direction; 812 chip->devs[idx].port = chip->port + reg_offset; 1012 snd_via82xx_channel_reset(chip, &chip->devs[i]); in snd_via82xx_suspend() 1028 snd_via82xx_channel_reset(chip, &chip->devs[i]); in snd_via82xx_resume() 1043 snd_via82xx_channel_reset(chip, &chip->devs[ in snd_via82xx_free() [all...] |