/sound/core/ |
D | info.c | 54 struct snd_info_entry *entry; member 59 static void snd_info_clear_entries(struct snd_info_entry *entry); 73 static int alloc_info_private(struct snd_info_entry *entry, in alloc_info_private() argument 78 if (!entry || !entry->p) in alloc_info_private() 80 if (!try_module_get(entry->module)) in alloc_info_private() 84 module_put(entry->module); in alloc_info_private() 87 data->entry = entry; in alloc_info_private() 107 struct snd_info_entry *entry; in snd_info_entry_llseek() local 111 entry = data->entry; in snd_info_entry_llseek() 112 mutex_lock(&entry->access); in snd_info_entry_llseek() [all …]
|
D | pcm.c | 364 static void snd_pcm_stream_proc_info_read(struct snd_info_entry *entry, in snd_pcm_stream_proc_info_read() argument 367 snd_pcm_proc_info_read(((struct snd_pcm_str *)entry->private_data)->substream, in snd_pcm_stream_proc_info_read() 371 static void snd_pcm_substream_proc_info_read(struct snd_info_entry *entry, in snd_pcm_substream_proc_info_read() argument 374 snd_pcm_proc_info_read(entry->private_data, buffer); in snd_pcm_substream_proc_info_read() 377 static void snd_pcm_substream_proc_hw_params_read(struct snd_info_entry *entry, in snd_pcm_substream_proc_hw_params_read() argument 380 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_substream_proc_hw_params_read() 414 static void snd_pcm_substream_proc_sw_params_read(struct snd_info_entry *entry, in snd_pcm_substream_proc_sw_params_read() argument 417 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_substream_proc_sw_params_read() 442 static void snd_pcm_substream_proc_status_read(struct snd_info_entry *entry, in snd_pcm_substream_proc_status_read() argument 445 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_substream_proc_status_read() [all …]
|
D | pcm_memory.c | 156 static void snd_pcm_lib_preallocate_proc_read(struct snd_info_entry *entry, in snd_pcm_lib_preallocate_proc_read() argument 159 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_read() 168 static void snd_pcm_lib_preallocate_max_proc_read(struct snd_info_entry *entry, in snd_pcm_lib_preallocate_max_proc_read() argument 171 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_max_proc_read() 180 static void snd_pcm_lib_preallocate_proc_write(struct snd_info_entry *entry, in snd_pcm_lib_preallocate_proc_write() argument 183 struct snd_pcm_substream *substream = entry->private_data; in snd_pcm_lib_preallocate_proc_write() 233 struct snd_info_entry *entry; in preallocate_info_init() local 235 entry = snd_info_create_card_entry(substream->pcm->card, "prealloc", in preallocate_info_init() 237 if (entry) { in preallocate_info_init() 238 snd_info_set_text_ops(entry, substream, in preallocate_info_init() [all …]
|
D | info_oss.c | 75 static void snd_sndstat_proc_read(struct snd_info_entry *entry, in snd_sndstat_proc_read() argument 99 struct snd_info_entry *entry; in snd_info_minor_register() local 102 entry = snd_info_create_module_entry(THIS_MODULE, "sndstat", in snd_info_minor_register() 104 if (!entry) in snd_info_minor_register() 106 entry->c.text.read = snd_sndstat_proc_read; in snd_info_minor_register() 107 return snd_info_register(entry); /* freed in error path */ in snd_info_minor_register()
|
/sound/pci/ctxfi/ |
D | ctimap.c | 18 int input_mapper_add(struct list_head *mappers, struct imapper *entry, in input_mapper_add() argument 27 entry->next = entry->addr; in input_mapper_add() 28 map_op(data, entry); in input_mapper_add() 29 list_add(&entry->list, head); in input_mapper_add() 35 if (pos_ent->slot > entry->slot) { in input_mapper_add() 46 __list_add(&entry->list, pos->prev, pos); in input_mapper_add() 50 list_add_tail(&entry->list, head); in input_mapper_add() 56 entry->next = pos_ent->addr; in input_mapper_add() 57 map_op(data, entry); in input_mapper_add() 58 pre_ent->next = entry->addr; in input_mapper_add() [all …]
|
D | ctvmem.c | 32 struct ct_vm_block *block = NULL, *entry; in get_vm_block() local 44 entry = list_entry(pos, struct ct_vm_block, list); in get_vm_block() 45 if (entry->size >= size) in get_vm_block() 51 if (entry->size == size) { in get_vm_block() 53 list_move(&entry->list, &vm->used); in get_vm_block() 55 block = entry; in get_vm_block() 63 block->addr = entry->addr; in get_vm_block() 66 entry->addr += size; in get_vm_block() 67 entry->size -= size; in get_vm_block() 77 struct ct_vm_block *entry, *pre_ent; in put_vm_block() local [all …]
|
D | ctdaio.c | 158 struct imapper *entry; in dao_set_left_input() local 162 entry = kzalloc((sizeof(*entry) * daio->rscl.msr), GFP_KERNEL); in dao_set_left_input() 163 if (!entry) in dao_set_left_input() 170 for (i = 0; i < daio->rscl.msr; i++, entry++) { in dao_set_left_input() 171 entry->slot = input->ops->output_slot(input); in dao_set_left_input() 172 entry->user = entry->addr = daio->rscl.ops->index(&daio->rscl); in dao_set_left_input() 173 dao->mgr->imap_add(dao->mgr, entry); in dao_set_left_input() 174 dao->imappers[i] = entry; in dao_set_left_input() 187 struct imapper *entry; in dao_set_right_input() local 191 entry = kzalloc((sizeof(*entry) * daio->rscr.msr), GFP_KERNEL); in dao_set_right_input() [all …]
|
/sound/pci/emu10k1/ |
D | emuproc.c | 66 static void snd_emu10k1_proc_read(struct snd_info_entry *entry, in snd_emu10k1_proc_read() argument 172 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_read() 223 static void snd_emu10k1_proc_spdif_read(struct snd_info_entry *entry, in snd_emu10k1_proc_spdif_read() argument 226 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_spdif_read() 262 static void snd_emu10k1_proc_rates_read(struct snd_info_entry *entry, in snd_emu10k1_proc_rates_read() argument 266 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_rates_read() 276 static void snd_emu10k1_proc_acode_read(struct snd_info_entry *entry, in snd_emu10k1_proc_acode_read() argument 280 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_proc_acode_read() 319 static ssize_t snd_emu10k1_fx8010_read(struct snd_info_entry *entry, in snd_emu10k1_fx8010_read() argument 324 struct snd_emu10k1 *emu = entry->private_data; in snd_emu10k1_fx8010_read() [all …]
|
/sound/drivers/opl4/ |
D | opl4_proc.c | 12 static int snd_opl4_mem_proc_open(struct snd_info_entry *entry, in snd_opl4_mem_proc_open() argument 15 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_open() 27 static int snd_opl4_mem_proc_release(struct snd_info_entry *entry, in snd_opl4_mem_proc_release() argument 30 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_release() 38 static ssize_t snd_opl4_mem_proc_read(struct snd_info_entry *entry, in snd_opl4_mem_proc_read() argument 43 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_read() 58 static ssize_t snd_opl4_mem_proc_write(struct snd_info_entry *entry, in snd_opl4_mem_proc_write() argument 64 struct snd_opl4 *opl4 = entry->private_data; in snd_opl4_mem_proc_write() 88 struct snd_info_entry *entry; in snd_opl4_create_proc() local 90 entry = snd_info_create_card_entry(opl4->card, "opl4-mem", opl4->card->proc_root); in snd_opl4_create_proc() [all …]
|
/sound/isa/gus/ |
D | gus_mem_proc.c | 19 static ssize_t snd_gf1_mem_proc_dump(struct snd_info_entry *entry, in snd_gf1_mem_proc_dump() argument 24 struct gus_proc_private *priv = entry->private_data; in snd_gf1_mem_proc_dump() 34 static void snd_gf1_mem_proc_free(struct snd_info_entry *entry) in snd_gf1_mem_proc_free() argument 36 struct gus_proc_private *priv = entry->private_data; in snd_gf1_mem_proc_free() 49 struct snd_info_entry *entry; in snd_gf1_mem_proc_init() local 58 if (! snd_card_proc_new(gus->card, name, &entry)) { in snd_gf1_mem_proc_init() 59 entry->content = SNDRV_INFO_CONTENT_DATA; in snd_gf1_mem_proc_init() 60 entry->private_data = priv; in snd_gf1_mem_proc_init() 61 entry->private_free = snd_gf1_mem_proc_free; in snd_gf1_mem_proc_init() 62 entry->c.ops = &snd_gf1_mem_proc_ops; in snd_gf1_mem_proc_init() [all …]
|
/sound/core/seq/ |
D | seq_info.c | 24 struct snd_info_entry *entry; in create_info_entry() local 26 entry = snd_info_create_module_entry(THIS_MODULE, name, snd_seq_root); in create_info_entry() 27 if (entry == NULL) in create_info_entry() 29 entry->content = SNDRV_INFO_CONTENT_TEXT; in create_info_entry() 30 entry->c.text.read = read; in create_info_entry() 31 if (snd_info_register(entry) < 0) { in create_info_entry() 32 snd_info_free_entry(entry); in create_info_entry() 35 return entry; in create_info_entry()
|
/sound/pci/ca0106/ |
D | ca0106_proc.c | 258 static void snd_ca0106_proc_iec958(struct snd_info_entry *entry, in snd_ca0106_proc_iec958() argument 261 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_iec958() 280 static void snd_ca0106_proc_reg_write32(struct snd_info_entry *entry, in snd_ca0106_proc_reg_write32() argument 283 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_write32() 298 static void snd_ca0106_proc_reg_read32(struct snd_info_entry *entry, in snd_ca0106_proc_reg_read32() argument 301 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read32() 314 static void snd_ca0106_proc_reg_read16(struct snd_info_entry *entry, in snd_ca0106_proc_reg_read16() argument 317 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read16() 330 static void snd_ca0106_proc_reg_read8(struct snd_info_entry *entry, in snd_ca0106_proc_reg_read8() argument 333 struct snd_ca0106 *emu = entry->private_data; in snd_ca0106_proc_reg_read8() [all …]
|
/sound/firewire/oxfw/ |
D | oxfw.c | 64 static int name_card(struct snd_oxfw *oxfw, const struct ieee1394_device_id *entry) in name_card() argument 96 if (entry->vendor_id == VENDOR_GRIFFIN || entry->vendor_id == VENDOR_LACIE) { in name_card() 97 info = (const struct compat_info *)entry->driver_data; in name_card() 131 static int detect_quirks(struct snd_oxfw *oxfw, const struct ieee1394_device_id *entry) in detect_quirks() argument 142 if (entry->vendor_id == VENDOR_GRIFFIN) in detect_quirks() 144 if (entry->vendor_id == VENDOR_LACIE) in detect_quirks() 151 if (entry->vendor_id == OUI_STANTON) { in detect_quirks() 153 if (entry->model_id == MODEL_SCS1M) in detect_quirks() 163 if (entry->vendor_id == OUI_APOGEE && entry->model_id == MODEL_DUET_FW) { in detect_quirks() 172 if (entry->vendor_id == VENDOR_TASCAM) { in detect_quirks() [all …]
|
D | oxfw-proc.c | 10 static void proc_read_formation(struct snd_info_entry *entry, in proc_read_formation() argument 13 struct snd_oxfw *oxfw = entry->private_data; in proc_read_formation() 82 struct snd_info_entry *entry; in add_node() local 84 entry = snd_info_create_card_entry(oxfw->card, name, root); in add_node() 85 if (entry) in add_node() 86 snd_info_set_text_ops(entry, oxfw, op); in add_node()
|
/sound/firewire/bebob/ |
D | bebob_proc.c | 35 proc_read_hw_info(struct snd_info_entry *entry, in proc_read_hw_info() argument 38 struct snd_bebob *bebob = entry->private_data; in proc_read_hw_info() 71 proc_read_meters(struct snd_info_entry *entry, in proc_read_meters() argument 74 struct snd_bebob *bebob = entry->private_data; in proc_read_meters() 104 proc_read_formation(struct snd_info_entry *entry, in proc_read_formation() argument 107 struct snd_bebob *bebob = entry->private_data; in proc_read_formation() 131 proc_read_clock(struct snd_info_entry *entry, in proc_read_clock() argument 139 struct snd_bebob *bebob = entry->private_data; in proc_read_clock() 162 struct snd_info_entry *entry; in add_node() local 164 entry = snd_info_create_card_entry(bebob->card, name, root); in add_node() [all …]
|
D | bebob.c | 160 static int detect_quirks(struct snd_bebob *bebob, const struct ieee1394_device_id *entry) in detect_quirks() argument 162 if (entry->vendor_id == VEN_MAUDIO) { in detect_quirks() 163 switch (entry->model_id) { in detect_quirks() 184 static int bebob_probe(struct fw_unit *unit, const struct ieee1394_device_id *entry) in bebob_probe() argument 192 if (entry->vendor_id == VEN_FOCUSRITE && in bebob_probe() 193 entry->model_id == MODEL_FOCUSRITE_SAFFIRE_BOTH) in bebob_probe() 195 else if (entry->vendor_id == VEN_MAUDIO && in bebob_probe() 196 entry->model_id == MODEL_MAUDIO_AUDIOPHILE_BOTH && in bebob_probe() 200 spec = (const struct snd_bebob_spec *)entry->driver_data; in bebob_probe() 204 if (entry->vendor_id == VEN_MAUDIO || entry->vendor_id == VEN_BRIDGECO) in bebob_probe() [all …]
|
/sound/pci/ac97/ |
D | ac97_proc.c | 328 static void snd_ac97_proc_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in snd_ac97_proc_read() argument 330 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_read() 363 static void snd_ac97_proc_regs_write(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in snd_ac97_proc_regs_write() argument 365 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_regs_write() 390 static void snd_ac97_proc_regs_read(struct snd_info_entry *entry, in snd_ac97_proc_regs_read() argument 393 struct snd_ac97 *ac97 = entry->private_data; in snd_ac97_proc_regs_read() 416 struct snd_info_entry *entry; in snd_ac97_proc_init() local 424 entry = snd_info_create_card_entry(ac97->bus->card, name, in snd_ac97_proc_init() 426 if (entry) in snd_ac97_proc_init() 427 snd_info_set_text_ops(entry, ac97, snd_ac97_proc_read); in snd_ac97_proc_init() [all …]
|
/sound/firewire/motu/ |
D | motu-proc.c | 26 static void proc_read_clock(struct snd_info_entry *entry, in proc_read_clock() argument 30 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() 86 struct snd_info_entry *entry; in add_node() local 88 entry = snd_info_create_card_entry(motu->card, name, root); in add_node() 89 if (entry) in add_node() 90 snd_info_set_text_ops(entry, motu, op); in add_node()
|
/sound/firewire/fireface/ |
D | ff-proc.c | 27 static void proc_dump_status(struct snd_info_entry *entry, in proc_dump_status() argument 30 struct snd_ff *ff = entry->private_data; in proc_dump_status() 40 struct snd_info_entry *entry; in add_node() local 42 entry = snd_info_create_card_entry(ff->card, name, root); in add_node() 43 if (entry) in add_node() 44 snd_info_set_text_ops(entry, ff, op); in add_node()
|
/sound/firewire/fireworks/ |
D | fireworks_proc.c | 28 proc_read_hwinfo(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_read_hwinfo() argument 30 struct snd_efw *efw = entry->private_data; in proc_read_hwinfo() 105 proc_read_clock(struct snd_info_entry *entry, struct snd_info_buffer *buffer) in proc_read_clock() argument 107 struct snd_efw *efw = entry->private_data; in proc_read_clock() 127 proc_read_phys_meters(struct snd_info_entry *entry, in proc_read_phys_meters() argument 130 struct snd_efw *efw = entry->private_data; in proc_read_phys_meters() 178 proc_read_queues_state(struct snd_info_entry *entry, in proc_read_queues_state() argument 181 struct snd_efw *efw = entry->private_data; in proc_read_queues_state() 198 struct snd_info_entry *entry; in add_node() local 200 entry = snd_info_create_card_entry(efw->card, name, root); in add_node() [all …]
|
/sound/firewire/dice/ |
D | dice-presonus.c | 27 } *entry, entries[] = { in snd_dice_detect_presonus_formats() local 44 entry = entries + i; in snd_dice_detect_presonus_formats() 45 if (entry->model_id == model_id) in snd_dice_detect_presonus_formats() 51 memcpy(dice->tx_pcm_chs, entry->spec->tx_pcm_chs, in snd_dice_detect_presonus_formats() 53 memcpy(dice->rx_pcm_chs, entry->spec->rx_pcm_chs, in snd_dice_detect_presonus_formats() 56 if (entry->spec->has_midi) { in snd_dice_detect_presonus_formats()
|
D | dice-tcelectronic.c | 63 } *entry, entries[] = { in snd_dice_detect_tcelectronic_formats() local 86 entry = entries + i; in snd_dice_detect_tcelectronic_formats() 87 if (entry->model_id == model_id) in snd_dice_detect_tcelectronic_formats() 93 memcpy(dice->tx_pcm_chs, entry->spec->tx_pcm_chs, in snd_dice_detect_tcelectronic_formats() 95 memcpy(dice->rx_pcm_chs, entry->spec->rx_pcm_chs, in snd_dice_detect_tcelectronic_formats() 98 if (entry->spec->has_midi) { in snd_dice_detect_tcelectronic_formats()
|
/sound/firewire/digi00x/ |
D | digi00x-proc.c | 25 static void proc_read_clock(struct snd_info_entry *entry, in proc_read_clock() argument 38 struct snd_dg00x *dg00x = entry->private_data; in proc_read_clock() 70 struct snd_info_entry *root, *entry; in snd_dg00x_proc_init() local 83 entry = snd_info_create_card_entry(dg00x->card, "clock", root); in snd_dg00x_proc_init() 84 if (entry) in snd_dg00x_proc_init() 85 snd_info_set_text_ops(entry, dg00x, proc_read_clock); in snd_dg00x_proc_init()
|
/sound/core/seq/oss/ |
D | seq_oss.c | 274 info_read(struct snd_info_entry *entry, struct snd_info_buffer *buf) in info_read() argument 288 struct snd_info_entry *entry; in register_proc() local 290 entry = snd_info_create_module_entry(THIS_MODULE, SNDRV_SEQ_OSS_PROCNAME, snd_seq_root); in register_proc() 291 if (entry == NULL) in register_proc() 294 entry->content = SNDRV_INFO_CONTENT_TEXT; in register_proc() 295 entry->private_data = NULL; in register_proc() 296 entry->c.text.read = info_read; in register_proc() 297 if (snd_info_register(entry) < 0) { in register_proc() 298 snd_info_free_entry(entry); in register_proc() 301 info_entry = entry; in register_proc()
|
/sound/firewire/tascam/ |
D | tascam-proc.c | 10 static void proc_read_firmware(struct snd_info_entry *entry, in proc_read_firmware() argument 13 struct snd_tscm *tscm = entry->private_data; in proc_read_firmware() 57 struct snd_info_entry *entry; in add_node() local 59 entry = snd_info_create_card_entry(tscm->card, name, root); in add_node() 60 if (entry) in add_node() 61 snd_info_set_text_ops(entry, tscm, op); in add_node()
|