/sound/core/seq/ |
D | seq_fifo.c | 20 struct snd_seq_fifo *f; in snd_seq_fifo_new() local 22 f = kzalloc(sizeof(*f), GFP_KERNEL); in snd_seq_fifo_new() 23 if (!f) in snd_seq_fifo_new() 26 f->pool = snd_seq_pool_new(poolsize); in snd_seq_fifo_new() 27 if (f->pool == NULL) { in snd_seq_fifo_new() 28 kfree(f); in snd_seq_fifo_new() 31 if (snd_seq_pool_init(f->pool) < 0) { in snd_seq_fifo_new() 32 snd_seq_pool_delete(&f->pool); in snd_seq_fifo_new() 33 kfree(f); in snd_seq_fifo_new() 37 spin_lock_init(&f->lock); in snd_seq_fifo_new() [all …]
|
D | seq_prioq.c | 44 struct snd_seq_prioq *f; in snd_seq_prioq_new() local 46 f = kzalloc(sizeof(*f), GFP_KERNEL); in snd_seq_prioq_new() 47 if (!f) in snd_seq_prioq_new() 50 spin_lock_init(&f->lock); in snd_seq_prioq_new() 51 f->head = NULL; in snd_seq_prioq_new() 52 f->tail = NULL; in snd_seq_prioq_new() 53 f->cells = 0; in snd_seq_prioq_new() 55 return f; in snd_seq_prioq_new() 61 struct snd_seq_prioq *f = *fifo; in snd_seq_prioq_delete() local 64 if (f == NULL) { in snd_seq_prioq_delete() [all …]
|
D | seq_fifo.h | 31 void snd_seq_fifo_delete(struct snd_seq_fifo **f); 35 int snd_seq_fifo_event_in(struct snd_seq_fifo *f, struct snd_seq_event *event); 42 int snd_seq_fifo_cell_out(struct snd_seq_fifo *f, struct snd_seq_event_cell **cellp, int nonblock); 45 void snd_seq_fifo_cell_putback(struct snd_seq_fifo *f, struct snd_seq_event_cell *cell); 48 void snd_seq_fifo_clear(struct snd_seq_fifo *f); 51 int snd_seq_fifo_poll_wait(struct snd_seq_fifo *f, struct file *file, poll_table *wait); 54 int snd_seq_fifo_resize(struct snd_seq_fifo *f, int poolsize); 57 int snd_seq_fifo_unused_cells(struct snd_seq_fifo *f);
|
D | seq_prioq.h | 29 int snd_seq_prioq_cell_in(struct snd_seq_prioq *f, struct snd_seq_event_cell *cell); 32 struct snd_seq_event_cell *snd_seq_prioq_cell_out(struct snd_seq_prioq *f, 36 int snd_seq_prioq_avail(struct snd_seq_prioq *f); 39 void snd_seq_prioq_leave(struct snd_seq_prioq *f, int client, int timestamp); 42 void snd_seq_prioq_remove_events(struct snd_seq_prioq *f, int client,
|
/sound/firewire/ |
D | amdtp-am824.c | 300 unsigned int f, port; in write_midi_messages() local 303 for (f = 0; f < frames; f++) { in write_midi_messages() 306 port = (data_block_counter + f) % 8; in write_midi_messages() 307 if (f < MAX_MIDI_RX_BLOCKS && in write_midi_messages() 330 int f; in read_midi_messages() local 332 for (f = 0; f < frames; f++) { in read_midi_messages() 333 unsigned int port = f; in read_midi_messages()
|
/sound/firewire/digi00x/ |
D | amdtp-dot.c | 252 unsigned int f, port; in write_midi_messages() local 256 for (f = 0; f < data_blocks; f++) { in write_midi_messages() 257 port = (data_block_counter + f) % 8; in write_midi_messages() 296 unsigned int f, port, len; in read_midi_messages() local 299 for (f = 0; f < data_blocks; f++) { in read_midi_messages()
|
/sound/usb/ |
D | endpoint.c | 1081 unsigned int f; in snd_usb_handle_sync_urb() local 1163 f = le32_to_cpup(urb->transfer_buffer); in snd_usb_handle_sync_urb() 1165 f &= 0x00ffffff; in snd_usb_handle_sync_urb() 1167 f &= 0x0fffffff; in snd_usb_handle_sync_urb() 1169 if (f == 0) in snd_usb_handle_sync_urb() 1178 if (f < ep->freqn - 0x8000) in snd_usb_handle_sync_urb() 1179 f += 0xf000; in snd_usb_handle_sync_urb() 1180 else if (f > ep->freqn + 0x8000) in snd_usb_handle_sync_urb() 1181 f -= 0xf000; in snd_usb_handle_sync_urb() 1190 while (f < ep->freqn - ep->freqn / 4) { in snd_usb_handle_sync_urb() [all …]
|
D | mixer.c | 2867 struct uac3_badd_profile *f, in uac3_badd_func_has_valid_channels() argument 2874 if (f->c_chmask < 0 && f->p_chmask < 0) { in uac3_badd_func_has_valid_channels() 2877 f->name); in uac3_badd_func_has_valid_channels() 2883 if ((f->c_chmask < 0 && !c_chmask) || in uac3_badd_func_has_valid_channels() 2884 (f->c_chmask >= 0 && f->c_chmask != c_chmask)) { in uac3_badd_func_has_valid_channels() 2886 f->name); in uac3_badd_func_has_valid_channels() 2889 if ((f->p_chmask < 0 && !p_chmask) || in uac3_badd_func_has_valid_channels() 2890 (f->p_chmask >= 0 && f->p_chmask != p_chmask)) { in uac3_badd_func_has_valid_channels() 2892 f->name); in uac3_badd_func_has_valid_channels() 2911 struct uac3_badd_profile *f; in snd_usb_mixer_controls_badd() local [all …]
|
D | validate.c | 234 #define FUNC(p, t, f) { .protocol = (p), .type = (t), .func = (f) } argument
|
/sound/core/ |
D | compress_offload.c | 77 static int snd_compr_open(struct inode *inode, struct file *f) in snd_compr_open() argument 86 if ((f->f_flags & O_ACCMODE) == O_WRONLY) in snd_compr_open() 88 else if ((f->f_flags & O_ACCMODE) == O_RDONLY) in snd_compr_open() 131 f->private_data = (void *)data; in snd_compr_open() 143 static int snd_compr_free(struct inode *inode, struct file *f) in snd_compr_free() argument 145 struct snd_compr_file *data = f->private_data; in snd_compr_free() 281 static ssize_t snd_compr_write(struct file *f, const char __user *buf, in snd_compr_write() argument 284 struct snd_compr_file *data = f->private_data; in snd_compr_write() 332 static ssize_t snd_compr_read(struct file *f, char __user *buf, in snd_compr_read() argument 335 struct snd_compr_file *data = f->private_data; in snd_compr_read() [all …]
|
D | pcm_native.c | 1988 struct fd f = fdget(fd); in snd_pcm_link() local 1990 if (!f.file) in snd_pcm_link() 1992 if (!is_pcm_file(f.file)) { in snd_pcm_link() 1996 pcm_file = f.file->private_data; in snd_pcm_link() 2036 fdput(f); in snd_pcm_link()
|
/sound/ppc/ |
D | beep.c | 95 int i, j, f; in snd_pmac_beep_event() local 139 f = ncycles * 65536 / nsamples; in snd_pmac_beep_event() 144 j = (j + f) & 0xffff; in snd_pmac_beep_event()
|
/sound/pci/riptide/ |
D | riptide.c | 244 #define SEND_SETF(p,b,c,d,e,f,g) sendcmd(p,PARM,SETF|WORD1(b)|BYTE3(c),d|BYTE1(e)|BYTE2(f)|BYTE3(… argument 251 #define SEND_LSEL(p,b,c,d,e,f,g,h) sendcmd(p,PARM,LSEL|BYTE1(b)|BYTE2(c)|BYTE3(d),BYTE0(e)|BYTE1(f)… argument 262 #define SEND_TXAC(p,b,c,d,e,f) sendcmd(p,PARM,TXAC|BYTE1(b)|WORD2(c),WORD0(d)|BYTE2(e)|BYTE3(f)… argument 1476 unsigned int i, j, size, pages, f, pt, period; in snd_riptide_prepare() local 1481 f = PAGE_SIZE; in snd_riptide_prepare() 1482 while ((size + (f >> 1) - 1) <= (f << 7) && (f << 1) > period) in snd_riptide_prepare() 1483 f = f >> 1; in snd_riptide_prepare() 1484 pages = DIV_ROUND_UP(size, f); in snd_riptide_prepare() 1489 size, pages, f, period); in snd_riptide_prepare() 1504 pt = (pt + f) % PAGE_SIZE; in snd_riptide_prepare() [all …]
|
/sound/pci/au88x0/ |
D | au88x0_core.c | 797 int empty, int valid, int f) in vortex_fifo_setadbctrl() 834 temp = (temp & 0xfffbffff) | ((f & 1) << 0x12); in vortex_fifo_setadbctrl() 837 temp = (temp & 0xf7ffffff) | ((f & 1) << 0x1b); in vortex_fifo_setadbctrl() 838 temp = (temp & 0xefffffff) | ((f & 1) << 0x1c); in vortex_fifo_setadbctrl() 841 temp = (temp & 0xfeffffff) | ((f & 1) << 0x18); in vortex_fifo_setadbctrl() 842 temp = (temp & 0xfdffffff) | ((f & 1) << 0x19); in vortex_fifo_setadbctrl() 848 temp = ((f & 1) << 0x12) | (temp & 0xfffbffef); in vortex_fifo_setadbctrl() 852 ((f & 1) << 0x1b) | (temp & 0xe7ffffef) | FIFO_BITS; in vortex_fifo_setadbctrl() 856 ((f & 1) << 0x18) | (temp & 0xfcffffef) | FIFO_BITS; in vortex_fifo_setadbctrl() 898 int empty, int valid, int f) in vortex_fifo_setwtctrl() [all …]
|
/sound/core/oss/ |
D | pcm_plugin.c | 328 snd_pcm_format_t f = preferred_formats[i]; in snd_pcm_plug_slave_format() local 330 if (!snd_mask_test(format_mask, (__force int)f)) in snd_pcm_plug_slave_format() 332 w = snd_pcm_format_width(f); in snd_pcm_plug_slave_format() 337 badness += snd_pcm_format_unsigned(f) != unsignd; in snd_pcm_plug_slave_format() 338 badness += snd_pcm_format_big_endian(f) != big; in snd_pcm_plug_slave_format() 340 best_format = f; in snd_pcm_plug_slave_format()
|
D | pcm_oss.c | 1840 int f = snd_pcm_oss_format_to((__force snd_pcm_format_t)fmt); in snd_pcm_oss_get_formats() local 1841 if (f >= 0) in snd_pcm_oss_get_formats() 1842 formats |= f; in snd_pcm_oss_get_formats()
|
/sound/soc/sh/rcar/ |
D | rsnd.h | 695 #define rsnd_flags_has(p, f) ((p)->flags & (f)) argument 696 #define rsnd_flags_set(p, f) ((p)->flags |= (f)) argument 697 #define rsnd_flags_del(p, f) ((p)->flags &= ~(f)) argument
|
/sound/pci/oxygen/ |
D | oxygen_regs.h | 147 #define OXYGEN_I2S_MCLK(f) (((f) & 3) << OXYGEN_I2S_MCLK_SHIFT) argument
|
D | xonar_wm87x6.c | 990 #define WM8776_FIELD_CTL_VOLUME(a, b, c, d, e, f, g, h, tlv_p) { \ argument 991 _WM8776_FIELD_CTL(a " Capture Volume", b, c, d, e, f, g, h), \
|
/sound/pci/asihpi/ |
D | hpi_internal.h | 346 #define HPI_ADAPTER_FAMILY_ASI(f) (f & HPI_ADAPTER_FAMILY_MASK) argument 347 #define HPI_MODULE_FAMILY_ASI(f) (f & HPI_MODULE_FAMILY_MASK) argument 348 #define HPI_ADAPTER_ASI(f) (f) argument
|
/sound/pci/echoaudio/ |
D | echoaudio.c | 111 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_capture_format_by_channels() local 120 return snd_mask_refine(f, &fmt); in hw_rule_capture_format_by_channels() 126 return snd_mask_refine(f, &fmt); in hw_rule_capture_format_by_channels() 139 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_capture_channels_by_format() local 145 if (f->bits[0] == SNDRV_PCM_FMTBIT_S32_BE) { in hw_rule_capture_channels_by_format() 156 if (f->bits[0] == SNDRV_PCM_FMTBIT_U8) { in hw_rule_capture_channels_by_format() 173 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_playback_format_by_channels() local 198 return snd_mask_refine(f, &fmt); in hw_rule_playback_format_by_channels() 208 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in hw_rule_playback_channels_by_format() local 214 fmask = f->bits[0] + ((u64)f->bits[1] << 32); in hw_rule_playback_channels_by_format()
|
/sound/soc/codecs/ |
D | wm8974.c | 421 unsigned int f; in wm8974_update_clocks() local 429 f = wm8974_get_mclkdiv(priv->mclk, fs256, &mclkdiv); in wm8974_update_clocks() 431 if (f != priv->mclk) { in wm8974_update_clocks()
|
D | tscs42xx.c | 952 #define PLL_CTL(f, rt, rd, r1b_l, r9, ra, rb, \ argument 955 .input_freq = f, \
|
/sound/soc/intel/atom/ |
D | sst-atom-controls.h | 318 dst.location_id.f = (loc_id)) 346 u16 f; /* full */ member
|
/sound/sparc/ |
D | dbri.c | 2015 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_hw_rule_format() local 2021 return snd_mask_refine(f, &fmt); in snd_hw_rule_format() 2031 struct snd_mask *f = hw_param_mask(params, SNDRV_PCM_HW_PARAM_FORMAT); in snd_hw_rule_channels() local 2035 if (!(f->bits[0] & SNDRV_PCM_FMTBIT_S16_BE)) { in snd_hw_rule_channels()
|