Lines Matching refs:bebob
8 #include "./bebob.h"
61 saffire_read_block(struct snd_bebob *bebob, u64 offset,
68 err = snd_fw_transaction(bebob->unit, TCODE_READ_BLOCK_REQUEST,
81 saffire_read_quad(struct snd_bebob *bebob, u64 offset, u32 *value)
86 err = snd_fw_transaction(bebob->unit, TCODE_READ_QUADLET_REQUEST,
98 saffire_write_quad(struct snd_bebob *bebob, u64 offset, u32 value)
102 return snd_fw_transaction(bebob->unit, TCODE_WRITE_QUADLET_REQUEST,
142 saffirepro_both_clk_freq_get(struct snd_bebob *bebob, unsigned int *rate)
147 err = saffire_read_quad(bebob, SAFFIREPRO_RATE_NOREBOOT, &id);
158 saffirepro_both_clk_freq_set(struct snd_bebob *bebob, unsigned int rate)
169 return saffire_write_quad(bebob, SAFFIREPRO_RATE_NOREBOOT, id);
177 saffirepro_both_clk_src_get(struct snd_bebob *bebob, unsigned int *id)
183 err = saffire_read_quad(bebob, SAFFIREPRO_OFFSET_CLOCK_SOURCE, &value);
188 if (bebob->spec->clock->types == saffirepro_10_clk_src_types)
211 saffire_both_clk_src_get(struct snd_bebob *bebob, unsigned int *id)
216 err = saffire_read_quad(bebob, SAFFIRE_OFFSET_CLOCK_SOURCE, &value);
232 saffire_meter_get(struct snd_bebob *bebob, u32 *buf, unsigned int size)
234 const struct snd_bebob_meter_spec *spec = bebob->spec->meter;
248 err = saffire_read_block(bebob, offset, buf, size);