/linux/drivers/base/regmap/ |
A D | internal.h | 49 struct regmap { struct 61 regmap_lock lock; argument 68 struct regmap_format format; /* Buffer format */ argument 71 const char *name; 73 bool async; 100 const struct regmap_access_table *wr_table; argument 118 int reg_shift; 119 int reg_stride; 136 bool cache_only; 144 void *cache; [all …]
|
/linux/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 206 struct regmap *regmap = osc->regmap; in clk_main_rc_osc_prepare() local 225 struct regmap *regmap = osc->regmap; in clk_main_rc_osc_unprepare() local 240 struct regmap *regmap = osc->regmap; in clk_main_rc_osc_is_prepared() local [all …]
|
A D | dt-compat.c | 35 struct regmap *regmap; in of_sama5d2_clk_audio_pll_frac_setup() local 58 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pad_setup() local 81 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pmc_setup() local 125 struct regmap *regmap; in of_sama5d2_clk_generated_setup() local 182 struct regmap *regmap; in of_sama5d4_clk_h32mx_setup() local 244 struct regmap *regmap; in of_at91rm9200_clk_main_osc_setup() local 270 struct regmap *regmap; in of_at91sam9x5_clk_main_rc_osc_setup() local 294 struct regmap *regmap; in of_at91rm9200_clk_main_setup() local 318 struct regmap *regmap; in of_at91sam9x5_clk_main_setup() local 375 struct regmap *regmap; in of_at91_clk_master_setup() local [all …]
|
A D | clk-sam9x60-pll.c | 32 struct regmap *regmap; member 69 static bool sam9x60_frac_pll_ready(struct regmap *regmap, u8 id) in sam9x60_frac_pll_ready() 87 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_set() local 159 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_unprepare() local 249 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_set_rate_chg() local 340 struct regmap *regmap = core->regmap; in sam9x60_div_pll_set_div() local 359 struct regmap *regmap = core->regmap; in sam9x60_div_pll_set() local 391 struct regmap *regmap = core->regmap; in sam9x60_div_pll_unprepare() local 412 struct regmap *regmap = core->regmap; in sam9x60_div_pll_is_prepared() local 503 struct regmap *regmap = core->regmap; in sam9x60_div_pll_set_rate_chg() local [all …]
|
/linux/drivers/clk/davinci/ |
A D | da8xx-cfgchip.c | 34 struct regmap *regmap; member 89 struct regmap *regmap) in da8xx_cfgchip_gate_clk_register() 158 struct regmap *regmap) in da8xx_cfgchip_register_div4p5() 182 struct regmap *regmap) in of_da8xx_tbclksync_init() 188 struct regmap *regmap) in of_da8xx_div4p5ena_init() 205 struct regmap *regmap; member 277 struct regmap *regmap) in da8xx_cfgchip_register_async1() 299 struct regmap *regmap) in da850_cfgchip_register_async3() 323 struct regmap *regmap) in of_da8xx_cfgchip_init_mux_clock() 349 struct regmap *regmap; member [all …]
|
/linux/drivers/hwmon/ |
A D | w83773g.c | 61 static int get_local_temp(struct regmap *regmap, long *val) in get_local_temp() 74 static int get_remote_temp(struct regmap *regmap, int index, long *val) in get_remote_temp() 92 static int get_fault(struct regmap *regmap, int index, long *val) in get_fault() 105 static int get_offset(struct regmap *regmap, int index, long *val) in get_offset() 123 static int set_offset(struct regmap *regmap, int index, long val) in set_offset() 142 static int get_update_interval(struct regmap *regmap, long *val) in get_update_interval() 155 static int set_update_interval(struct regmap *regmap, long val) in set_update_interval() 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
|
A D | tmp103.c | 57 struct regmap *regmap = dev_get_drvdata(dev); in tmp103_read() local 87 struct regmap *regmap = dev_get_drvdata(dev); in tmp103_write() local 157 struct regmap *regmap; in tmp103_probe() local 183 struct regmap *regmap = dev_get_drvdata(dev); in tmp103_suspend() local 191 struct regmap *regmap = dev_get_drvdata(dev); in tmp103_resume() local
|
/linux/drivers/clk/qcom/ |
A D | clk-hfpll.c | 24 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_init_once() local 57 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_enable() local 93 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_enable() local 108 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_disable() local 153 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_set_rate() local 191 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_recalc_rate() local 203 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_init() local 229 struct regmap *regmap = h->clkr.regmap; in hfpll_is_enabled() local
|
/linux/drivers/acpi/pmic/ |
A D | intel_pmic_bytcrc.c | 188 static int intel_crc_pmic_get_power(struct regmap *regmap, int reg, in intel_crc_pmic_get_power() 200 static int intel_crc_pmic_update_power(struct regmap *regmap, int reg, in intel_crc_pmic_update_power() 220 static int intel_crc_pmic_get_raw_temp(struct regmap *regmap, int reg) in intel_crc_pmic_get_raw_temp() 235 static int intel_crc_pmic_update_aux(struct regmap *regmap, int reg, int raw) in intel_crc_pmic_update_aux() 241 static int intel_crc_pmic_get_policy(struct regmap *regmap, in intel_crc_pmic_get_policy() 252 static int intel_crc_pmic_update_policy(struct regmap *regmap, in intel_crc_pmic_update_policy()
|
A D | tps68470_pmic.c | 31 struct regmap *regmap; member 217 static int tps68470_pmic_get_power(struct regmap *regmap, int reg, in tps68470_pmic_get_power() 229 static int tps68470_pmic_get_vr_val(struct regmap *regmap, int reg, in tps68470_pmic_get_vr_val() 241 static int tps68470_pmic_get_clk(struct regmap *regmap, int reg, in tps68470_pmic_get_clk() 253 static int tps68470_pmic_get_clk_freq(struct regmap *regmap, int reg, in tps68470_pmic_get_clk_freq() 265 static int ti_tps68470_regmap_update_bits(struct regmap *regmap, int reg, in ti_tps68470_regmap_update_bits() 275 int (*get)(struct regmap *, in tps68470_pmic_common_handler() argument 277 int (*update)(struct regmap *, in tps68470_pmic_common_handler() 283 struct regmap *regmap = opregion->regmap; in tps68470_pmic_common_handler() local
|
A D | intel_pmic_bxtwc.c | 273 static int intel_bxtwc_pmic_get_power(struct regmap *regmap, int reg, in intel_bxtwc_pmic_get_power() 285 static int intel_bxtwc_pmic_update_power(struct regmap *regmap, int reg, in intel_bxtwc_pmic_update_power() 298 static int intel_bxtwc_pmic_get_raw_temp(struct regmap *regmap, int reg) in intel_bxtwc_pmic_get_raw_temp() 324 intel_bxtwc_pmic_update_aux(struct regmap *regmap, int reg, int raw) in intel_bxtwc_pmic_update_aux() 351 intel_bxtwc_pmic_get_policy(struct regmap *regmap, int reg, int bit, u64 *value) in intel_bxtwc_pmic_get_policy() 364 intel_bxtwc_pmic_update_policy(struct regmap *regmap, in intel_bxtwc_pmic_update_policy()
|
/linux/drivers/reset/hisilicon/ |
A D | hi6220_reset.c | 41 struct regmap *regmap; member 48 struct regmap *regmap = data->regmap; in hi6220_peripheral_assert() local 60 struct regmap *regmap = data->regmap; in hi6220_peripheral_deassert() local 77 struct regmap *regmap = data->regmap; in hi6220_media_assert() local 86 struct regmap *regmap = data->regmap; in hi6220_media_deassert() local 110 struct regmap *regmap = data->regmap; in hi6220_ao_assert() local 129 struct regmap *regmap = data->regmap; in hi6220_ao_deassert() local 161 struct regmap *regmap; in hi6220_reset_probe() local
|
/linux/sound/soc/codecs/ |
A D | zl38060.c | 86 struct regmap *regmap; member 91 static int zl38_fw_issue_command(struct regmap *regmap, u16 cmd) in zl38_fw_issue_command() 113 static int zl38_fw_go(struct regmap *regmap) in zl38_fw_go() 124 static int zl38_fw_enter_boot_mode(struct regmap *regmap) in zl38_fw_enter_boot_mode() 151 static int zl38_fw_send_xaddr(struct regmap *regmap, const void *data) in zl38_fw_send_xaddr() 162 static int zl38_load_firmware(struct device *dev, struct regmap *regmap) in zl38_load_firmware() 210 static int zl38_software_reset(struct regmap *regmap) in zl38_software_reset() 393 struct regmap *regmap = gpiochip_get_data(c); in chip_gpio_set() local 401 struct regmap *regmap = gpiochip_get_data(c); in chip_gpio_get() local 415 struct regmap *regmap = gpiochip_get_data(c); in chip_direction_input() local [all …]
|
A D | nau8821.c | 877 struct regmap *regmap = nau8821->regmap; in nau8821_eject_jack() local 921 struct regmap *regmap = nau8821->regmap; in nau8821_jdet_work() local 955 struct regmap *regmap = nau8821->regmap; in nau8821_setup_inserted_irq() local 984 struct regmap *regmap = nau8821->regmap; in nau8821_interrupt() local 1132 struct regmap *regmap = nau8821->regmap; in nau8821_fll_apply() local 1234 struct regmap *regmap = nau8821->regmap; in nau8821_configure_sysclk() local 1319 struct regmap *regmap = nau8821->regmap; in nau8821_resume_setup() local 1346 struct regmap *regmap = nau8821->regmap; in nau8821_set_bias_level() local 1470 static void nau8821_reset_chip(struct regmap *regmap) in nau8821_reset_chip() 1535 struct regmap *regmap = nau8821->regmap; in nau8821_init_regs() local [all …]
|
A D | nau8825.c | 990 struct regmap *regmap = nau8825->regmap; in system_clock_control() local 1464 struct regmap *regmap = nau8825->regmap; in nau8825_enable_jack_detect() local 1532 struct regmap *regmap = nau8825->regmap; in nau8825_eject_jack() local 1575 struct regmap *regmap = nau8825->regmap; in nau8825_setup_auto_irq() local 1634 struct regmap *regmap = nau8825->regmap; in nau8825_jack_insert() local 1712 struct regmap *regmap = nau8825->regmap; in nau8825_interrupt() local 1840 struct regmap *regmap = nau8825->regmap; in nau8825_setup_buttons() local 1879 struct regmap *regmap = nau8825->regmap; in nau8825_init_regs() local 2194 struct regmap *regmap = nau8825->regmap; in nau8825_configure_sysclk() local 2349 struct regmap *regmap = nau8825->regmap; in nau8825_resume_setup() local [all …]
|
/linux/sound/soc/fsl/ |
A D | fsl_spdif.c | 121 struct regmap *regmap; member 210 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_dpll_lock() local 226 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_sym_error() local 240 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_uqrx_full() local 295 struct regmap *regmap = spdif_priv->regmap; in spdif_irq_uq_err() local 314 struct regmap *regmap = spdif_priv->regmap; in spdif_intr_status_clear() local 394 struct regmap *regmap = spdif_priv->regmap; in spdif_softreset() local 429 struct regmap *regmap = spdif_priv->regmap; in spdif_write_channel_status() local 450 struct regmap *regmap = spdif_priv->regmap; in spdif_set_rx_clksrc() local 469 struct regmap *regmap = spdif_priv->regmap; in spdif_set_sample_rate() local [all …]
|
/linux/drivers/mfd/ |
A D | syscon.c | 33 struct regmap *regmap; member 47 struct regmap *regmap; in of_syscon_register() local 195 struct regmap *regmap; in syscon_regmap_lookup_by_compatible() local 212 struct regmap *regmap; in syscon_regmap_lookup_by_phandle() local 236 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_args() local 266 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_optional() local
|
/linux/drivers/gpio/ |
A D | gpio-tps68470.c | 32 struct regmap *regmap = tps68470_gpio->tps68470_regmap; in tps68470_gpio_get() local 54 struct regmap *regmap = tps68470_gpio->tps68470_regmap; in tps68470_gpio_get_direction() local 77 struct regmap *regmap = tps68470_gpio->tps68470_regmap; in tps68470_gpio_set() local 92 struct regmap *regmap = tps68470_gpio->tps68470_regmap; in tps68470_gpio_output() local 109 struct regmap *regmap = tps68470_gpio->tps68470_regmap; in tps68470_gpio_input() local
|
/linux/drivers/media/platform/atmel/ |
A D | atmel-sama7g5-isc.c | 209 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_csc() local 228 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_cbc() local 240 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_cc() local 265 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_dpc() local 275 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_gam() local 283 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_rlp() local
|
/linux/drivers/phy/mscc/ |
A D | phy-ocelot-serdes.c | 36 static int __serdes_write_mcb_s6g(struct regmap *regmap, u8 macro, u32 op) in __serdes_write_mcb_s6g() 48 static int serdes_commit_mcb_s6g(struct regmap *regmap, u8 macro) in serdes_commit_mcb_s6g() 54 static int serdes_update_mcb_s6g(struct regmap *regmap, u8 macro) in serdes_update_mcb_s6g() 60 static int serdes_init_s6g(struct regmap *regmap, u8 serdes, int mode) in serdes_init_s6g() 268 static int __serdes_write_mcb_s1g(struct regmap *regmap, u8 macro, u32 op) in __serdes_write_mcb_s1g() 280 static int serdes_commit_mcb_s1g(struct regmap *regmap, u8 macro) in serdes_commit_mcb_s1g() 286 static int serdes_update_mcb_s1g(struct regmap *regmap, u8 macro) in serdes_update_mcb_s1g() 292 static int serdes_init_s1g(struct regmap *regmap, u8 serdes) in serdes_init_s1g()
|
/linux/drivers/pinctrl/ |
A D | pinctrl-da9062.c | 47 struct regmap *regmap = pctl->da9062->regmap; in da9062_pctl_get_pin_mode() local 63 struct regmap *regmap = pctl->da9062->regmap; in da9062_pctl_set_pin_mode() local 83 struct regmap *regmap = pctl->da9062->regmap; in da9062_gpio_get() local 113 struct regmap *regmap = pctl->da9062->regmap; in da9062_gpio_set() local 145 struct regmap *regmap = pctl->da9062->regmap; in da9062_gpio_direction_input() local 188 struct regmap *regmap = pctl->da9062->regmap; in da9062_gpio_set_config() local
|
/linux/drivers/power/supply/ |
A D | act8945a_charger.c | 78 struct regmap *regmap; member 86 static int act8945a_get_charger_state(struct regmap *regmap, int *val) in act8945a_get_charger_state() 125 static int act8945a_get_charge_type(struct regmap *regmap, int *val) in act8945a_get_charge_type() 163 static int act8945a_get_battery_health(struct regmap *regmap, int *val) in act8945a_get_battery_health() 210 struct regmap *regmap, int *val) in act8945a_get_capacity_level() 277 struct regmap *regmap, int *val) in act8945a_get_current_max() 347 struct regmap *regmap = charger->regmap; in act8945a_charger_get_property() local 386 struct regmap *regmap = charger->regmap; in act8945a_enable_interrupt() local 461 struct regmap *regmap = charger->regmap; in act8945a_charger_config() local
|
/linux/drivers/watchdog/ |
A D | uniphier_wdt.c | 49 struct regmap *regmap; member 76 static int __uniphier_watchdog_start(struct regmap *regmap, unsigned int sec) in __uniphier_watchdog_start() 107 static int __uniphier_watchdog_stop(struct regmap *regmap) in __uniphier_watchdog_stop() 113 static int __uniphier_watchdog_restart(struct regmap *regmap, unsigned int sec) in __uniphier_watchdog_restart() 186 struct regmap *regmap; in uniphier_wdt_probe() local
|
/linux/drivers/media/i2c/ |
A D | ov7740.c | 92 struct regmap *regmap; member 274 struct regmap *regmap = ov7740->regmap; in ov7740_get_register() local 289 struct regmap *regmap = ov7740->regmap; in ov7740_set_register() local 337 struct regmap *regmap = ov7740->regmap; in ov7740_set_white_balance() local 377 static int ov7740_set_gain(struct regmap *regmap, int value) in ov7740_set_gain() 432 struct regmap *regmap = ov7740->regmap; in ov7740_get_gain() local 453 struct regmap *regmap = ov7740->regmap; in ov7740_get_exp() local 472 static int ov7740_set_exp(struct regmap *regmap, int value) in ov7740_set_exp() 489 static int ov7740_set_autoexp(struct regmap *regmap, in ov7740_set_autoexp() 533 struct regmap *regmap = ov7740->regmap; in ov7740_set_ctrl() local [all …]
|
/linux/drivers/video/backlight/ |
A D | sky81452-backlight.c | 73 struct regmap *regmap = bl_get_data(bd); in sky81452_bl_update_status() local 95 struct regmap *regmap = bl_get_data(to_backlight_device(dev)); in sky81452_bl_store_enable() local 114 struct regmap *regmap = bl_get_data(to_backlight_device(dev)); in sky81452_bl_show_open_short() local 144 struct regmap *regmap = bl_get_data(to_backlight_device(dev)); in sky81452_bl_show_fault() local 251 static int sky81452_bl_init_device(struct regmap *regmap, in sky81452_bl_init_device() 276 struct regmap *regmap = dev_get_drvdata(dev->parent); in sky81452_bl_probe() local
|