/openbmc/linux/sound/usb/ |
H A D | card.c | 547 strscpy(card->longname, s, sizeof(card->longname)); in usb_audio_make_longname() 555 *card->longname = 0; in usb_audio_make_longname() 557 strscpy(card->longname, s, sizeof(card->longname)); in usb_audio_make_longname() 562 card->longname, sizeof(card->longname)); in usb_audio_make_longname() 568 strlcat(card->longname, " ", sizeof(card->longname)); in usb_audio_make_longname() 571 strlcat(card->longname, card->shortname, sizeof(card->longname)); in usb_audio_make_longname() 573 len = strlcat(card->longname, " at ", sizeof(card->longname)); in usb_audio_make_longname() 580 strlcat(card->longname, ", low speed", sizeof(card->longname)); in usb_audio_make_longname() 583 strlcat(card->longname, ", full speed", sizeof(card->longname)); in usb_audio_make_longname() 586 strlcat(card->longname, ", high speed", sizeof(card->longname)); in usb_audio_make_longname() [all …]
|
/openbmc/linux/sound/usb/hiface/ |
H A D | chip.c | 73 strlcat(card->longname, card->shortname, sizeof(card->longname)); in hiface_chip_create() 74 len = strlcat(card->longname, " at ", sizeof(card->longname)); in hiface_chip_create() 75 if (len < sizeof(card->longname)) in hiface_chip_create() 76 usb_make_path(device, card->longname + len, in hiface_chip_create() 77 sizeof(card->longname) - len); in hiface_chip_create()
|
/openbmc/linux/tools/testing/selftests/exec/ |
H A D | execveat.c | 157 char longname[XX_DIR_LEN + 1]; in check_execveat_pathmax() local 171 memset(longname, 'x', XX_DIR_LEN - 1); in check_execveat_pathmax() 172 longname[XX_DIR_LEN - 1] = '/'; in check_execveat_pathmax() 173 longname[XX_DIR_LEN] = '\0'; in check_execveat_pathmax() 176 strcat(longpath, longname); in check_execveat_pathmax() 182 memset(longname, 'y', len); in check_execveat_pathmax() 183 longname[len] = '\0'; in check_execveat_pathmax() 184 strcat(longpath, longname); in check_execveat_pathmax()
|
/openbmc/linux/drivers/staging/vc04_services/bcm2835-audio/ |
H A D | bcm2835.c | 54 const char *longname; member 96 .longname = "bcm2835 HDMI", 109 .longname = "bcm2835 Headphones", 165 strscpy(card->longname, audio_driver->longname, sizeof(card->longname)); in snd_add_child_device()
|
/openbmc/linux/sound/ppc/ |
H A D | powermac.c | 60 sprintf(card->longname, "%s (Dev %d) Sub-frame %d", in snd_pmac_probe() 69 sprintf(card->longname, "%s (Dev %d) Sub-frame %d", in snd_pmac_probe() 80 sprintf(card->longname, "%s (Dev %d) Sub-frame %d", in snd_pmac_probe() 100 sprintf(card->longname, "%s%s Rev %d", in snd_pmac_probe()
|
/openbmc/linux/sound/isa/ad1848/ |
H A D | ad1848.c | 99 scnprintf(card->longname, sizeof(card->longname), in snd_ad1848_probe() 103 scnprintf(card->longname, sizeof(card->longname), in snd_ad1848_probe()
|
/openbmc/linux/sound/isa/cs423x/ |
H A D | cs4231.c | 101 scnprintf(card->longname, sizeof(card->longname), in snd_cs4231_probe() 105 scnprintf(card->longname, sizeof(card->longname), in snd_cs4231_probe()
|
/openbmc/linux/drivers/usb/gadget/legacy/ |
H A D | gmidi.c | 36 static const char longname[] = "MIDI Gadget"; variable 169 pr_info("%s\n", longname); in midi_bind() 177 .name = longname,
|
/openbmc/linux/sound/drivers/mpu401/ |
H A D | mpu401.c | 68 sprintf(card->longname, "%s at %#lx, ", card->shortname, port[dev]); in snd_mpu401_create() 70 sprintf(card->longname + strlen(card->longname), "irq %d", irq[dev]); in snd_mpu401_create() 72 strcat(card->longname, "polled"); in snd_mpu401_create()
|
/openbmc/linux/sound/isa/gus/ |
H A D | gusclassic.c | 180 sprintf(card->longname + strlen(card->longname), in snd_gusclassic_probe() 185 sprintf(card->longname + strlen(card->longname), in snd_gusclassic_probe()
|
H A D | gus_main.c | 362 strcpy(card->longname, "Gravis UltraSound Classic (2.4)"); in snd_gus_check_version() 368 card->longname[27] = '3'; in snd_gus_check_version() 369 card->longname[29] = rev == 5 ? '5' : '7'; in snd_gus_check_version() 374 strcpy(card->longname, "Gravis UltraSound MAX"); in snd_gus_check_version() 378 strcpy(card->longname, "Gravis UltraSound Ace"); in snd_gus_check_version() 382 strcpy(card->longname, "Gravis UltraSound Extreme"); in snd_gus_check_version() 390 strscpy(card->shortname, card->longname, sizeof(card->shortname)); in snd_gus_check_version()
|
H A D | gusmax.c | 318 …sprintf(card->longname + strlen(card->longname), " at 0x%lx, irq %i, dma %i", gus->gf1.port, xirq,… in snd_gusmax_probe() 320 sprintf(card->longname + strlen(card->longname), "&%i", xdma2); in snd_gusmax_probe()
|
/openbmc/linux/fs/smb/server/ |
H A D | smb_common.c | 498 int ksmbd_extract_shortname(struct ksmbd_conn *conn, const char *longname, in ksmbd_extract_shortname() argument 510 p = longname; in ksmbd_extract_shortname() 516 p = strrchr(longname, '.'); in ksmbd_extract_shortname() 517 if (p == longname) { /*name starts with a dot*/ in ksmbd_extract_shortname() 533 p = longname; in ksmbd_extract_shortname() 536 longname++; in ksmbd_extract_shortname() 547 ptr = longname; in ksmbd_extract_shortname() 548 len = strlen(longname); in ksmbd_extract_shortname()
|
/openbmc/linux/sound/isa/wavefront/ |
H A D | wavefront.c | 494 sprintf(card->longname, "%s PCM 0x%lx irq %d dma %d", in snd_wavefront_probe() 501 sprintf(card->longname + strlen(card->longname), "&%d", dma2[dev]); in snd_wavefront_probe() 504 sprintf (card->longname + strlen (card->longname), in snd_wavefront_probe() 510 sprintf (card->longname + strlen (card->longname), in snd_wavefront_probe()
|
/openbmc/linux/sound/aoa/core/ |
H A D | alsa.c | 33 strscpy(alsa_card->longname, name, sizeof(alsa_card->longname)); in aoa_alsa_init()
|
/openbmc/linux/sound/isa/ |
H A D | als100.c | 199 snprintf(card->longname, sizeof(card->longname), in snd_card_als100_probe() 205 snprintf(card->longname, sizeof(card->longname), in snd_card_als100_probe()
|
/openbmc/linux/drivers/media/pci/cobalt/ |
H A D | cobalt-alsa-main.c | 75 snprintf(sc->longname, sizeof(sc->longname), in snd_cobalt_card_set_names()
|
/openbmc/linux/sound/virtio/ |
H A D | virtio_card.c | 217 snprintf(snd->card->longname, sizeof(snd->card->longname), in virtsnd_build_devs() 222 snprintf(snd->card->longname, sizeof(snd->card->longname), in virtsnd_build_devs()
|
/openbmc/linux/sound/pci/ctxfi/ |
H A D | xfi.c | 103 snprintf(card->longname, sizeof(card->longname), "%s %s %s", in ct_card_probe()
|
/openbmc/linux/sound/firewire/digi00x/ |
H A D | digi00x.c | 36 snprintf(dg00x->card->longname, sizeof(dg00x->card->longname), in name_card()
|
/openbmc/linux/sound/isa/sb/ |
H A D | sb16.c | 352 sprintf(card->longname, "%s at 0x%lx, irq %i, dma ", in snd_sb16_probe() 357 sprintf(card->longname + strlen(card->longname), "%d", xdma8); in snd_sb16_probe() 359 sprintf(card->longname + strlen(card->longname), "%s%d", in snd_sb16_probe()
|
/openbmc/linux/sound/ |
H A D | last.c | 19 printk(KERN_INFO " #%i: %s\n", idx, card->longname); in alsa_sound_last_init()
|
/openbmc/linux/fs/fat/ |
H A D | dir.c | 516 void *longname = unicode + FAT_MAX_UNI_CHARS; in fat_search_long() local 520 len = fat_uni_to_x8(sb, unicode, longname, size); in fat_search_long() 521 if (fat_name_match(sbi, name, name_len, longname, len)) in fat_search_long() 547 const char *longname; member 625 void *longname = unicode + FAT_MAX_UNI_CHARS; in __fat_readdir() local 627 int len = fat_uni_to_x8(sb, unicode, longname, size); in __fat_readdir() 629 fill_name = longname; in __fat_readdir() 640 both->longname = fill_name; in __fat_readdir() 733 const char *longname = buf->longname; \ 743 if (copy_to_user(d2->d_name, longname, long_len) || \
|
/openbmc/linux/sound/firewire/tascam/ |
H A D | tascam.c | 79 snprintf(tscm->card->longname, sizeof(tscm->card->longname), in identify_model()
|
/openbmc/linux/drivers/media/pci/cx18/ |
H A D | cx18-alsa-main.c | 106 snprintf(sc->longname, sizeof(sc->longname), in snd_cx18_card_set_names()
|