Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 93) sorted by relevance

1234

/sound/core/
Dinfo.c76 struct snd_info_entry *entry; member
82 static void snd_info_disconnect(struct snd_info_entry *entry);
159 struct snd_info_entry *entry; in snd_info_entry_llseek() local
163 entry = data->entry; in snd_info_entry_llseek()
164 mutex_lock(&entry->access); in snd_info_entry_llseek()
165 if (entry->content == SNDRV_INFO_CONTENT_DATA && in snd_info_entry_llseek()
166 entry->c.ops->llseek) { in snd_info_entry_llseek()
167 offset = entry->c.ops->llseek(entry, in snd_info_entry_llseek()
172 if (entry->content == SNDRV_INFO_CONTENT_DATA) in snd_info_entry_llseek()
173 size = entry->size; in snd_info_entry_llseek()
[all …]
Dpcm.c361 static void snd_pcm_stream_proc_info_read(struct snd_info_entry *entry, in snd_pcm_stream_proc_info_read() argument
364 snd_pcm_proc_info_read(((struct snd_pcm_str *)entry->private_data)->substream, in snd_pcm_stream_proc_info_read()
368 static void snd_pcm_substream_proc_info_read(struct snd_info_entry *entry, in snd_pcm_substream_proc_info_read() argument
371 snd_pcm_proc_info_read(entry->private_data, buffer); in snd_pcm_substream_proc_info_read()
374 static void snd_pcm_substream_proc_hw_params_read(struct snd_info_entry *entry, in snd_pcm_substream_proc_hw_params_read() argument
377 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_substream_proc_hw_params_read()
411 static void snd_pcm_substream_proc_sw_params_read(struct snd_info_entry *entry, in snd_pcm_substream_proc_sw_params_read() argument
414 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_substream_proc_sw_params_read()
439 static void snd_pcm_substream_proc_status_read(struct snd_info_entry *entry, in snd_pcm_substream_proc_status_read() argument
442 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_substream_proc_status_read()
[all …]
Dpcm_memory.c139 static void snd_pcm_lib_preallocate_proc_read(struct snd_info_entry *entry, in snd_pcm_lib_preallocate_proc_read() argument
142 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_read()
151 static void snd_pcm_lib_preallocate_max_proc_read(struct snd_info_entry *entry, in snd_pcm_lib_preallocate_max_proc_read() argument
154 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_max_proc_read()
163 static void snd_pcm_lib_preallocate_proc_write(struct snd_info_entry *entry, in snd_pcm_lib_preallocate_proc_write() argument
166 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_write()
207 struct snd_info_entry *entry; in preallocate_info_init() local
209 …if ((entry = snd_info_create_card_entry(substream->pcm->card, "prealloc", substream->proc_root)) !… in preallocate_info_init()
210 entry->c.text.read = snd_pcm_lib_preallocate_proc_read; in preallocate_info_init()
211 entry->c.text.write = snd_pcm_lib_preallocate_proc_write; in preallocate_info_init()
[all …]
Dinfo_oss.c93 static void snd_sndstat_proc_read(struct snd_info_entry *entry, in snd_sndstat_proc_read() argument
117 struct snd_info_entry *entry; in snd_info_minor_register() local
120 if ((entry = snd_info_create_module_entry(THIS_MODULE, "sndstat", snd_oss_root)) != NULL) { in snd_info_minor_register()
121 entry->c.text.read = snd_sndstat_proc_read; in snd_info_minor_register()
122 if (snd_info_register(entry) < 0) { in snd_info_minor_register()
123 snd_info_free_entry(entry); in snd_info_minor_register()
124 entry = NULL; in snd_info_minor_register()
127 snd_sndstat_proc_entry = entry; in snd_info_minor_register()
Dinit.c102 static void snd_card_id_read(struct snd_info_entry *entry, in snd_card_id_read() argument
105 snd_iprintf(buffer, "%s\n", entry->card->id); in snd_card_id_read()
111 struct snd_info_entry *entry; in init_info_for_card() local
117 if ((entry = snd_info_create_card_entry(card, "id", card->proc_root)) == NULL) { in init_info_for_card()
121 entry->c.text.read = snd_card_id_read; in init_info_for_card()
122 if (snd_info_register(entry) < 0) { in init_info_for_card()
123 snd_info_free_entry(entry); in init_info_for_card()
124 entry = NULL; in init_info_for_card()
126 card->proc_id = entry; in init_info_for_card()
741 static void snd_card_info_read(struct snd_info_entry *entry, in snd_card_info_read() argument
[all …]
Dsound_oss.c240 static void snd_minor_info_oss_read(struct snd_info_entry *entry, in snd_minor_info_oss_read() argument
264 struct snd_info_entry *entry; in snd_minor_info_oss_init() local
266 entry = snd_info_create_module_entry(THIS_MODULE, "devices", snd_oss_root); in snd_minor_info_oss_init()
267 if (entry) { in snd_minor_info_oss_init()
268 entry->c.text.read = snd_minor_info_oss_read; in snd_minor_info_oss_init()
269 if (snd_info_register(entry) < 0) { in snd_minor_info_oss_init()
270 snd_info_free_entry(entry); in snd_minor_info_oss_init()
271 entry = NULL; in snd_minor_info_oss_init()
274 snd_minor_info_oss_entry = entry; in snd_minor_info_oss_init()
Dsound.c414 static void snd_minor_info_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in snd_minor_info_read() argument
441 struct snd_info_entry *entry; in snd_minor_info_init() local
443 entry = snd_info_create_module_entry(THIS_MODULE, "devices", NULL); in snd_minor_info_init()
444 if (entry) { in snd_minor_info_init()
445 entry->c.text.read = snd_minor_info_read; in snd_minor_info_init()
446 if (snd_info_register(entry) < 0) { in snd_minor_info_init()
447 snd_info_free_entry(entry); in snd_minor_info_init()
448 entry = NULL; in snd_minor_info_init()
451 snd_minor_info_entry = entry; in snd_minor_info_init()
/sound/pci/emu10k1/
Demuproc.c81 static void snd_emu10k1_proc_read(struct snd_info_entry *entry, in snd_emu10k1_proc_read() argument
187 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_read()
238 static void snd_emu10k1_proc_spdif_read(struct snd_info_entry *entry, in snd_emu10k1_proc_spdif_read() argument
241 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_spdif_read()
286 static void snd_emu10k1_proc_rates_read(struct snd_info_entry *entry, in snd_emu10k1_proc_rates_read() argument
290 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_rates_read()
301 static void snd_emu10k1_proc_acode_read(struct snd_info_entry *entry, in snd_emu10k1_proc_acode_read() argument
305 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_acode_read()
344 static ssize_t snd_emu10k1_fx8010_read(struct snd_info_entry *entry, in snd_emu10k1_fx8010_read() argument
349 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_fx8010_read()
[all …]
/sound/pci/ctxfi/
Dctimap.c22 int input_mapper_add(struct list_head *mappers, struct imapper *entry, in input_mapper_add() argument
31 entry->next = entry->addr; in input_mapper_add()
32 map_op(data, entry); in input_mapper_add()
33 list_add(&entry->list, head); in input_mapper_add()
39 if (pos_ent->slot > entry->slot) { in input_mapper_add()
50 __list_add(&entry->list, pos->prev, pos); in input_mapper_add()
54 list_add_tail(&entry->list, head); in input_mapper_add()
60 entry->next = pos_ent->addr; in input_mapper_add()
61 map_op(data, entry); in input_mapper_add()
62 pre_ent->next = entry->addr; in input_mapper_add()
[all …]
Dctvmem.c34 struct ct_vm_block *block = NULL, *entry; in get_vm_block() local
46 entry = list_entry(pos, struct ct_vm_block, list); in get_vm_block()
47 if (entry->size >= size) in get_vm_block()
53 if (entry->size == size) { in get_vm_block()
55 list_move(&entry->list, &vm->used); in get_vm_block()
57 block = entry; in get_vm_block()
65 block->addr = entry->addr; in get_vm_block()
68 entry->addr += size; in get_vm_block()
69 entry->size -= size; in get_vm_block()
79 struct ct_vm_block *entry, *pre_ent; in put_vm_block() local
[all …]
Dctdaio.c162 struct imapper *entry; in dao_set_left_input() local
166 entry = kzalloc((sizeof(*entry) * daio->rscl.msr), GFP_KERNEL); in dao_set_left_input()
167 if (!entry) in dao_set_left_input()
174 for (i = 0; i < daio->rscl.msr; i++, entry++) { in dao_set_left_input()
175 entry->slot = input->ops->output_slot(input); in dao_set_left_input()
176 entry->user = entry->addr = daio->rscl.ops->index(&daio->rscl); in dao_set_left_input()
177 dao->mgr->imap_add(dao->mgr, entry); in dao_set_left_input()
178 dao->imappers[i] = entry; in dao_set_left_input()
191 struct imapper *entry; in dao_set_right_input() local
195 entry = kzalloc((sizeof(*entry) * daio->rscr.msr), GFP_KERNEL); in dao_set_right_input()
[all …]
Dctsrc.c621 struct imapper *entry; in srcimp_map() local
630 entry = &srcimp->imappers[i]; in srcimp_map()
631 entry->slot = input->ops->output_slot(input); in srcimp_map()
632 entry->user = src->rsc.ops->index(&src->rsc); in srcimp_map()
633 entry->addr = srcimp->rsc.ops->index(&srcimp->rsc); in srcimp_map()
634 srcimp->mgr->imap_add(srcimp->mgr, entry); in srcimp_map()
780 static int srcimp_map_op(void *data, struct imapper *entry) in srcimp_map_op() argument
785 hw->srcimp_mgr_set_imaparc(mgr->ctrl_blk, entry->slot); in srcimp_map_op()
786 hw->srcimp_mgr_set_imapuser(mgr->ctrl_blk, entry->user); in srcimp_map_op()
787 hw->srcimp_mgr_set_imapnxt(mgr->ctrl_blk, entry->next); in srcimp_map_op()
[all …]
/sound/drivers/opl4/
Dopl4_proc.c27 static int snd_opl4_mem_proc_open(struct snd_info_entry *entry, in snd_opl4_mem_proc_open() argument
30 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_open()
42 static int snd_opl4_mem_proc_release(struct snd_info_entry *entry, in snd_opl4_mem_proc_release() argument
45 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_release()
53 static ssize_t snd_opl4_mem_proc_read(struct snd_info_entry *entry, in snd_opl4_mem_proc_read() argument
58 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_read()
73 static ssize_t snd_opl4_mem_proc_write(struct snd_info_entry *entry, in snd_opl4_mem_proc_write() argument
79 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_write()
103 struct snd_info_entry *entry; in snd_opl4_create_proc() local
105 entry = snd_info_create_card_entry(opl4->card, "opl4-mem", opl4->card->proc_root); in snd_opl4_create_proc()
[all …]
/sound/pci/ca0106/
Dca0106_proc.c274 static void snd_ca0106_proc_iec958(struct snd_info_entry *entry, in snd_ca0106_proc_iec958() argument
277 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_iec958()
296 static void snd_ca0106_proc_reg_write32(struct snd_info_entry *entry, in snd_ca0106_proc_reg_write32() argument
299 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_write32()
314 static void snd_ca0106_proc_reg_read32(struct snd_info_entry *entry, in snd_ca0106_proc_reg_read32() argument
317 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read32()
330 static void snd_ca0106_proc_reg_read16(struct snd_info_entry *entry, in snd_ca0106_proc_reg_read16() argument
333 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read16()
346 static void snd_ca0106_proc_reg_read8(struct snd_info_entry *entry, in snd_ca0106_proc_reg_read8() argument
349 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read8()
[all …]
/sound/isa/gus/
Dgus_mem_proc.c34 static ssize_t snd_gf1_mem_proc_dump(struct snd_info_entry *entry, in snd_gf1_mem_proc_dump() argument
39 struct gus_proc_private *priv = entry->private_data; in snd_gf1_mem_proc_dump()
49 static void snd_gf1_mem_proc_free(struct snd_info_entry *entry) in snd_gf1_mem_proc_free() argument
51 struct gus_proc_private *priv = entry->private_data; in snd_gf1_mem_proc_free()
64 struct snd_info_entry *entry; in snd_gf1_mem_proc_init() local
73 if (! snd_card_proc_new(gus->card, name, &entry)) { in snd_gf1_mem_proc_init()
74 entry->content = SNDRV_INFO_CONTENT_DATA; in snd_gf1_mem_proc_init()
75 entry->private_data = priv; in snd_gf1_mem_proc_init()
76 entry->private_free = snd_gf1_mem_proc_free; in snd_gf1_mem_proc_init()
77 entry->c.ops = &snd_gf1_mem_proc_ops; in snd_gf1_mem_proc_init()
[all …]
Dgus_irq.c117 static void snd_gus_irq_info_read(struct snd_info_entry *entry, in snd_gus_irq_info_read() argument
124 gus = entry->private_data; in snd_gus_irq_info_read()
143 struct snd_info_entry *entry; in snd_gus_irq_profile_init() local
145 if (! snd_card_proc_new(gus->card, "gusirq", &entry)) in snd_gus_irq_profile_init()
146 snd_info_set_text_ops(entry, gus, snd_gus_irq_info_read); in snd_gus_irq_profile_init()
/sound/usb/
Dproc.c46 static void proc_audio_usbbus_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_audio_usbbus_read() argument
48 struct snd_usb_audio *chip = entry->private_data; in proc_audio_usbbus_read()
53 static void proc_audio_usbid_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_audio_usbid_read() argument
55 struct snd_usb_audio *chip = entry->private_data; in proc_audio_usbid_read()
64 struct snd_info_entry *entry; in snd_usb_audio_create_proc() local
65 if (!snd_card_proc_new(chip->card, "usbbus", &entry)) in snd_usb_audio_create_proc()
66 snd_info_set_text_ops(entry, chip, proc_audio_usbbus_read); in snd_usb_audio_create_proc()
67 if (!snd_card_proc_new(chip->card, "usbid", &entry)) in snd_usb_audio_create_proc()
68 snd_info_set_text_ops(entry, chip, proc_audio_usbid_read); in snd_usb_audio_create_proc()
150 static void proc_pcm_format_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_pcm_format_read() argument
[all …]
/sound/core/seq/
Dseq_info.c40 struct snd_info_entry *entry; in create_info_entry() local
42 entry = snd_info_create_module_entry(THIS_MODULE, name, snd_seq_root); in create_info_entry()
43 if (entry == NULL) in create_info_entry()
45 entry->content = SNDRV_INFO_CONTENT_TEXT; in create_info_entry()
46 entry->c.text.read = read; in create_info_entry()
47 if (snd_info_register(entry) < 0) { in create_info_entry()
48 snd_info_free_entry(entry); in create_info_entry()
51 return entry; in create_info_entry()
Dseq_info.h27 void snd_seq_info_clients_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer);
28 void snd_seq_info_timer_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer);
29 void snd_seq_info_queues_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer);
/sound/pci/ac97/
Dac97_proc.c343 static void snd_ac97_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in snd_ac97_proc_read() argument
345 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_read()
378 static void snd_ac97_proc_regs_write(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in snd_ac97_proc_regs_write() argument
380 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_regs_write()
405 static void snd_ac97_proc_regs_read(struct snd_info_entry *entry, in snd_ac97_proc_regs_read() argument
408 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_regs_read()
431 struct snd_info_entry *entry; in snd_ac97_proc_init() local
439 if ((entry = snd_info_create_card_entry(ac97->bus->card, name, ac97->bus->proc)) != NULL) { in snd_ac97_proc_init()
440 snd_info_set_text_ops(entry, ac97, snd_ac97_proc_read); in snd_ac97_proc_init()
441 if (snd_info_register(entry) < 0) { in snd_ac97_proc_init()
[all …]
/sound/pci/lola/
Dlola_proc.c110 static void lola_proc_codec_read(struct snd_info_entry *entry, in lola_proc_codec_read() argument
113 struct lola *chip = entry->private_data; in lola_proc_codec_read()
147 static void lola_proc_codec_rw_write(struct snd_info_entry *entry, in lola_proc_codec_rw_write() argument
150 struct lola *chip = entry->private_data; in lola_proc_codec_rw_write()
162 static void lola_proc_codec_rw_read(struct snd_info_entry *entry, in lola_proc_codec_rw_read() argument
165 struct lola *chip = entry->private_data; in lola_proc_codec_rw_read()
172 static void lola_proc_regs_read(struct snd_info_entry *entry, in lola_proc_regs_read() argument
175 struct lola *chip = entry->private_data; in lola_proc_regs_read()
211 struct snd_info_entry *entry; in lola_proc_debug_new() local
213 if (!snd_card_proc_new(chip->card, "codec", &entry)) in lola_proc_debug_new()
[all …]
/sound/pci/cs46xx/
Ddsp_spos.c481 static void cs46xx_dsp_proc_symbol_table_read (struct snd_info_entry *entry, in cs46xx_dsp_proc_symbol_table_read() argument
484 struct snd_cs46xx *chip = entry->private_data; in cs46xx_dsp_proc_symbol_table_read()
509 static void cs46xx_dsp_proc_modules_read (struct snd_info_entry *entry, in cs46xx_dsp_proc_modules_read() argument
512 struct snd_cs46xx *chip = entry->private_data; in cs46xx_dsp_proc_modules_read()
532 static void cs46xx_dsp_proc_task_tree_read (struct snd_info_entry *entry, in cs46xx_dsp_proc_task_tree_read() argument
535 struct snd_cs46xx *chip = entry->private_data; in cs46xx_dsp_proc_task_tree_read()
560 static void cs46xx_dsp_proc_scb_read (struct snd_info_entry *entry, in cs46xx_dsp_proc_scb_read() argument
563 struct snd_cs46xx *chip = entry->private_data; in cs46xx_dsp_proc_scb_read()
593 static void cs46xx_dsp_proc_parameter_dump_read (struct snd_info_entry *entry, in cs46xx_dsp_proc_parameter_dump_read() argument
596 struct snd_cs46xx *chip = entry->private_data; in cs46xx_dsp_proc_parameter_dump_read()
[all …]
/sound/synth/emux/
Demux_proc.c30 snd_emux_proc_info_read(struct snd_info_entry *entry, in snd_emux_proc_info_read() argument
36 emu = entry->private_data; in snd_emux_proc_info_read()
109 struct snd_info_entry *entry; in snd_emux_proc_init() local
113 entry = snd_info_create_card_entry(card, name, card->proc_root); in snd_emux_proc_init()
114 if (entry == NULL) in snd_emux_proc_init()
117 entry->content = SNDRV_INFO_CONTENT_TEXT; in snd_emux_proc_init()
118 entry->private_data = emu; in snd_emux_proc_init()
119 entry->c.text.read = snd_emux_proc_info_read; in snd_emux_proc_init()
120 if (snd_info_register(entry) < 0) in snd_emux_proc_init()
121 snd_info_free_entry(entry); in snd_emux_proc_init()
[all …]
/sound/core/seq/oss/
Dseq_oss.c275 info_read(struct snd_info_entry *entry, struct snd_info_buffer *buf) in info_read() argument
289 struct snd_info_entry *entry; in register_proc() local
291 entry = snd_info_create_module_entry(THIS_MODULE, SNDRV_SEQ_OSS_PROCNAME, snd_seq_root); in register_proc()
292 if (entry == NULL) in register_proc()
295 entry->content = SNDRV_INFO_CONTENT_TEXT; in register_proc()
296 entry->private_data = NULL; in register_proc()
297 entry->c.text.read = info_read; in register_proc()
298 if (snd_info_register(entry) < 0) { in register_proc()
299 snd_info_free_entry(entry); in register_proc()
302 info_entry = entry; in register_proc()
/sound/pci/ice1712/
Dpontis.c638 static void wm_proc_regs_write(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in wm_proc_regs_write() argument
640 struct snd_ice1712 *ice = entry->private_data; in wm_proc_regs_write()
653 static void wm_proc_regs_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in wm_proc_regs_read() argument
655 struct snd_ice1712 *ice = entry->private_data; in wm_proc_regs_read()
668 struct snd_info_entry *entry; in wm_proc_init() local
669 if (! snd_card_proc_new(ice->card, "wm_codec", &entry)) { in wm_proc_init()
670 snd_info_set_text_ops(entry, ice, wm_proc_regs_read); in wm_proc_init()
671 entry->mode |= S_IWUSR; in wm_proc_init()
672 entry->c.text.write = wm_proc_regs_write; in wm_proc_init()
676 static void cs_proc_regs_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in cs_proc_regs_read() argument
[all …]

1234