Searched refs:rk808 (Results 1 – 10 of 10) sorted by relevance
/drivers/power/supply/ |
D | rk817_charger.c | 50 struct rk808 *rk808; member 177 regmap_bulk_read(charger->rk808->regmap, RK817_GAS_GAUGE_VCALIB0_H, in rk817_bat_calib_vol() 181 regmap_bulk_read(charger->rk808->regmap, RK817_GAS_GAUGE_VCALIB1_H, in rk817_bat_calib_vol() 196 regmap_bulk_read(charger->rk808->regmap, RK817_GAS_GAUGE_IOFFSET_H, in rk817_bat_calib_cur() 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() 242 struct rk808 *rk808 = charger->rk808; in rk817_bat_calib_cap() local 264 regmap_bulk_write(rk808->regmap, RK817_GAS_GAUGE_Q_INIT_H3, in rk817_bat_calib_cap() [all …]
|
/drivers/mfd/ |
D | rk8xx-core.c | 511 struct rk808 *rk808 = data->cb_data; in rk808_power_off() local 515 switch (rk808->variant) { in rk808_power_off() 536 ret = regmap_update_bits(rk808->regmap, reg, bit, bit); in rk808_power_off() 538 dev_err(rk808->dev, "Failed to shutdown device!\n"); in rk808_power_off() 545 struct rk808 *rk808 = data->cb_data; in rk808_restart() local 549 switch (rk808->variant) { in rk808_restart() 559 ret = regmap_update_bits(rk808->regmap, reg, bit, bit); in rk808_restart() 561 dev_err(rk808->dev, "Failed to restart device!\n"); in rk808_restart() 568 struct rk808 *rk808 = dev_get_drvdata(dev); in rk8xx_shutdown() local 571 switch (rk808->variant) { in rk8xx_shutdown() [all …]
|
/drivers/pinctrl/ |
D | pinctrl-rk805.c | 69 struct rk808 *rk808; member 264 ret = regmap_read(pci->rk808->regmap, pci->pin_cfg[offset].reg, &val); in rk805_gpio_get() 280 ret = regmap_update_bits(pci->rk808->regmap, in rk805_gpio_set() 312 ret = regmap_read(pci->rk808->regmap, in rk805_gpio_get_direction() 416 ret = regmap_update_bits(pci->rk808->regmap, in _rk805_pinctrl_set_mux() 443 switch (pci->rk808->variant) { in rk805_pinctrl_gpio_request_enable() 464 ret = regmap_update_bits(pci->rk808->regmap, in rk805_pmx_gpio_set_direction() 525 if (pci->rk808->variant != RK805_ID && arg) { in rk805_pinconf_set() 564 pci->rk808 = dev_get_drvdata(pdev->dev.parent); in rk805_pinctrl_probe() 572 switch (pci->rk808->variant) { in rk805_pinctrl_probe() [all …]
|
/drivers/clk/ |
D | clk-rk808.c | 150 struct rk808 *rk808 = dev_get_drvdata(pdev->dev.parent); in rk808_clkout_probe() local 182 init.ops = rkpmic_get_ops(rk808->variant); in rk808_clkout_probe()
|
D | Makefile | 59 obj-$(CONFIG_COMMON_CLK_RK808) += clk-rk808.o
|
/drivers/rtc/ |
D | rtc-rk808.c | 380 struct rk808 *rk808 = dev_get_drvdata(pdev->dev.parent); in rk808_rtc_probe() local 388 switch (rk808->variant) { in rk808_rtc_probe()
|
D | Makefile | 140 obj-$(CONFIG_RTC_DRV_RK808) += rtc-rk808.o
|
D | Kconfig | 404 will be called rk808-rtc.
|
/drivers/regulator/ |
D | rk808-regulator.c | 1667 struct rk808 *rk808 = dev_get_drvdata(pdev->dev.parent); in rk808_regulator_probe() local 1692 switch (rk808->variant) { in rk808_regulator_probe() 1719 rk808->variant); in rk808_regulator_probe()
|
D | Makefile | 134 obj-$(CONFIG_REGULATOR_RK808) += rk808-regulator.o
|