| /drivers/phy/qualcomm/ |
| A D | phy-qcom-sgmii-eth.c | 29 struct regmap *regmap; member 34 static void qcom_dwmac_sgmii_phy_init_1g(struct regmap *regmap) in qcom_dwmac_sgmii_phy_init_1g() argument 122 static void qcom_dwmac_sgmii_phy_init_2p5g(struct regmap *regmap) in qcom_dwmac_sgmii_phy_init_2p5g() argument 211 qcom_dwmac_sgmii_phy_poll_status(struct regmap *regmap, unsigned int reg, in qcom_dwmac_sgmii_phy_poll_status() argument 216 return regmap_read_poll_timeout(regmap, reg, val, in qcom_dwmac_sgmii_phy_poll_status() 229 qcom_dwmac_sgmii_phy_init_1g(data->regmap); in qcom_dwmac_sgmii_phy_calibrate() 232 qcom_dwmac_sgmii_phy_init_2p5g(data->regmap); in qcom_dwmac_sgmii_phy_calibrate() 236 if (qcom_dwmac_sgmii_phy_poll_status(data->regmap, in qcom_dwmac_sgmii_phy_calibrate() 333 data->regmap = devm_regmap_init_mmio(dev, base, in qcom_dwmac_sgmii_phy_probe() 335 if (IS_ERR(data->regmap)) in qcom_dwmac_sgmii_phy_probe() [all …]
|
| /drivers/clk/qcom/ |
| A D | clk-alpha-pll.c | 1083 struct regmap *regmap = pll->clkr.regmap; in clk_trion_pll_enable() local 1120 struct regmap *regmap = pll->clkr.regmap; in clk_trion_pll_disable() local 1347 struct regmap *regmap = pll->clkr.regmap; in alpha_pll_fabia_enable() local 1404 struct regmap *regmap = pll->clkr.regmap; in alpha_pll_fabia_disable() local 1586 struct regmap *regmap = pll->clkr.regmap; in clk_trion_pll_postdiv_recalc_rate() local 1620 struct regmap *regmap = pll->clkr.regmap; in clk_trion_pll_postdiv_set_rate() local 2076 struct regmap *regmap = pll->clkr.regmap; in __clk_lucid_pll_postdiv_set_rate() local 2174 struct regmap *regmap = pll->clkr.regmap; in clk_zonda_pll_enable() local 2224 struct regmap *regmap = pll->clkr.regmap; in clk_zonda_pll_disable() local 2379 struct regmap *regmap = pll->clkr.regmap; in alpha_pll_lucid_evo_enable() local [all …]
|
| A D | clk-hfpll.c | 24 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_init_once() local 32 regmap_write(regmap, hd->m_reg, 0); in __clk_hfpll_init_once() 33 regmap_write(regmap, hd->n_reg, 1); in __clk_hfpll_init_once() 61 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_enable() local 100 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_enable() local 115 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_disable() local 160 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_set_rate() local 183 regmap_write(regmap, hd->l_reg, l_val); in clk_hfpll_set_rate() 198 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_recalc_rate() local 210 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_init() local [all …]
|
| A D | clk-alpha-pll.h | 211 void clk_alpha_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, 215 void clk_fabia_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, 217 void clk_trion_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, 219 void clk_agera_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, 224 void clk_zonda_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, 226 void clk_lucid_5lpe_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, 228 void clk_lucid_evo_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, 230 void clk_lucid_ole_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, 232 void clk_pongo_elu_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, 239 void clk_stromer_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, [all …]
|
| /drivers/clk/at91/ |
| A D | clk-main.c | 30 struct regmap *regmap; member 38 struct regmap *regmap; member 48 struct regmap *regmap; member 55 struct regmap *regmap; member 74 struct regmap *regmap = osc->regmap; in clk_main_osc_prepare() local 97 struct regmap *regmap = osc->regmap; in clk_main_osc_unprepare() local 114 struct regmap *regmap = osc->regmap; in clk_main_osc_is_prepared() local 210 struct regmap *regmap = osc->regmap; in clk_main_rc_osc_prepare() local 229 struct regmap *regmap = osc->regmap; in clk_main_rc_osc_unprepare() local 244 struct regmap *regmap = osc->regmap; in clk_main_rc_osc_is_prepared() local [all …]
|
| A D | pmc.h | 162 at91_clk_register_generated(struct regmap *regmap, spinlock_t *lock, 170 at91_clk_register_h32mx(struct regmap *regmap, const char *name, 174 at91_clk_i2s_mux_register(struct regmap *regmap, const char *name, 182 at91_clk_register_main_osc(struct regmap *regmap, const char *name, 186 at91_clk_register_rm9200_main(struct regmap *regmap, 211 at91_clk_sama7g5_register_master(struct regmap *regmap, 231 at91_clk_register_pll(struct regmap *regmap, const char *name, 236 at91_clk_register_plldiv(struct regmap *regmap, const char *name, 262 at91_clk_register_sam9260_slow(struct regmap *regmap, 272 at91_clk_register_system(struct regmap *regmap, const char *name, [all …]
|
| A D | dt-compat.c | 35 struct regmap *regmap; in of_sama5d2_clk_audio_pll_frac_setup() local 61 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pad_setup() local 87 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pmc_setup() local 134 struct regmap *regmap; in of_sama5d2_clk_generated_setup() local 193 struct regmap *regmap; in of_sama5d4_clk_h32mx_setup() local 258 struct regmap *regmap; in of_at91rm9200_clk_main_osc_setup() local 287 struct regmap *regmap; in of_at91sam9x5_clk_main_rc_osc_setup() local 314 struct regmap *regmap; in of_at91rm9200_clk_main_setup() local 341 struct regmap *regmap; in of_at91sam9x5_clk_main_setup() local 401 struct regmap *regmap; in of_at91_clk_master_setup() local [all …]
|
| A D | clk-sam9x60-pll.c | 29 struct regmap *regmap; member 90 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_set() local 162 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_unprepare() local 254 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_set_rate_chg() local 345 struct regmap *regmap = core->regmap; in sam9x60_div_pll_set_div() local 364 struct regmap *regmap = core->regmap; in sam9x60_div_pll_set() local 396 struct regmap *regmap = core->regmap; in sam9x60_div_pll_unprepare() local 417 struct regmap *regmap = core->regmap; in sam9x60_div_pll_is_prepared() local 514 struct regmap *regmap = core->regmap; in sam9x60_div_pll_set_rate_chg() local 562 struct regmap *regmap = core.regmap; in sam9x60_div_pll_notifier_fn() local [all …]
|
| /drivers/gpu/drm/sprd/ |
| A D | megacores_pll.c | 81 static void dphy_set_pll_reg(struct dphy_pll *pll, struct regmap *regmap) in dphy_set_pll_reg() argument 110 struct regmap *regmap = ctx->regmap; in dphy_pll_config() local 122 dphy_set_pll_reg(pll, regmap); in dphy_pll_config() 127 static void dphy_set_timing_reg(struct regmap *regmap, int type, u8 val[]) in dphy_set_timing_reg() argument 131 regmap_write(regmap, 0x31, val[CLK]); in dphy_set_timing_reg() 137 regmap_write(regmap, 0x90, val[CLK]); in dphy_set_timing_reg() 144 regmap_write(regmap, 0x32, val[CLK]); in dphy_set_timing_reg() 150 regmap_write(regmap, 0x91, val[CLK]); in dphy_set_timing_reg() 157 regmap_write(regmap, 0x33, val[CLK]); in dphy_set_timing_reg() 163 regmap_write(regmap, 0x92, val[CLK]); in dphy_set_timing_reg() [all …]
|
| /drivers/power/supply/ |
| A D | max77705_charger.c | 116 struct regmap *regmap = charger->regmap; in max77705_check_battery() local 136 struct regmap *regmap = charger->regmap; in max77705_get_charge_type() local 164 struct regmap *regmap = charger->regmap; in max77705_get_status() local 240 struct regmap *regmap = charger->regmap; in max77705_get_battery_health() local 279 struct regmap *regmap = charger->regmap; in max77705_get_health() local 298 struct regmap *regmap = charger->regmap; in max77705_get_input_current() local 320 struct regmap *regmap = charger->regmap; in max77705_get_charge_current() local 335 struct regmap *regmap = charger->regmap; in max77705_set_float_voltage() local 353 struct regmap *regmap = charger->regmap; in max77705_get_float_voltage() local 369 struct regmap *regmap = charger->regmap; in max77705_chg_get_property() local [all …]
|
| /drivers/hwmon/ |
| A D | w83773g.c | 61 static int get_local_temp(struct regmap *regmap, long *val) in get_local_temp() argument 74 static int get_remote_temp(struct regmap *regmap, int index, long *val) in get_remote_temp() argument 92 static int get_fault(struct regmap *regmap, int index, long *val) in get_fault() argument 105 static int get_offset(struct regmap *regmap, int index, long *val) in get_offset() argument 123 static int set_offset(struct regmap *regmap, int index, long val) in set_offset() argument 142 static int get_update_interval(struct regmap *regmap, long *val) in get_update_interval() argument 155 static int set_update_interval(struct regmap *regmap, long val) in set_update_interval() argument 175 struct regmap *regmap = dev_get_drvdata(dev); in w83773_read() local 200 struct regmap *regmap = dev_get_drvdata(dev); in w83773_write() local 266 struct regmap *regmap; in w83773_probe() local [all …]
|
| A D | spd5118.c | 79 struct regmap *regmap; member 99 static int spd5118_read_temp(struct regmap *regmap, u32 attr, long *val) in spd5118_read_temp() argument 166 static int spd5118_read_enable(struct regmap *regmap, long *val) in spd5118_read_enable() argument 181 struct regmap *regmap = dev_get_drvdata(dev); in spd5118_read() local 235 static int spd5118_write_enable(struct regmap *regmap, long val) in spd5118_write_enable() argument 263 struct regmap *regmap = dev_get_drvdata(dev); in spd5118_write() local 342 struct regmap *regmap = data->regmap; in spd5118_nvmem_read_page() local 488 struct regmap *regmap = data->regmap; in spd5118_suspend() local 514 struct regmap *regmap = data->regmap; in spd5118_resume() local 555 data->regmap = regmap; in spd5118_common_probe() [all …]
|
| /drivers/clk/davinci/ |
| A D | da8xx-cfgchip.c | 34 struct regmap *regmap; member 89 struct regmap *regmap) in da8xx_cfgchip_gate_clk_register() argument 117 gate->regmap = regmap; in da8xx_cfgchip_gate_clk_register() 158 struct regmap *regmap) in da8xx_cfgchip_register_div4p5() argument 205 struct regmap *regmap; member 258 mux->regmap = regmap; in da8xx_cfgchip_mux_clk_register() 324 struct regmap *regmap) in of_da8xx_cfgchip_init_mux_clock() argument 350 struct regmap *regmap; member 530 usb0->regmap = regmap; in da8xx_cfgchip_register_usb0_clk48() 543 struct regmap *regmap; member [all …]
|
| /drivers/gpu/drm/bridge/ |
| A D | chrontel-ch7033.c | 201 struct regmap *regmap; member 338 regmap_write(priv->regmap, 0x03, 0x04); in ch7033_bridge_disable() 346 regmap_write(priv->regmap, 0x03, 0x04); in ch7033_bridge_enable() 363 regmap_write(priv->regmap, 0x03, 0x04); in ch7033_bridge_mode_set() 366 regmap_write(priv->regmap, 0x52, 0x00); in ch7033_bridge_mode_set() 373 regmap_write(priv->regmap, 0x03, 0x00); in ch7033_bridge_mode_set() 454 regmap_write(priv->regmap, 0x03, 0x01); in ch7033_bridge_mode_set() 498 regmap_write(priv->regmap, 0x03, 0x03); in ch7033_bridge_mode_set() 509 regmap_write(priv->regmap, 0x03, 0x04); in ch7033_bridge_mode_set() 552 if (IS_ERR(priv->regmap)) { in ch7033_probe() [all …]
|
| A D | lontium-lt9611.c | 42 struct regmap *regmap; member 202 regmap_write(lt9611->regmap, 0x831d, pol); in lt9611_pcr_setup() 220 regmap_write(lt9611->regmap, 0x8011, 0x5a); in lt9611_pcr_setup() 221 regmap_write(lt9611->regmap, 0x8011, 0xfa); in lt9611_pcr_setup() 264 regmap_write(lt9611->regmap, 0x82de, 0x20); in lt9611_pll_setup() 416 regmap_read(lt9611->regmap, 0x8203, &val); in lt9611_enable_hpd_interrupts() 419 regmap_write(lt9611->regmap, 0x8203, val); in lt9611_enable_hpd_interrupts() 438 regmap_multi_reg_write(lt9611->regmap, in lt9611_sleep_setup() 782 regmap_multi_reg_write(lt9611->regmap, in lt9611_bridge_atomic_pre_enable() 1086 if (IS_ERR(lt9611->regmap)) { in lt9611_probe() [all …]
|
| /drivers/reset/hisilicon/ |
| A D | hi6220_reset.c | 40 struct regmap *regmap; member 47 struct regmap *regmap = data->regmap; in hi6220_peripheral_assert() local 59 struct regmap *regmap = data->regmap; in hi6220_peripheral_deassert() local 76 struct regmap *regmap = data->regmap; in hi6220_media_assert() local 85 struct regmap *regmap = data->regmap; in hi6220_media_deassert() local 109 struct regmap *regmap = data->regmap; in hi6220_ao_assert() local 128 struct regmap *regmap = data->regmap; in hi6220_ao_deassert() local 160 struct regmap *regmap; in hi6220_reset_probe() local 169 if (IS_ERR(regmap)) { in hi6220_reset_probe() 171 return PTR_ERR(regmap); in hi6220_reset_probe() [all …]
|
| /drivers/base/regmap/ |
| A D | internal.h | 19 struct regmap; 36 void (*format_write)(struct regmap *map, 46 struct regmap *map; 50 struct regmap { struct 187 int (*init)(struct regmap *map); argument 188 int (*exit)(struct regmap *map); 212 struct regmap *map; 226 struct regmap *regmap; member 256 int regcache_read(struct regmap *map, 258 int regcache_write(struct regmap *map, [all …]
|
| A D | Makefile | 5 obj-$(CONFIG_REGMAP) += regmap.o regcache.o 7 obj-$(CONFIG_DEBUG_FS) += regmap-debugfs.o 8 obj-$(CONFIG_REGMAP_KUNIT) += regmap-kunit.o 9 obj-$(CONFIG_REGMAP_AC97) += regmap-ac97.o 10 obj-$(CONFIG_REGMAP_I2C) += regmap-i2c.o 11 obj-$(CONFIG_REGMAP_RAM) += regmap-ram.o regmap-raw-ram.o 13 obj-$(CONFIG_REGMAP_SPI) += regmap-spi.o 16 obj-$(CONFIG_REGMAP_IRQ) += regmap-irq.o 17 obj-$(CONFIG_REGMAP_W1) += regmap-w1.o 21 obj-$(CONFIG_REGMAP_I3C) += regmap-i3c.o [all …]
|
| /drivers/regulator/ |
| A D | rt6190-regulator.c | 70 struct regmap *regmap; member 78 struct regmap *regmap = rdev_get_regmap(rdev); in rt6190_out_set_voltage_sel() local 87 struct regmap *regmap = rdev_get_regmap(rdev); in rt6190_out_get_voltage_sel() local 99 struct regmap *regmap = rdev_get_regmap(rdev); in rt6190_out_enable() local 130 struct regmap *regmap = rdev_get_regmap(rdev); in rt6190_out_disable() local 152 struct regmap *regmap = rdev_get_regmap(rdev); in rt6190_out_set_current_limit() local 174 struct regmap *regmap = rdev_get_regmap(rdev); in rt6190_out_get_current_limit() local 379 struct regmap *regmap; in rt6190_probe() local 401 data->regmap = regmap; in rt6190_probe() 445 struct regmap *regmap = data->regmap; in rt6190_runtime_suspend() local [all …]
|
| A D | bcm590xx-regulator.c | 35 enum bcm590xx_regmap_type regmap; member 267 .regmap = BCM590XX_REGMAP_PRI, 275 .regmap = BCM590XX_REGMAP_PRI, 283 .regmap = BCM590XX_REGMAP_PRI, 291 .regmap = BCM590XX_REGMAP_PRI, 299 .regmap = BCM590XX_REGMAP_PRI, 307 .regmap = BCM590XX_REGMAP_PRI, 315 .regmap = BCM590XX_REGMAP_PRI, 323 .regmap = BCM590XX_REGMAP_PRI, 331 .regmap = BCM590XX_REGMAP_PRI, [all …]
|
| /drivers/mfd/ |
| A D | syscon.c | 29 struct regmap *regmap; member 43 struct regmap *regmap; in of_syscon_register() local 149 syscon->regmap = regmap; in of_syscon_register() 228 syscon->regmap = regmap; in of_syscon_register_regmap() 281 struct regmap *regmap; in syscon_regmap_lookup_by_compatible() local 290 return regmap; in syscon_regmap_lookup_by_compatible() 298 struct regmap *regmap; in syscon_regmap_lookup_by_phandle() local 313 return regmap; in syscon_regmap_lookup_by_phandle() 324 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_args() local 354 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_optional() local [all …]
|
| /drivers/media/tuners/ |
| A D | m88rs6000t.c | 14 struct regmap *regmap; member 36 ret = regmap_read(dev->regmap, 0x15, &utmp); in m88rs6000t_set_demod_mclk() 98 ret = regmap_read(dev->regmap, 0x1D, &utmp); in m88rs6000t_set_demod_mclk() 108 ret = regmap_write(dev->regmap, 0x05, 0x40); in m88rs6000t_set_demod_mclk() 111 ret = regmap_write(dev->regmap, 0x11, 0x08); in m88rs6000t_set_demod_mclk() 129 ret = regmap_write(dev->regmap, 0x17, 0xc1); in m88rs6000t_set_demod_mclk() 132 ret = regmap_write(dev->regmap, 0x17, 0x81); in m88rs6000t_set_demod_mclk() 136 ret = regmap_write(dev->regmap, 0x05, 0x00); in m88rs6000t_set_demod_mclk() 625 if (IS_ERR(dev->regmap)) { in m88rs6000t_probe() 626 ret = PTR_ERR(dev->regmap); in m88rs6000t_probe() [all …]
|
| /drivers/phy/mscc/ |
| A D | phy-ocelot-serdes.c | 22 struct regmap *regs; 36 static int __serdes_write_mcb_s6g(struct regmap *regmap, u8 macro, u32 op) in __serdes_write_mcb_s6g() argument 48 static int serdes_commit_mcb_s6g(struct regmap *regmap, u8 macro) in serdes_commit_mcb_s6g() argument 50 return __serdes_write_mcb_s6g(regmap, macro, in serdes_commit_mcb_s6g() 54 static int serdes_update_mcb_s6g(struct regmap *regmap, u8 macro) in serdes_update_mcb_s6g() argument 56 return __serdes_write_mcb_s6g(regmap, macro, in serdes_update_mcb_s6g() 60 static int serdes_init_s6g(struct regmap *regmap, u8 serdes, int mode) in serdes_init_s6g() argument 268 static int __serdes_write_mcb_s1g(struct regmap *regmap, u8 macro, u32 op) in __serdes_write_mcb_s1g() argument 280 static int serdes_commit_mcb_s1g(struct regmap *regmap, u8 macro) in serdes_commit_mcb_s1g() argument 286 static int serdes_update_mcb_s1g(struct regmap *regmap, u8 macro) in serdes_update_mcb_s1g() argument [all …]
|
| /drivers/rtc/ |
| A D | rtc-isl12022.c | 78 struct regmap *regmap; member 146 struct regmap *regmap = isl12022->regmap; in isl12022_hwmon_register() local 174 struct regmap *regmap = isl12022->regmap; in isl12022_rtc_read_time() local 210 struct regmap *regmap = isl12022->regmap; in isl12022_rtc_set_time() local 244 struct regmap *regmap = isl12022->regmap; in isl12022_rtc_read_alarm() local 291 struct regmap *regmap = isl12022->regmap; in isl12022_rtc_set_alarm() local 347 struct regmap *regmap = isl12022->regmap; in isl12022_rtc_interrupt() local 395 struct regmap *regmap = isl12022->regmap; in isl12022_setup_irq() local 431 struct regmap *regmap = isl12022->regmap; in isl12022_rtc_ioctl() local 473 struct regmap *regmap = isl12022->regmap; in isl12022_register_clock() local [all …]
|
| /drivers/input/misc/ |
| A D | pmic8xxx-pwrkey.c | 78 struct regmap *regmap; member 158 static int pm8058_disable_smps_locally_set_pull_down(struct regmap *regmap, in pm8058_disable_smps_locally_set_pull_down() argument 171 error = regmap_read(regmap, test2_addr, ®); in pm8058_disable_smps_locally_set_pull_down() 257 return regmap_update_bits(regmap, ctrl_addr, in pm8058_disable_smps_locally_set_pull_down() 262 static int pm8058_disable_ldo_locally_set_pull_down(struct regmap *regmap, in pm8058_disable_ldo_locally_set_pull_down() argument 274 return regmap_update_bits(regmap, ctrl_addr, in pm8058_disable_ldo_locally_set_pull_down() 282 struct regmap *regmap = pwrkey->regmap; in pm8058_pwrkey_shutdown() local 321 struct regmap *regmap = pwrkey->regmap; in pm8921_pwrkey_shutdown() local 339 struct regmap *regmap; in pmic8xxx_pwrkey_probe() local 356 if (!regmap) { in pmic8xxx_pwrkey_probe() [all …]
|