/sound/usb/ |
D | format.c | 45 struct audioformat *fp, in parse_audio_format_i_type() argument 51 switch (fp->protocol) { in parse_audio_format_i_type() 80 fp->iface, fp->altsetting); in parse_audio_format_i_type() 92 fp->iface, fp->altsetting, in parse_audio_format_i_type() 101 if (snd_usb_is_big_endian_format(chip, fp)) in parse_audio_format_i_type() 107 if (snd_usb_is_big_endian_format(chip, fp)) in parse_audio_format_i_type() 118 fp->iface, fp->altsetting, in parse_audio_format_i_type() 143 fp->iface, fp->altsetting, format); in parse_audio_format_i_type() 146 pcm_formats |= snd_usb_interface_dsd_format_quirks(chip, fp, sample_bytes); in parse_audio_format_i_type() 162 static int parse_audio_format_rates_v1(struct snd_usb_audio *chip, struct audioformat *fp, in parse_audio_format_rates_v1() argument [all …]
|
D | stream.c | 45 struct audioformat *fp, *n; in free_substream() local 49 list_for_each_entry_safe(fp, n, &subs->fmt_list, list) { in free_substream() 50 kfree(fp->rate_table); in free_substream() 51 kfree(fp->chmap); in free_substream() 52 kfree(fp); in free_substream() 84 struct audioformat *fp) in snd_usb_init_substream() argument 102 list_add_tail(&fp->list, &subs->fmt_list); in snd_usb_init_substream() 103 subs->formats |= fp->formats; in snd_usb_init_substream() 105 subs->fmt_type = fp->fmt_type; in snd_usb_init_substream() 106 subs->ep_num = fp->endpoint; in snd_usb_init_substream() [all …]
|
D | quirks.c | 146 struct audioformat *fp; in create_fixed_stream_quirk() local 152 fp = kmemdup(quirk->data, sizeof(*fp), GFP_KERNEL); in create_fixed_stream_quirk() 153 if (!fp) { in create_fixed_stream_quirk() 157 INIT_LIST_HEAD(&fp->list); in create_fixed_stream_quirk() 158 if (fp->nr_rates > MAX_NR_RATES) { in create_fixed_stream_quirk() 159 kfree(fp); in create_fixed_stream_quirk() 162 if (fp->nr_rates > 0) { in create_fixed_stream_quirk() 163 rate_table = kmemdup(fp->rate_table, in create_fixed_stream_quirk() 164 sizeof(int) * fp->nr_rates, GFP_KERNEL); in create_fixed_stream_quirk() 166 kfree(fp); in create_fixed_stream_quirk() [all …]
|
D | pcm.c | 98 struct audioformat *fp; in find_format() local 102 list_for_each_entry(fp, &subs->fmt_list, list) { in find_format() 103 if (!(fp->formats & pcm_format_to_bits(subs->pcm_format))) in find_format() 105 if (fp->channels != subs->channels) in find_format() 107 if (subs->cur_rate < fp->rate_min || in find_format() 108 subs->cur_rate > fp->rate_max) in find_format() 110 if (! (fp->rates & SNDRV_PCM_RATE_CONTINUOUS)) { in find_format() 112 for (i = 0; i < fp->nr_rates; i++) in find_format() 113 if (fp->rate_table[i] == subs->cur_rate) in find_format() 115 if (i >= fp->nr_rates) in find_format() [all …]
|
D | proc.c | 76 struct audioformat *fp; in proc_dump_substream_formats() local 81 list_for_each_entry(fp, &subs->fmt_list, list) { in proc_dump_substream_formats() 84 snd_iprintf(buffer, " Interface %d\n", fp->iface); in proc_dump_substream_formats() 85 snd_iprintf(buffer, " Altset %d\n", fp->altsetting); in proc_dump_substream_formats() 88 if (fp->formats & pcm_format_to_bits(fmt)) in proc_dump_substream_formats() 92 snd_iprintf(buffer, " Channels: %d\n", fp->channels); in proc_dump_substream_formats() 94 fp->endpoint & USB_ENDPOINT_NUMBER_MASK, in proc_dump_substream_formats() 95 fp->endpoint & USB_DIR_IN ? "IN" : "OUT", in proc_dump_substream_formats() 96 sync_types[(fp->ep_attr & USB_ENDPOINT_SYNCTYPE) >> 2]); in proc_dump_substream_formats() 97 if (fp->rates & SNDRV_PCM_RATE_CONTINUOUS) { in proc_dump_substream_formats() [all …]
|
D | quirks.h | 27 struct audioformat *fp); 40 struct audioformat *fp,
|
D | format.h | 5 struct audioformat *fp, unsigned int format,
|
D | stream.h | 9 struct audioformat *fp);
|
/sound/mips/ |
D | ad1843.c | 231 const struct ad1843_bitfield *fp; in ad1843_read_multi() local 236 fp = va_arg(ap, const struct ad1843_bitfield *); in ad1843_read_multi() 239 reg = fp->reg; in ad1843_read_multi() 243 mask = (1 << fp->nbits) - 1; in ad1843_read_multi() 244 *value = w >> fp->lo_bit & mask; in ad1843_read_multi() 264 const struct ad1843_bitfield *fp; in ad1843_write_multi() local 274 fp = va_arg(ap, const struct ad1843_bitfield *); in ad1843_write_multi() 277 reg = fp->reg; in ad1843_write_multi() 279 WARN_ON(reg != fp->reg); in ad1843_write_multi() 280 m = ((1 << fp->nbits) - 1) << fp->lo_bit; in ad1843_write_multi() [all …]
|
/sound/ |
D | sound_firmware.c | 10 static int do_mod_firmware_load(const char *fn, char **fp) in do_mod_firmware_load() argument 44 *fp = dp; in do_mod_firmware_load() 65 int mod_firmware_load(const char *fn, char **fp) in mod_firmware_load() argument 71 r = do_mod_firmware_load(fn, fp); in mod_firmware_load()
|
/sound/oss/ |
D | sound_firmware.h | 1 extern int mod_firmware_load(const char *fn, char **fp);
|
/sound/soc/omap/ |
D | ams-delta.c | 339 const unsigned char *cp, char *fp, int count) in cx81801_receive() argument 354 v253_ops.receive_buf(tty, cp, fp, count); in cx81801_receive() 368 v253_ops.receive_buf(tty, cp, fp, count); in cx81801_receive()
|
/sound/soc/fsl/ |
D | fsl_esai.c | 125 bool usefp, u32 fp) in fsl_esai_divisor_cal() argument 132 if (usefp && fp) in fsl_esai_divisor_cal() 151 fp = 1; in fsl_esai_divisor_cal() 178 fp = j; in fsl_esai_divisor_cal() 203 ESAI_xCCR_xFP_MASK, ESAI_xCCR_xFP(fp)); in fsl_esai_divisor_cal()
|
/sound/soc/codecs/ |
D | cx20442.c | 268 const unsigned char *cp, char *fp, int count) in v253_receive() argument
|