• Home
  • Raw
  • Download

Lines Matching refs:setup

710 	if (substream->oss.setup.period_size > 16)  in snd_pcm_oss_period_size()
711 oss_period_size = substream->oss.setup.period_size; in snd_pcm_oss_period_size()
757 if (substream->oss.setup.periods > 1) in snd_pcm_oss_period_size()
758 oss_periods = substream->oss.setup.periods; in snd_pcm_oss_period_size()
873 direct = substream->oss.setup.direct; in snd_pcm_oss_change_params_locked()
1020 substream->oss.setup.nosilence) { in snd_pcm_oss_change_params_locked()
1425 if (substream->oss.setup.partialfrag || in snd_pcm_oss_write1()
1853 direct = substream->oss.setup.direct; in snd_pcm_oss_get_formats()
2240 if (substream->oss.setup.buggyptr) in snd_pcm_oss_get_ptr()
2340 struct snd_pcm_oss_setup *setup; in snd_pcm_oss_look_for_setup() local
2344 for (setup = pcm->streams[stream].oss.setup_list; setup; in snd_pcm_oss_look_for_setup()
2345 setup = setup->next) { in snd_pcm_oss_look_for_setup()
2346 if (!strcmp(setup->task_name, task_name)) in snd_pcm_oss_look_for_setup()
2351 if (setup) in snd_pcm_oss_look_for_setup()
2352 *rsetup = *setup; in snd_pcm_oss_look_for_setup()
2369 struct snd_pcm_oss_setup *setup, in snd_pcm_oss_init_substream() argument
2375 substream->oss.setup = *setup; in snd_pcm_oss_init_substream()
2376 if (setup->nonblock) in snd_pcm_oss_init_substream()
2378 else if (setup->block) in snd_pcm_oss_init_substream()
2421 struct snd_pcm_oss_setup *setup) in snd_pcm_oss_open_file() argument
2441 if (setup[idx].disable) in snd_pcm_oss_open_file()
2459 snd_pcm_oss_init_substream(substream, &setup[idx], minor); in snd_pcm_oss_open_file()
2492 struct snd_pcm_oss_setup setup[2]; in snd_pcm_oss_open() local
2517 memset(setup, 0, sizeof(setup)); in snd_pcm_oss_open()
2520 task_name, &setup[0]); in snd_pcm_oss_open()
2523 task_name, &setup[1]); in snd_pcm_oss_open()
2534 iminor(inode), setup); in snd_pcm_oss_open()
2964 struct snd_pcm_oss_setup *setup = pstr->oss.setup_list; in snd_pcm_oss_proc_read() local
2966 while (setup) { in snd_pcm_oss_proc_read()
2968 setup->task_name, in snd_pcm_oss_proc_read()
2969 setup->periods, in snd_pcm_oss_proc_read()
2970 setup->period_size, in snd_pcm_oss_proc_read()
2971 setup->disable ? " disable" : "", in snd_pcm_oss_proc_read()
2972 setup->direct ? " direct" : "", in snd_pcm_oss_proc_read()
2973 setup->block ? " block" : "", in snd_pcm_oss_proc_read()
2974 setup->nonblock ? " non-block" : "", in snd_pcm_oss_proc_read()
2975 setup->partialfrag ? " partial-frag" : "", in snd_pcm_oss_proc_read()
2976 setup->nosilence ? " no-silence" : ""); in snd_pcm_oss_proc_read()
2977 setup = setup->next; in snd_pcm_oss_proc_read()
2984 struct snd_pcm_oss_setup *setup, *setupn; in snd_pcm_oss_proc_free_setup_list() local
2986 for (setup = pstr->oss.setup_list, pstr->oss.setup_list = NULL; in snd_pcm_oss_proc_free_setup_list()
2987 setup; setup = setupn) { in snd_pcm_oss_proc_free_setup_list()
2988 setupn = setup->next; in snd_pcm_oss_proc_free_setup_list()
2989 kfree(setup->task_name); in snd_pcm_oss_proc_free_setup_list()
2990 kfree(setup); in snd_pcm_oss_proc_free_setup_list()
3002 struct snd_pcm_oss_setup *setup, *setup1, template; in snd_pcm_oss_proc_write() local
3013 for (setup = pstr->oss.setup_list; setup; setup = setup->next) { in snd_pcm_oss_proc_write()
3014 if (!strcmp(setup->task_name, task_name)) { in snd_pcm_oss_proc_write()
3015 template = *setup; in snd_pcm_oss_proc_write()
3046 if (setup == NULL) { in snd_pcm_oss_proc_write()
3047 setup = kmalloc(sizeof(*setup), GFP_KERNEL); in snd_pcm_oss_proc_write()
3048 if (! setup) { in snd_pcm_oss_proc_write()
3054 pstr->oss.setup_list = setup; in snd_pcm_oss_proc_write()
3058 setup1->next = setup; in snd_pcm_oss_proc_write()
3062 kfree(setup); in snd_pcm_oss_proc_write()
3068 *setup = template; in snd_pcm_oss_proc_write()