Lines Matching refs:name
26 static struct snd_soundfont *newsf(struct snd_sf_list *sflist, int type, char *name);
27 static int is_identical_font(struct snd_soundfont *sf, int type, unsigned char *name);
240 sf = newsf(sflist, parm.type, parm.name);
257 newsf(struct snd_sf_list *sflist, int type, char *name)
264 if (is_identical_font(sf, type, name)) {
284 if (name)
285 memcpy(sf->name, name, SNDRV_SFNT_PATCH_NAME_LEN);
290 /* check if the given name matches to the existing list */
292 is_identical_font(struct snd_soundfont *sf, int type, unsigned char *name)
296 (name == NULL ||
297 memcmp(sf->name, name, SNDRV_SFNT_PATCH_NAME_LEN) == 0));