Lines Matching refs:regs
173 u8 regs[FC11_NR_REGS] = { }; in fc0011_set_params() local
175 regs[FC11_REG_7] = 0x0F; in fc0011_set_params()
176 regs[FC11_REG_8] = 0x3E; in fc0011_set_params()
177 regs[FC11_REG_10] = 0xB8; in fc0011_set_params()
178 regs[FC11_REG_11] = 0x80; in fc0011_set_params()
179 regs[FC11_REG_RCCAL] = 0x04; in fc0011_set_params()
180 err = fc0011_writereg(priv, FC11_REG_7, regs[FC11_REG_7]); in fc0011_set_params()
181 err |= fc0011_writereg(priv, FC11_REG_8, regs[FC11_REG_8]); in fc0011_set_params()
182 err |= fc0011_writereg(priv, FC11_REG_10, regs[FC11_REG_10]); in fc0011_set_params()
183 err |= fc0011_writereg(priv, FC11_REG_11, regs[FC11_REG_11]); in fc0011_set_params()
184 err |= fc0011_writereg(priv, FC11_REG_RCCAL, regs[FC11_REG_RCCAL]); in fc0011_set_params()
191 regs[FC11_REG_VCO] = 0x82; in fc0011_set_params()
194 regs[FC11_REG_VCO] = 0x42; in fc0011_set_params()
197 regs[FC11_REG_VCO] = 0x22; in fc0011_set_params()
200 regs[FC11_REG_VCO] = 0x12; in fc0011_set_params()
203 regs[FC11_REG_VCO] = 0x0A; in fc0011_set_params()
217 regs[FC11_REG_XINHI] = xin >> 8; in fc0011_set_params()
218 regs[FC11_REG_XINLO] = xin; in fc0011_set_params()
239 regs[FC11_REG_FA] = fa; in fc0011_set_params()
240 regs[FC11_REG_FP] = fp; in fc0011_set_params()
247 regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_BW7M; in fc0011_set_params()
255 regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_BW6M; in fc0011_set_params()
262 regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2); in fc0011_set_params()
265 regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2); in fc0011_set_params()
266 regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_1; in fc0011_set_params()
269 regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2); in fc0011_set_params()
270 regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_2; in fc0011_set_params()
275 regs[FC11_REG_FA] = 0x6; in fc0011_set_params()
276 regs[FC11_REG_FP] = 0x11; in fc0011_set_params()
280 regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_CLKOUT; in fc0011_set_params()
284 err = fc0011_writereg(priv, i, regs[i]); in fc0011_set_params()
308 err |= fc0011_writereg(priv, i, regs[i]); in fc0011_set_params()
309 err |= fc0011_writereg(priv, FC11_REG_7, regs[FC11_REG_7]); in fc0011_set_params()
310 err |= fc0011_writereg(priv, FC11_REG_8, regs[FC11_REG_8]); in fc0011_set_params()
311 err |= fc0011_writereg(priv, FC11_REG_10, regs[FC11_REG_10]); in fc0011_set_params()
312 err |= fc0011_writereg(priv, FC11_REG_11, regs[FC11_REG_11]); in fc0011_set_params()
313 err |= fc0011_writereg(priv, FC11_REG_RCCAL, regs[FC11_REG_RCCAL]); in fc0011_set_params()
339 regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2); in fc0011_set_params()
340 regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_1; in fc0011_set_params()
342 regs[FC11_REG_VCOSEL]); in fc0011_set_params()
349 regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2); in fc0011_set_params()
351 regs[FC11_REG_VCOSEL]); in fc0011_set_params()
358 regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2); in fc0011_set_params()
359 regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_2; in fc0011_set_params()
361 regs[FC11_REG_VCOSEL]); in fc0011_set_params()
368 regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2); in fc0011_set_params()
369 regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_1; in fc0011_set_params()
371 regs[FC11_REG_VCOSEL]); in fc0011_set_params()
375 regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2); in fc0011_set_params()
377 regs[FC11_REG_VCOSEL]); in fc0011_set_params()
387 regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2); in fc0011_set_params()
388 regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_1; in fc0011_set_params()
390 regs[FC11_REG_VCOSEL]); in fc0011_set_params()
397 regs[FC11_REG_VCOSEL] &= ~(FC11_VCOSEL_1 | FC11_VCOSEL_2); in fc0011_set_params()
398 regs[FC11_REG_VCOSEL] |= FC11_VCOSEL_2; in fc0011_set_params()
400 regs[FC11_REG_VCOSEL]); in fc0011_set_params()
411 err = fc0011_readreg(priv, FC11_REG_RCCAL, ®s[FC11_REG_RCCAL]); in fc0011_set_params()
414 regs[FC11_REG_RCCAL] |= FC11_RCCAL_FORCE; in fc0011_set_params()
415 err = fc0011_writereg(priv, FC11_REG_RCCAL, regs[FC11_REG_RCCAL]); in fc0011_set_params()
418 regs[FC11_REG_16] = 0xB; in fc0011_set_params()
419 err = fc0011_writereg(priv, FC11_REG_16, regs[FC11_REG_16]); in fc0011_set_params()
424 (unsigned int)regs[FC11_REG_FA], in fc0011_set_params()
425 (unsigned int)regs[FC11_REG_FP], in fc0011_set_params()
426 (unsigned int)regs[FC11_REG_XINHI], in fc0011_set_params()
427 (unsigned int)regs[FC11_REG_XINLO], in fc0011_set_params()
428 (unsigned int)regs[FC11_REG_VCO], in fc0011_set_params()
429 (unsigned int)regs[FC11_REG_VCOSEL], in fc0011_set_params()