Home
last modified time | relevance | path

Searched refs:sfc (Results 1 – 14 of 14) sorted by relevance

/sound/soc/tegra/
A Dtegra210_sfc.c3099 if (sfc->srate_in == sfc->srate_out) in tegra210_sfc_write_coeff_ram()
3102 coeff_ram = coef_addr_table[sfc->srate_in][sfc->srate_out]; in tegra210_sfc_write_coeff_ram()
3106 sfc->srate_in, sfc->srate_out); in tegra210_sfc_write_coeff_ram()
3229 &sfc->srate_in); in tegra210_sfc_in_hw_params()
3239 regmap_write(sfc->regmap, TEGRA210_SFC_RX_FREQ, sfc->srate_in); in tegra210_sfc_in_hw_params()
3263 regmap_write(sfc->regmap, TEGRA210_SFC_TX_FREQ, sfc->srate_out); in tegra210_sfc_out_hw_params()
3584 struct tegra210_sfc *sfc; in tegra210_sfc_platform_probe() local
3588 sfc = devm_kzalloc(dev, sizeof(*sfc), GFP_KERNEL); in tegra210_sfc_platform_probe()
3589 if (!sfc) in tegra210_sfc_platform_probe()
3592 dev_set_drvdata(dev, sfc); in tegra210_sfc_platform_probe()
[all …]
A DMakefile18 snd-soc-tegra210-sfc-y := tegra210_sfc.o
38 obj-$(CONFIG_SND_SOC_TEGRA210_SFC) += snd-soc-tegra210-sfc.o
/sound/firewire/oxfw/
A Doxfw-command.c115 unsigned int sfc; in avc_general_inquiry_sig_fmt() local
119 for (sfc = 0; sfc < CIP_SFC_COUNT; sfc++) { in avc_general_inquiry_sig_fmt()
120 if (amdtp_rate_table[sfc] == rate) in avc_general_inquiry_sig_fmt()
123 if (sfc == CIP_SFC_COUNT) in avc_general_inquiry_sig_fmt()
138 buf[5] = 0x07 & sfc; /* FDF-hi. AM824, frequency */ in avc_general_inquiry_sig_fmt()
/sound/firewire/
A Dfcp.c32 unsigned int sfc; in avc_general_set_sig_fmt() local
38 for (sfc = 0; sfc < CIP_SFC_COUNT; sfc++) { in avc_general_set_sig_fmt()
39 if (amdtp_rate_table[sfc] == rate) { in avc_general_set_sig_fmt()
59 buf[5] = 0x07 & sfc; /* FDF-hi. AM824, frequency */ in avc_general_set_sig_fmt()
88 unsigned int sfc; in avc_general_get_sig_fmt() local
125 sfc = 0x07 & buf[5]; in avc_general_get_sig_fmt()
126 if (sfc >= CIP_SFC_COUNT) { in avc_general_get_sig_fmt()
131 *rate = amdtp_rate_table[sfc]; in avc_general_get_sig_fmt()
A Damdtp-stream.c289 unsigned int sfc; in amdtp_stream_set_parameters() local
291 for (sfc = 0; sfc < ARRAY_SIZE(amdtp_rate_table); ++sfc) { in amdtp_stream_set_parameters()
292 if (amdtp_rate_table[sfc] == rate) in amdtp_stream_set_parameters()
298 s->sfc = sfc; in amdtp_stream_set_parameters()
387 const enum cip_sfc sfc = s->sfc; in pool_ideal_nonblocking_data_blocks() local
394 if (!cip_sfc_is_base_44100(sfc)) { in pool_ideal_nonblocking_data_blocks()
408 if (sfc == CIP_SFC_44100) in pool_ideal_nonblocking_data_blocks()
414 if (++phase >= (80 >> (sfc >> 1))) in pool_ideal_nonblocking_data_blocks()
431 if (!cip_sfc_is_base_44100(sfc)) in calculate_syt_offset()
467 const enum cip_sfc sfc = s->sfc; in pool_ideal_syt_offsets() local
[all …]
A Damdtp-stream.h189 enum cip_sfc sfc; member
297 static inline bool cip_sfc_is_base_44100(enum cip_sfc sfc) in cip_sfc_is_base_44100() argument
299 return sfc & 1; in cip_sfc_is_base_44100()
A Damdtp-am824.c94 s->ctx_data.rx.fdf = AMDTP_FDF_AM824 | s->sfc; in amdtp_am824_set_parameters()
292 p->midi_fifo_used[port] += amdtp_rate_table[s->sfc]; in midi_rate_use_one_byte()
/sound/firewire/fireface/
A Dff-stream.c12 int snd_ff_stream_get_multiplier_mode(enum cip_sfc sfc, in snd_ff_stream_get_multiplier_mode() argument
25 if (sfc >= CIP_SFC_COUNT) in snd_ff_stream_get_multiplier_mode()
28 *mode = modes[sfc]; in snd_ff_stream_get_multiplier_mode()
A Dff.h147 int snd_ff_stream_get_multiplier_mode(enum cip_sfc sfc,
A Dff-pcm.c185 rate = amdtp_rate_table[ff->rx_stream.sfc]; in pcm_open()
/sound/firewire/motu/
A Dmotu-command-dsp-message-parser.c49 int snd_motu_command_dsp_message_parser_init(struct snd_motu *motu, enum cip_sfc sfc) in snd_motu_command_dsp_message_parser_init() argument
56 switch (sfc) { in snd_motu_command_dsp_message_parser_init()
A Dmotu.h293 int snd_motu_command_dsp_message_parser_init(struct snd_motu *motu, enum cip_sfc sfc);
A Dmotu-stream.c263 err = snd_motu_command_dsp_message_parser_init(motu, motu->tx_stream.sfc); in snd_motu_stream_start_duplex()
/sound/firewire/digi00x/
A Damdtp-dot.c130 s->ctx_data.rx.fdf = AMDTP_FDF_AM824 | s->sfc; in amdtp_dot_set_parameters()
245 p->midi_fifo_used[port] += amdtp_rate_table[s->sfc] * count; in midi_use_bytes()

Completed in 37 milliseconds