Home
last modified time | relevance | path

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

/linux-6.15/sound/synth/emux/
H A Dsoundfont.c196 if (! remove_info(sflist, sflist->currsf, bank, instr)) in snd_soundfont_load()
229 if (sflist->open_client >= 0 || sflist->currsf) { in open_patch()
343 sflist->zone_locked = sflist->zone_counter; in set_zone_counter()
376 sflist->sample_locked = sflist->sample_counter; in set_sample_counter()
782 (sflist->callback.private_data, sp, sflist->memhdr, in load_data()
1193 memset(sflist->presets, 0, sizeof(sflist->presets)); in rebuild_presets()
1393 memset(sflist->presets, 0, sizeof(sflist->presets)); in snd_sf_init()
1443 sflist = kzalloc(sizeof(*sflist), GFP_KERNEL); in snd_sf_new()
1510 memset(sflist->presets, 0, sizeof(sflist->presets)); in snd_soundfont_remove_unlocked()
1533 sflist->zone_counter = sflist->zone_locked; in snd_soundfont_remove_unlocked()
[all …]
H A 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()
H A Demux_hwdep.c29 return snd_soundfont_load_guspatch(emu->card, emu->sflist, arg, in snd_emux_hwdep_load_patch()
34 err = snd_soundfont_load(emu->card, emu->sflist, arg, in snd_emux_hwdep_load_patch()
91 snd_soundfont_remove_samples(emu->sflist); in snd_emux_hwdep_ioctl()
94 snd_soundfont_remove_unlocked(emu->sflist); in snd_emux_hwdep_ioctl()
H A Demux.c101 emu->sflist = snd_sf_new(&sf_cb, emu->memhdr); in snd_emux_register()
102 if (emu->sflist == NULL) in snd_emux_register()
139 snd_sf_free(emu->sflist); in snd_emux_free()
H A 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->card, emu->sflist, buf, count); in snd_emux_load_patch_seq_oss()
217 rc = snd_soundfont_load(emu->card, emu->sflist, buf, in snd_emux_load_patch_seq_oss()
254 snd_soundfont_remove_samples(emu->sflist); in snd_emux_ioctl_seq_oss()
343 snd_soundfont_remove_unlocked(emu->sflist); in emuspec_control()
H A Demux_synth.c907 return snd_soundfont_search_zone(emu->sflist, notep, vel, preset, bank, in get_zone()
/linux-6.15/include/sound/
H A Dsoundfont.h90 struct snd_sf_list *sflist, const void __user *data,
93 struct snd_sf_list *sflist, const char __user *data,
95 int snd_soundfont_close_check(struct snd_sf_list *sflist, int client);
99 void snd_sf_free(struct snd_sf_list *sflist);
101 int snd_soundfont_remove_samples(struct snd_sf_list *sflist);
102 int snd_soundfont_remove_unlocked(struct snd_sf_list *sflist);
104 int snd_soundfont_search_zone(struct snd_sf_list *sflist, int *notep, int vel,
H A Demux_synth.h97 struct snd_sf_list *sflist; /* root of SoundFont list */ member
/linux-6.15/arch/sparc/kernel/
H A 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-6.15/include/linux/
H A Digmp.h55 struct ip_sf_socklist __rcu *sflist; member
/linux-6.15/net/ipv4/
H A Digmp.c2302 iml->sflist = NULL; in __ip_mc_join_group()
2330 struct ip_sf_socklist *psf = rtnl_dereference(iml->sflist); in ip_mc_leave_src()
2340 RCU_INIT_POINTER(iml->sflist, NULL); in ip_mc_leave_src()
2436 if (pmc->sflist) { in ip_mc_source()
2449 psl = rtnl_dereference(pmc->sflist); in ip_mc_source()
2506 rcu_assign_pointer(pmc->sflist, newpsl); in ip_mc_source()
2603 psl = rtnl_dereference(pmc->sflist); in ip_mc_msfilter()
2614 rcu_assign_pointer(pmc->sflist, newpsl); in ip_mc_msfilter()
2660 psl = rtnl_dereference(pmc->sflist); in ip_mc_msfget()
2711 psl = rtnl_dereference(pmc->sflist); in ip_mc_gsfget()
[all …]
/linux-6.15/include/net/
H A Dif_inet6.h98 struct ip6_sf_socklist __rcu *sflist; member
/linux-6.15/net/ipv6/
H A Dmcast.c217 RCU_INIT_POINTER(mc_lst->sflist, NULL); in __ipv6_sock_mc_join()
401 if (rcu_access_pointer(pmc->sflist)) { in ip6_mc_source()
413 psl = sock_dereference(pmc->sflist, sk); in ip6_mc_source()
467 rcu_assign_pointer(pmc->sflist, newpsl); in ip6_mc_source()
565 psl = sock_dereference(pmc->sflist, sk); in ip6_mc_msfilter()
574 rcu_assign_pointer(pmc->sflist, newpsl); in ip6_mc_msfilter()
614 psl = sock_dereference(pmc->sflist, sk); in ip6_mc_msfget()
651 psl = rcu_dereference(mc->sflist); in inet6_mc_check()
2644 psl = sock_dereference(iml->sflist, sk); in ip6_mc_leave_src()
2655 RCU_INIT_POINTER(iml->sflist, NULL); in ip6_mc_leave_src()