Home
last modified time | relevance | path

Searched refs:sflist (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/sound/synth/emux/
Dsoundfont.c37 static int open_patch(struct snd_sf_list *sflist, const char __user *data,
39 static struct snd_soundfont *newsf(struct snd_sf_list *sflist, int type, char *name);
41 static int close_patch(struct snd_sf_list *sflist);
42 static int probe_data(struct snd_sf_list *sflist, int sample_id);
43 static void set_zone_counter(struct snd_sf_list *sflist,
45 static struct snd_sf_zone *sf_zone_new(struct snd_sf_list *sflist,
47 static void set_sample_counter(struct snd_sf_list *sflist,
49 static struct snd_sf_sample *sf_sample_new(struct snd_sf_list *sflist,
51 static void sf_sample_delete(struct snd_sf_list *sflist,
53 static int load_map(struct snd_sf_list *sflist, const void __user *data, int count);
[all …]
Demux_proc.c53 if (emu->sflist) { in snd_emux_proc_info_read()
54 mutex_lock(&emu->sflist->presets_mutex); in snd_emux_proc_info_read()
55 snd_iprintf(buf, "SoundFonts: %d\n", emu->sflist->fonts_size); in snd_emux_proc_info_read()
56 snd_iprintf(buf, "Instruments: %d\n", emu->sflist->zone_counter); in snd_emux_proc_info_read()
57 snd_iprintf(buf, "Samples: %d\n", emu->sflist->sample_counter); in snd_emux_proc_info_read()
58 snd_iprintf(buf, "Locked Instruments: %d\n", emu->sflist->zone_locked); in snd_emux_proc_info_read()
59 snd_iprintf(buf, "Locked Samples: %d\n", emu->sflist->sample_locked); in snd_emux_proc_info_read()
60 mutex_unlock(&emu->sflist->presets_mutex); in snd_emux_proc_info_read()
Demux_hwdep.c44 err = snd_soundfont_load(emu->sflist, arg, patch.len + sizeof(patch), TMP_CLIENT_ID); in snd_emux_hwdep_load_patch()
96 snd_soundfont_remove_samples(emu->sflist); in snd_emux_hwdep_ioctl()
99 snd_soundfont_remove_unlocked(emu->sflist); in snd_emux_hwdep_ioctl()
Demux.c116 emu->sflist = snd_sf_new(&sf_cb, emu->memhdr); in snd_emux_register()
117 if (emu->sflist == NULL) in snd_emux_register()
158 snd_sf_free(emu->sflist); in snd_emux_free()
Demux_oss.c191 snd_soundfont_close_check(emu->sflist, SF_CLIENT_NO(p->chset.port)); in snd_emux_close_seq_oss()
221 rc = snd_soundfont_load_guspatch(emu->sflist, buf, count, in snd_emux_load_patch_seq_oss()
231 rc = snd_soundfont_load(emu->sflist, buf, count, SF_CLIENT_NO(p->chset.port)); in snd_emux_load_patch_seq_oss()
265 snd_soundfont_remove_samples(emu->sflist); in snd_emux_ioctl_seq_oss()
354 snd_soundfont_remove_unlocked(emu->sflist); in emuspec_control()
Demux_synth.c920 return snd_soundfont_search_zone(emu->sflist, notep, vel, preset, bank, in get_zone()
/Linux-v4.19/include/sound/
Dsoundfont.h102 int snd_soundfont_load(struct snd_sf_list *sflist, const void __user *data,
104 int snd_soundfont_load_guspatch(struct snd_sf_list *sflist, const char __user *data,
106 int snd_soundfont_close_check(struct snd_sf_list *sflist, int client);
110 void snd_sf_free(struct snd_sf_list *sflist);
112 int snd_soundfont_remove_samples(struct snd_sf_list *sflist);
113 int snd_soundfont_remove_unlocked(struct snd_sf_list *sflist);
115 int snd_soundfont_search_zone(struct snd_sf_list *sflist, int *notep, int vel,
Demux_synth.h110 struct snd_sf_list *sflist; /* root of SoundFont list */ member
/Linux-v4.19/arch/sparc/kernel/
Dstarfire.c45 static struct starfire_irqinfo *sflist = NULL; variable
73 p->next = sflist; in starfire_hookup()
74 sflist = p; in starfire_hookup()
85 for (p = sflist; p != NULL; p = p->next) in starfire_translate()
/Linux-v4.19/net/ipv6/
Dmcast.c187 mc_lst->sflist = NULL; in __ipv6_sock_mc_join()
372 if (pmc->sflist) { in ip6_mc_source()
387 psl = pmc->sflist; in ip6_mc_source()
439 pmc->sflist = psl = newpsl; in ip6_mc_source()
534 psl = pmc->sflist; in ip6_mc_msfilter()
541 pmc->sflist = newpsl; in ip6_mc_msfilter()
592 psl = pmc->sflist; in ip6_mc_msfget()
642 psl = mc->sflist; in inet6_mc_check()
2440 if (!iml->sflist) { in ip6_mc_leave_src()
2445 iml->sflist->sl_count, iml->sflist->sl_addr, 0); in ip6_mc_leave_src()
[all …]
/Linux-v4.19/include/linux/
Digmp.h61 struct ip_sf_socklist __rcu *sflist; member
/Linux-v4.19/net/ipv4/
Digmp.c2182 iml->sflist = NULL; in __ip_mc_join_group()
2210 struct ip_sf_socklist *psf = rtnl_dereference(iml->sflist); in ip_mc_leave_src()
2220 RCU_INIT_POINTER(iml->sflist, NULL); in ip_mc_leave_src()
2316 if (pmc->sflist) { in ip_mc_source()
2329 psl = rtnl_dereference(pmc->sflist); in ip_mc_source()
2385 rcu_assign_pointer(pmc->sflist, newpsl); in ip_mc_source()
2477 psl = rtnl_dereference(pmc->sflist); in ip_mc_msfilter()
2487 rcu_assign_pointer(pmc->sflist, newpsl); in ip_mc_msfilter()
2532 psl = rtnl_dereference(pmc->sflist); in ip_mc_msfget()
2583 psl = rtnl_dereference(pmc->sflist); in ip_mc_gsfget()
[all …]
/Linux-v4.19/include/net/
Dif_inet6.h100 struct ip6_sf_socklist *sflist; member