/linux/drivers/media/tuners/ |
H A D | e4000.c | 32 ret = regmap_bulk_write(dev->regmap, 0x7e, "\x01\xfe", 2); in e4000_init() 44 ret = regmap_bulk_write(dev->regmap, 0x87, "\x20\x01", 2); in e4000_init() 48 ret = regmap_bulk_write(dev->regmap, 0x9f, "\x7f\x07", 2); in e4000_init() 57 ret = regmap_bulk_write(dev->regmap, 0x70, "\x01\x01", 2); in e4000_init() 156 ret = regmap_bulk_write(dev->regmap, 0x09, buf, 5); in e4000_set_params() 187 ret = regmap_bulk_write(dev->regmap, 0x11, buf, 2); in e4000_set_params() 212 ret = regmap_bulk_write(dev->regmap, 0x15, "\x00\x7e\x24", 3); in e4000_set_params() 214 ret = regmap_bulk_write(dev->regmap, 0x15, "\x00\x7f", 2); in e4000_set_params() 216 ret = regmap_bulk_write(dev->regmap, 0x15, "\x01", 1); in e4000_set_params() 218 ret = regmap_bulk_write(dev->regmap, 0x16, "\x7e", 1); in e4000_set_params() [all …]
|
/linux/drivers/ptp/ |
H A D | ptp_fc3.c | 85 err = regmap_bulk_write(idtfc3->regmap, LPF_MODE_CNFG, &mode, sizeof(mode)); in idtfc3_set_lpf_mode() 108 return regmap_bulk_write(idtfc3->regmap, LPF_CTRL, &val, sizeof(val)); in idtfc3_enable_lpf() 169 return regmap_bulk_write(idtfc3->regmap, LPF_BW_CNFG, &val, sizeof(val)); in idtfc3_lpf_bw() 178 err = regmap_bulk_write(idtfc3->regmap, TIME_CLOCK_MEAS_CTRL, &val, sizeof(val)); in idtfc3_enable_tdc() 189 err = regmap_bulk_write(idtfc3->regmap, TIME_CLOCK_MEAS_CNFG, in idtfc3_enable_tdc() 198 err = regmap_bulk_write(idtfc3->regmap, TIME_CLOCK_MEAS_CTRL, &val, sizeof(val)); in idtfc3_enable_tdc() 316 err = regmap_bulk_write(idtfc3->regmap, TOD_SYNC_LOAD_VAL_CTRL, in idtfc3_write_subcounter() 476 return regmap_bulk_write(idtfc3->regmap, LPF_WR_PHASE_CTRL, buf, sizeof(buf)); in _idtfc3_adjphase() 519 return regmap_bulk_write(idtfc3->regmap, LPF_WR_FREQ_CTRL, buf, sizeof(buf)); in _idtfc3_adjfine() 617 err = regmap_bulk_write(idtfc3->regmap, TDC_CTRL, in idtfc3_hw_calibrate() [all …]
|
/linux/drivers/phy/mediatek/ |
H A D | phy-mtk-dp.c | 97 regmap_bulk_write(dp_phy->regs, MTK_DP_LANE0_DRIVING_PARAM_3, in mtk_dp_phy_init() 99 regmap_bulk_write(dp_phy->regs, MTK_DP_LANE1_DRIVING_PARAM_3, in mtk_dp_phy_init() 101 regmap_bulk_write(dp_phy->regs, MTK_DP_LANE2_DRIVING_PARAM_3, in mtk_dp_phy_init() 103 regmap_bulk_write(dp_phy->regs, MTK_DP_LANE3_DRIVING_PARAM_3, in mtk_dp_phy_init()
|
/linux/drivers/media/dvb-frontends/ |
H A D | rtl2832.c | 201 ret = regmap_bulk_write(dev->regmap, reg_start_addr, writing, len); in rtl2832_wr_demod_reg() 478 ret = regmap_bulk_write(dev->regmap, in rtl2832_set_frontend() 908 ret = regmap_bulk_write(dev->regmap, 0x10c, "\x5f\xff", 2); in rtl2832_slave_ts_ctrl() 914 ret = regmap_bulk_write(dev->regmap, 0x0bc, "\x18", 1); in rtl2832_slave_ts_ctrl() 917 ret = regmap_bulk_write(dev->regmap, 0x192, "\x7f\xf7\xff", 3); in rtl2832_slave_ts_ctrl() 921 ret = regmap_bulk_write(dev->regmap, 0x192, "\x00\x0f\xff", 3); in rtl2832_slave_ts_ctrl() 924 ret = regmap_bulk_write(dev->regmap, 0x0bc, "\x08", 1); in rtl2832_slave_ts_ctrl() 930 ret = regmap_bulk_write(dev->regmap, 0x10c, "\x00\x00", 2); in rtl2832_slave_ts_ctrl() 1001 ret = regmap_bulk_write(dev->regmap, 0x022, buf, 4); in rtl2832_pid_filter() 1003 ret = regmap_bulk_write(dev->regmap, 0x062, buf, 4); in rtl2832_pid_filter() [all …]
|
H A D | af9013.c | 140 ret = regmap_bulk_write(state->regmap, 0xae00, coeff_lut[i].val, in af9013_set_frontend() 188 ret = regmap_bulk_write(state->regmap, 0xd140, buf, 3); in af9013_set_frontend() 192 ret = regmap_bulk_write(state->regmap, 0x9be7, buf, 6); in af9013_set_frontend() 358 ret = regmap_bulk_write(state->regmap, 0xd3c0, buf, 3); in af9013_set_frontend() 749 ret = regmap_bulk_write(state->regmap, 0xd385, buf, 2); in af9013_read_status() 856 ret = regmap_bulk_write(state->regmap, 0x9bf2, state->api_version, 4); in af9013_init() 887 ret = regmap_bulk_write(state->regmap, 0xd180, buf, 3); in af9013_init() 1069 ret = regmap_bulk_write(state->regmap, 0x50fc, buf, 4); in af9013_download_firmware() 1077 ret = regmap_bulk_write(state->regmap, in af9013_download_firmware() 1200 ret = regmap_bulk_write(state->regmap, 0xd505, buf, 2); in af9013_pid_filter()
|
H A D | cxd2820r_t.c | 96 ret = regmap_bulk_write(priv->regmap[0], 0x00b6, buf, 3); in cxd2820r_set_frontend_t() 100 ret = regmap_bulk_write(priv->regmap[0], 0x009f, bw_params1[bw_i], 5); in cxd2820r_set_frontend_t() 108 ret = regmap_bulk_write(priv->regmap[0], 0x00d9, bw_params2[bw_i], 2); in cxd2820r_set_frontend_t()
|
H A D | af9033.c | 51 ret = regmap_bulk_write(dev->regmap, tab[i].reg - j, in af9033_wr_reg_val_tab() 114 ret = regmap_bulk_write(dev->regmap, 0x800025, buf, 4); in af9033_init() 136 ret = regmap_bulk_write(dev->regmap, 0x80f1cd, buf, 3); in af9033_init() 405 ret = regmap_bulk_write(dev->regmap, 0x800001, coeff_lut[i].val, in af9033_set_frontend() 444 ret = regmap_bulk_write(dev->regmap, 0x800029, buf, 3); in af9033_set_frontend() 996 ret = regmap_bulk_write(dev->regmap, 0x80f996, wbuf, 2); in af9033_pid_filter()
|
H A D | mn88473.c | 153 ret = regmap_bulk_write(dev->regmap[1], 0x10, conf_val_ptr, 6); in mn88473_set_frontend() 170 ret = regmap_bulk_write(dev->regmap[0], 0x01, in mn88473_set_frontend() 198 ret = regmap_bulk_write(dev->regmap[0], 0x40, "\xf4\x08", 2); in mn88473_set_frontend() 494 ret = regmap_bulk_write(dev->regmap[0], 0xf6, in mn88473_init()
|
/linux/drivers/power/supply/ |
H A D | rk817_charger.c | 198 regmap_bulk_write(charger->rk808->regmap, RK817_GAS_GAUGE_CAL_OFFSET_H, in rk817_bat_calib_cur() 216 ret = regmap_bulk_write(charger->rk808->regmap, RK817_GAS_GAUGE_BAT_R1, in rk817_record_battery_nvram_values() 226 ret = regmap_bulk_write(charger->rk808->regmap, RK817_GAS_GAUGE_DATA0, in rk817_record_battery_nvram_values() 232 ret = regmap_bulk_write(charger->rk808->regmap, RK817_GAS_GAUGE_DATA3, in rk817_record_battery_nvram_values() 287 regmap_bulk_write(rk808->regmap, RK817_GAS_GAUGE_Q_INIT_H3, in rk817_bat_calib_cap() 324 regmap_bulk_write(rk808->regmap, in rk817_bat_calib_cap() 851 ret = regmap_bulk_write(rk808->regmap, RK817_GAS_GAUGE_Q_INIT_H3, in rk817_read_or_set_full_charge_on_boot() 860 ret = regmap_bulk_write(rk808->regmap, RK817_GAS_GAUGE_Q_MAX_H3, in rk817_read_or_set_full_charge_on_boot() 902 regmap_bulk_write(rk808->regmap, RK817_GAS_GAUGE_RELAX_THRE_H, in rk817_battery_init() 909 regmap_bulk_write(rk808->regmap, RK817_GAS_GAUGE_SLEEP_CON_SAMP_CUR_H, in rk817_battery_init()
|
/linux/drivers/regulator/ |
H A D | rtq2208-regulator.c | 272 ret = regmap_bulk_write(rdev_map->regmap, RTQ2208_REG_FLT_RECORDBUCK_CB, buck_clr_masks, 5); in rtq2208_init_irq_mask() 277 ret = regmap_bulk_write(rdev_map->regmap, RTQ2208_REG_GLOBAL_INT1, sts_clr_masks, 2); in rtq2208_init_irq_mask() 282 ret = regmap_bulk_write(rdev_map->regmap, RTQ2208_REG_FLT_MASKBUCK_CB, buck_masks, 5); in rtq2208_init_irq_mask() 287 return regmap_bulk_write(rdev_map->regmap, RTQ2208_REG_GLOBAL_INT1_MASK, sts_masks, 2); in rtq2208_init_irq_mask() 312 ret = regmap_bulk_write(rdev_map->regmap, RTQ2208_REG_FLT_RECORDBUCK_CB, in rtq2208_irq_handler() 317 ret = regmap_bulk_write(rdev_map->regmap, RTQ2208_REG_GLOBAL_INT1, in rtq2208_irq_handler()
|
/linux/drivers/gpu/drm/sun4i/ |
H A D | sun8i_csc.c | 124 regmap_bulk_write(map, base_reg, table, 12); in sun8i_csc_set_coefficients() 157 regmap_bulk_write(map, addr, table, 12); in sun8i_de3_ccsc_set_coefficients()
|
/linux/drivers/rtc/ |
H A D | rtc-pcf85363.c | 197 ret = regmap_bulk_write(pcf85363->regmap, CTRL_STOP_EN, in pcf85363_rtc_set_time() 202 ret = regmap_bulk_write(pcf85363->regmap, DT_100THS, in pcf85363_rtc_set_time() 287 ret = regmap_bulk_write(pcf85363->regmap, DT_SECOND_ALM1, buf, in pcf85363_rtc_set_alarm() 336 return regmap_bulk_write(pcf85363->regmap, CTRL_RAM + offset, in pcf85363_nvram_write()
|
H A D | rtc-max8907.c | 116 return regmap_bulk_write(rtc->regmap, MAX8907_REG_RTC_SEC, regs, in max8907_rtc_set_time() 156 ret = regmap_bulk_write(rtc->regmap, MAX8907_REG_ALARM0_SEC, regs, in max8907_rtc_set_alarm()
|
H A D | rtc-tps6594.c | 140 ret = regmap_bulk_write(tps->regmap, TPS6594_REG_RTC_SECONDS, rtc_data, in tps6594_rtc_set_time() 197 ret = regmap_bulk_write(tps->regmap, TPS6594_REG_ALARM_SECONDS, in tps6594_rtc_set_alarm() 228 ret = regmap_bulk_write(tps->regmap, TPS6594_REG_RTC_COMP_LSB, &value, in tps6594_rtc_set_calibration()
|
H A D | rtc-tps65910.c | 121 ret = regmap_bulk_write(tps->regmap, TPS65910_SECONDS, rtc_data, in tps65910_rtc_set_time() 189 ret = regmap_bulk_write(tps->regmap, TPS65910_ALARM_SECONDS, in tps65910_rtc_set_alarm() 231 ret = regmap_bulk_write(tps->regmap, TPS65910_RTC_COMP_LSB, in tps65910_rtc_set_calibration()
|
H A D | rtc-max77686.c | 409 ret = regmap_bulk_write(info->rtc_regmap, in max77686_rtc_set_time() 532 ret = regmap_bulk_write(info->rtc_regmap, map[REG_ALARM1_SEC], in max77686_rtc_stop_alarm() 584 ret = regmap_bulk_write(info->rtc_regmap, map[REG_ALARM1_SEC], in max77686_rtc_start_alarm() 614 ret = regmap_bulk_write(info->rtc_regmap, in max77686_rtc_set_alarm() 678 ret = regmap_bulk_write(info->rtc_regmap, in max77686_rtc_init_reg()
|
H A D | rtc-ds1343.c | 131 return regmap_bulk_write(ds1343->map, DS1343_NVRAM + off, val, bytes); in ds1343_nvram_write() 232 return regmap_bulk_write(priv->map, DS1343_SECONDS_REG, in ds1343_set_time() 287 res = regmap_bulk_write(priv->map, DS1343_ALM0_SEC_REG, buf, 4); in ds1343_set_alarm()
|
H A D | rtc-pm8xxx.c | 213 rc = regmap_bulk_write(rtc_dd->regmap, regs->write + 1, in __pm8xxx_rtc_set_time() 295 rc = regmap_bulk_write(rtc_dd->regmap, regs->alarm_rw, value, in pm8xxx_rtc_set_alarm() 361 rc = regmap_bulk_write(rtc_dd->regmap, regs->alarm_rw, value, in pm8xxx_rtc_alarm_irq_enable()
|
H A D | rtc-ds1307.c | 399 result = regmap_bulk_write(ds1307->regmap, chip->offset, regs, in ds1307_set_time() 499 ret = regmap_bulk_write(ds1307->regmap, DS1339_REG_ALARM1_SECS, regs, in ds1337_set_alarm() 578 ret = regmap_bulk_write(ds1307->regmap, RX8130_REG_EXTENSION, ctl, in rx8130_irq() 652 ret = regmap_bulk_write(ds1307->regmap, RX8130_REG_EXTENSION, ctl, in rx8130_set_alarm() 662 ret = regmap_bulk_write(ds1307->regmap, RX8130_REG_ALARM_MIN, ald, in rx8130_set_alarm() 817 ret = regmap_bulk_write(ds1307->regmap, MCP794XX_REG_CONTROL, regs, in mcp794xx_set_alarm() 902 ret = regmap_bulk_write(ds1307->regmap, DS1388_REG_WDOG_HUN_SECS, regs, in ds1388_wdt_start() 939 return regmap_bulk_write(ds1307->regmap, DS1388_REG_WDOG_HUN_SECS, regs, in ds1388_wdt_set_timeout() 1278 return regmap_bulk_write(ds1307->regmap, chip->nvram_offset + offset, in ds1307_nvram_write()
|
H A D | rtc-rx8581.c | 169 err = regmap_bulk_write(rx8581->regmap, RX8581_REG_SC, in rx8581_rtc_set_time() 204 return regmap_bulk_write(rx8581->regmap, RX8571_USER_RAM + offset, in rx8571_nvram_write()
|
/linux/drivers/gpu/drm/bridge/ |
H A D | ti-sn65dsi83.c | 447 regmap_bulk_write(ctx->regmap, REG_VID_CHA_ACTIVE_LINE_LENGTH_LOW, in sn65dsi83_atomic_pre_enable() 450 regmap_bulk_write(ctx->regmap, REG_VID_CHA_VERTICAL_DISPLAY_SIZE_LOW, in sn65dsi83_atomic_pre_enable() 454 regmap_bulk_write(ctx->regmap, REG_VID_CHA_SYNC_DELAY_LOW, &le16val, 2); in sn65dsi83_atomic_pre_enable() 456 regmap_bulk_write(ctx->regmap, REG_VID_CHA_HSYNC_PULSE_WIDTH_LOW, in sn65dsi83_atomic_pre_enable() 459 regmap_bulk_write(ctx->regmap, REG_VID_CHA_VSYNC_PULSE_WIDTH_LOW, in sn65dsi83_atomic_pre_enable()
|
/linux/drivers/pwm/ |
H A D | pwm-adp5585.c | 87 ret = regmap_bulk_write(regmap, ADP5585_PWM_OFFT_LOW, &val, 2); in pwm_adp5585_apply() 92 ret = regmap_bulk_write(regmap, ADP5585_PWM_ONT_LOW, &val, 2); in pwm_adp5585_apply()
|
/linux/drivers/iio/frequency/ |
H A D | admv4420.c | 143 ret = regmap_bulk_write(st->regmap, ADMV4420_FRAC_L, st->transf_buf, 3); in admv4420_set_n_counter() 148 ret = regmap_bulk_write(st->regmap, ADMV4420_MOD_L, st->transf_buf, 3); in admv4420_set_n_counter() 153 return regmap_bulk_write(st->regmap, ADMV4420_INT_L, st->transf_buf, 2); in admv4420_set_n_counter()
|
/linux/drivers/clk/ |
H A D | clk-si544.c | 159 return regmap_bulk_write(data->regmap, SI544_REG_ADPLL_DELTA_M0, in si544_set_delta_m() 172 err = regmap_bulk_write(data->regmap, SI544_REG_HS_DIV, reg, 2); in si544_set_muldiv() 187 return regmap_bulk_write(data->regmap, SI544_REG_FBDIV0, reg, 6); in si544_set_muldiv()
|
/linux/drivers/hwmon/ |
H A D | ltc2945.c | 288 ret = regmap_bulk_write(regmap, reg, regbuf, num_regs); in ltc2945_value_store() 316 ret = regmap_bulk_write(regmap, reg, buf_min, num_regs); in ltc2945_history_store() 338 ret = regmap_bulk_write(regmap, reg, buf_max, num_regs); in ltc2945_history_store()
|