Home
last modified time | relevance | path

Searched refs:sflist (Results 1 - 25 of 26) sorted by relevance

12

/kernel/linux/linux-6.6/sound/synth/emux/
H A 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, cons
66 lock_preset(struct snd_sf_list *sflist) lock_preset() argument
80 unlock_preset(struct snd_sf_list *sflist) unlock_preset() argument
94 snd_soundfont_close_check(struct snd_sf_list *sflist, int client) snd_soundfont_close_check() argument
116 snd_soundfont_load(struct snd_sf_list *sflist, const void __user *data, long count, int client) snd_soundfont_load() argument
219 open_patch(struct snd_sf_list *sflist, const char __user *data, int count, int client) open_patch() argument
257 newsf(struct snd_sf_list *sflist, int type, char *name) newsf() argument
304 close_patch(struct snd_sf_list *sflist) close_patch() argument
321 probe_data(struct snd_sf_list *sflist, int sample_id) probe_data() argument
336 set_zone_counter(struct snd_sf_list *sflist, struct snd_soundfont *sf, struct snd_sf_zone *zp) set_zone_counter() argument
348 sf_zone_new(struct snd_sf_list *sflist, struct snd_soundfont *sf) sf_zone_new() argument
369 set_sample_counter(struct snd_sf_list *sflist, struct snd_soundfont *sf, struct snd_sf_sample *sp) set_sample_counter() argument
381 sf_sample_new(struct snd_sf_list *sflist, struct snd_soundfont *sf) sf_sample_new() argument
401 sf_sample_delete(struct snd_sf_list *sflist, struct snd_soundfont *sf, struct snd_sf_sample *sp) sf_sample_delete() argument
414 load_map(struct snd_sf_list *sflist, const void __user *data, int count) load_map() argument
480 remove_info(struct snd_sf_list *sflist, struct snd_soundfont *sf, int bank, int instr) remove_info() argument
512 load_info(struct snd_sf_list *sflist, const void __user *data, long count) load_info() argument
699 load_data(struct snd_sf_list *sflist, const void __user *data, long count) load_data() argument
944 load_guspatch(struct snd_sf_list *sflist, const char __user *data, long count, int client) load_guspatch() argument
1124 snd_soundfont_load_guspatch(struct snd_sf_list *sflist, const char __user *data, long count, int client) snd_soundfont_load_guspatch() argument
1143 rebuild_presets(struct snd_sf_list *sflist) rebuild_presets() argument
1171 add_preset(struct snd_sf_list *sflist, struct snd_sf_zone *cur) add_preset() argument
1204 delete_preset(struct snd_sf_list *sflist, struct snd_sf_zone *zp) delete_preset() argument
1231 snd_soundfont_search_zone(struct snd_sf_list *sflist, int *notep, int vel, int preset, int bank, int def_preset, int def_bank, struct snd_sf_zone **table, int max_layers) snd_soundfont_search_zone() argument
1265 search_first_zone(struct snd_sf_list *sflist, int bank, int preset, int key) search_first_zone() argument
1285 search_zones(struct snd_sf_list *sflist, int *notep, int vel, int preset, int bank, struct snd_sf_zone **table, int max_layers, int level) search_zones() argument
1347 snd_sf_init(struct snd_sf_list *sflist) snd_sf_init() argument
1366 snd_sf_clear(struct snd_sf_list *sflist) snd_sf_clear() argument
1398 struct snd_sf_list *sflist; snd_sf_new() local
1420 snd_sf_free(struct snd_sf_list *sflist) snd_sf_free() argument
1439 snd_soundfont_remove_samples(struct snd_sf_list *sflist) snd_soundfont_remove_samples() argument
1455 snd_soundfont_remove_unlocked(struct snd_sf_list *sflist) snd_soundfont_remove_unlocked() argument
[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->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()
H A Demux.c103 emu->sflist = snd_sf_new(&sf_cb, emu->memhdr); in snd_emux_register()
104 if (emu->sflist == NULL) in snd_emux_register()
141 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->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()
/kernel/linux/linux-5.10/sound/synth/emux/
H A 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, cons
66 lock_preset(struct snd_sf_list *sflist) lock_preset() argument
80 unlock_preset(struct snd_sf_list *sflist) unlock_preset() argument
94 snd_soundfont_close_check(struct snd_sf_list *sflist, int client) snd_soundfont_close_check() argument
116 snd_soundfont_load(struct snd_sf_list *sflist, const void __user *data, long count, int client) snd_soundfont_load() argument
219 open_patch(struct snd_sf_list *sflist, const char __user *data, int count, int client) open_patch() argument
257 newsf(struct snd_sf_list *sflist, int type, char *name) newsf() argument
304 close_patch(struct snd_sf_list *sflist) close_patch() argument
321 probe_data(struct snd_sf_list *sflist, int sample_id) probe_data() argument
336 set_zone_counter(struct snd_sf_list *sflist, struct snd_soundfont *sf, struct snd_sf_zone *zp) set_zone_counter() argument
348 sf_zone_new(struct snd_sf_list *sflist, struct snd_soundfont *sf) sf_zone_new() argument
368 set_sample_counter(struct snd_sf_list *sflist, struct snd_soundfont *sf, struct snd_sf_sample *sp) set_sample_counter() argument
380 sf_sample_new(struct snd_sf_list *sflist, struct snd_soundfont *sf) sf_sample_new() argument
399 sf_sample_delete(struct snd_sf_list *sflist, struct snd_soundfont *sf, struct snd_sf_sample *sp) sf_sample_delete() argument
412 load_map(struct snd_sf_list *sflist, const void __user *data, int count) load_map() argument
477 remove_info(struct snd_sf_list *sflist, struct snd_soundfont *sf, int bank, int instr) remove_info() argument
509 load_info(struct snd_sf_list *sflist, const void __user *data, long count) load_info() argument
695 load_data(struct snd_sf_list *sflist, const void __user *data, long count) load_data() argument
938 load_guspatch(struct snd_sf_list *sflist, const char __user *data, long count, int client) load_guspatch() argument
1116 snd_soundfont_load_guspatch(struct snd_sf_list *sflist, const char __user *data, long count, int client) snd_soundfont_load_guspatch() argument
1135 rebuild_presets(struct snd_sf_list *sflist) rebuild_presets() argument
1163 add_preset(struct snd_sf_list *sflist, struct snd_sf_zone *cur) add_preset() argument
1195 delete_preset(struct snd_sf_list *sflist, struct snd_sf_zone *zp) delete_preset() argument
1221 snd_soundfont_search_zone(struct snd_sf_list *sflist, int *notep, int vel, int preset, int bank, int def_preset, int def_bank, struct snd_sf_zone **table, int max_layers) snd_soundfont_search_zone() argument
1255 search_first_zone(struct snd_sf_list *sflist, int bank, int preset, int key) search_first_zone() argument
1274 search_zones(struct snd_sf_list *sflist, int *notep, int vel, int preset, int bank, struct snd_sf_zone **table, int max_layers, int level) search_zones() argument
1336 snd_sf_init(struct snd_sf_list *sflist) snd_sf_init() argument
1355 snd_sf_clear(struct snd_sf_list *sflist) snd_sf_clear() argument
1387 struct snd_sf_list *sflist; snd_sf_new() local
1408 snd_sf_free(struct snd_sf_list *sflist) snd_sf_free() argument
1427 snd_soundfont_remove_samples(struct snd_sf_list *sflist) snd_soundfont_remove_samples() argument
1443 snd_soundfont_remove_unlocked(struct snd_sf_list *sflist) snd_soundfont_remove_unlocked() argument
[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->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()
H A Demux.c103 emu->sflist = snd_sf_new(&sf_cb, emu->memhdr); in snd_emux_register()
104 if (emu->sflist == NULL) in snd_emux_register()
140 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->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()
H A Demux_synth.c906 return snd_soundfont_search_zone(emu->sflist, notep, vel, preset, bank, in get_zone()
/kernel/linux/linux-5.10/include/sound/
H A 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,
H A Demux_synth.h97 struct snd_sf_list *sflist; /* root of SoundFont list */ member
/kernel/linux/linux-6.6/include/sound/
H A 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,
H A Demux_synth.h97 struct snd_sf_list *sflist; /* root of SoundFont list */ member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/net/ipv6/
H A 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 in ip6_mc_leave_src()
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Digmp.c2213 iml->sflist = NULL; in __ip_mc_join_group()
2241 struct ip_sf_socklist *psf = rtnl_dereference(iml->sflist); in ip_mc_leave_src()
2251 RCU_INIT_POINTER(iml->sflist, NULL); in ip_mc_leave_src()
2347 if (pmc->sflist) { in ip_mc_source()
2360 psl = rtnl_dereference(pmc->sflist); in ip_mc_source()
2415 rcu_assign_pointer(pmc->sflist, newpsl); in ip_mc_source()
2509 psl = rtnl_dereference(pmc->sflist); in ip_mc_msfilter()
2519 rcu_assign_pointer(pmc->sflist, newpsl); in ip_mc_msfilter()
2566 psl = rtnl_dereference(pmc->sflist); in ip_mc_msfget()
2615 psl = rtnl_dereference(pmc->sflist); in ip_mc_gsfget()
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Digmp.c2213 iml->sflist = NULL; in __ip_mc_join_group()
2241 struct ip_sf_socklist *psf = rtnl_dereference(iml->sflist); in ip_mc_leave_src()
2251 RCU_INIT_POINTER(iml->sflist, NULL); in ip_mc_leave_src()
2347 if (pmc->sflist) { in ip_mc_source()
2360 psl = rtnl_dereference(pmc->sflist); in ip_mc_source()
2417 rcu_assign_pointer(pmc->sflist, newpsl); in ip_mc_source()
2514 psl = rtnl_dereference(pmc->sflist); in ip_mc_msfilter()
2525 rcu_assign_pointer(pmc->sflist, newpsl); in ip_mc_msfilter()
2571 psl = rtnl_dereference(pmc->sflist); in ip_mc_msfget()
2622 psl = rtnl_dereference(pmc->sflist); in ip_mc_gsfget()
[all...]
/kernel/linux/linux-5.10/include/net/
H A Dif_inet6.h99 struct ip6_sf_socklist *sflist; member
/kernel/linux/linux-5.10/include/linux/
H A Digmp.h57 struct ip_sf_socklist __rcu *sflist; member
/kernel/linux/linux-6.6/include/linux/
H A Digmp.h55 struct ip_sf_socklist __rcu *sflist; member
/kernel/linux/linux-6.6/include/net/
H A Dif_inet6.h98 struct ip6_sf_socklist __rcu *sflist; member
/kernel/linux/linux-6.6/net/ipv6/
H A Dmcast.c214 RCU_INIT_POINTER(mc_lst->sflist, NULL); in __ipv6_sock_mc_join()
398 if (rcu_access_pointer(pmc->sflist)) { in ip6_mc_source()
410 psl = sock_dereference(pmc->sflist, sk); in ip6_mc_source()
464 rcu_assign_pointer(pmc->sflist, newpsl); in ip6_mc_source()
562 psl = sock_dereference(pmc->sflist, sk); in ip6_mc_msfilter()
571 rcu_assign_pointer(pmc->sflist, newpsl); in ip6_mc_msfilter()
610 psl = sock_dereference(pmc->sflist, sk); in ip6_mc_msfget()
647 psl = rcu_dereference(mc->sflist); in inet6_mc_check()
2593 psl = sock_dereference(iml->sflist, sk); in ip6_mc_leave_src()
2604 RCU_INIT_POINTER(iml->sflist, NUL in ip6_mc_leave_src()
[all...]

Completed in 216 milliseconds

12