/sound/pci/ctxfi/ |
D | ctimap.c | 21 struct list_head *pos, *pre, *head; in input_mapper_add() local 24 head = mappers; in input_mapper_add() 26 if (list_empty(head)) { in input_mapper_add() 29 list_add(&entry->list, head); in input_mapper_add() 33 list_for_each(pos, head) { in input_mapper_add() 41 if (pos != head) { in input_mapper_add() 43 if (pre == head) in input_mapper_add() 44 pre = head->prev; in input_mapper_add() 48 pre = head->prev; in input_mapper_add() 49 pos = head->next; in input_mapper_add() [all …]
|
/sound/isa/msnd/ |
D | msnd_midi.c | 108 u16 head, tail, size; in snd_msndmidi_input_read() local 111 head = readw(mpu->dev->MIDQ + JQS_wHead); in snd_msndmidi_input_read() 114 if (head > size || tail > size) in snd_msndmidi_input_read() 116 while (head != tail) { in snd_msndmidi_input_read() 117 unsigned char val = readw(pwMIDQData + 2 * head); in snd_msndmidi_input_read() 121 if (++head > size) in snd_msndmidi_input_read() 122 head = 0; in snd_msndmidi_input_read() 123 writew(head, mpu->dev->MIDQ + JQS_wHead); in snd_msndmidi_input_read()
|
D | msnd_pinnacle.c | 159 u16 head, tail, size; in snd_msnd_interrupt() local 165 head = readw(chip->DSPQ + JQS_wHead); in snd_msnd_interrupt() 168 if (head > size || tail > size) in snd_msnd_interrupt() 170 while (head != tail) { in snd_msnd_interrupt() 171 snd_msnd_eval_dsp_msg(chip, readw(pwDSPQData + 2 * head)); in snd_msnd_interrupt() 172 if (++head > size) in snd_msnd_interrupt() 173 head = 0; in snd_msnd_interrupt() 174 writew(head, chip->DSPQ + JQS_wHead); in snd_msnd_interrupt()
|
/sound/core/seq/ |
D | seq_prioq.c | 51 f->head = NULL; in snd_seq_prioq_new() 165 cur = f->head; /* cursor */ in snd_seq_prioq_cell_in() 193 if (f->head == cur) /* this is the first cell, set head to it */ in snd_seq_prioq_cell_in() 194 f->head = cell; in snd_seq_prioq_cell_in() 224 cell = f->head; in snd_seq_prioq_cell_out() 228 f->head = cell->next; in snd_seq_prioq_cell_out() 284 cell = f->head; in snd_seq_prioq_leave() 289 if (cell == f->head) { in snd_seq_prioq_leave() 290 f->head = cell->next; in snd_seq_prioq_leave() 394 cell = f->head; in snd_seq_prioq_remove_events() [all …]
|
D | seq_fifo.c | 42 f->head = NULL; in snd_seq_fifo_new() 125 if (f->head == NULL) in snd_seq_fifo_event_in() 126 f->head = cell; in snd_seq_fifo_event_in() 146 cell = f->head; in fifo_cell_out() 148 f->head = cell->next; in fifo_cell_out() 206 cell->next = f->head; in snd_seq_fifo_cell_putback() 207 f->head = cell; in snd_seq_fifo_cell_putback() 245 oldhead = f->head; in snd_seq_fifo_resize() 248 f->head = NULL; in snd_seq_fifo_resize()
|
/sound/core/seq/oss/ |
D | seq_oss_readq.c | 49 q->head = q->tail = 0; in snd_seq_oss_readq_new() 78 q->head = q->tail = 0; in snd_seq_oss_readq_clear() 173 memcpy(rec, &q->q[q->head], sizeof(*rec)); in snd_seq_oss_readq_pick() 184 (q->qlen > 0 || q->head == q->tail), in snd_seq_oss_readq_wait() 196 q->head = (q->head + 1) % q->maxlen; in snd_seq_oss_readq_free()
|
/sound/usb/ |
D | mixer_us16x08.c | 196 struct snd_usb_audio *chip = elem->head.mixer->chip; in snd_us16x08_route_put() 264 struct snd_usb_audio *chip = elem->head.mixer->chip; in snd_us16x08_master_put() 281 buf[6] = elem->head.id; in snd_us16x08_master_put() 301 struct snd_usb_audio *chip = elem->head.mixer->chip; in snd_us16x08_bus_put() 308 switch (elem->head.id) { in snd_us16x08_bus_put() 322 buf[6] = elem->head.id; in snd_us16x08_bus_put() 343 switch (elem->head.id) { in snd_us16x08_bus_get() 374 struct snd_usb_audio *chip = elem->head.mixer->chip; in snd_us16x08_channel_put() 391 buf[6] = elem->head.id; in snd_us16x08_channel_put() 423 int val_idx = COMP_STORE_IDX(elem->head.id); in snd_us16x08_comp_get() [all …]
|
D | mixer.c | 130 ((cval)->head.mixer->ignore_ctl_error ? 0 : (err)) 309 struct snd_usb_audio *chip = cval->head.mixer->chip; in get_ctl_value_v1() 320 idx = mixer_ctrl_intf(cval->head.mixer) | (cval->head.id << 8); in get_ctl_value_v1() 345 struct snd_usb_audio *chip = cval->head.mixer->chip; in get_ctl_value_v2() 368 idx = mixer_ctrl_intf(cval->head.mixer) | (cval->head.id << 8); in get_ctl_value_v2() 412 return (cval->head.mixer->protocol == UAC_VERSION_1) ? in get_ctl_value() 443 if (!cval->head.mixer->ignore_ctl_error) in snd_usb_get_cur_mix_value() 444 usb_audio_dbg(cval->head.mixer->chip, in snd_usb_get_cur_mix_value() 461 struct snd_usb_audio *chip = cval->head.mixer->chip; in snd_usb_mixer_set_ctl_value() 468 if (cval->head.mixer->protocol == UAC_VERSION_1) { in snd_usb_mixer_set_ctl_value() [all …]
|
D | mixer_scarlett_gen2.c | 1624 elem->head.mixer = mixer; in scarlett2_add_new_ctl() 1626 elem->head.id = 0; in scarlett2_add_new_ctl() 1639 err = snd_usb_mixer_add_control(&elem->head, kctl); in scarlett2_add_new_ctl() 1675 struct usb_mixer_interface *mixer = elem->head.mixer; in scarlett2_sync_ctl_get() 1771 struct usb_mixer_interface *mixer = elem->head.mixer; in scarlett2_master_volume_ctl_get() 1809 struct usb_mixer_interface *mixer = elem->head.mixer; in scarlett2_volume_ctl_get() 1832 struct usb_mixer_interface *mixer = elem->head.mixer; in scarlett2_volume_ctl_put() 1889 struct usb_mixer_interface *mixer = elem->head.mixer; in scarlett2_mute_ctl_get() 1912 struct usb_mixer_interface *mixer = elem->head.mixer; in scarlett2_mute_ctl_put() 1974 struct scarlett2_data *private = elem->head.mixer->private_data; in scarlett2_sw_hw_enum_ctl_get() [all …]
|
D | mixer.h | 79 container_of(list, struct usb_mixer_elem_info, head) 82 struct usb_mixer_elem_list head; member
|
D | mixer_scarlett.c | 460 struct snd_usb_audio *chip = elem->head.mixer->chip; in scarlett_ctl_meter_get() 463 int idx = snd_usb_ctrl_intf(chip) | (elem->head.id << 8); in scarlett_ctl_meter_get() 553 elem->head.mixer = mixer; in add_new_ctl() 554 elem->head.resume = resume; in add_new_ctl() 557 elem->head.id = index; in add_new_ctl() 574 err = snd_usb_mixer_add_control(&elem->head, kctl); in add_new_ctl()
|
/sound/soc/codecs/ |
D | hdac_hdmi.c | 56 struct list_head head; member 76 struct list_head head; member 85 struct list_head head; member 99 struct list_head head; member 149 list_for_each_entry(pcm, &hdmi->pcm_list, head) { in hdac_hdmi_get_pcm_from_cvt() 287 list_for_each_entry(pcm, &hdmi->pcm_list, head) { in get_hdmi_pcm_from_id() 529 list_for_each_entry(pcm, &hdmi->pcm_list, head) { in hdac_hdmi_get_port_from_cvt() 534 list_for_each_entry(port, &pcm->port_list, head) { in hdac_hdmi_get_port_from_cvt() 566 list_for_each_entry(cvt, &hdmi->cvt_list, head) { in hdac_hdmi_verify_connect_sel_all_pins() 719 list_for_each_entry(pcm, &hdmi->pcm_list, head) { in hdac_hdmi_get_pcm() [all …]
|
D | sigmadsp.c | 30 struct list_head head; member 42 struct list_head head; member 252 list_add_tail(&ctrl->head, &sigmadsp->ctrl_list); in sigma_fw_load_control() 283 list_add_tail(&data->head, &sigmadsp->data_list); in sigma_fw_load_data() 425 list_add_tail(&data->head, &sigmadsp->data_list); in process_sigma_action() 472 list_for_each_entry_safe(ctrl, _ctrl, &sigmadsp->ctrl_list, head) { in sigmadsp_firmware_release() 477 list_for_each_entry_safe(data, _data, &sigmadsp->data_list, head) in sigmadsp_firmware_release() 729 list_for_each_entry(ctrl, &sigmadsp->ctrl_list, head) { in sigmadsp_attach() 764 list_for_each_entry(data, &sigmadsp->data_list, head) { in sigmadsp_setup() 774 list_for_each_entry(ctrl, &sigmadsp->ctrl_list, head) in sigmadsp_setup() [all …]
|
/sound/soc/intel/boards/ |
D | sof_sdw_hdmi.c | 19 struct list_head head; member 38 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in sof_sdw_hdmi_init() 57 head); in sof_sdw_hdmi_card_late_probe()
|
D | skl_hda_dsp_common.h | 24 struct list_head head; member 58 head); in skl_hda_hdmi_build_controls()
|
D | ehl_rt5660.c | 69 struct list_head head; member 88 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in hdmi_init() 104 pcm = list_first_entry(&ctx->hdmi_pcm_list, struct sof_hdmi_pcm, head); in card_late_probe()
|
D | skl_nau88l25_max98357a.c | 30 struct list_head head; member 195 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in skylake_hdmi1_init() 213 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in skylake_hdmi2_init() 231 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in skylake_hdmi3_init() 607 list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { in skylake_card_late_probe()
|
D | skl_hda_dsp_common.c | 39 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in skl_hda_hdmi_add_pcm() 148 list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { in skl_hda_hdmi_jack_init()
|
D | skl_nau88l25_ssm4567.c | 34 struct list_head head; member 214 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in skylake_hdmi1_init() 232 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in skylake_hdmi2_init() 251 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in skylake_hdmi3_init() 648 list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { in skylake_card_late_probe()
|
D | cml_rt1011_rt5682.c | 65 struct list_head head; member 331 head); in sof_card_late_probe() 336 list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { in sof_card_late_probe() 370 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in hdmi_init()
|
D | bxt_rt298.c | 28 struct list_head head; member 199 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in broxton_hdmi_init() 537 head); in bxt_card_late_probe() 542 list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { in bxt_card_late_probe()
|
D | glk_rt5682_max98357a.c | 37 struct list_head head; member 221 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in geminilake_hdmi_init() 546 head); in glk_card_late_probe() 551 list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { in glk_card_late_probe()
|
D | sof_da7219_max98373.c | 25 struct list_head head; member 237 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in hdmi_init() 250 head); in card_late_probe()
|
/sound/usb/usx2y/ |
D | usx2yhwdeppcm.c | 55 int head; in usx2y_usbpcm_urb_capt_retire() local 58 head = usx2y->hwdep_pcm_shm->captured_iso_head + 1; in usx2y_usbpcm_urb_capt_retire() 59 if (head >= ARRAY_SIZE(usx2y->hwdep_pcm_shm->captured_iso)) in usx2y_usbpcm_urb_capt_retire() 60 head = 0; in usx2y_usbpcm_urb_capt_retire() 61 usx2y->hwdep_pcm_shm->capture_iso_start = head; in usx2y_usbpcm_urb_capt_retire() 62 snd_printdd("cap start %i\n", head); in usx2y_usbpcm_urb_capt_retire() 145 int pack, head; in usx2y_usbpcm_urb_capt_iso_advance() local 151 head = shm->captured_iso_head + 1; in usx2y_usbpcm_urb_capt_iso_advance() 152 if (head >= ARRAY_SIZE(shm->captured_iso)) in usx2y_usbpcm_urb_capt_iso_advance() 153 head = 0; in usx2y_usbpcm_urb_capt_iso_advance() [all …]
|
/sound/soc/sof/ |
D | loader.c | 250 const struct sof_ext_man_header *head; in snd_sof_ext_man_size() local 252 head = (struct sof_ext_man_header *)fw->data; in snd_sof_ext_man_size() 259 if (fw->size < sizeof(*head)) in snd_sof_ext_man_size() 266 if (head->magic == SOF_EXT_MAN_MAGIC_NUMBER) in snd_sof_ext_man_size() 267 return head->full_size; in snd_sof_ext_man_size() 278 const struct sof_ext_man_header *head; in snd_sof_fw_ext_man_parse() local 284 head = (struct sof_ext_man_header *)fw->data; in snd_sof_fw_ext_man_parse() 285 remaining = head->full_size - head->header_size; in snd_sof_fw_ext_man_parse() 294 head->header_version)) { in snd_sof_fw_ext_man_parse() 296 head->header_version, SOF_EXT_MAN_VERSION); in snd_sof_fw_ext_man_parse() [all …]
|