Home
last modified time | relevance | path

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

12345

/sound/core/
Dinfo.c70 struct snd_info_entry *entry; member
75 static void snd_info_disconnect(struct snd_info_entry *entry);
89 static int alloc_info_private(struct snd_info_entry *entry, in alloc_info_private() argument
94 if (!entry || !entry->p) in alloc_info_private()
96 if (!try_module_get(entry->module)) in alloc_info_private()
100 module_put(entry->module); in alloc_info_private()
103 data->entry = entry; in alloc_info_private()
123 struct snd_info_entry *entry; in snd_info_entry_llseek() local
127 entry = data->entry; in snd_info_entry_llseek()
128 mutex_lock(&entry->access); in snd_info_entry_llseek()
[all …]
Dpcm.c378 static void snd_pcm_stream_proc_info_read(struct snd_info_entry *entry, in snd_pcm_stream_proc_info_read() argument
381 snd_pcm_proc_info_read(((struct snd_pcm_str *)entry->private_data)->substream, in snd_pcm_stream_proc_info_read()
385 static void snd_pcm_substream_proc_info_read(struct snd_info_entry *entry, in snd_pcm_substream_proc_info_read() argument
388 snd_pcm_proc_info_read(entry->private_data, buffer); in snd_pcm_substream_proc_info_read()
391 static void snd_pcm_substream_proc_hw_params_read(struct snd_info_entry *entry, in snd_pcm_substream_proc_hw_params_read() argument
394 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_substream_proc_hw_params_read()
428 static void snd_pcm_substream_proc_sw_params_read(struct snd_info_entry *entry, in snd_pcm_substream_proc_sw_params_read() argument
431 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_substream_proc_sw_params_read()
456 static void snd_pcm_substream_proc_status_read(struct snd_info_entry *entry, in snd_pcm_substream_proc_status_read() argument
459 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_substream_proc_status_read()
[all …]
Dpcm_memory.c131 static void snd_pcm_lib_preallocate_proc_read(struct snd_info_entry *entry, in snd_pcm_lib_preallocate_proc_read() argument
134 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_read()
143 static void snd_pcm_lib_preallocate_max_proc_read(struct snd_info_entry *entry, in snd_pcm_lib_preallocate_max_proc_read() argument
146 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_max_proc_read()
155 static void snd_pcm_lib_preallocate_proc_write(struct snd_info_entry *entry, in snd_pcm_lib_preallocate_proc_write() argument
158 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_write()
199 struct snd_info_entry *entry; in preallocate_info_init() local
201 …if ((entry = snd_info_create_card_entry(substream->pcm->card, "prealloc", substream->proc_root)) !… in preallocate_info_init()
202 entry->c.text.read = snd_pcm_lib_preallocate_proc_read; in preallocate_info_init()
203 entry->c.text.write = snd_pcm_lib_preallocate_proc_write; in preallocate_info_init()
[all …]
Dinfo_oss.c89 static void snd_sndstat_proc_read(struct snd_info_entry *entry, in snd_sndstat_proc_read() argument
113 struct snd_info_entry *entry; in snd_info_minor_register() local
116 entry = snd_info_create_module_entry(THIS_MODULE, "sndstat", in snd_info_minor_register()
118 if (!entry) in snd_info_minor_register()
120 entry->c.text.read = snd_sndstat_proc_read; in snd_info_minor_register()
121 return snd_info_register(entry); /* freed in error path */ in snd_info_minor_register()
/sound/pci/emu10k1/
Demuproc.c80 static void snd_emu10k1_proc_read(struct snd_info_entry *entry, in snd_emu10k1_proc_read() argument
186 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_read()
237 static void snd_emu10k1_proc_spdif_read(struct snd_info_entry *entry, in snd_emu10k1_proc_spdif_read() argument
240 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_spdif_read()
276 static void snd_emu10k1_proc_rates_read(struct snd_info_entry *entry, in snd_emu10k1_proc_rates_read() argument
280 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_rates_read()
291 static void snd_emu10k1_proc_acode_read(struct snd_info_entry *entry, in snd_emu10k1_proc_acode_read() argument
295 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_acode_read()
334 static ssize_t snd_emu10k1_fx8010_read(struct snd_info_entry *entry, in snd_emu10k1_fx8010_read() argument
339 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.c35 struct ct_vm_block *block = NULL, *entry; in get_vm_block() local
47 entry = list_entry(pos, struct ct_vm_block, list); in get_vm_block()
48 if (entry->size >= size) in get_vm_block()
54 if (entry->size == size) { in get_vm_block()
56 list_move(&entry->list, &vm->used); in get_vm_block()
58 block = entry; in get_vm_block()
66 block->addr = entry->addr; in get_vm_block()
69 entry->addr += size; in get_vm_block()
70 entry->size -= size; in get_vm_block()
80 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 …]
/sound/drivers/opl4/
Dopl4_proc.c25 static int snd_opl4_mem_proc_open(struct snd_info_entry *entry, in snd_opl4_mem_proc_open() argument
28 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_open()
40 static int snd_opl4_mem_proc_release(struct snd_info_entry *entry, in snd_opl4_mem_proc_release() argument
43 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_release()
51 static ssize_t snd_opl4_mem_proc_read(struct snd_info_entry *entry, in snd_opl4_mem_proc_read() argument
56 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_read()
71 static ssize_t snd_opl4_mem_proc_write(struct snd_info_entry *entry, in snd_opl4_mem_proc_write() argument
77 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_write()
101 struct snd_info_entry *entry; in snd_opl4_create_proc() local
103 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.c272 static void snd_ca0106_proc_iec958(struct snd_info_entry *entry, in snd_ca0106_proc_iec958() argument
275 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_iec958()
294 static void snd_ca0106_proc_reg_write32(struct snd_info_entry *entry, in snd_ca0106_proc_reg_write32() argument
297 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_write32()
312 static void snd_ca0106_proc_reg_read32(struct snd_info_entry *entry, in snd_ca0106_proc_reg_read32() argument
315 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read32()
328 static void snd_ca0106_proc_reg_read16(struct snd_info_entry *entry, in snd_ca0106_proc_reg_read16() argument
331 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read16()
344 static void snd_ca0106_proc_reg_read8(struct snd_info_entry *entry, in snd_ca0106_proc_reg_read8() argument
347 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 …]
/sound/firewire/fireface/
Dff-proc.c11 static void proc_dump_clock_config(struct snd_info_entry *entry, in proc_dump_clock_config() argument
14 struct snd_ff *ff = entry->private_data; in proc_dump_clock_config()
19 static void proc_dump_sync_status(struct snd_info_entry *entry, in proc_dump_sync_status() argument
22 struct snd_ff *ff = entry->private_data; in proc_dump_sync_status()
32 struct snd_info_entry *entry; in add_node() local
34 entry = snd_info_create_card_entry(ff->card, name, root); in add_node()
35 if (entry == NULL) in add_node()
38 snd_info_set_text_ops(entry, ff, op); in add_node()
39 if (snd_info_register(entry) < 0) in add_node()
40 snd_info_free_entry(entry); in add_node()
/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.c39 struct snd_info_entry *entry; in create_info_entry() local
41 entry = snd_info_create_module_entry(THIS_MODULE, name, snd_seq_root); in create_info_entry()
42 if (entry == NULL) in create_info_entry()
44 entry->content = SNDRV_INFO_CONTENT_TEXT; in create_info_entry()
45 entry->c.text.read = read; in create_info_entry()
46 if (snd_info_register(entry) < 0) { in create_info_entry()
47 snd_info_free_entry(entry); in create_info_entry()
50 return entry; in create_info_entry()
/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/firewire/motu/
Dmotu-proc.c25 static void proc_read_clock(struct snd_info_entry *entry, in proc_read_clock() argument
29 struct snd_motu *motu = entry->private_data; in proc_read_clock()
43 static void proc_read_format(struct snd_info_entry *entry, in proc_read_format() argument
46 struct snd_motu *motu = entry->private_data; in proc_read_format()
87 struct snd_info_entry *entry; in add_node() local
89 entry = snd_info_create_card_entry(motu->card, name, root); in add_node()
90 if (entry == NULL) in add_node()
93 snd_info_set_text_ops(entry, motu, op); in add_node()
94 if (snd_info_register(entry) < 0) in add_node()
95 snd_info_free_entry(entry); in add_node()
/sound/firewire/bebob/
Dbebob_proc.c36 proc_read_hw_info(struct snd_info_entry *entry, in proc_read_hw_info() argument
39 struct snd_bebob *bebob = entry->private_data; in proc_read_hw_info()
72 proc_read_meters(struct snd_info_entry *entry, in proc_read_meters() argument
75 struct snd_bebob *bebob = entry->private_data; in proc_read_meters()
105 proc_read_formation(struct snd_info_entry *entry, in proc_read_formation() argument
108 struct snd_bebob *bebob = entry->private_data; in proc_read_formation()
132 proc_read_clock(struct snd_info_entry *entry, in proc_read_clock() argument
140 struct snd_bebob *bebob = entry->private_data; in proc_read_clock()
163 struct snd_info_entry *entry; in add_node() local
165 entry = snd_info_create_card_entry(bebob->card, name, root); in add_node()
[all …]
/sound/firewire/digi00x/
Ddigi00x-proc.c26 static void proc_read_clock(struct snd_info_entry *entry, in proc_read_clock() argument
39 struct snd_dg00x *dg00x = entry->private_data; in proc_read_clock()
71 struct snd_info_entry *root, *entry; in snd_dg00x_proc_init() local
88 entry = snd_info_create_card_entry(dg00x->card, "clock", root); in snd_dg00x_proc_init()
89 if (entry == NULL) { in snd_dg00x_proc_init()
94 snd_info_set_text_ops(entry, dg00x, proc_read_clock); in snd_dg00x_proc_init()
95 if (snd_info_register(entry) < 0) { in snd_dg00x_proc_init()
96 snd_info_free_entry(entry); in snd_dg00x_proc_init()
/sound/pci/cs46xx/
Ddsp_spos.c503 static void cs46xx_dsp_proc_symbol_table_read (struct snd_info_entry *entry, in cs46xx_dsp_proc_symbol_table_read() argument
506 struct snd_cs46xx *chip = entry->private_data; in cs46xx_dsp_proc_symbol_table_read()
531 static void cs46xx_dsp_proc_modules_read (struct snd_info_entry *entry, in cs46xx_dsp_proc_modules_read() argument
534 struct snd_cs46xx *chip = entry->private_data; in cs46xx_dsp_proc_modules_read()
554 static void cs46xx_dsp_proc_task_tree_read (struct snd_info_entry *entry, in cs46xx_dsp_proc_task_tree_read() argument
557 struct snd_cs46xx *chip = entry->private_data; in cs46xx_dsp_proc_task_tree_read()
582 static void cs46xx_dsp_proc_scb_read (struct snd_info_entry *entry, in cs46xx_dsp_proc_scb_read() argument
585 struct snd_cs46xx *chip = entry->private_data; in cs46xx_dsp_proc_scb_read()
615 static void cs46xx_dsp_proc_parameter_dump_read (struct snd_info_entry *entry, in cs46xx_dsp_proc_parameter_dump_read() argument
618 struct snd_cs46xx *chip = entry->private_data; in cs46xx_dsp_proc_parameter_dump_read()
[all …]
/sound/firewire/fireworks/
Dfireworks_proc.c29 proc_read_hwinfo(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_read_hwinfo() argument
31 struct snd_efw *efw = entry->private_data; in proc_read_hwinfo()
106 proc_read_clock(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_read_clock() argument
108 struct snd_efw *efw = entry->private_data; in proc_read_clock()
128 proc_read_phys_meters(struct snd_info_entry *entry, in proc_read_phys_meters() argument
131 struct snd_efw *efw = entry->private_data; in proc_read_phys_meters()
179 proc_read_queues_state(struct snd_info_entry *entry, in proc_read_queues_state() argument
182 struct snd_efw *efw = entry->private_data; in proc_read_queues_state()
199 struct snd_info_entry *entry; in add_node() local
201 entry = snd_info_create_card_entry(efw->card, name, root); in add_node()
[all …]
/sound/firewire/tascam/
Dtascam-proc.c11 static void proc_read_firmware(struct snd_info_entry *entry, in proc_read_firmware() argument
14 struct snd_tscm *tscm = entry->private_data; in proc_read_firmware()
58 struct snd_info_entry *entry; in add_node() local
60 entry = snd_info_create_card_entry(tscm->card, name, root); in add_node()
61 if (entry == NULL) in add_node()
64 snd_info_set_text_ops(entry, tscm, op); in add_node()
65 if (snd_info_register(entry) < 0) in add_node()
66 snd_info_free_entry(entry); in add_node()
/sound/synth/emux/
Demux_proc.c28 snd_emux_proc_info_read(struct snd_info_entry *entry, in snd_emux_proc_info_read() argument
34 emu = entry->private_data; in snd_emux_proc_info_read()
107 struct snd_info_entry *entry; in snd_emux_proc_init() local
111 entry = snd_info_create_card_entry(card, name, card->proc_root); in snd_emux_proc_init()
112 if (entry == NULL) in snd_emux_proc_init()
115 entry->content = SNDRV_INFO_CONTENT_TEXT; in snd_emux_proc_init()
116 entry->private_data = emu; in snd_emux_proc_init()
117 entry->c.text.read = snd_emux_proc_info_read; in snd_emux_proc_init()
118 if (snd_info_register(entry) < 0) in snd_emux_proc_init()
119 snd_info_free_entry(entry); in snd_emux_proc_init()
[all …]
/sound/firewire/oxfw/
Doxfw-proc.c11 static void proc_read_formation(struct snd_info_entry *entry, in proc_read_formation() argument
14 struct snd_oxfw *oxfw = entry->private_data; in proc_read_formation()
83 struct snd_info_entry *entry; in add_node() local
85 entry = snd_info_create_card_entry(oxfw->card, name, root); in add_node()
86 if (entry == NULL) in add_node()
89 snd_info_set_text_ops(entry, oxfw, op); in add_node()
90 if (snd_info_register(entry) < 0) in add_node()
91 snd_info_free_entry(entry); in add_node()
/sound/core/seq/oss/
Dseq_oss.c272 info_read(struct snd_info_entry *entry, struct snd_info_buffer *buf) in info_read() argument
286 struct snd_info_entry *entry; in register_proc() local
288 entry = snd_info_create_module_entry(THIS_MODULE, SNDRV_SEQ_OSS_PROCNAME, snd_seq_root); in register_proc()
289 if (entry == NULL) in register_proc()
292 entry->content = SNDRV_INFO_CONTENT_TEXT; in register_proc()
293 entry->private_data = NULL; in register_proc()
294 entry->c.text.read = info_read; in register_proc()
295 if (snd_info_register(entry) < 0) { in register_proc()
296 snd_info_free_entry(entry); in register_proc()
299 info_entry = entry; in register_proc()

12345