/sound/pci/ctxfi/ |
D | ctimap.c | 33 list_add(&entry->list, head); in input_mapper_add() 38 pos_ent = list_entry(pos, struct imapper, list); 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() 57 pre_ent = list_entry(pre, struct imapper, list); in input_mapper_add() 58 pos_ent = list_entry(pos, struct imapper, list); in input_mapper_add() 79 pre = (entry->list.prev == head) ? head->prev : entry->list.prev; in input_mapper_delete() 80 next = (entry->list.next == head) ? head->next : entry->list.next; in input_mapper_delete() 82 if (pre == &entry->list) { in input_mapper_delete() 86 list_del(&entry->list); in input_mapper_delete() [all …]
|
D | ctvmem.c | 47 entry = list_entry(pos, struct ct_vm_block, list); in get_vm_block() 56 list_move(&entry->list, &vm->used); in get_vm_block() 68 list_add(&block->list, &vm->used); in get_vm_block() 86 list_del(&block->list); in put_vm_block() 90 entry = list_entry(pos, struct ct_vm_block, list); in put_vm_block() 95 list_add_tail(&block->list, &vm->unused); in put_vm_block() 103 __list_add(&block->list, pos->prev, pos); in put_vm_block() 108 pos = &entry->list; in put_vm_block() 111 entry = list_entry(pos, struct ct_vm_block, list); in put_vm_block() 112 pre_ent = list_entry(pre, struct ct_vm_block, list); in put_vm_block() [all …]
|
/sound/ |
D | sound_core.c | 174 static int __sound_insert_unit(struct sound_unit * s, struct sound_unit **list, const struct file_o… in __sound_insert_unit() argument 180 while (*list && (*list)->unit_minor<n) in __sound_insert_unit() 181 list=&((*list)->next); in __sound_insert_unit() 186 if(*list==NULL || (*list)->unit_minor>n) in __sound_insert_unit() 188 list=&((*list)->next); in __sound_insert_unit() 196 while (*list) { in __sound_insert_unit() 197 if ((*list)->unit_minor==n) in __sound_insert_unit() 199 if ((*list)->unit_minor>n) in __sound_insert_unit() 201 list=&((*list)->next); in __sound_insert_unit() 216 s->next=*list; in __sound_insert_unit() [all …]
|
/sound/soc/intel/ |
D | sst-firmware.c | 82 list_add(&sst_fw->list, &dsp->fw_list); in sst_fw_new() 120 list_for_each_entry_safe(module, tmp, &dsp->module_list, list) { in sst_fw_unload() 123 list_del(&module->list); in sst_fw_unload() 138 list_del(&sst_fw->list); in sst_fw_free() 153 list_for_each_entry_safe(sst_fw, t, &dsp->fw_list, list) { in sst_fw_free_all() 155 list_del(&sst_fw->list); in sst_fw_free_all() 185 list_add(&sst_module->list, &dsp->module_list); in sst_module_new() 198 list_del(&sst_module->list); in sst_module_free() 210 list_for_each_entry(block, &dsp->free_block_list, list) { in find_block() 232 list_move_tail(&block->list, &tmp); in block_alloc_contiguous() [all …]
|
D | sst-baytrail-ipc.c | 147 struct list_head list; member 271 struct ipc_message, list); in sst_byt_msg_get_empty() 272 list_del(&msg->list); in sst_byt_msg_get_empty() 299 msg = list_first_entry(&byt->tx_list, struct ipc_message, list); in sst_byt_ipc_tx_msgs() 301 list_move(&msg->list, &byt->rx_list); in sst_byt_ipc_tx_msgs() 317 list_add_tail(&msg->list, &byt->empty_list); in sst_byt_tx_msg_reply_complete() 329 list_for_each_entry_safe(msg, tmp, &byt->tx_list, list) { in sst_byt_drop_all() 330 list_move(&msg->list, &byt->empty_list); in sst_byt_drop_all() 333 list_for_each_entry_safe(msg, tmp, &byt->rx_list, list) { in sst_byt_drop_all() 334 list_move(&msg->list, &byt->empty_list); in sst_byt_drop_all() [all …]
|
/sound/core/ |
D | device.c | 57 INIT_LIST_HEAD(&dev->list); in snd_device_new() 66 struct snd_device *pdev = list_entry(p, struct snd_device, list); in snd_device_new() 71 list_add(&dev->list, p); in snd_device_new() 90 list_del(&dev->list); in __snd_device_free() 104 list_for_each_entry(dev, &card->devices, list) in look_for_dev() 186 list_for_each_entry(dev, &card->devices, list) { in snd_device_register_all() 205 list_for_each_entry_reverse(dev, &card->devices, list) { in snd_device_disconnect_all() 222 list_for_each_entry_safe_reverse(dev, next, &card->devices, list) in snd_device_free_all()
|
D | control.c | 38 struct list_head list; /* list of all ioctls */ member 87 list_add_tail(&ctl->list, &card->ctl_files); in snd_ctl_open() 110 list_del(&cread->list); in snd_ctl_empty_read_queue() 128 list_del(&ctl->list); in snd_ctl_release() 131 list_for_each_entry(control, &card->controls, list) in snd_ctl_release() 159 list_for_each_entry(ctl, &card->ctl_files, list) { in snd_ctl_notify() 163 list_for_each_entry(ev, &ctl->events, list) { in snd_ctl_notify() 173 list_add_tail(&ev->list, &ctl->events); in snd_ctl_notify() 297 list_for_each_entry(kctl, &card->controls, list) { in snd_ctl_remove_numid_conflict() 367 list_add_tail(&kcontrol->list, &card->controls); in snd_ctl_add() [all …]
|
D | misc.c | 119 const struct snd_pci_quirk *list) in snd_pci_quirk_lookup_id() argument 123 for (q = list; q->subvendor; q++) { in snd_pci_quirk_lookup_id() 146 snd_pci_quirk_lookup(struct pci_dev *pci, const struct snd_pci_quirk *list) in snd_pci_quirk_lookup() argument 152 list); in snd_pci_quirk_lookup()
|
D | pcm.c | 51 list_for_each_entry(pcm, &snd_pcm_devices, list) { in snd_pcm_get() 64 list_for_each_entry(pcm, &snd_pcm_devices, list) { in snd_pcm_next() 79 list_for_each_entry(pcm, &snd_pcm_devices, list) { in snd_pcm_add() 85 list_add(&newpcm->list, pcm->list.prev); in snd_pcm_add() 89 list_add_tail(&newpcm->list, &snd_pcm_devices); in snd_pcm_add() 848 list_for_each_entry(notify, &snd_pcm_notify_list, list) { in snd_pcm_free() 887 list_for_each_entry(kctl, &card->ctl_files, list) { in snd_pcm_attach_substream() 1089 list_del(&pcm->list); in snd_pcm_dev_register() 1109 list_for_each_entry(notify, &snd_pcm_notify_list, list) in snd_pcm_dev_register() 1124 if (list_empty(&pcm->list)) in snd_pcm_dev_disconnect() [all …]
|
D | vmaster.c | 52 struct list_head list; member 123 list_for_each_entry(slave, &master->slaves, list) { in master_init() 237 list_del(&slave->list); in slave_free() 278 list_add_tail(&srec->list, &master_link->slaves); in _snd_ctl_add_slave() 321 list_for_each_entry(slave, &master->slaves, list) { in sync_slaves() 362 list_for_each_entry_safe(slave, n, &master->slaves, list) { in master_free() 364 struct list_head olist = sctl->list; in master_free() 368 sctl->list = olist; /* keep the current linked-list */ in master_free()
|
/sound/core/seq/ |
D | seq_device.c | 75 struct list_head list; /* next driver */ member 112 list_for_each_entry(ops, &opslist, list) { in snd_seq_device_info() 154 list_for_each_entry(ops, &opslist, list) { in snd_seq_device_load_drivers() 213 list_add_tail(&dev->list, &ops->dev_list); in snd_seq_device_new() 246 list_del(&dev->list); in snd_seq_device_free() 341 list_for_each_entry(dev, &ops->dev_list, list) { in snd_seq_device_register_driver() 380 list_add_tail(&ops->list, &opslist); in create_driver() 410 list_for_each_entry(dev, &ops->dev_list, list) { in snd_seq_device_unregister_driver() 439 struct ops_list *ops = list_entry(head, struct ops_list, list); in remove_drivers() 443 list_del(&ops->list); in remove_drivers() [all …]
|
D | seq_ports.c | 67 list_for_each_entry(port, &client->ports_list_head, list) { in snd_seq_port_use_ptr() 91 list_for_each_entry(port, &client->ports_list_head, list) { in snd_seq_port_query_nearest() 161 list_for_each_entry(p, &client->ports_list_head, list) { in snd_seq_create_port() 168 list_add_tail(&new_port->list, &p->list); in snd_seq_create_port() 291 list_for_each_entry(p, &client->ports_list_head, list) { in snd_seq_delete_port() 294 list_del(&p->list); in snd_seq_delete_port() 330 list_for_each_entry_safe(port, tmp, &deleted_list, list) { in snd_seq_delete_all_ports() 331 list_del(&port->list); in snd_seq_delete_all_ports() 544 struct list_head *list; in delete_and_unsubscribe_port() local 548 list = is_src ? &subs->src_list : &subs->dest_list; in delete_and_unsubscribe_port() [all …]
|
/sound/usb/ |
D | stream.c | 49 list_for_each_entry_safe(fp, n, &subs->fmt_list, list) { in free_substream() 54 kfree(subs->rate_list.list); in free_substream() 65 list_del(&stream->list); in snd_usb_audio_stream_free() 100 list_add_tail(&fp->list, &subs->fmt_list); in snd_usb_init_substream() 129 for (p = fp->list.prev; p != &subs->fmt_list; p = p->prev) { in have_dup_chmap() 131 prev = list_entry(p, struct audioformat, list); in have_dup_chmap() 154 list_for_each_entry(fp, &subs->fmt_list, list) { in usb_chmap_ctl_tlv() 210 list_for_each_entry(fp, &subs->fmt_list, list) in add_chmap() 331 list_for_each_entry(as, &chip->pcm_list, list) { in snd_usb_add_audio_stream() 336 list_add_tail(&fp->list, &subs->fmt_list); in snd_usb_add_audio_stream() [all …]
|
D | card.h | 12 struct list_head list; member 105 struct list_head list; member 164 struct list_head list; member
|
/sound/soc/codecs/ |
D | wm_adsp.c | 160 struct list_head list; member 165 struct list_head *list) in wm_adsp_buf_alloc() argument 178 if (list) in wm_adsp_buf_alloc() 179 list_add_tail(&buf->list, list); in wm_adsp_buf_alloc() 184 static void wm_adsp_buf_free(struct list_head *list) in wm_adsp_buf_free() argument 186 while (!list_empty(list)) { in wm_adsp_buf_free() 187 struct wm_adsp_buf *buf = list_first_entry(list, in wm_adsp_buf_free() 189 list); in wm_adsp_buf_free() 190 list_del(&buf->list); in wm_adsp_buf_free() 235 struct list_head list; member [all …]
|
D | wm8741.c | 131 .list = rates_11289, 140 .list = rates_12288, 149 .list = rates_16384, 158 .list = rates_16934, 167 .list = rates_18432, 176 .list = rates_22579, 185 .list = rates_24576, 194 .list = rates_36864,
|
/sound/soc/ |
D | soc-dapm.c | 169 list_for_each_entry(w, &card->widgets, list) { in dapm_mark_io_dirty() 386 list_for_each_entry(w, &card->widgets, list) { in dapm_reset() 496 list_add(&path->list, &dapm->card->paths); in dapm_connect_mux() 545 list_add(&path->list, &dapm->card->paths); in dapm_connect_mixer() 566 list_for_each_entry(w, &dapm->card->widgets, list) { in dapm_is_shared_kcontrol() 806 static int dapm_list_add_widget(struct snd_soc_dapm_widget_list **list, in dapm_list_add_widget() argument 812 if (*list == NULL) in dapm_list_add_widget() 815 wlist = *list; in dapm_list_add_widget() 827 *list = krealloc(wlist, wlistsize, GFP_KERNEL); in dapm_list_add_widget() 828 if (*list == NULL) { in dapm_list_add_widget() [all …]
|
D | soc-jack.c | 87 list_for_each_entry(pin, &jack->pins, list) { in snd_soc_jack_report() 130 INIT_LIST_HEAD(&zones[i].list); in snd_soc_jack_add_zones() 131 list_add(&(zones[i].list), &jack->jack_zones); in snd_soc_jack_add_zones() 151 list_for_each_entry(zone, &jack->jack_zones, list) { in snd_soc_jack_get_type() 188 INIT_LIST_HEAD(&pins[i].list); in snd_soc_jack_add_pins() 189 list_add(&(pins[i].list), &jack->pins); in snd_soc_jack_add_pins()
|
/sound/aoa/soundbus/i2sbus/ |
D | pcm.c | 101 list_for_each_entry(cii, &sdev->codec_list, list) { in i2sbus_pcm_open() 202 list_for_each_entry(cii, &sdev->codec_list, list) { in i2sbus_pcm_open() 210 &sdev->codec_list, list) { in i2sbus_pcm_open() 240 list_for_each_entry(cii, &i2sdev->sound.codec_list, list) { in i2sbus_pcm_close() 420 list_for_each_entry(cii, &i2sdev->sound.codec_list, list) { in i2sbus_pcm_prepare() 442 list_for_each_entry(cii, &i2sdev->sound.codec_list, list) { in i2sbus_pcm_prepare() 465 list_for_each_entry(cii, &i2sdev->sound.codec_list, list) { in i2sbus_pcm_prepare() 492 list_for_each_entry(cii, &i2sdev->sound.codec_list, list) in i2sbus_pcm_prepare() 522 list_for_each_entry(cii, &i2sdev->sound.codec_list, list) in i2sbus_pcm_prepare() 557 list_for_each_entry(cii, &i2sdev->sound.codec_list, list) in i2sbus_pcm_trigger() [all …]
|
/sound/aoa/core/ |
D | core.c | 68 list_add(&codec->list, &codec_list); in aoa_codec_register() 75 list_del(&codec->list); in aoa_codec_unregister() 108 list_for_each_entry(c, &codec_list, list) { in aoa_fabric_register() 123 list_for_each_entry(c, &codec_list, list) { in aoa_fabric_unregister()
|
/sound/pci/hda/ |
D | hda_auto_parser.c | 24 static int is_in_nid_list(hda_nid_t nid, const hda_nid_t *list) in is_in_nid_list() argument 26 for (; *list; list++) in is_in_nid_list() 27 if (*list == nid) in is_in_nid_list() 49 static void sort_pins_by_sequence(hda_nid_t *pins, struct auto_out_pin *list, in sort_pins_by_sequence() argument 53 sort(list, num_pins, sizeof(list[0]), compare_seq, NULL); in sort_pins_by_sequence() 55 pins[i] = list[i].pin; in sort_pins_by_sequence() 578 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, int nums) in find_idx_in_nid_list() argument 582 if (list[i] == nid) in find_idx_in_nid_list() 752 const struct hda_verb *list) in snd_hda_add_verbs() argument 758 *v = list; in snd_hda_add_verbs()
|
D | hda_jack.c | 64 struct hda_jack_tbl *jack = codec->jacktbl.list; in snd_hda_jack_tbl_get() 82 struct hda_jack_tbl *jack = codec->jacktbl.list; in snd_hda_jack_tbl_get_from_tag() 114 struct hda_jack_tbl *jack = codec->jacktbl.list; in snd_hda_jack_tbl_clear() 171 struct hda_jack_tbl *jack = codec->jacktbl.list; in snd_hda_jack_set_dirty_all() 297 jack = codec->jacktbl.list; in snd_hda_jack_report_sync() 305 jack = codec->jacktbl.list; in snd_hda_jack_report_sync() 407 jack = codec->jacktbl.list; in get_unique_index() 551 struct hda_jack_tbl *jack = codec->jacktbl.list; in snd_hda_jack_poll_all()
|
D | hda_codec.h | 38 void *list; member 52 return array->list + idx * array->elem_size; in snd_array_elem() 57 return (unsigned long)(ptr - array->list) / array->elem_size; in snd_array_index() 181 struct list_head list; member 277 struct list_head list; /* list point */ member 455 const hda_nid_t *list); 497 int snd_hda_add_pincfg(struct hda_codec *codec, struct snd_array *list,
|
/sound/firewire/ |
D | fcp.c | 191 struct list_head list; member 242 list_add_tail(&t.list, &transactions); in fcp_avc_transaction() 280 list_del(&t.list); in fcp_avc_transaction() 300 list_for_each_entry(t, &transactions, list) { in fcp_bus_reset() 346 list_for_each_entry(t, &transactions, list) { in fcp_response()
|
/sound/firewire/fireworks/ |
D | fireworks_transaction.c | 54 struct list_head list; member 87 list_add_tail(&t.list, &transaction_queues); in snd_efw_transaction_run() 112 list_del(&t.list); in snd_efw_transaction_run() 206 list_for_each_entry(t, &transaction_queues, list) { in handle_resp_for_kernel() 295 list_for_each_entry(t, &transaction_queues, list) { in snd_efw_transaction_bus_reset()
|