Lines Matching refs:regmap

35 		ret = regmap_write_bits(dev->regmap, R06_POWER2, 0x07, 0x00);  in tda18250_power_control()
38 ret = regmap_write_bits(dev->regmap, R25_REF, 0xc0, 0xc0); in tda18250_power_control()
44 ret = regmap_write_bits(dev->regmap, in tda18250_power_control()
48 ret = regmap_write_bits(dev->regmap, in tda18250_power_control()
52 ret = regmap_write_bits(dev->regmap, in tda18250_power_control()
57 ret = regmap_write_bits(dev->regmap, in tda18250_power_control()
61 ret = regmap_write_bits(dev->regmap, in tda18250_power_control()
65 ret = regmap_read(dev->regmap, in tda18250_power_control()
69 ret = regmap_write_bits(dev->regmap, in tda18250_power_control()
73 ret = regmap_write_bits(dev->regmap, in tda18250_power_control()
77 ret = regmap_write_bits(dev->regmap, in tda18250_power_control()
107 ret = regmap_read(dev->regmap, R08_IRQ1, &utmp); in tda18250_wait_for_irq()
197 ret = regmap_write(dev->regmap, init_regs[i][0], in tda18250_init()
204 ret = regmap_bulk_write(dev->regmap, R4D_XTALFLX1, in tda18250_init()
209 ret = regmap_write_bits(dev->regmap, R10_LT1, 0x80, in tda18250_init()
215 ret = regmap_write(dev->regmap, R0A_IRQ3, TDA18250_IRQ_HW_INIT); in tda18250_init()
220 ret = regmap_write(dev->regmap, R2A_MSM1, 0x70); in tda18250_init()
224 ret = regmap_write(dev->regmap, R2B_MSM2, 0x01); in tda18250_init()
233 ret = regmap_write(dev->regmap, R2A_MSM1, 0x02); in tda18250_init()
237 ret = regmap_write(dev->regmap, R2B_MSM2, 0x01); in tda18250_init()
249 ret = regmap_write_bits(dev->regmap, R0C_AGC11, 0x80, 0x00); in tda18250_init()
269 ret = regmap_write_bits(dev->regmap, R1F_RF_BPF, 0x87, 0x06); in tda18250_set_agc()
277 ret = regmap_write(dev->regmap, R5A_H3H5, utmp); in tda18250_set_agc()
300 ret = regmap_write_bits(dev->regmap, R0C_AGC11, 0x07, utmp); in tda18250_set_agc()
333 ret = regmap_write_bits(dev->regmap, R58_AGC2_UP1, 0x1f, utmp2+8); in tda18250_set_agc()
336 ret = regmap_write_bits(dev->regmap, R13_AGC22, 0x1f, utmp); in tda18250_set_agc()
339 ret = regmap_write_bits(dev->regmap, R14_AGC23, 0x1f, utmp2); in tda18250_set_agc()
353 ret = regmap_write_bits(dev->regmap, R16_AGC25, 0xf8, utmp); in tda18250_set_agc()
357 ret = regmap_write_bits(dev->regmap, R12_AGC21, 0x60, in tda18250_set_agc()
375 ret = regmap_write(dev->regmap, R17_AGC31, (utmp << 4) | utmp2); in tda18250_set_agc()
398 ret = regmap_write_bits(dev->regmap, R20_IR_MIX, 0x06, utmp); in tda18250_set_agc()
412 ret = regmap_write_bits(dev->regmap, R16_AGC25, 0x03, utmp); in tda18250_set_agc()
428 ret = regmap_write_bits(dev->regmap, R0F_AGC14, 0x3f, utmp); in tda18250_set_agc()
448 ret = regmap_read(dev->regmap, R34_MD1, &uval); in tda18250_pll_calc()
596 ret = regmap_write_bits(dev->regmap, delsys_params[REG][i], in tda18250_set_params()
605 ret = regmap_write(dev->regmap, R26_IF, utmp); in tda18250_set_params()
617 ret = regmap_write_bits(dev->regmap, R1A_AGCK, 0x03, 0x01); in tda18250_set_params()
621 ret = regmap_write_bits(dev->regmap, R14_AGC23, 0x40, 0x00); in tda18250_set_params()
629 ret = regmap_bulk_write(dev->regmap, R27_RF1, buf, 3); in tda18250_set_params()
633 ret = regmap_write(dev->regmap, R0A_IRQ3, TDA18250_IRQ_TUNE); in tda18250_set_params()
638 ret = regmap_write(dev->regmap, R2A_MSM1, 0x01); in tda18250_set_params()
642 ret = regmap_write(dev->regmap, R2B_MSM2, 0x01); in tda18250_set_params()
655 ret = regmap_write_bits(dev->regmap, R4F_XTALFLX3, 0xe0, in tda18250_set_params()
661 ret = regmap_write(dev->regmap, R0A_IRQ3, TDA18250_IRQ_TUNE); in tda18250_set_params()
665 ret = regmap_write_bits(dev->regmap, R46_CPUMP, 0x07, 0x00); in tda18250_set_params()
669 ret = regmap_write_bits(dev->regmap, R39_SD5, 0x03, 0x00); in tda18250_set_params()
674 ret = regmap_write(dev->regmap, R2A_MSM1, 0x01); /* tune */ in tda18250_set_params()
678 ret = regmap_write(dev->regmap, R2B_MSM2, 0x01); /* go */ in tda18250_set_params()
689 ret = regmap_write_bits(dev->regmap, R2B_MSM2, 0x04, 0x04); in tda18250_set_params()
696 ret = regmap_write_bits(dev->regmap, R1A_AGCK, 0x03, 0x03); in tda18250_set_params()
700 ret = regmap_write_bits(dev->regmap, R14_AGC23, 0x40, 0x40); in tda18250_set_params()
705 ret = regmap_write_bits(dev->regmap, R46_CPUMP, 0x07, buf[2]); in tda18250_set_params()
730 ret = regmap_write_bits(dev->regmap, R0C_AGC11, 0x80, 0x00); in tda18250_sleep()
810 dev->regmap = devm_regmap_init_i2c(client, &tda18250_regmap_config); in tda18250_probe()
811 if (IS_ERR(dev->regmap)) { in tda18250_probe()
812 ret = PTR_ERR(dev->regmap); in tda18250_probe()
817 regmap_bulk_read(dev->regmap, R00_ID1, &chip_id, 3); in tda18250_probe()