| /linux/sound/ppc/ |
| H A D | powermac.c | 59 strscpy(card->shortname, "PowerMac Burgundy"); in snd_pmac_probe() 61 card->shortname, chip->device_id, chip->subframe); in snd_pmac_probe() 68 strscpy(card->shortname, "PowerMac DACA"); in snd_pmac_probe() 70 card->shortname, chip->device_id, chip->subframe); in snd_pmac_probe() 79 sprintf(card->shortname, "PowerMac %s", name_ext); in snd_pmac_probe() 81 card->shortname, chip->device_id, chip->subframe); in snd_pmac_probe() 93 sprintf(card->shortname, "PowerMac %s", name_ext); in snd_pmac_probe() 101 card->shortname, name_ext, chip->revision); in snd_pmac_probe()
|
| /linux/drivers/staging/vc04_services/bcm2835-audio/ |
| H A D | bcm2835.c | 53 const char *shortname; member 95 .shortname = "bcm2835 HDMI", 108 .shortname = "bcm2835 Headphones", 164 strscpy(card->shortname, audio_driver->shortname, sizeof(card->shortname)); in snd_add_child_device() 167 err = audio_driver->newpcm(chip, audio_driver->shortname, in snd_add_child_device()
|
| /linux/sound/firewire/dice/ |
| H A D | dice.c | 107 strscpy(card->shortname, "DICE"); in dice_card_strings() 108 BUILD_BUG_ON(NICK_NAME_SIZE < sizeof(card->shortname)); in dice_card_strings() 110 card->shortname, in dice_card_strings() 111 sizeof(card->shortname)); in dice_card_strings() 114 BUILD_BUG_ON(sizeof(card->shortname) % 4 != 0); in dice_card_strings() 115 for (i = 0; i < sizeof(card->shortname); i += 4) in dice_card_strings() 116 swab32s((u32 *)&card->shortname[i]); in dice_card_strings() 117 card->shortname[sizeof(card->shortname) - 1] = '\0'; in dice_card_strings()
|
| /linux/drivers/media/usb/pvrusb2/ |
| H A D | pvrusb2-devattr.c | 53 .shortname = "29xxx", 87 .shortname = "24xxx", 117 .shortname = "gv2", 138 .shortname = "gv2d", 160 .shortname = "av400", 216 .shortname = "oac", 276 .shortname = "oa2", 370 .shortname = "73xxx", 477 .shortname = "750xx", 500 .shortname = "751xx", [all …]
|
| /linux/sound/drivers/ |
| H A D | serial-generic.c | 132 drvdata->card->shortname); in snd_serial_generic_ensure_serdev_open() 141 drvdata->baudrate, drvdata->card->shortname, actual_baud); in snd_serial_generic_ensure_serdev_open() 153 drvdata->card->shortname); in snd_serial_generic_input_open() 169 drvdata->card->shortname); in snd_serial_generic_input_close() 198 drvdata->card->shortname); in snd_serial_generic_output_open() 215 drvdata->card->shortname); in snd_serial_generic_output_close() 305 strscpy(rrawmidi->name, drvdata->card->shortname); in snd_serial_generic_rmidi() 335 sprintf(card->shortname, "SerialMIDI-%d", serdev->ctrl->nr); in snd_serial_generic_probe()
|
| /linux/sound/pci/trident/ |
| H A D | trident.c | 93 strscpy(card->shortname, "SiS "); in snd_trident_probe() 95 strscpy(card->shortname, "Trident "); in snd_trident_probe() 97 strcat(card->shortname, str); in snd_trident_probe() 99 card->shortname, trident->port, trident->irq); in snd_trident_probe()
|
| /linux/sound/usb/hiface/ |
| H A D | chip.c | 69 strscpy(card->shortname, quirk->device_name, sizeof(card->shortname)); in hiface_chip_create() 71 strscpy(card->shortname, "M2Tech generic audio", sizeof(card->shortname)); in hiface_chip_create() 73 strlcat(card->longname, card->shortname, sizeof(card->longname)); in hiface_chip_create()
|
| /linux/sound/firewire/tascam/ |
| H A D | tascam-midi.c | 92 "%s MIDI", tscm->card->shortname); in snd_tscm_create_midi_devices() 107 tscm->card->shortname, subs->number + 1); in snd_tscm_create_midi_devices() 122 tscm->card->shortname, subs->number + 1); in snd_tscm_create_midi_devices()
|
| /linux/sound/isa/msnd/ |
| H A D | msnd_pinnacle.c | 224 strscpy(card->shortname, "Classic/Tahiti/Monterey"); in snd_msnd_probe() 228 card->shortname, in snd_msnd_probe() 254 strscpy(card->shortname, pin); in snd_msnd_probe() 258 strscpy(card->shortname, pin); in snd_msnd_probe() 262 strscpy(card->shortname, pin); in snd_msnd_probe() 266 strscpy(card->shortname, pin); in snd_msnd_probe() 270 strscpy(card->shortname, fiji); in snd_msnd_probe() 274 strscpy(card->shortname, fiji); in snd_msnd_probe() 278 strscpy(card->shortname, fiji); in snd_msnd_probe() 282 strscpy(card->shortname, pinfiji); in snd_msnd_probe() [all …]
|
| /linux/sound/firewire/fireface/ |
| H A D | ff-midi.c | 104 "%s MIDI", ff->card->shortname); in snd_ff_create_midi_devices() 111 set_midi_substream_names(stream, ff->card->shortname); in snd_ff_create_midi_devices() 117 set_midi_substream_names(stream, ff->card->shortname); in snd_ff_create_midi_devices()
|
| /linux/sound/pci/ymfpci/ |
| H A D | ymfpci.c | 104 chip->card->shortname, (unsigned int)io_port); in snd_ymfpci_create_gameport() 192 sprintf(card->shortname, "Yamaha %s (%s)", model, str); in __snd_card_ymfpci_probe() 194 card->shortname, in __snd_card_ymfpci_probe() 234 card->shortname, (unsigned int)fm_port[dev]); in __snd_card_ymfpci_probe() 256 card->shortname, (unsigned int)mpu_port[dev]); in __snd_card_ymfpci_probe()
|
| /linux/sound/firewire/digi00x/ |
| H A D | digi00x-midi.c | 99 dg00x->card->shortname, in set_substream_names() 104 dg00x->card->shortname); in set_substream_names() 139 dg00x->card->shortname); in add_substream_pair()
|
| /linux/drivers/firmware/cirrus/test/ |
| H A D | cs_dsp_test_control_parse.c | 69 .shortname = "Dummy Coeff", 215 KUNIT_EXPECT_EQ(test, ctl->subname_len, strlen(def.shortname)); in cs_dsp_ctl_parse_short_name() 216 KUNIT_EXPECT_MEMEQ(test, ctl->subname, def.shortname, ctl->subname_len); in cs_dsp_ctl_parse_short_name() 234 def.shortname = "Q"; in cs_dsp_ctl_parse_min_short_name() 265 def.shortname = cs_dsp_ctl_alloc_test_string(test, 'A', 255); in cs_dsp_ctl_parse_max_short_name() 279 KUNIT_EXPECT_MEMEQ(test, ctl->subname, def.shortname, ctl->subname_len); in cs_dsp_ctl_parse_max_short_name() 310 KUNIT_EXPECT_EQ(test, ctl->subname_len, strlen(def.shortname)); in cs_dsp_ctl_parse_with_min_fullname() 311 KUNIT_EXPECT_MEMEQ(test, ctl->subname, def.shortname, ctl->subname_len); in cs_dsp_ctl_parse_with_min_fullname() 343 KUNIT_EXPECT_EQ(test, ctl->subname_len, strlen(def.shortname)); in cs_dsp_ctl_parse_with_max_fullname() 344 KUNIT_EXPECT_MEMEQ(test, ctl->subname, def.shortname, ctl->subname_len); in cs_dsp_ctl_parse_with_max_fullname() [all …]
|
| /linux/sound/usb/usx2y/ |
| H A D | us144mkii.c | 518 strscpy(card->shortname, "TASCAM US-144", in tascam_probe() 519 sizeof(card->shortname)); in tascam_probe() 521 strscpy(card->shortname, "TASCAM US-144MKII", in tascam_probe() 522 sizeof(card->shortname)); in tascam_probe() 524 strscpy(card->shortname, "TASCAM Unknown", in tascam_probe() 525 sizeof(card->shortname)); in tascam_probe() 528 card->shortname, USB_VID_TASCAM, dev->descriptor.idProduct, in tascam_probe()
|
| /linux/drivers/media/pci/solo6x10/ |
| H A D | solo6x10-g723.c | 308 strscpy(pcm->name, card->shortname, sizeof(pcm->name)); in solo_snd_pcm_init() 347 strscpy(card->shortname, "SOLO-6x10 Audio", sizeof(card->shortname)); in solo_g723_init() 348 sprintf(card->longname, "%s on %s IRQ %d", card->shortname, in solo_g723_init()
|
| /linux/drivers/hid/ |
| H A D | hid-prodikeys.c | 74 static const char shortname[] = "PC-MIDI"; variable 632 strscpy(card->driver, shortname, sizeof(card->driver)); in pcmidi_snd_initialise() 633 strscpy(card->shortname, shortname, sizeof(card->shortname)); in pcmidi_snd_initialise() 637 err = snd_rawmidi_new(card, card->shortname, 0, in pcmidi_snd_initialise() 645 strscpy(rwmidi->name, card->shortname, sizeof(rwmidi->name)); in pcmidi_snd_initialise()
|
| /linux/drivers/media/pci/cobalt/ |
| H A D | cobalt-alsa-main.c | 71 snprintf(sc->shortname, sizeof(sc->shortname), "cobalt-%d-%d", in snd_cobalt_card_set_names()
|
| /linux/sound/pci/emu10k1/ |
| H A D | emu10k1.c | 168 strscpy(card->shortname, emu->card_capabilities->name, in snd_card_emu10k1_probe() 169 sizeof(card->shortname)); in snd_card_emu10k1_probe() 172 card->shortname, emu->revision, emu->serial, emu->port, emu->irq); in snd_card_emu10k1_probe()
|
| /linux/sound/usb/bcd2000/ |
| H A D | bcd2000.c | 295 ret = snd_rawmidi_new(bcd2k->card, bcd2k->card->shortname, 0, in bcd2000_init_midi() 303 strscpy(rmidi->name, bcd2k->card->shortname, sizeof(rmidi->name)); in bcd2000_init_midi() 395 strscpy(card->shortname, "BCD2000", sizeof(card->shortname)); in bcd2000_probe()
|
| /linux/sound/pci/cs46xx/ |
| H A D | cs46xx.c | 111 strscpy(card->shortname, "Sound Fusion CS46xx"); in snd_card_cs46xx_probe() 113 card->shortname, in snd_card_cs46xx_probe()
|
| /linux/sound/firewire/motu/ |
| H A D | motu-midi.c | 82 "%s MIDI %d", motu->card->shortname, subs->number + 1); in set_midi_substream_names() 108 "%s MIDI", motu->card->shortname); in snd_motu_create_midi_devices()
|
| /linux/sound/pci/oxygen/ |
| H A D | xonar_pcm179x.c | 1274 chip->model.shortname = "Xonar D2"; in get_xonar_pcm179x_model() 1278 chip->model.shortname = "Xonar D2X"; in get_xonar_pcm179x_model() 1286 chip->model.shortname = "Xonar HDAV1.3"; in get_xonar_pcm179x_model() 1289 chip->model.shortname = "Xonar HDAV1.3+H6"; in get_xonar_pcm179x_model() 1300 chip->model.shortname = "Xonar ST"; in get_xonar_pcm179x_model() 1303 chip->model.shortname = "Xonar ST+H6"; in get_xonar_pcm179x_model() 1314 chip->model.shortname = "Xonar STX"; in get_xonar_pcm179x_model() 1324 chip->model.shortname = "Xonar STX II"; in get_xonar_pcm179x_model() 1327 chip->model.shortname = "Xonar STX II+H6"; in get_xonar_pcm179x_model() 1339 chip->model.shortname = "Xonar Xense"; in get_xonar_pcm179x_model()
|
| /linux/sound/firewire/fireworks/ |
| H A D | fireworks_midi.c | 81 "%s MIDI %d", efw->card->shortname, subs->number + 1); in set_midi_substream_names() 109 "%s MIDI", efw->card->shortname); in snd_efw_create_midi_devices()
|
| /linux/sound/firewire/bebob/ |
| H A D | bebob_midi.c | 83 bebob->card->shortname, subs->number + 1); in set_midi_substream_names() 111 "%s MIDI", bebob->card->shortname); in snd_bebob_create_midi_devices()
|
| /linux/drivers/media/usb/go7007/ |
| H A D | snd-go7007.c | 231 strscpy(gosnd->card->shortname, go->name, sizeof(gosnd->card->shortname)); in go7007_snd_init() 232 strscpy(gosnd->card->longname, gosnd->card->shortname, in go7007_snd_init()
|