/linux-4.19.296/drivers/media/tuners/ |
D | m88rs6000t.c | 117 ret = regmap_write(dev->regmap, 0x05, 0x40); in m88rs6000t_set_demod_mclk() 120 ret = regmap_write(dev->regmap, 0x11, 0x08); in m88rs6000t_set_demod_mclk() 123 ret = regmap_write(dev->regmap, 0x15, reg15); in m88rs6000t_set_demod_mclk() 126 ret = regmap_write(dev->regmap, 0x16, reg16); in m88rs6000t_set_demod_mclk() 129 ret = regmap_write(dev->regmap, 0x1D, reg1D); in m88rs6000t_set_demod_mclk() 132 ret = regmap_write(dev->regmap, 0x1E, reg1E); in m88rs6000t_set_demod_mclk() 135 ret = regmap_write(dev->regmap, 0x1F, reg1F); in m88rs6000t_set_demod_mclk() 138 ret = regmap_write(dev->regmap, 0x17, 0xc1); in m88rs6000t_set_demod_mclk() 141 ret = regmap_write(dev->regmap, 0x17, 0x81); in m88rs6000t_set_demod_mclk() 145 ret = regmap_write(dev->regmap, 0x05, 0x00); in m88rs6000t_set_demod_mclk() [all …]
|
D | e4000.c | 31 ret = regmap_write(dev->regmap, 0x00, 0x01); in e4000_init() 36 ret = regmap_write(dev->regmap, 0x06, 0x00); in e4000_init() 40 ret = regmap_write(dev->regmap, 0x7a, 0x96); in e4000_init() 49 ret = regmap_write(dev->regmap, 0x82, 0x00); in e4000_init() 53 ret = regmap_write(dev->regmap, 0x24, 0x05); in e4000_init() 66 ret = regmap_write(dev->regmap, 0x2d, 0x1f); in e4000_init() 75 ret = regmap_write(dev->regmap, 0x1a, 0x17); in e4000_init() 79 ret = regmap_write(dev->regmap, 0x1f, 0x1a); in e4000_init() 100 ret = regmap_write(dev->regmap, 0x00, 0x00); in e4000_sleep() 124 ret = regmap_write(dev->regmap, 0x1a, 0x00); in e4000_set_params() [all …]
|
D | it913x.c | 48 ret = regmap_write(dev->regmap, 0x80ec4c, 0x68); in it913x_init() 133 ret = regmap_write(dev->regmap, 0x80ed81, iqik_m_cal); in it913x_init() 137 ret = regmap_write(dev->regmap, 0x80ec57, 0x00); in it913x_init() 141 ret = regmap_write(dev->regmap, 0x80ec58, 0x00); in it913x_init() 145 ret = regmap_write(dev->regmap, 0x80ec40, 0x01); in it913x_init() 332 ret = regmap_write(dev->regmap, 0x80ee06, lna_band); in it913x_set_params() 345 ret = regmap_write(dev->regmap, 0x80ec56, u8tmp); in it913x_set_params() 350 ret = regmap_write(dev->regmap, 0x80ec4c, 0xa0 | (l_band << 3)); in it913x_set_params() 354 ret = regmap_write(dev->regmap, 0x80ec4d, (t_cal_freq >> 0) & 0xff); in it913x_set_params() 358 ret = regmap_write(dev->regmap, 0x80ec4e, (t_cal_freq >> 8) & 0xff); in it913x_set_params() [all …]
|
D | fc2580.c | 38 return regmap_write(dev->regmap, reg, val); in fc2580_wr_reg_ff() 112 ret = regmap_write(dev->regmap, 0x02, synth_config); in fc2580_set_params() 116 ret = regmap_write(dev->regmap, 0x18, div_ref_val << 0 | k_cw >> 16); in fc2580_set_params() 120 ret = regmap_write(dev->regmap, 0x1a, (k_cw >> 8) & 0xff); in fc2580_set_params() 124 ret = regmap_write(dev->regmap, 0x1b, (k_cw >> 0) & 0xff); in fc2580_set_params() 128 ret = regmap_write(dev->regmap, 0x1c, div_n); in fc2580_set_params() 248 ret = regmap_write(dev->regmap, 0x36, fc2580_if_filter_lut[i].r36_val); in fc2580_set_params() 254 ret = regmap_write(dev->regmap, 0x37, uitmp); in fc2580_set_params() 258 ret = regmap_write(dev->regmap, 0x39, fc2580_if_filter_lut[i].r39_val); in fc2580_set_params() 265 ret = regmap_write(dev->regmap, 0x2e, 0x09); in fc2580_set_params() [all …]
|
D | tda18250.c | 197 ret = regmap_write(dev->regmap, init_regs[i][0], 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() 277 ret = regmap_write(dev->regmap, R5A_H3H5, utmp); in tda18250_set_agc() 375 ret = regmap_write(dev->regmap, R17_AGC31, (utmp << 4) | utmp2); in tda18250_set_agc() 605 ret = regmap_write(dev->regmap, R26_IF, utmp); in tda18250_set_params() 633 ret = regmap_write(dev->regmap, R0A_IRQ3, TDA18250_IRQ_TUNE); in tda18250_set_params() [all …]
|
/linux-4.19.296/drivers/media/dvb-frontends/ |
D | rtl2832_sdr.c | 565 ret = regmap_write(dev->regmap, 0x1b1, u8tmp1); in rtl2832_sdr_set_adc() 569 ret = regmap_write(dev->regmap, 0x008, u8tmp2); in rtl2832_sdr_set_adc() 573 ret = regmap_write(dev->regmap, 0x006, 0x80); in rtl2832_sdr_set_adc() 600 ret = regmap_write(dev->regmap, 0x019, 0x05); in rtl2832_sdr_set_adc() 615 ret = regmap_write(dev->regmap, 0x061, 0x60); in rtl2832_sdr_set_adc() 622 ret = regmap_write(dev->regmap, 0x112, 0x5a); in rtl2832_sdr_set_adc() 623 ret = regmap_write(dev->regmap, 0x102, 0x40); in rtl2832_sdr_set_adc() 624 ret = regmap_write(dev->regmap, 0x103, 0x5a); in rtl2832_sdr_set_adc() 625 ret = regmap_write(dev->regmap, 0x1c7, 0x30); in rtl2832_sdr_set_adc() 626 ret = regmap_write(dev->regmap, 0x104, 0xd0); in rtl2832_sdr_set_adc() [all …]
|
D | ts2020.c | 80 ret = regmap_write(priv->regmap, u8tmp, 0x00); in ts2020_sleep() 98 regmap_write(priv->regmap, 0x42, 0x73); in ts2020_init() 99 regmap_write(priv->regmap, 0x05, priv->clk_out_div); in ts2020_init() 100 regmap_write(priv->regmap, 0x20, 0x27); in ts2020_init() 101 regmap_write(priv->regmap, 0x07, 0x02); in ts2020_init() 102 regmap_write(priv->regmap, 0x11, 0xff); in ts2020_init() 103 regmap_write(priv->regmap, 0x60, 0xf9); in ts2020_init() 104 regmap_write(priv->regmap, 0x08, 0x01); in ts2020_init() 105 regmap_write(priv->regmap, 0x00, 0x41); in ts2020_init() 121 regmap_write(priv->regmap, 0x00, 0x01); in ts2020_init() [all …]
|
D | mn88473.c | 117 ret = regmap_write(dev->regmap[2], 0x05, 0x00); in mn88473_set_frontend() 120 ret = regmap_write(dev->regmap[2], 0xfb, 0x13); in mn88473_set_frontend() 123 ret = regmap_write(dev->regmap[2], 0xef, 0x13); in mn88473_set_frontend() 126 ret = regmap_write(dev->regmap[2], 0xf9, 0x13); in mn88473_set_frontend() 129 ret = regmap_write(dev->regmap[2], 0x00, 0x18); in mn88473_set_frontend() 132 ret = regmap_write(dev->regmap[2], 0x01, 0x01); in mn88473_set_frontend() 135 ret = regmap_write(dev->regmap[2], 0x02, 0x21); in mn88473_set_frontend() 138 ret = regmap_write(dev->regmap[2], 0x03, delivery_system_val); in mn88473_set_frontend() 141 ret = regmap_write(dev->regmap[2], 0x0b, 0x00); in mn88473_set_frontend() 146 ret = regmap_write(dev->regmap[2], 0x10 + i, if_val[i]); in mn88473_set_frontend() [all …]
|
D | mn88472.c | 308 ret = regmap_write(dev->regmap[2], 0x00, 0x66); in mn88472_set_frontend() 311 ret = regmap_write(dev->regmap[2], 0x01, 0x00); in mn88472_set_frontend() 314 ret = regmap_write(dev->regmap[2], 0x02, 0x01); in mn88472_set_frontend() 317 ret = regmap_write(dev->regmap[2], 0x03, delivery_system_val); in mn88472_set_frontend() 320 ret = regmap_write(dev->regmap[2], 0x04, bandwidth_val); in mn88472_set_frontend() 330 ret = regmap_write(dev->regmap[2], 0x10 + i, buf[i]); in mn88472_set_frontend() 338 ret = regmap_write(dev->regmap[2], 0x13 + i, in mn88472_set_frontend() 345 ret = regmap_write(dev->regmap[0], 0xb4, reg_bank0_b4_val); in mn88472_set_frontend() 348 ret = regmap_write(dev->regmap[0], 0xcd, reg_bank0_cd_val); in mn88472_set_frontend() 351 ret = regmap_write(dev->regmap[0], 0xd4, reg_bank0_d4_val); in mn88472_set_frontend() [all …]
|
D | mn88443x.c | 225 regmap_write(r_t, OUTCSET, OUTCSET_CHDRV_8MA); in mn88443x_cmn_power_on() 226 regmap_write(r_t, PLDWSET, PLDWSET_NORMAL); in mn88443x_cmn_power_on() 227 regmap_write(r_t, HIZSET1, 0x80); in mn88443x_cmn_power_on() 228 regmap_write(r_t, HIZSET2, 0xe0); in mn88443x_cmn_power_on() 230 regmap_write(r_t, HIZSET3, 0x8f); in mn88443x_cmn_power_on() 263 regmap_write(r_s, ATSIDU_S, c->stream_id >> 8); in mn88443x_s_tune() 264 regmap_write(r_s, ATSIDL_S, c->stream_id); in mn88443x_s_tune() 265 regmap_write(r_s, TSSET_S, 0); in mn88443x_s_tune() 409 regmap_write(r_t, CLKSET1_T, 0x07); in mn88443x_t_set_freq() 414 regmap_write(r_t, CLKSET1_T, 0x00); in mn88443x_t_set_freq() [all …]
|
D | m88ds3103.c | 215 ret = regmap_write(dev->regmap, 0xf9, 0x04); in m88ds3103_read_status() 237 ret = regmap_write(dev->regmap, 0xf8, utmp); in m88ds3103_read_status() 262 ret = regmap_write(dev->regmap, 0xd1, 0x01); in m88ds3103_read_status() 266 ret = regmap_write(dev->regmap, 0xf9, 0x01); in m88ds3103_read_status() 270 ret = regmap_write(dev->regmap, 0xf9, 0x00); in m88ds3103_read_status() 274 ret = regmap_write(dev->regmap, 0xd1, 0x00); in m88ds3103_read_status() 333 ret = regmap_write(dev->regmap, 0x06, 0xe0); in m88ds3103_set_frontend() 371 ret = regmap_write(dev->regmap, 0x06, 0x00); in m88ds3103_set_frontend() 425 ret = regmap_write(dev->regmap, 0xb2, 0x01); in m88ds3103_set_frontend() 429 ret = regmap_write(dev->regmap, 0x00, 0x01); in m88ds3103_set_frontend() [all …]
|
/linux-4.19.296/drivers/clk/at91/ |
D | pmc.c | 127 regmap_write(pmcreg, AT91_PMC_PCR, in pmc_suspend() 163 regmap_write(pmcreg, AT91_PMC_SCER, pmc_cache.scsr); in pmc_resume() 164 regmap_write(pmcreg, AT91_PMC_PCER, pmc_cache.pcsr0); in pmc_resume() 165 regmap_write(pmcreg, AT91_CKGR_UCKR, pmc_cache.uckr); in pmc_resume() 166 regmap_write(pmcreg, AT91_CKGR_MOR, pmc_cache.mor); in pmc_resume() 167 regmap_write(pmcreg, AT91_CKGR_MCFR, pmc_cache.mcfr); in pmc_resume() 168 regmap_write(pmcreg, AT91_PMC_USB, pmc_cache.usb); in pmc_resume() 169 regmap_write(pmcreg, AT91_PMC_IMR, pmc_cache.imr); in pmc_resume() 170 regmap_write(pmcreg, AT91_PMC_PCER1, pmc_cache.pcsr1); in pmc_resume() 173 regmap_write(pmcreg, AT91_PMC_PCR, in pmc_resume() [all …]
|
/linux-4.19.296/drivers/pwm/ |
D | pwm-pca9685.c | 165 regmap_write(pca->regmap, LED_N_OFF_L(pwm->hwpwm), 0); in pca9685_pwm_gpio_set() 166 regmap_write(pca->regmap, LED_N_OFF_H(pwm->hwpwm), 0); in pca9685_pwm_gpio_set() 169 regmap_write(pca->regmap, LED_N_ON_H(pwm->hwpwm), on); in pca9685_pwm_gpio_set() 281 regmap_write(pca->regmap, PCA9685_PRESCALE, prescale); in pca9685_pwm_config() 302 regmap_write(pca->regmap, reg, LED_FULL); in pca9685_pwm_config() 314 regmap_write(pca->regmap, reg, 0x0); in pca9685_pwm_config() 321 regmap_write(pca->regmap, reg, 0x0); in pca9685_pwm_config() 329 regmap_write(pca->regmap, reg, LED_FULL); in pca9685_pwm_config() 342 regmap_write(pca->regmap, reg, (int)duty & 0xff); in pca9685_pwm_config() 349 regmap_write(pca->regmap, reg, ((int)duty >> 8) & 0xf); in pca9685_pwm_config() [all …]
|
D | pwm-stm32-lp.c | 49 ret = regmap_write(priv->regmap, STM32_LPTIM_CR, 0); in stm32_pwm_lp_apply() 101 ret = regmap_write(priv->regmap, STM32_LPTIM_CR, 0); in stm32_pwm_lp_apply() 113 ret = regmap_write(priv->regmap, STM32_LPTIM_CR, in stm32_pwm_lp_apply() 119 ret = regmap_write(priv->regmap, STM32_LPTIM_ARR, prd - 1); in stm32_pwm_lp_apply() 123 ret = regmap_write(priv->regmap, STM32_LPTIM_CMP, prd - (1 + dty)); in stm32_pwm_lp_apply() 135 ret = regmap_write(priv->regmap, STM32_LPTIM_ICR, in stm32_pwm_lp_apply() 146 regmap_write(priv->regmap, STM32_LPTIM_CR, 0); in stm32_pwm_lp_apply()
|
D | pwm-crc.c | 54 regmap_write(crc_pwm->regmap, BACKLIGHT_EN, 1); in crc_pwm_enable() 63 regmap_write(crc_pwm->regmap, BACKLIGHT_EN, 0); in crc_pwm_disable() 85 regmap_write(crc_pwm->regmap, PWM0_CLK_DIV, in crc_pwm_config() 94 regmap_write(crc_pwm->regmap, PWM0_DUTY_CYCLE, level); in crc_pwm_config()
|
D | pwm-stm32.c | 56 return regmap_write(dev->regmap, TIM_CCR1, value); in write_ccrx() 58 return regmap_write(dev->regmap, TIM_CCR2, value); in write_ccrx() 60 return regmap_write(dev->regmap, TIM_CCR3, value); in write_ccrx() 62 return regmap_write(dev->regmap, TIM_CCR4, value); in write_ccrx() 204 regmap_write(priv->regmap, TIM_ARR, priv->max_arr); in stm32_pwm_capture() 205 regmap_write(priv->regmap, TIM_PSC, psc); in stm32_pwm_capture() 239 regmap_write(priv->regmap, TIM_PSC, psc); in stm32_pwm_capture() 308 regmap_write(priv->regmap, TIM_CCER, 0); in stm32_pwm_capture() 309 regmap_write(priv->regmap, pwm->hwpwm < 2 ? TIM_CCMR1 : TIM_CCMR2, 0); in stm32_pwm_capture() 310 regmap_write(priv->regmap, TIM_PSC, 0); in stm32_pwm_capture() [all …]
|
/linux-4.19.296/drivers/clk/bcm/ |
D | clk-bcm53573-ilp.c | 32 regmap_write(ilp->regmap, PMU_SLOW_CLK_PERIOD, 0x10199); in bcm53573_ilp_enable() 33 regmap_write(ilp->regmap, 0x674, 0x10000); in bcm53573_ilp_enable() 42 regmap_write(ilp->regmap, PMU_SLOW_CLK_PERIOD, 0); in bcm53573_ilp_disable() 43 regmap_write(ilp->regmap, 0x674, 0); in bcm53573_ilp_disable() 56 regmap_write(regmap, PMU_XTAL_FREQ_RATIO, XTAL_CTL_EN); in bcm53573_ilp_recalc_rate() 88 regmap_write(regmap, PMU_XTAL_FREQ_RATIO, 0x0); in bcm53573_ilp_recalc_rate()
|
/linux-4.19.296/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_ring.c | 111 result = regmap_write(st->map, st->reg->int_enable, 0); in inv_reset_fifo() 118 result = regmap_write(st->map, st->reg->fifo_en, 0); in inv_reset_fifo() 122 result = regmap_write(st->map, st->reg->user_ctrl, in inv_reset_fifo() 129 result = regmap_write(st->map, st->reg->user_ctrl, d); in inv_reset_fifo() 136 result = regmap_write(st->map, st->reg->int_enable, in inv_reset_fifo() 143 result = regmap_write(st->map, st->reg->user_ctrl, d); in inv_reset_fifo() 152 result = regmap_write(st->map, st->reg->fifo_en, d); in inv_reset_fifo() 160 result = regmap_write(st->map, st->reg->int_enable, in inv_reset_fifo()
|
/linux-4.19.296/drivers/rtc/ |
D | rtc-ds1343.c | 105 return regmap_write(priv->map, DS1343_TRICKLE_REG, val); in ds1343_ioctl() 148 regmap_write(priv->map, DS1343_CONTROL_REG, data); in ds1343_store_glitchfilter() 265 res = regmap_write(priv->map, DS1343_SECONDS_REG, in ds1343_set_time() 270 res = regmap_write(priv->map, DS1343_MINUTES_REG, in ds1343_set_time() 275 res = regmap_write(priv->map, DS1343_HOURS_REG, in ds1343_set_time() 280 res = regmap_write(priv->map, DS1343_DAY_REG, in ds1343_set_time() 285 res = regmap_write(priv->map, DS1343_DATE_REG, in ds1343_set_time() 290 res = regmap_write(priv->map, DS1343_MONTH_REG, in ds1343_set_time() 297 res = regmap_write(priv->map, DS1343_YEAR_REG, in ds1343_set_time() 323 res = regmap_write(priv->map, DS1343_CONTROL_REG, control); in ds1343_update_alarm() [all …]
|
/linux-4.19.296/drivers/gpio/ |
D | gpio-mvebu.c | 178 regmap_write(map, offset, val); in mvebu_gpio_write_edge_cause() 228 regmap_write(map, offset, val); in mvebu_gpio_write_edge_mask() 278 regmap_write(map, offset, val); in mvebu_gpio_write_level_mask() 578 regmap_write(mvchip->regs, in mvebu_gpio_irq_handler() 753 regmap_write(mvchip->regs, GPIO_BLINK_CNT_SELECT_OFF + mvchip->offset, in mvebu_pwm_resume() 797 regmap_write(mvchip->regs, in mvebu_pwm_probe() 972 regmap_write(mvchip->regs, GPIO_OUT_OFF + mvchip->offset, in mvebu_gpio_resume() 974 regmap_write(mvchip->regs, GPIO_IO_CONF_OFF + mvchip->offset, in mvebu_gpio_resume() 976 regmap_write(mvchip->regs, GPIO_BLINK_EN_OFF + mvchip->offset, in mvebu_gpio_resume() 978 regmap_write(mvchip->regs, GPIO_IN_POL_OFF + mvchip->offset, in mvebu_gpio_resume() [all …]
|
/linux-4.19.296/drivers/char/ipmi/ |
D | kcs_bmc_aspeed.c | 86 rc = regmap_write(priv->map, reg, data); in aspeed_kcs_outb() 112 regmap_write(priv->map, LPC_LADR12H, addr >> 8); in aspeed_kcs_set_address() 113 regmap_write(priv->map, LPC_LADR12L, addr & 0xFF); in aspeed_kcs_set_address() 119 regmap_write(priv->map, LPC_LADR12H, addr >> 8); in aspeed_kcs_set_address() 120 regmap_write(priv->map, LPC_LADR12L, addr & 0xFF); in aspeed_kcs_set_address() 124 regmap_write(priv->map, LPC_LADR3H, addr >> 8); in aspeed_kcs_set_address() 125 regmap_write(priv->map, LPC_LADR3L, addr & 0xFF); in aspeed_kcs_set_address() 129 regmap_write(priv->map, LPC_LADR4, ((addr + 1) << 16) | in aspeed_kcs_set_address()
|
/linux-4.19.296/drivers/reset/ |
D | reset-oxnas.c | 46 regmap_write(data->regmap, RST_SET_REGOFFSET, BIT(id)); in oxnas_reset_reset() 48 regmap_write(data->regmap, RST_CLR_REGOFFSET, BIT(id)); in oxnas_reset_reset() 59 regmap_write(data->regmap, RST_SET_REGOFFSET, BIT(id)); in oxnas_reset_assert() 70 regmap_write(data->regmap, RST_CLR_REGOFFSET, BIT(id)); in oxnas_reset_deassert()
|
/linux-4.19.296/drivers/misc/ |
D | qcom-coincell.c | 46 return regmap_write(chgr->regmap, in qcom_coincell_chgr_config() 69 rc = regmap_write(chgr->regmap, in qcom_coincell_chgr_config() 82 rc = regmap_write(chgr->regmap, in qcom_coincell_chgr_config() 88 return regmap_write(chgr->regmap, in qcom_coincell_chgr_config()
|
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-cht-wc.c | 91 ret = regmap_write(adap->regmap, CHT_WC_EXTCHGRIRQ, reg); in cht_wc_i2c_adap_thread_handler() 143 ret = regmap_write(adap->regmap, CHT_WC_I2C_CLIENT_ADDR, addr); in cht_wc_i2c_adap_smbus_xfer() 148 ret = regmap_write(adap->regmap, CHT_WC_I2C_WRDATA, data->byte); in cht_wc_i2c_adap_smbus_xfer() 153 ret = regmap_write(adap->regmap, CHT_WC_I2C_REG_OFFSET, command); in cht_wc_i2c_adap_smbus_xfer() 157 ret = regmap_write(adap->regmap, CHT_WC_I2C_CTRL, in cht_wc_i2c_adap_smbus_xfer() 249 ret = regmap_write(adap->regmap, CHT_WC_EXTCHGRIRQ_MSK, in cht_wc_i2c_irq_sync_unlock() 355 ret = regmap_write(adap->regmap, CHT_WC_EXTCHGRIRQ, ~adap->irq_mask); in cht_wc_i2c_adap_i2c_probe() 359 ret = regmap_write(adap->regmap, CHT_WC_EXTCHGRIRQ_MSK, adap->irq_mask); in cht_wc_i2c_adap_i2c_probe()
|
/linux-4.19.296/drivers/reset/hisilicon/ |
D | hi6220_reset.c | 55 return regmap_write(regmap, reg, BIT(offset)); in hi6220_peripheral_assert() 67 return regmap_write(regmap, reg, BIT(offset)); in hi6220_peripheral_deassert() 81 return regmap_write(regmap, SC_MEDIA_RSTEN, BIT(idx)); in hi6220_media_assert() 90 return regmap_write(regmap, SC_MEDIA_RSTDIS, BIT(idx)); in hi6220_media_deassert()
|