Home
last modified time | relevance | path

Searched defs:regmap (Results 1 – 25 of 944) sorted by relevance

12345678910>>...38

/drivers/base/regmap/
Dinternal.h50 struct regmap { struct
62 regmap_lock lock; argument
63 regmap_unlock unlock; argument
70 struct regmap_format format; /* Buffer format */ argument
71 const struct regmap_bus *bus; argument
72 void *bus_context;
73 const char *name;
75 bool async;
76 spinlock_t async_lock;
77 wait_queue_head_t async_waitq;
[all …]
/drivers/clk/at91/
Dclk-main.c30 struct regmap *regmap; member
38 struct regmap *regmap; member
48 struct regmap *regmap; member
55 struct regmap *regmap; member
62 static inline bool clk_main_osc_ready(struct regmap *regmap) in clk_main_osc_ready()
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
152 at91_clk_register_main_osc(struct regmap *regmap, in at91_clk_register_main_osc()
194 static bool clk_main_rc_osc_ready(struct regmap *regmap) in clk_main_rc_osc_ready()
[all …]
Ddt-compat.c35 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 …]
Dclk-sam9x60-pll.c32 struct regmap *regmap; member
60 static inline bool sam9x60_pll_ready(struct regmap *regmap, int id) in sam9x60_pll_ready()
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
[all …]
/drivers/clk/davinci/
Dda8xx-cfgchip.c34 struct regmap *regmap; member
89 struct regmap *regmap) in da8xx_cfgchip_gate_clk_register()
135 struct regmap *regmap) in da8xx_cfgchip_register_tbclk()
158 struct regmap *regmap) in da8xx_cfgchip_register_div4p5()
170 struct regmap *regmap) in of_da8xx_cfgchip_gate_clk_init()
182 struct regmap *regmap) in of_da8xx_tbclksync_init()
188 struct regmap *regmap) in of_da8xx_div4p5ena_init()
205 struct regmap *regmap; member
239 struct regmap *regmap) in da8xx_cfgchip_mux_clk_register()
277 struct regmap *regmap) in da8xx_cfgchip_register_async1()
[all …]
/drivers/hwmon/
Dw83773g.c61 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
Dtmp103.c57 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
Dltc2945.c69 struct regmap *regmap = dev_get_drvdata(dev); in ltc2945_reg_to_val() local
151 struct regmap *regmap = dev_get_drvdata(dev); in ltc2945_val_to_reg() local
237 struct regmap *regmap = dev_get_drvdata(dev); in ltc2945_value_store() local
274 struct regmap *regmap = dev_get_drvdata(dev); in ltc2945_history_store() local
326 struct regmap *regmap = dev_get_drvdata(dev); in ltc2945_bool_show() local
454 struct regmap *regmap; in ltc2945_probe() local
/drivers/clk/qcom/
Dclk-hfpll.c24 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_init_once() local
57 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_enable() local
96 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_enable() local
111 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_disable() local
156 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_set_rate() local
194 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_recalc_rate() local
206 struct regmap *regmap = h->clkr.regmap; in clk_hfpll_init() local
232 struct regmap *regmap = h->clkr.regmap; in hfpll_is_enabled() local
/drivers/reset/hisilicon/
Dhi6220_reset.c41 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
/drivers/acpi/pmic/
Dintel_pmic_bytcrc.c188 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()
Dtps68470_pmic.c31 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
Dintel_pmic_bxtwc.c273 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()
/drivers/mfd/
Dsyscon.c34 struct regmap *regmap; member
48 struct regmap *regmap; in of_syscon_register() local
200 struct regmap *regmap; in syscon_regmap_lookup_by_compatible() local
217 struct regmap *regmap; in syscon_regmap_lookup_by_phandle() local
241 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_args() local
271 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_optional() local
/drivers/phy/mscc/
Dphy-ocelot-serdes.c36 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()
/drivers/media/platform/atmel/
Datmel-sama7g5-isc.c212 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_csc() local
231 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_cbc() local
243 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_cc() local
268 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_dpc() local
278 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_gam() local
286 struct regmap *regmap = isc->regmap; in isc_sama7g5_config_rlp() local
/drivers/pinctrl/
Dpinctrl-rockchip.c1048 struct regmap *regmap; in rockchip_get_mux() local
1164 struct regmap *regmap; in rockchip_set_mux() local
1282 int pin_num, struct regmap **regmap, in px30_calc_pull_reg_and_bit()
1314 int pin_num, struct regmap **regmap, in px30_calc_drv_reg_and_bit()
1347 struct regmap **regmap, in px30_calc_schmitt_reg_and_bit()
1377 int pin_num, struct regmap **regmap, in rv1108_calc_pull_reg_and_bit()
1408 int pin_num, struct regmap **regmap, in rv1108_calc_drv_reg_and_bit()
1441 struct regmap **regmap, in rv1108_calc_schmitt_reg_and_bit()
1471 int pin_num, struct regmap **regmap, in rv1126_calc_pull_reg_and_bit()
1508 int pin_num, struct regmap **regmap, in rv1126_calc_drv_reg_and_bit()
[all …]
Dpinctrl-da9062.c48 struct regmap *regmap = pctl->da9062->regmap; in da9062_pctl_get_pin_mode() local
64 struct regmap *regmap = pctl->da9062->regmap; in da9062_pctl_set_pin_mode() local
84 struct regmap *regmap = pctl->da9062->regmap; in da9062_gpio_get() local
114 struct regmap *regmap = pctl->da9062->regmap; in da9062_gpio_set() local
146 struct regmap *regmap = pctl->da9062->regmap; in da9062_gpio_direction_input() local
189 struct regmap *regmap = pctl->da9062->regmap; in da9062_gpio_set_config() local
/drivers/gpio/
Dgpio-tps68470.c32 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
/drivers/power/supply/
Dact8945a_charger.c78 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
/drivers/media/i2c/
Dov7740.c92 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
366 static int ov7740_set_saturation(struct regmap *regmap, int value) in ov7740_set_saturation()
377 static int ov7740_set_gain(struct regmap *regmap, int value) in ov7740_set_gain()
393 static int ov7740_set_autogain(struct regmap *regmap, int value) in ov7740_set_autogain()
408 static int ov7740_set_brightness(struct regmap *regmap, int value) in ov7740_set_brightness()
425 static int ov7740_set_contrast(struct regmap *regmap, int value) in ov7740_set_contrast()
432 struct regmap *regmap = ov7740->regmap; in ov7740_get_gain() local
[all …]
/drivers/regulator/
Drt5120-regulator.c54 struct regmap *regmap; member
60 struct regmap *regmap = rdev_get_regmap(rdev); in rt5120_buck_set_mode() local
80 struct regmap *regmap = rdev_get_regmap(rdev); in rt5120_buck_get_mode() local
97 struct regmap *regmap = rdev_get_regmap(rdev); in rt5120_regulator_get_error_flags() local
130 struct regmap *regmap = rdev_get_regmap(rdev); in rt5120_buck1_set_suspend_voltage() local
142 struct regmap *regmap = rdev_get_regmap(rdev); in rt5120_regulator_set_suspend_enable() local
151 struct regmap *regmap = rdev_get_regmap(rdev); in rt5120_regulator_set_suspend_disable() local
/drivers/watchdog/
Duniphier_wdt.c49 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
/drivers/rtc/
Drtc-ab-eoz9.c96 struct regmap *regmap; member
103 struct regmap *regmap = data->regmap; in abeoz9_check_validity() local
134 static int abeoz9_reset_validity(struct regmap *regmap) in abeoz9_reset_validity()
184 struct regmap *regmap = data->regmap; in abeoz9_rtc_set_time() local
211 struct regmap *regmap = data->regmap; in abeoz9_rtc_read_alarm() local
324 struct regmap *regmap = data->regmap; in abeoz9_rtc_setup() local
391 struct regmap *regmap = data->regmap; in abeoz9z3_temp_read() local
502 struct regmap *regmap; in abeoz9_probe() local
/drivers/video/backlight/
Dsky81452-backlight.c73 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

12345678910>>...38