Home
last modified time | relevance | path

Searched refs:longname (Results 1 – 25 of 178) sorted by relevance

12345678

/openbmc/linux/sound/usb/
H A Dcard.c547 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 Dchip.c73 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 Dexecveat.c157 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 Dbcm2835.c54 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 Dpowermac.c60 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 Dad1848.c99 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 Dcs4231.c101 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 Dgmidi.c36 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 Dmpu401.c68 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 Dgusclassic.c180 sprintf(card->longname + strlen(card->longname), in snd_gusclassic_probe()
185 sprintf(card->longname + strlen(card->longname), in snd_gusclassic_probe()
H A Dgus_main.c362 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 Dgusmax.c318 …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 Dsmb_common.c498 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 Dwavefront.c494 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 Dalsa.c33 strscpy(alsa_card->longname, name, sizeof(alsa_card->longname)); in aoa_alsa_init()
/openbmc/linux/sound/isa/
H A Dals100.c199 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 Dcobalt-alsa-main.c75 snprintf(sc->longname, sizeof(sc->longname), in snd_cobalt_card_set_names()
/openbmc/linux/sound/virtio/
H A Dvirtio_card.c217 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 Dxfi.c103 snprintf(card->longname, sizeof(card->longname), "%s %s %s", in ct_card_probe()
/openbmc/linux/sound/firewire/digi00x/
H A Ddigi00x.c36 snprintf(dg00x->card->longname, sizeof(dg00x->card->longname), in name_card()
/openbmc/linux/sound/isa/sb/
H A Dsb16.c352 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 Dlast.c19 printk(KERN_INFO " #%i: %s\n", idx, card->longname); in alsa_sound_last_init()
/openbmc/linux/fs/fat/
H A Ddir.c516 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 Dtascam.c79 snprintf(tscm->card->longname, sizeof(tscm->card->longname), in identify_model()
/openbmc/linux/drivers/media/pci/cx18/
H A Dcx18-alsa-main.c106 snprintf(sc->longname, sizeof(sc->longname), in snd_cx18_card_set_names()

12345678