Home
last modified time | relevance | path

Searched refs:periph_clk (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v4.19/drivers/clk/socfpga/
Dclk-periph-s10.c81 struct socfpga_periph_clk *periph_clk; in s10_register_periph() local
84 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in s10_register_periph()
85 if (WARN_ON(!periph_clk)) in s10_register_periph()
88 periph_clk->hw.reg = reg + offset; in s10_register_periph()
97 periph_clk->hw.hw.init = &init; in s10_register_periph()
99 clk = clk_register(NULL, &periph_clk->hw.hw); in s10_register_periph()
101 kfree(periph_clk); in s10_register_periph()
115 struct socfpga_periph_clk *periph_clk; in s10_register_cnt_periph() local
118 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in s10_register_cnt_periph()
119 if (WARN_ON(!periph_clk)) in s10_register_cnt_periph()
[all …]
Dclk-periph.c65 struct socfpga_periph_clk *periph_clk; in __socfpga_periph_init() local
75 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in __socfpga_periph_init()
76 if (WARN_ON(!periph_clk)) in __socfpga_periph_init()
79 periph_clk->hw.reg = clk_mgr_base_addr + reg; in __socfpga_periph_init()
83 periph_clk->div_reg = clk_mgr_base_addr + div_reg[0]; in __socfpga_periph_init()
84 periph_clk->shift = div_reg[1]; in __socfpga_periph_init()
85 periph_clk->width = div_reg[2]; in __socfpga_periph_init()
87 periph_clk->div_reg = NULL; in __socfpga_periph_init()
92 periph_clk->fixed_div = 0; in __socfpga_periph_init()
94 periph_clk->fixed_div = fixed_div; in __socfpga_periph_init()
[all …]
Dclk-periph-a10.c75 struct socfpga_periph_clk *periph_clk; in __socfpga_periph_init() local
85 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in __socfpga_periph_init()
86 if (WARN_ON(!periph_clk)) in __socfpga_periph_init()
89 periph_clk->hw.reg = clk_mgr_a10_base_addr + reg; in __socfpga_periph_init()
93 periph_clk->div_reg = clk_mgr_a10_base_addr + div_reg[0]; in __socfpga_periph_init()
94 periph_clk->shift = div_reg[1]; in __socfpga_periph_init()
95 periph_clk->width = div_reg[2]; in __socfpga_periph_init()
97 periph_clk->div_reg = NULL; in __socfpga_periph_init()
102 periph_clk->fixed_div = 0; in __socfpga_periph_init()
104 periph_clk->fixed_div = fixed_div; in __socfpga_periph_init()
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/serial/
Dbrcm,bcm6345-uart.txt26 clocks = <&periph_clk>;
31 periph_clk: periph_clk@0 {
/Linux-v4.19/arch/mips/bcm63xx/
Dtimer.c23 static struct clk *periph_clk; variable
146 return (clk_get_rate(periph_clk) / (1000 * 1000)) * countdown_us; in bcm63xx_timer_countdown()
192 periph_clk = clk_get(NULL, "periph"); in bcm63xx_timer_init()
193 if (IS_ERR(periph_clk)) in bcm63xx_timer_init()
/Linux-v4.19/arch/mips/boot/dts/brcm/
Dbcm3368.dtsi27 periph_clk: periph-clk { label
85 clocks = <&periph_clk>;
98 clocks = <&periph_clk>;
Dbcm3384_viper.dtsi38 periph_clk: periph_clk { label
86 clocks = <&periph_clk>;
Dbcm63268.dtsi27 periph_clk: periph-clk { label
86 clocks = <&periph_clk>;
99 clocks = <&periph_clk>;
Dbcm6328.dtsi27 periph_clk: periph-clk { label
71 clocks = <&periph_clk>;
81 clocks = <&periph_clk>;
Dbcm6362.dtsi27 periph_clk: periph-clk { label
86 clocks = <&periph_clk>;
99 clocks = <&periph_clk>;
Dbcm6368.dtsi27 periph_clk: periph-clk { label
92 clocks = <&periph_clk>;
102 clocks = <&periph_clk>;
Dbcm6358.dtsi27 periph_clk: periph-clk { label
95 clocks = <&periph_clk>;
108 clocks = <&periph_clk>;
Dbcm3384_zephyr.dtsi43 periph_clk: periph_clk { label
104 clocks = <&periph_clk>;
/Linux-v4.19/drivers/pwm/
Dpwm-atmel-hlcdc.c201 clk_disable_unprepare(chip->hlcdc->periph_clk); in atmel_hlcdc_pwm_suspend()
216 ret = clk_prepare_enable(chip->hlcdc->periph_clk); in atmel_hlcdc_pwm_resume()
267 ret = clk_prepare_enable(hlcdc->periph_clk); in atmel_hlcdc_pwm_probe()
285 clk_disable_unprepare(hlcdc->periph_clk); in atmel_hlcdc_pwm_probe()
303 clk_disable_unprepare(chip->hlcdc->periph_clk); in atmel_hlcdc_pwm_remove()
/Linux-v4.19/arch/arm/boot/dts/
Dbcm63138.dtsi48 periph_clk: periph_clk { label
131 clocks = <&periph_clk>;
164 clocks = <&periph_clk>;
173 clocks = <&periph_clk>;
Dtango4-common.dtsi19 periph_clk: periph_clk { label
42 clocks = <&periph_clk>;
Dbcm-hr2.dtsi79 clocks = <&periph_clk>;
87 clocks = <&periph_clk>;
95 clocks = <&periph_clk>;
126 periph_clk: periph_clk { label
Dbcm5301x.dtsi66 clocks = <&periph_clk>;
74 clocks = <&periph_clk>;
82 clocks = <&periph_clk>;
139 periph_clk: periph_clk { label
Dbcm-nsp.dtsi89 clocks = <&periph_clk>;
97 clocks = <&periph_clk>;
105 clocks = <&periph_clk>;
152 periph_clk: periph_clk { label
/Linux-v4.19/drivers/mfd/
Datmel-hlcdc.c108 hlcdc->periph_clk = devm_clk_get(dev, "periph_clk"); in atmel_hlcdc_probe()
109 if (IS_ERR(hlcdc->periph_clk)) { in atmel_hlcdc_probe()
111 return PTR_ERR(hlcdc->periph_clk); in atmel_hlcdc_probe()
/Linux-v4.19/Documentation/devicetree/bindings/mfd/
Datmel-hlcdc.txt12 Should contain "periph_clk", "sys_clk" and "slow_clk".
26 clock-names = "periph_clk","sys_clk", "slow_clk";
/Linux-v4.19/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_dc.c629 ret = clk_prepare_enable(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_load()
669 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_load()
694 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_unload()
810 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_drm_suspend()
820 clk_prepare_enable(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_drm_resume()
/Linux-v4.19/include/linux/mfd/
Datmel-hlcdc.h79 struct clk *periph_clk; member
/Linux-v4.19/Documentation/devicetree/bindings/rng/
Dbrcm,bcm2835.txt38 clocks = <&periph_clk 18>;
/Linux-v4.19/Documentation/devicetree/bindings/pwm/
Datmel-hlcdc-pwm.txt21 clock-names = "periph_clk","sys_clk", "slow_clk";

12