/sound/pci/ctxfi/ |
D | ctimap.c | 25 struct list_head *pos, *pre, *head; in input_mapper_add() local 28 head = mappers; in input_mapper_add() 30 if (list_empty(head)) { in input_mapper_add() 33 list_add(&entry->list, head); in input_mapper_add() 37 list_for_each(pos, head) { in input_mapper_add() 45 if (pos != head) { in input_mapper_add() 47 if (pre == head) in input_mapper_add() 48 pre = head->prev; in input_mapper_add() 52 pre = head->prev; in input_mapper_add() 53 pos = head->next; in input_mapper_add() [all …]
|
/sound/oss/ |
D | msnd.c | 105 f->head = 0; in msnd_fifo_alloc() 116 f->len = f->tail = f->head = 0; in msnd_fifo_make_empty() 127 if (f->head <= f->tail) { in msnd_fifo_write_io() 133 nwritten = f->head - f->tail; in msnd_fifo_write_io() 158 if (f->head <= f->tail) { in msnd_fifo_write() 164 nwritten = f->head - f->tail; in msnd_fifo_write() 189 if (f->tail <= f->head) { in msnd_fifo_read_io() 191 if (nread > f->n - f->head) in msnd_fifo_read_io() 192 nread = f->n - f->head; in msnd_fifo_read_io() 195 nread = f->tail - f->head; in msnd_fifo_read_io() [all …]
|
D | midibuf.c | 35 int len, head, tail; member 76 data = q->queue[q->head]; \ 77 q->len--; q->head = (q->head+1) % MAX_QUEUE_SIZE; \ 133 int c = midi_out_buf[dev]->queue[midi_out_buf[dev]->head]; in midi_poll() 140 midi_out_buf[dev]->head = (midi_out_buf[dev]->head + 1) % MAX_QUEUE_SIZE; in midi_poll() 189 midi_in_buf[dev]->len = midi_in_buf[dev]->head = midi_in_buf[dev]->tail = 0; in MIDIbuf_open() 201 midi_out_buf[dev]->len = midi_out_buf[dev]->head = midi_out_buf[dev]->tail = 0; in MIDIbuf_open()
|
D | msnd.h | 190 int head, tail; member
|
D | Kconfig | 486 Read the <file:Documentation/sound/oss/README.OSS> file and the head of
|
/sound/core/seq/ |
D | seq_prioq.c | 68 f->head = NULL; in snd_seq_prioq_new() 182 cur = f->head; /* cursor */ in snd_seq_prioq_cell_in() 210 if (f->head == cur) /* this is the first cell, set head to it */ in snd_seq_prioq_cell_in() 211 f->head = cell; in snd_seq_prioq_cell_in() 231 cell = f->head; in snd_seq_prioq_cell_out() 233 f->head = cell->next; in snd_seq_prioq_cell_out() 265 return f->head; in snd_seq_prioq_cell_peek() 301 cell = f->head; in snd_seq_prioq_leave() 306 if (cell == f->head) { in snd_seq_prioq_leave() 307 f->head = cell->next; in snd_seq_prioq_leave() [all …]
|
D | seq_fifo.c | 57 f->head = NULL; in snd_seq_fifo_new() 138 if (f->head == NULL) in snd_seq_fifo_event_in() 139 f->head = cell; in snd_seq_fifo_event_in() 158 if ((cell = f->head) != NULL) { in fifo_cell_out() 159 f->head = cell->next; in fifo_cell_out() 217 cell->next = f->head; in snd_seq_fifo_cell_putback() 218 f->head = cell; in snd_seq_fifo_cell_putback() 255 oldhead = f->head; in snd_seq_fifo_resize() 258 f->head = NULL; in snd_seq_fifo_resize()
|
D | seq_device.c | 434 struct list_head *head; in remove_drivers() local 437 head = opslist.next; in remove_drivers() 438 while (head != &opslist) { in remove_drivers() 439 struct ops_list *ops = list_entry(head, struct ops_list, list); in remove_drivers() 442 head = head->next; in remove_drivers() 447 head = head->next; in remove_drivers()
|
D | seq_prioq.h | 30 struct snd_seq_event_cell *head; /* pointer to head of prioq */ member
|
D | seq_fifo.h | 32 struct snd_seq_event_cell *head; /* pointer to head of fifo */ member
|
/sound/core/seq/oss/ |
D | seq_oss_readq.c | 63 q->head = q->tail = 0; in snd_seq_oss_readq_new() 92 q->head = q->tail = 0; in snd_seq_oss_readq_clear() 160 memcpy(rec, &q->q[q->head], sizeof(*rec)); in snd_seq_oss_readq_pick() 171 (q->qlen > 0 || q->head == q->tail), in snd_seq_oss_readq_wait() 183 q->head = (q->head + 1) % q->maxlen; in snd_seq_oss_readq_free()
|
D | seq_oss_readq.h | 35 int head, tail; member
|
/sound/usb/usx2y/ |
D | usx2yhwdeppcm.c | 69 int head = usX2Y->hwdep_pcm_shm->captured_iso_head + 1; in usX2Y_usbpcm_urb_capt_retire() local 70 if (head >= ARRAY_SIZE(usX2Y->hwdep_pcm_shm->captured_iso)) in usX2Y_usbpcm_urb_capt_retire() 71 head = 0; in usX2Y_usbpcm_urb_capt_retire() 72 usX2Y->hwdep_pcm_shm->capture_iso_start = head; in usX2Y_usbpcm_urb_capt_retire() 73 snd_printdd("cap start %i\n", head); in usX2Y_usbpcm_urb_capt_retire() 157 int head = shm->captured_iso_head + 1; in usX2Y_usbpcm_urb_capt_iso_advance() local 158 if (head >= ARRAY_SIZE(shm->captured_iso)) in usX2Y_usbpcm_urb_capt_iso_advance() 159 head = 0; in usX2Y_usbpcm_urb_capt_iso_advance() 160 shm->captured_iso[head].frame = urb->start_frame + pack; in usX2Y_usbpcm_urb_capt_iso_advance() 161 shm->captured_iso[head].offset = desc->offset; in usX2Y_usbpcm_urb_capt_iso_advance() [all …]
|
/sound/usb/ |
D | endpoint.h | 24 void snd_usb_endpoint_free(struct list_head *head);
|
D | card.c | 120 static void snd_usb_stream_disconnect(struct list_head *head) in snd_usb_stream_disconnect() argument 126 as = list_entry(head, struct snd_usb_stream, list); in snd_usb_stream_disconnect()
|
D | endpoint.c | 964 void snd_usb_endpoint_free(struct list_head *head) in snd_usb_endpoint_free() argument 968 ep = list_entry(head, struct snd_usb_endpoint, list); in snd_usb_endpoint_free()
|
/sound/pci/echoaudio/ |
D | echoaudio_dsp.c | 1125 int head = pipe->sglist_head; in sglist_add_mapping() local 1128 if (head < MAX_SGLIST_ENTRIES - 1) { in sglist_add_mapping() 1129 list[head].addr = cpu_to_le32(address); in sglist_add_mapping() 1130 list[head].size = cpu_to_le32(length); in sglist_add_mapping()
|
/sound/pci/hda/ |
D | hda_codec.c | 1772 info->head.val |= INFO_AMP_CAPS; in write_caps_hash() 1793 if (!(info->head.val & INFO_AMP_CAPS)) { in query_caps_hash() 1910 if (!(info->head.val & INFO_AMP_VOL(ch))) { in update_amp_hash() 1925 info->head.val |= INFO_AMP_VOL(ch); in update_amp_hash() 2000 cache_only = info->head.dirty = codec->cached_write; in codec_amp_update() 2099 if (!buffer->head.dirty) in snd_hda_codec_resume_amp() 2101 buffer->head.dirty = 0; in snd_hda_codec_resume_amp() 2103 key = info.head.key; in snd_hda_codec_resume_amp() 2110 if (!(info.head.val & INFO_AMP_VOL(ch))) in snd_hda_codec_resume_amp() 3913 amp->head.dirty = 1; in hda_mark_cmd_cache_dirty()
|
D | hda_codec.h | 739 struct hda_cache_head head; member
|