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