Lines Matching refs:id
145 u32 id; in saffirepro_both_clk_freq_get() local
148 err = saffire_read_quad(bebob, SAFFIREPRO_RATE_NOREBOOT, &id); in saffirepro_both_clk_freq_get()
151 if (id >= ARRAY_SIZE(rates)) in saffirepro_both_clk_freq_get()
154 *rate = rates[id]; in saffirepro_both_clk_freq_get()
161 u32 id; in saffirepro_both_clk_freq_set() local
163 for (id = 0; id < ARRAY_SIZE(rates); id++) { in saffirepro_both_clk_freq_set()
164 if (rates[id] == rate) in saffirepro_both_clk_freq_set()
167 if (id == ARRAY_SIZE(rates)) in saffirepro_both_clk_freq_set()
170 return saffire_write_quad(bebob, SAFFIREPRO_RATE_NOREBOOT, id); in saffirepro_both_clk_freq_set()
178 saffirepro_both_clk_src_get(struct snd_bebob *bebob, unsigned int *id) in saffirepro_both_clk_src_get() argument
201 *id = (unsigned int)map[value]; in saffirepro_both_clk_src_get()
212 saffire_both_clk_src_get(struct snd_bebob *bebob, unsigned int *id) in saffire_both_clk_src_get() argument
219 *id = 0xff & value; in saffire_both_clk_src_get()