Home
last modified time | relevance | path

Searched refs:regmap (Results 1 - 25 of 5118) sorted by relevance

12345678910>>...205

/kernel/linux/linux-6.6/drivers/phy/qualcomm/
H A Dphy-qcom-sgmii-eth.c12 #include <linux/regmap.h>
108 struct regmap *regmap; member
113 static void qcom_dwmac_sgmii_phy_init_1g(struct regmap *regmap) in qcom_dwmac_sgmii_phy_init_1g() argument
115 regmap_write(regmap, QSERDES_PCS_SW_RESET, 0x01); in qcom_dwmac_sgmii_phy_init_1g()
116 regmap_write(regmap, QSERDES_PCS_POWER_DOWN_CONTROL, 0x01); in qcom_dwmac_sgmii_phy_init_1g()
118 regmap_write(regmap, QSERDES_COM_PLL_IVCO, 0x0F); in qcom_dwmac_sgmii_phy_init_1g()
119 regmap_write(regmap, QSERDES_COM_CP_CTRL_MODE0, 0x06); in qcom_dwmac_sgmii_phy_init_1g()
120 regmap_write(regmap, QSERDES_COM_PLL_RCTRL_MODE in qcom_dwmac_sgmii_phy_init_1g()
201 qcom_dwmac_sgmii_phy_init_2p5g(struct regmap *regmap) qcom_dwmac_sgmii_phy_init_2p5g() argument
290 qcom_dwmac_sgmii_phy_poll_status(struct regmap *regmap, unsigned int reg, unsigned int bit) qcom_dwmac_sgmii_phy_poll_status() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dmt6358.c83 struct regmap *regmap; member
115 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_CLR, in playback_gpio_set()
117 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_SET, in playback_gpio_set()
119 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2, in playback_gpio_set()
130 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_CLR, in playback_gpio_reset()
132 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2, in playback_gpio_reset()
134 regmap_update_bits(priv->regmap, MT6358_GPIO_DIR0, in playback_gpio_reset()
141 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE3_CLR, in capture_gpio_set()
143 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE3_SE in capture_gpio_set()
[all...]
H A Dnau8825.c15 #include <linux/regmap.h>
335 regmap_update_bits(nau8825->regmap, NAU8825_REG_HSVOL_CTRL, in nau8825_hpvol_ramp()
344 regmap_update_bits(nau8825->regmap, NAU8825_REG_HSVOL_CTRL, in nau8825_hpvol_ramp()
461 regmap_read(nau8825->regmap, nau8825_xtalk_baktab[i].reg, in nau8825_xtalk_backup()
488 regmap_write(nau8825->regmap, nau8825_xtalk_baktab[i].reg, in nau8825_xtalk_restore()
498 regmap_update_bits(nau8825->regmap, NAU8825_REG_ENA_CTRL, in nau8825_xtalk_prepare_dac()
507 regmap_update_bits(nau8825->regmap, NAU8825_REG_CHARGE_PUMP, in nau8825_xtalk_prepare_dac()
511 regmap_update_bits(nau8825->regmap, NAU8825_REG_RDAC, in nau8825_xtalk_prepare_dac()
516 regmap_update_bits(nau8825->regmap, NAU8825_REG_POWER_UP_CONTROL, in nau8825_xtalk_prepare_dac()
521 regmap_update_bits(nau8825->regmap, NAU8825_REG_POWER_UP_CONTRO in nau8825_xtalk_prepare_dac()
1432 struct regmap *regmap = nau8825->regmap; nau8825_enable_jack_detect() local
1448 nau8825_is_jack_inserted(struct regmap *regmap) nau8825_is_jack_inserted() argument
1463 nau8825_restart_jack_detection(struct regmap *regmap) nau8825_restart_jack_detection() argument
1475 nau8825_int_status_clear_all(struct regmap *regmap) nau8825_int_status_clear_all() argument
1494 struct regmap *regmap = nau8825->regmap; nau8825_eject_jack() local
1537 struct regmap *regmap = nau8825->regmap; nau8825_setup_auto_irq() local
1596 struct regmap *regmap = nau8825->regmap; nau8825_jack_insert() local
1674 struct regmap *regmap = nau8825->regmap; nau8825_interrupt() local
1802 struct regmap *regmap = nau8825->regmap; nau8825_setup_buttons() local
1841 struct regmap *regmap = nau8825->regmap; nau8825_init_regs() local
2142 nau8825_configure_mclk_as_sysclk(struct regmap *regmap) nau8825_configure_mclk_as_sysclk() argument
2156 struct regmap *regmap = nau8825->regmap; nau8825_configure_sysclk() local
2311 struct regmap *regmap = nau8825->regmap; nau8825_resume_setup() local
2439 nau8825_reset_chip(struct regmap *regmap) nau8825_reset_chip() argument
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dmt6358.c83 struct regmap *regmap; member
115 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_CLR, in playback_gpio_set()
117 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_SET, in playback_gpio_set()
119 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2, in playback_gpio_set()
130 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2_CLR, in playback_gpio_reset()
132 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE2, in playback_gpio_reset()
134 regmap_update_bits(priv->regmap, MT6358_GPIO_DIR0, in playback_gpio_reset()
141 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE3_CLR, in capture_gpio_set()
143 regmap_update_bits(priv->regmap, MT6358_GPIO_MODE3_SE in capture_gpio_set()
[all...]
H A Dmt6359.c24 regmap_update_bits(priv->regmap, MT6359_SMT_CON1, 0x3ff0, 0x3ff0); in mt6359_set_gpio_smt()
30 regmap_update_bits(priv->regmap, MT6359_DRV_CON2, 0xffff, 0x8888); in mt6359_set_gpio_driving()
31 regmap_update_bits(priv->regmap, MT6359_DRV_CON3, 0xffff, 0x8888); in mt6359_set_gpio_driving()
32 regmap_update_bits(priv->regmap, MT6359_DRV_CON4, 0x00ff, 0x88); in mt6359_set_gpio_driving()
38 regmap_write(priv->regmap, MT6359_GPIO_MODE2_CLR, 0x0ffe); in mt6359_set_playback_gpio()
39 regmap_write(priv->regmap, MT6359_GPIO_MODE2_SET, 0x0249); in mt6359_set_playback_gpio()
42 regmap_write(priv->regmap, MT6359_GPIO_MODE3_CLR, 0x6); in mt6359_set_playback_gpio()
43 regmap_write(priv->regmap, MT6359_GPIO_MODE3_SET, 0x1); in mt6359_set_playback_gpio()
53 regmap_write(priv->regmap, MT6359_GPIO_MODE2_CLR, 0x0ff8); in mt6359_reset_playback_gpio()
54 regmap_update_bits(priv->regmap, MT6359_GPIO_DIR in mt6359_reset_playback_gpio()
[all...]
H A Dnau8825.c16 #include <linux/regmap.h>
50 static bool nau8825_is_jack_inserted(struct regmap *regmap);
206 /* The regmap patch for Rev C */
320 regmap_update_bits(nau8825->regmap, NAU8825_REG_HSVOL_CTRL, in nau8825_hpvol_ramp()
329 regmap_update_bits(nau8825->regmap, NAU8825_REG_HSVOL_CTRL, in nau8825_hpvol_ramp()
396 regmap_read(nau8825->regmap, nau8825_xtalk_baktab[i].reg, in nau8825_xtalk_backup()
423 regmap_write(nau8825->regmap, nau8825_xtalk_baktab[i].reg, in nau8825_xtalk_restore()
433 regmap_update_bits(nau8825->regmap, NAU8825_REG_ENA_CTRL, in nau8825_xtalk_prepare_dac()
442 regmap_update_bits(nau8825->regmap, NAU8825_REG_CHARGE_PUM in nau8825_xtalk_prepare_dac()
975 struct regmap *regmap = nau8825->regmap; system_clock_control() local
1554 struct regmap *regmap = nau8825->regmap; nau8825_enable_jack_detect() local
1576 nau8825_is_jack_inserted(struct regmap *regmap) nau8825_is_jack_inserted() argument
1591 nau8825_restart_jack_detection(struct regmap *regmap) nau8825_restart_jack_detection() argument
1603 nau8825_int_status_clear_all(struct regmap *regmap) nau8825_int_status_clear_all() argument
1622 struct regmap *regmap = nau8825->regmap; nau8825_eject_jack() local
1665 struct regmap *regmap = nau8825->regmap; nau8825_setup_auto_irq() local
1731 struct regmap *regmap = nau8825->regmap; nau8825_high_imped_detection() local
1846 struct regmap *regmap = nau8825->regmap; nau8825_jack_insert() local
1938 struct regmap *regmap = nau8825->regmap; nau8825_interrupt() local
2066 struct regmap *regmap = nau8825->regmap; nau8825_setup_buttons() local
2105 struct regmap *regmap = nau8825->regmap; nau8825_init_regs() local
2427 nau8825_configure_mclk_as_sysclk(struct regmap *regmap) nau8825_configure_mclk_as_sysclk() argument
2441 struct regmap *regmap = nau8825->regmap; nau8825_configure_sysclk() local
2596 struct regmap *regmap = nau8825->regmap; nau8825_resume_setup() local
2730 nau8825_reset_chip(struct regmap *regmap) nau8825_reset_chip() argument
[all...]
/kernel/linux/linux-5.10/drivers/clk/at91/
H A Dclk-main.c11 #include <linux/regmap.h>
30 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 *regma argument
71 struct regmap *regmap = osc->regmap; clk_main_osc_prepare() local
94 struct regmap *regmap = osc->regmap; clk_main_osc_unprepare() local
111 struct regmap *regmap = osc->regmap; clk_main_osc_is_prepared() local
130 at91_clk_register_main_osc(struct regmap *regmap, const char *name, const char *parent_name, bool bypass) at91_clk_register_main_osc() argument
172 clk_main_rc_osc_ready(struct regmap *regmap) clk_main_rc_osc_ready() argument
184 struct regmap *regmap = osc->regmap; clk_main_rc_osc_prepare() local
203 struct regmap *regmap = osc->regmap; clk_main_rc_osc_unprepare() local
218 struct regmap *regmap = osc->regmap; clk_main_rc_osc_is_prepared() local
252 at91_clk_register_main_rc_osc(struct regmap *regmap, const char *name, u32 frequency, u32 accuracy) at91_clk_register_main_rc_osc() argument
289 clk_main_probe_frequency(struct regmap *regmap) clk_main_probe_frequency() argument
309 clk_main_recalc_rate(struct regmap *regmap, unsigned long parent_rate) clk_main_recalc_rate() argument
357 at91_clk_register_rm9200_main(struct regmap *regmap, const char *name, const char *parent_name) at91_clk_register_rm9200_main() argument
395 clk_sam9x5_main_ready(struct regmap *regmap) clk_sam9x5_main_ready() argument
407 struct regmap *regmap = clkmain->regmap; clk_sam9x5_main_prepare() local
433 struct regmap *regmap = clkmain->regmap; clk_sam9x5_main_set_parent() local
477 at91_clk_register_sam9x5_main(struct regmap *regmap, const char *name, const char **parent_names, int num_parents) at91_clk_register_sam9x5_main() argument
[all...]
H A Dpmc.h13 #include <linux/regmap.h>
116 at91_clk_register_audio_pll_frac(struct regmap *regmap, const char *name,
120 at91_clk_register_audio_pll_pad(struct regmap *regmap, const char *name,
124 at91_clk_register_audio_pll_pmc(struct regmap *regmap, const char *name,
128 at91_clk_register_generated(struct regmap *regmap, spinlock_t *lock,
135 at91_clk_register_h32mx(struct regmap *regma
[all...]
H A Ddt-compat.c6 #include <linux/regmap.h>
33 struct regmap *regmap; in of_sama5d2_clk_audio_pll_frac_setup() local
35 regmap = syscon_node_to_regmap(of_get_parent(np)); in of_sama5d2_clk_audio_pll_frac_setup()
36 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_frac_setup()
41 hw = at91_clk_register_audio_pll_frac(regmap, name, parent_name); in of_sama5d2_clk_audio_pll_frac_setup()
56 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pad_setup() local
58 regmap = syscon_node_to_regmap(of_get_parent(np)); in of_sama5d2_clk_audio_pll_pad_setup()
59 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_pad_setup()
79 struct regmap *regmap; of_sama5d2_clk_audio_pll_pmc_setup() local
123 struct regmap *regmap; of_sama5d2_clk_generated_setup() local
180 struct regmap *regmap; of_sama5d4_clk_h32mx_setup() local
242 struct regmap *regmap; of_at91rm9200_clk_main_osc_setup() local
268 struct regmap *regmap; of_at91sam9x5_clk_main_rc_osc_setup() local
292 struct regmap *regmap; of_at91rm9200_clk_main_setup() local
316 struct regmap *regmap; of_at91sam9x5_clk_main_setup() local
373 struct regmap *regmap; of_at91_clk_master_setup() local
427 struct regmap *regmap; of_at91_clk_periph_setup() local
593 struct regmap *regmap; of_at91_clk_pll_setup() local
659 struct regmap *regmap; of_at91sam9x5_clk_plldiv_setup() local
690 struct regmap *regmap; of_at91_clk_prog_setup() local
750 struct regmap *regmap; of_at91sam9260_clk_slow_setup() local
782 struct regmap *regmap; of_at91sam9x5_clk_smd_setup() local
815 struct regmap *regmap; of_at91rm9200_clk_sys_setup() local
853 struct regmap *regmap; of_at91sam9x5_clk_usb_setup() local
882 struct regmap *regmap; of_at91sam9n12_clk_usb_setup() local
909 struct regmap *regmap; of_at91rm9200_clk_usb_setup() local
[all...]
H A Dclk-sam9x60-pll.c13 #include <linux/regmap.h>
31 struct regmap *regmap; member
54 static inline bool sam9x60_pll_ready(struct regmap *regmap, int id) in sam9x60_pll_ready() argument
58 regmap_read(regmap, AT91_PMC_PLL_ISR0, &status); in sam9x60_pll_ready()
63 static bool sam9x60_frac_pll_ready(struct regmap *regmap, u8 id) in sam9x60_frac_pll_ready() argument
65 return sam9x60_pll_ready(regmap, id); in sam9x60_frac_pll_ready()
82 struct regmap *regma in sam9x60_frac_pll_prepare() local
147 struct regmap *regmap = core->regmap; sam9x60_frac_pll_unprepare() local
245 struct regmap *regmap = core->regmap; sam9x60_div_pll_prepare() local
280 struct regmap *regmap = core->regmap; sam9x60_div_pll_unprepare() local
301 struct regmap *regmap = core->regmap; sam9x60_div_pll_is_prepared() local
397 sam9x60_clk_register_frac_pll(struct regmap *regmap, spinlock_t *lock, const char *name, const char *parent_name, struct clk_hw *parent_hw, u8 id, const struct clk_pll_characteristics *characteristics, const struct clk_pll_layout *layout, bool critical) sam9x60_clk_register_frac_pll() argument
478 sam9x60_clk_register_div_pll(struct regmap *regmap, spinlock_t *lock, const char *name, const char *parent_name, u8 id, const struct clk_pll_characteristics *characteristics, const struct clk_pll_layout *layout, bool critical) sam9x60_clk_register_div_pll() argument
[all...]
/kernel/linux/linux-6.6/drivers/clk/at91/
H A Dclk-main.c11 #include <linux/regmap.h>
30 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 *regma argument
74 struct regmap *regmap = osc->regmap; clk_main_osc_prepare() local
97 struct regmap *regmap = osc->regmap; clk_main_osc_unprepare() local
114 struct regmap *regmap = osc->regmap; clk_main_osc_is_prepared() local
152 at91_clk_register_main_osc(struct regmap *regmap, const char *name, const char *parent_name, struct clk_parent_data *parent_data, bool bypass) at91_clk_register_main_osc() argument
198 clk_main_rc_osc_ready(struct regmap *regmap) clk_main_rc_osc_ready() argument
210 struct regmap *regmap = osc->regmap; clk_main_rc_osc_prepare() local
229 struct regmap *regmap = osc->regmap; clk_main_rc_osc_unprepare() local
244 struct regmap *regmap = osc->regmap; clk_main_rc_osc_is_prepared() local
297 at91_clk_register_main_rc_osc(struct regmap *regmap, const char *name, u32 frequency, u32 accuracy) at91_clk_register_main_rc_osc() argument
334 clk_main_probe_frequency(struct regmap *regmap) clk_main_probe_frequency() argument
354 clk_main_recalc_rate(struct regmap *regmap, unsigned long parent_rate) clk_main_recalc_rate() argument
402 at91_clk_register_rm9200_main(struct regmap *regmap, const char *name, const char *parent_name, struct clk_hw *parent_hw) at91_clk_register_rm9200_main() argument
444 clk_sam9x5_main_ready(struct regmap *regmap) clk_sam9x5_main_ready() argument
456 struct regmap *regmap = clkmain->regmap; clk_sam9x5_main_prepare() local
482 struct regmap *regmap = clkmain->regmap; clk_sam9x5_main_set_parent() local
552 at91_clk_register_sam9x5_main(struct regmap *regmap, const char *name, const char **parent_names, struct clk_hw **parent_hws, int num_parents) at91_clk_register_sam9x5_main() argument
[all...]
H A Dpmc.h13 #include <linux/regmap.h>
132 at91_clk_register_audio_pll_frac(struct regmap *regmap, const char *name,
136 at91_clk_register_audio_pll_pad(struct regmap *regmap, const char *name,
140 at91_clk_register_audio_pll_pmc(struct regmap *regmap, const char *name,
144 at91_clk_register_generated(struct regmap *regmap, spinlock_t *lock,
152 at91_clk_register_h32mx(struct regmap *regma
[all...]
H A Ddt-compat.c6 #include <linux/regmap.h>
35 struct regmap *regmap; in of_sama5d2_clk_audio_pll_frac_setup() local
39 regmap = syscon_node_to_regmap(parent_np); in of_sama5d2_clk_audio_pll_frac_setup()
41 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_frac_setup()
46 hw = at91_clk_register_audio_pll_frac(regmap, name, parent_name); in of_sama5d2_clk_audio_pll_frac_setup()
61 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pad_setup() local
65 regmap = syscon_node_to_regmap(parent_np); in of_sama5d2_clk_audio_pll_pad_setup()
67 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_pad_setup()
87 struct regmap *regmap; of_sama5d2_clk_audio_pll_pmc_setup() local
134 struct regmap *regmap; of_sama5d2_clk_generated_setup() local
193 struct regmap *regmap; of_sama5d4_clk_h32mx_setup() local
258 struct regmap *regmap; of_at91rm9200_clk_main_osc_setup() local
287 struct regmap *regmap; of_at91sam9x5_clk_main_rc_osc_setup() local
314 struct regmap *regmap; of_at91rm9200_clk_main_setup() local
341 struct regmap *regmap; of_at91sam9x5_clk_main_setup() local
401 struct regmap *regmap; of_at91_clk_master_setup() local
464 struct regmap *regmap; of_at91_clk_periph_setup() local
644 struct regmap *regmap; of_at91_clk_pll_setup() local
713 struct regmap *regmap; of_at91sam9x5_clk_plldiv_setup() local
747 struct regmap *regmap; of_at91_clk_prog_setup() local
809 struct regmap *regmap; of_at91sam9260_clk_slow_setup() local
844 struct regmap *regmap; of_at91sam9x5_clk_smd_setup() local
880 struct regmap *regmap; of_at91rm9200_clk_sys_setup() local
931 struct regmap *regmap; of_at91sam9x5_clk_usb_setup() local
963 struct regmap *regmap; of_at91sam9n12_clk_usb_setup() local
993 struct regmap *regmap; of_at91rm9200_clk_usb_setup() local
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dw83773g.c16 #include <linux/regmap.h>
61 static int get_local_temp(struct regmap *regmap, long *val) in get_local_temp() argument
66 ret = regmap_read(regmap, W83773_LOCAL_TEMP, &regval); in get_local_temp()
74 static int get_remote_temp(struct regmap *regmap, int index, long *val) in get_remote_temp() argument
80 ret = regmap_read(regmap, W83773_TEMP_MSB[index], &regval_high); in get_remote_temp()
84 ret = regmap_read(regmap, W83773_TEMP_LSB[index], &regval_low); in get_remote_temp()
92 static int get_fault(struct regmap *regmap, in argument
105 get_offset(struct regmap *regmap, int index, long *val) get_offset() argument
123 set_offset(struct regmap *regmap, int index, long val) set_offset() argument
142 get_update_interval(struct regmap *regmap, long *val) get_update_interval() argument
155 set_update_interval(struct regmap *regmap, long val) set_update_interval() argument
175 struct regmap *regmap = dev_get_drvdata(dev); w83773_read() local
200 struct regmap *regmap = dev_get_drvdata(dev); w83773_write() local
266 struct regmap *regmap; w83773_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dw83773g.c16 #include <linux/regmap.h>
61 static int get_local_temp(struct regmap *regmap, long *val) in get_local_temp() argument
66 ret = regmap_read(regmap, W83773_LOCAL_TEMP, &regval); in get_local_temp()
74 static int get_remote_temp(struct regmap *regmap, int index, long *val) in get_remote_temp() argument
80 ret = regmap_read(regmap, W83773_TEMP_MSB[index], &regval_high); in get_remote_temp()
84 ret = regmap_read(regmap, W83773_TEMP_LSB[index], &regval_low); in get_remote_temp()
92 static int get_fault(struct regmap *regmap, in argument
105 get_offset(struct regmap *regmap, int index, long *val) get_offset() argument
123 set_offset(struct regmap *regmap, int index, long val) set_offset() argument
142 get_update_interval(struct regmap *regmap, long *val) get_update_interval() argument
155 set_update_interval(struct regmap *regmap, long val) set_update_interval() argument
175 struct regmap *regmap = dev_get_drvdata(dev); w83773_read() local
200 struct regmap *regmap = dev_get_drvdata(dev); w83773_write() local
266 struct regmap *regmap; w83773_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/clk/qcom/
H A Dclk-hfpll.c6 #include <linux/regmap.h>
12 #include "clk-regmap.h"
24 struct regmap *regmap = h->clkr.regmap; in __clk_hfpll_init_once() local
31 regmap_write(regmap, hd->config_reg, hd->config_val); in __clk_hfpll_init_once()
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()
44 regmap_write(regmap, hd->user_reg, regval); in __clk_hfpll_init_once()
48 regmap_write(regmap, h in __clk_hfpll_init_once()
57 struct regmap *regmap = h->clkr.regmap; __clk_hfpll_enable() local
93 struct regmap *regmap = h->clkr.regmap; clk_hfpll_enable() local
108 struct regmap *regmap = h->clkr.regmap; __clk_hfpll_disable() local
153 struct regmap *regmap = h->clkr.regmap; clk_hfpll_set_rate() local
191 struct regmap *regmap = h->clkr.regmap; clk_hfpll_recalc_rate() local
203 struct regmap *regmap = h->clkr.regmap; clk_hfpll_init() local
229 struct regmap *regmap = h->clkr.regmap; hfpll_is_enabled() local
[all...]
/kernel/linux/linux-5.10/drivers/base/regmap/
H A Dinternal.h14 #include <linux/regmap.h>
19 struct regmap;
35 void (*format_write)(struct regmap *map,
45 struct regmap *map;
49 struct regmap { struct
165 /* if set, the regmap core can sleep */
172 int (*init)(struct regmap *map);
173 int (*exit)(struct regmap *map);
175 void (*debugfs_init)(struct regmap *map);
177 int (*read)(struct regmap *ma
211 struct regmap *regmap; global() member
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/sprd/
H A Dmegacores_pll.c10 #include <linux/regmap.h>
81 static void dphy_set_pll_reg(struct dphy_pll *pll, struct regmap *regmap) in dphy_set_pll_reg() argument
102 regmap_write(regmap, reg_addr[i], reg_val[i]); in dphy_set_pll_reg()
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, in argument
216 struct regmap *regmap = ctx->regmap; dphy_timing_config() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dregmap.h33 struct regmap;
129 * Note: In general regmap cannot be used in atomic context. If you want to use
130 * this macro then first setup your regmap for atomic use (flat or no cache
131 * and MMIO regmap).
209 * @yes_ranges : pointer to an array of regmap ranges used as "yes ranges"
211 * @no_ranges: pointer to an array of regmap ranges used as "no ranges"
232 * @name: Optional name of the regmap. Useful when a device has multiple
277 * @disable_locking: This regmap is either protected by external means or
280 * @lock: Optional lock callback (overrides regmap's default lock
334 * regmap bu
[all...]
/kernel/linux/linux-5.10/drivers/clk/davinci/
H A Dda8xx-cfgchip.c18 #include <linux/regmap.h>
34 struct regmap *regmap; member
46 return regmap_write_bits(clk->regmap, clk->reg, clk->mask, clk->mask); in da8xx_cfgchip_gate_clk_enable()
53 regmap_write_bits(clk->regmap, clk->reg, clk->mask, 0); in da8xx_cfgchip_gate_clk_disable()
61 regmap_read(clk->regmap, clk->reg, &val); in da8xx_cfgchip_gate_clk_is_enabled()
89 struct regmap *regmap) in da8xx_cfgchip_gate_clk_register()
117 gate->regmap = regmap; in da8xx_cfgchip_gate_clk_register()
87 da8xx_cfgchip_gate_clk_register(struct device *dev, const struct da8xx_cfgchip_gate_clk_info *info, struct regmap *regmap) da8xx_cfgchip_gate_clk_register() argument
134 da8xx_cfgchip_register_tbclk(struct device *dev, struct regmap *regmap) da8xx_cfgchip_register_tbclk() argument
157 da8xx_cfgchip_register_div4p5(struct device *dev, struct regmap *regmap) da8xx_cfgchip_register_div4p5() argument
168 of_da8xx_cfgchip_gate_clk_init(struct device *dev, const struct da8xx_cfgchip_gate_clk_info *info, struct regmap *regmap) of_da8xx_cfgchip_gate_clk_init() argument
181 of_da8xx_tbclksync_init(struct device *dev, struct regmap *regmap) of_da8xx_tbclksync_init() argument
187 of_da8xx_div4p5ena_init(struct device *dev, struct regmap *regmap) of_da8xx_div4p5ena_init() argument
205 struct regmap *regmap; global() member
237 da8xx_cfgchip_mux_clk_register(struct device *dev, const struct da8xx_cfgchip_mux_clk_info *info, struct regmap *regmap) da8xx_cfgchip_mux_clk_register() argument
276 da8xx_cfgchip_register_async1(struct device *dev, struct regmap *regmap) da8xx_cfgchip_register_async1() argument
298 da850_cfgchip_register_async3(struct device *dev, struct regmap *regmap) da850_cfgchip_register_async3() argument
321 of_da8xx_cfgchip_init_mux_clock(struct device *dev, const struct da8xx_cfgchip_mux_clk_info *info, struct regmap *regmap) of_da8xx_cfgchip_init_mux_clock() argument
334 of_da850_async1_init(struct device *dev, struct regmap *regmap) of_da850_async1_init() argument
339 of_da850_async3_init(struct device *dev, struct regmap *regmap) of_da850_async3_init() argument
349 struct regmap *regmap; global() member
502 da8xx_cfgchip_register_usb0_clk48(struct device *dev, struct regmap *regmap) da8xx_cfgchip_register_usb0_clk48() argument
542 struct regmap *regmap; global() member
578 da8xx_cfgchip_register_usb1_clk48(struct device *dev, struct regmap *regmap) da8xx_cfgchip_register_usb1_clk48() argument
605 da8xx_cfgchip_register_usb_phy_clk(struct device *dev, struct regmap *regmap) da8xx_cfgchip_register_usb_phy_clk() argument
646 of_da8xx_usb_phy_clk_init(struct device *dev, struct regmap *regmap) of_da8xx_usb_phy_clk_init() argument
746 struct regmap *regmap = NULL; da8xx_cfgchip_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/davinci/
H A Dda8xx-cfgchip.c18 #include <linux/regmap.h>
34 struct regmap *regmap; member
46 return regmap_write_bits(clk->regmap, clk->reg, clk->mask, clk->mask); in da8xx_cfgchip_gate_clk_enable()
53 regmap_write_bits(clk->regmap, clk->reg, clk->mask, 0); in da8xx_cfgchip_gate_clk_disable()
61 regmap_read(clk->regmap, clk->reg, &val); in da8xx_cfgchip_gate_clk_is_enabled()
89 struct regmap *regmap) in da8xx_cfgchip_gate_clk_register()
117 gate->regmap = regmap; in da8xx_cfgchip_gate_clk_register()
87 da8xx_cfgchip_gate_clk_register(struct device *dev, const struct da8xx_cfgchip_gate_clk_info *info, struct regmap *regmap) da8xx_cfgchip_gate_clk_register() argument
134 da8xx_cfgchip_register_tbclk(struct device *dev, struct regmap *regmap) da8xx_cfgchip_register_tbclk() argument
157 da8xx_cfgchip_register_div4p5(struct device *dev, struct regmap *regmap) da8xx_cfgchip_register_div4p5() argument
168 of_da8xx_cfgchip_gate_clk_init(struct device *dev, const struct da8xx_cfgchip_gate_clk_info *info, struct regmap *regmap) of_da8xx_cfgchip_gate_clk_init() argument
181 of_da8xx_tbclksync_init(struct device *dev, struct regmap *regmap) of_da8xx_tbclksync_init() argument
187 of_da8xx_div4p5ena_init(struct device *dev, struct regmap *regmap) of_da8xx_div4p5ena_init() argument
205 struct regmap *regmap; global() member
238 da8xx_cfgchip_mux_clk_register(struct device *dev, const struct da8xx_cfgchip_mux_clk_info *info, struct regmap *regmap) da8xx_cfgchip_mux_clk_register() argument
277 da8xx_cfgchip_register_async1(struct device *dev, struct regmap *regmap) da8xx_cfgchip_register_async1() argument
299 da850_cfgchip_register_async3(struct device *dev, struct regmap *regmap) da850_cfgchip_register_async3() argument
322 of_da8xx_cfgchip_init_mux_clock(struct device *dev, const struct da8xx_cfgchip_mux_clk_info *info, struct regmap *regmap) of_da8xx_cfgchip_init_mux_clock() argument
335 of_da850_async1_init(struct device *dev, struct regmap *regmap) of_da850_async1_init() argument
340 of_da850_async3_init(struct device *dev, struct regmap *regmap) of_da850_async3_init() argument
350 struct regmap *regmap; global() member
505 da8xx_cfgchip_register_usb0_clk48(struct device *dev, struct regmap *regmap) da8xx_cfgchip_register_usb0_clk48() argument
544 struct regmap *regmap; global() member
581 da8xx_cfgchip_register_usb1_clk48(struct device *dev, struct regmap *regmap) da8xx_cfgchip_register_usb1_clk48() argument
608 da8xx_cfgchip_register_usb_phy_clk(struct device *dev, struct regmap *regmap) da8xx_cfgchip_register_usb_phy_clk() argument
649 of_da8xx_usb_phy_clk_init(struct device *dev, struct regmap *regmap) of_da8xx_usb_phy_clk_init() argument
749 struct regmap *regmap = NULL; da8xx_cfgchip_probe() local
[all...]
/kernel/linux/linux-5.10/drivers/reset/hisilicon/
H A Dhi6220_reset.c17 #include <linux/regmap.h>
41 struct regmap *regmap; member
48 struct regmap *regmap = data->regmap; in hi6220_peripheral_assert() local
53 return regmap_write(regmap, reg, BIT(offset)); in hi6220_peripheral_assert()
60 struct regmap *regmap = data->regmap; in hi6220_peripheral_deassert() local
77 struct regmap *regmap = data->regmap; hi6220_media_assert() local
86 struct regmap *regmap = data->regmap; hi6220_media_deassert() local
110 struct regmap *regmap = data->regmap; hi6220_ao_assert() local
129 struct regmap *regmap = data->regmap; hi6220_ao_deassert() local
161 struct regmap *regmap; hi6220_reset_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/reset/hisilicon/
H A Dhi6220_reset.c16 #include <linux/regmap.h>
40 struct regmap *regmap; member
47 struct regmap *regmap = data->regmap; in hi6220_peripheral_assert() local
52 return regmap_write(regmap, reg, BIT(offset)); in hi6220_peripheral_assert()
59 struct regmap *regmap = data->regmap; in hi6220_peripheral_deassert() local
76 struct regmap *regmap = data->regmap; hi6220_media_assert() local
85 struct regmap *regmap = data->regmap; hi6220_media_deassert() local
109 struct regmap *regmap = data->regmap; hi6220_ao_assert() local
128 struct regmap *regmap = data->regmap; hi6220_ao_deassert() local
160 struct regmap *regmap; hi6220_reset_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/qcom/
H A Dclk-alpha-pll.c10 #include <linux/regmap.h>
300 ret = regmap_read(pll->clkr.regmap, PLL_MODE(pll), &val); in wait_for_pll()
305 ret = regmap_read(pll->clkr.regmap, PLL_MODE(pll), &val); in wait_for_pll()
344 static void clk_alpha_pll_write_config(struct regmap *regmap, unsigned int reg, in clk_alpha_pll_write_config() argument
348 regmap_write(regmap, reg, val); in clk_alpha_pll_write_config()
351 void clk_alpha_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, in clk_alpha_pll_configure() argument
356 regmap_write(regmap, PLL_L_VAL(pll), config->l); in clk_alpha_pll_configure()
357 regmap_write(regmap, PLL_ALPHA_VA in clk_alpha_pll_configure()
917 trion_pll_is_enabled(struct clk_alpha_pll *pll, struct regmap *regmap) trion_pll_is_enabled() argument
941 struct regmap *regmap = pll->clkr.regmap; clk_trion_pll_enable() local
978 struct regmap *regmap = pll->clkr.regmap; clk_trion_pll_disable() local
1159 clk_fabia_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, const struct alpha_pll_config *config) clk_fabia_pll_configure() argument
1201 struct regmap *regmap = pll->clkr.regmap; alpha_pll_fabia_enable() local
1258 struct regmap *regmap = pll->clkr.regmap; alpha_pll_fabia_disable() local
1437 struct regmap *regmap = pll->clkr.regmap; clk_trion_pll_postdiv_recalc_rate() local
1470 struct regmap *regmap = pll->clkr.regmap; clk_trion_pll_postdiv_set_rate() local
1546 clk_trion_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, const struct alpha_pll_config *config) clk_trion_pll_configure() argument
1709 clk_agera_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, const struct alpha_pll_config *config) clk_agera_pll_configure() argument
1875 struct regmap *regmap = pll->clkr.regmap; __clk_lucid_pll_postdiv_set_rate() local
1942 clk_zonda_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, const struct alpha_pll_config *config) clk_zonda_pll_configure() argument
1973 struct regmap *regmap = pll->clkr.regmap; clk_zonda_pll_enable() local
2023 struct regmap *regmap = pll->clkr.regmap; clk_zonda_pll_disable() local
2095 clk_lucid_evo_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, const struct alpha_pll_config *config) clk_lucid_evo_pll_configure() argument
2125 struct regmap *regmap = pll->clkr.regmap; alpha_pll_lucid_evo_enable() local
2179 struct regmap *regmap = pll->clkr.regmap; _alpha_pll_lucid_evo_disable() local
2259 struct regmap *regmap = pll->clkr.regmap; alpha_pll_lucid_evo_recalc_rate() local
2313 clk_rivian_evo_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, const struct alpha_pll_config *config) clk_rivian_evo_pll_configure() argument
2371 clk_stromer_pll_configure(struct clk_alpha_pll *pll, struct regmap *regmap, const struct alpha_pll_config *config) clk_stromer_pll_configure() argument
[all...]
/kernel/linux/linux-6.6/drivers/base/regmap/
H A Dinternal.h14 #include <linux/regmap.h>
19 struct regmap;
36 void (*format_write)(struct regmap *map,
46 struct regmap *map;
50 struct regmap { struct
178 /* if set, the regmap core can sleep */
185 int (*init)(struct regmap *map);
186 int (*exit)(struct regmap *map);
188 void (*debugfs_init)(struct regmap *map);
190 int (*read)(struct regmap *ma
224 struct regmap *regmap; global() member
[all...]

Completed in 22 milliseconds

12345678910>>...205