Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/synth/emux/
Dsoundfont.c24 static int open_patch(struct snd_sf_list *sflist, const char __user *data,
26 static struct snd_soundfont *newsf(struct snd_sf_list *sflist, int type, char *name);
28 static int close_patch(struct snd_sf_list *sflist);
29 static int probe_data(struct snd_sf_list *sflist, int sample_id);
30 static void set_zone_counter(struct snd_sf_list *sflist,
32 static struct snd_sf_zone *sf_zone_new(struct snd_sf_list *sflist,
34 static void set_sample_counter(struct snd_sf_list *sflist,
36 static struct snd_sf_sample *sf_sample_new(struct snd_sf_list *sflist,
38 static void sf_sample_delete(struct snd_sf_list *sflist,
40 static int load_map(struct snd_sf_list *sflist, const void __user *data, int count);
[all …]
Demux_proc.c40 if (emu->sflist) { in snd_emux_proc_info_read()
41 mutex_lock(&emu->sflist->presets_mutex); in snd_emux_proc_info_read()
42 snd_iprintf(buf, "SoundFonts: %d\n", emu->sflist->fonts_size); in snd_emux_proc_info_read()
43 snd_iprintf(buf, "Instruments: %d\n", emu->sflist->zone_counter); in snd_emux_proc_info_read()
44 snd_iprintf(buf, "Samples: %d\n", emu->sflist->sample_counter); in snd_emux_proc_info_read()
45 snd_iprintf(buf, "Locked Instruments: %d\n", emu->sflist->zone_locked); in snd_emux_proc_info_read()
46 snd_iprintf(buf, "Locked Samples: %d\n", emu->sflist->sample_locked); in snd_emux_proc_info_read()
47 mutex_unlock(&emu->sflist->presets_mutex); in snd_emux_proc_info_read()
Demux_hwdep.c29 return snd_soundfont_load_guspatch(emu->sflist, arg, in snd_emux_hwdep_load_patch()
35 err = snd_soundfont_load(emu->sflist, arg, patch.len + sizeof(patch), TMP_CLIENT_ID); in snd_emux_hwdep_load_patch()
90 snd_soundfont_remove_samples(emu->sflist); in snd_emux_hwdep_ioctl()
93 snd_soundfont_remove_unlocked(emu->sflist); in snd_emux_hwdep_ioctl()
Demux.c103 emu->sflist = snd_sf_new(&sf_cb, emu->memhdr); in snd_emux_register()
104 if (emu->sflist == NULL) in snd_emux_register()
145 snd_sf_free(emu->sflist); in snd_emux_free()
Demux_oss.c178 snd_soundfont_close_check(emu->sflist, SF_CLIENT_NO(p->chset.port)); in snd_emux_close_seq_oss()
208 rc = snd_soundfont_load_guspatch(emu->sflist, buf, count, in snd_emux_load_patch_seq_oss()
218 rc = snd_soundfont_load(emu->sflist, buf, count, SF_CLIENT_NO(p->chset.port)); in snd_emux_load_patch_seq_oss()
252 snd_soundfont_remove_samples(emu->sflist); in snd_emux_ioctl_seq_oss()
341 snd_soundfont_remove_unlocked(emu->sflist); in emuspec_control()
Demux_synth.c906 return snd_soundfont_search_zone(emu->sflist, notep, vel, preset, bank, in get_zone()
/kernel/linux/linux-5.10/include/sound/
Dsoundfont.h89 int snd_soundfont_load(struct snd_sf_list *sflist, const void __user *data,
91 int snd_soundfont_load_guspatch(struct snd_sf_list *sflist, const char __user *data,
93 int snd_soundfont_close_check(struct snd_sf_list *sflist, int client);
97 void snd_sf_free(struct snd_sf_list *sflist);
99 int snd_soundfont_remove_samples(struct snd_sf_list *sflist);
100 int snd_soundfont_remove_unlocked(struct snd_sf_list *sflist);
102 int snd_soundfont_search_zone(struct snd_sf_list *sflist, int *notep, int vel,
Demux_synth.h97 struct snd_sf_list *sflist; /* root of SoundFont list */ member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/ipv6/
Dmcast.c183 mc_lst->sflist = NULL; in __ipv6_sock_mc_join()
368 if (pmc->sflist) { in ip6_mc_source()
383 psl = pmc->sflist; in ip6_mc_source()
435 pmc->sflist = psl = newpsl; in ip6_mc_source()
531 psl = pmc->sflist; in ip6_mc_msfilter()
538 pmc->sflist = newpsl; in ip6_mc_msfilter()
589 psl = pmc->sflist; in ip6_mc_msfget()
635 psl = mc->sflist; in inet6_mc_check()
2433 if (!iml->sflist) { in ip6_mc_leave_src()
2438 iml->sflist->sl_count, iml->sflist->sl_addr, 0); in ip6_mc_leave_src()
[all …]
/kernel/linux/linux-5.10/include/linux/
Digmp.h57 struct ip_sf_socklist __rcu *sflist; member
/kernel/linux/linux-5.10/net/ipv4/
Digmp.c2203 iml->sflist = NULL; in __ip_mc_join_group()
2231 struct ip_sf_socklist *psf = rtnl_dereference(iml->sflist); in ip_mc_leave_src()
2241 RCU_INIT_POINTER(iml->sflist, NULL); in ip_mc_leave_src()
2337 if (pmc->sflist) { in ip_mc_source()
2350 psl = rtnl_dereference(pmc->sflist); in ip_mc_source()
2406 rcu_assign_pointer(pmc->sflist, newpsl); in ip_mc_source()
2498 psl = rtnl_dereference(pmc->sflist); in ip_mc_msfilter()
2508 rcu_assign_pointer(pmc->sflist, newpsl); in ip_mc_msfilter()
2553 psl = rtnl_dereference(pmc->sflist); in ip_mc_msfget()
2602 psl = rtnl_dereference(pmc->sflist); in ip_mc_gsfget()
[all …]
/kernel/linux/linux-5.10/include/net/
Dif_inet6.h95 struct ip6_sf_socklist *sflist; member