Home
last modified time | relevance | path

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

12345678910>>...33

/drivers/base/regmap/
Dinternal.h49 struct regmap { struct
61 regmap_lock lock; argument
62 regmap_unlock unlock; argument
68 struct regmap_format format; /* Buffer format */ argument
69 const struct regmap_bus *bus; argument
70 void *bus_context;
71 const char *name;
73 bool async;
74 spinlock_t async_lock;
75 wait_queue_head_t async_waitq;
[all …]
/drivers/clk/at91/
Dclk-main.c30 struct regmap *regmap; member
37 struct regmap *regmap; member
46 struct regmap *regmap; member
53 struct regmap *regmap; member
59 static inline bool clk_main_osc_ready(struct regmap *regmap) in clk_main_osc_ready()
71 struct regmap *regmap = osc->regmap; in clk_main_osc_prepare() local
94 struct regmap *regmap = osc->regmap; in clk_main_osc_unprepare() local
111 struct regmap *regmap = osc->regmap; in clk_main_osc_is_prepared() local
130 at91_clk_register_main_osc(struct regmap *regmap, in at91_clk_register_main_osc()
172 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
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 …]
Dclk-sam9x60-pll.c31 struct regmap *regmap; member
54 static inline bool sam9x60_pll_ready(struct regmap *regmap, int id) in sam9x60_pll_ready()
63 static bool sam9x60_frac_pll_ready(struct regmap *regmap, u8 id) in sam9x60_frac_pll_ready()
82 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_prepare() local
147 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_unprepare() local
237 struct regmap *regmap = core->regmap; in sam9x60_frac_pll_set_rate_chg() local
305 struct regmap *regmap = core->regmap; in sam9x60_div_pll_prepare() local
340 struct regmap *regmap = core->regmap; in sam9x60_div_pll_unprepare() local
361 struct regmap *regmap = core->regmap; in sam9x60_div_pll_is_prepared() local
452 struct regmap *regmap = core->regmap; in sam9x60_div_pll_set_rate_chg() local
[all …]
Dclk-usb.c26 struct regmap *regmap; member
36 struct regmap *regmap; member
196 _at91sam9x5_clk_register_usb(struct regmap *regmap, const char *name, in _at91sam9x5_clk_register_usb()
232 at91sam9x5_clk_register_usb(struct regmap *regmap, const char *name, in at91sam9x5_clk_register_usb()
240 sam9x60_clk_register_usb(struct regmap *regmap, const char *name, in sam9x60_clk_register_usb()
248 at91sam9n12_clk_register_usb(struct regmap *regmap, const char *name, in at91sam9n12_clk_register_usb()
365 at91rm9200_clk_register_usb(struct regmap *regmap, const char *name, in at91rm9200_clk_register_usb()
/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.c58 struct regmap *regmap = dev_get_drvdata(dev); in tmp103_temp_show() local
74 struct regmap *regmap = dev_get_drvdata(dev); in tmp103_temp_store() local
116 struct regmap *regmap; in tmp103_probe() local
140 struct regmap *regmap = dev_get_drvdata(dev); in tmp103_suspend() local
148 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
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
/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
201 struct regmap *regmap; in syscon_regmap_lookup_by_compatible() local
218 struct regmap *regmap; in syscon_regmap_lookup_by_phandle() local
242 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_args() local
272 struct regmap *regmap; in syscon_regmap_lookup_by_phandle_optional() local
/drivers/media/platform/atmel/
Datmel-sama7g5-isc.c209 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
/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/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/pinctrl/
Dpinctrl-rockchip.c879 struct regmap *regmap; in rockchip_get_mux() local
969 struct regmap *regmap; in rockchip_set_mux() local
1043 int pin_num, struct regmap **regmap, in px30_calc_pull_reg_and_bit()
1075 int pin_num, struct regmap **regmap, in px30_calc_drv_reg_and_bit()
1108 struct regmap **regmap, in px30_calc_schmitt_reg_and_bit()
1138 int pin_num, struct regmap **regmap, in rv1108_calc_pull_reg_and_bit()
1169 int pin_num, struct regmap **regmap, in rv1108_calc_drv_reg_and_bit()
1202 struct regmap **regmap, in rv1108_calc_schmitt_reg_and_bit()
1229 int pin_num, struct regmap **regmap, in rk3308_calc_schmitt_reg_and_bit()
1249 int pin_num, struct regmap **regmap, in rk2928_calc_pull_reg_and_bit()
[all …]
Dpinctrl-da9062.c47 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
/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/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/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
/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
503 struct regmap *regmap; in abeoz9_probe() local

12345678910>>...33