Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/clk/socfpga/
Dclk-periph-s10.c82 struct socfpga_periph_clk *periph_clk; in s10_register_periph() local
85 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in s10_register_periph()
86 if (WARN_ON(!periph_clk)) in s10_register_periph()
89 periph_clk->hw.reg = reg + offset; in s10_register_periph()
98 periph_clk->hw.hw.init = &init; in s10_register_periph()
100 clk = clk_register(NULL, &periph_clk->hw.hw); in s10_register_periph()
102 kfree(periph_clk); in s10_register_periph()
116 struct socfpga_periph_clk *periph_clk; in s10_register_cnt_periph() local
119 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in s10_register_cnt_periph()
120 if (WARN_ON(!periph_clk)) in s10_register_cnt_periph()
[all …]
Dclk-periph.c55 struct socfpga_periph_clk *periph_clk; in __socfpga_periph_init() local
65 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in __socfpga_periph_init()
66 if (WARN_ON(!periph_clk)) in __socfpga_periph_init()
69 periph_clk->hw.reg = clk_mgr_base_addr + reg; in __socfpga_periph_init()
73 periph_clk->div_reg = clk_mgr_base_addr + div_reg[0]; in __socfpga_periph_init()
74 periph_clk->shift = div_reg[1]; in __socfpga_periph_init()
75 periph_clk->width = div_reg[2]; in __socfpga_periph_init()
77 periph_clk->div_reg = NULL; in __socfpga_periph_init()
82 periph_clk->fixed_div = 0; in __socfpga_periph_init()
84 periph_clk->fixed_div = fixed_div; in __socfpga_periph_init()
[all …]
Dclk-periph-a10.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_a10_base_addr + reg; in __socfpga_periph_init()
83 periph_clk->div_reg = clk_mgr_a10_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 …]
/Linux-v5.4/Documentation/devicetree/bindings/serial/
Dbrcm,bcm6345-uart.txt26 clocks = <&periph_clk>;
31 periph_clk: periph_clk@0 {
/Linux-v5.4/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-v5.4/drivers/pwm/
Dpwm-atmel-hlcdc.c190 clk_disable_unprepare(chip->hlcdc->periph_clk); in atmel_hlcdc_pwm_suspend()
205 ret = clk_prepare_enable(chip->hlcdc->periph_clk); in atmel_hlcdc_pwm_resume()
257 ret = clk_prepare_enable(hlcdc->periph_clk); in atmel_hlcdc_pwm_probe()
275 clk_disable_unprepare(hlcdc->periph_clk); in atmel_hlcdc_pwm_probe()
293 clk_disable_unprepare(chip->hlcdc->periph_clk); in atmel_hlcdc_pwm_remove()
/Linux-v5.4/arch/mips/boot/dts/brcm/
Dbcm3368.dtsi27 periph_clk: periph-clk { label
91 clocks = <&periph_clk>;
104 clocks = <&periph_clk>;
Dbcm3384_viper.dtsi38 periph_clk: periph_clk { label
86 clocks = <&periph_clk>;
Dbcm6362.dtsi27 periph_clk: periph-clk { label
92 clocks = <&periph_clk>;
105 clocks = <&periph_clk>;
Dbcm63268.dtsi27 periph_clk: periph-clk { label
92 clocks = <&periph_clk>;
105 clocks = <&periph_clk>;
Dbcm6328.dtsi27 periph_clk: periph-clk { label
77 clocks = <&periph_clk>;
87 clocks = <&periph_clk>;
Dbcm6368.dtsi27 periph_clk: periph-clk { label
98 clocks = <&periph_clk>;
108 clocks = <&periph_clk>;
Dbcm3384_zephyr.dtsi43 periph_clk: periph_clk { label
104 clocks = <&periph_clk>;
Dbcm6358.dtsi27 periph_clk: periph-clk { label
101 clocks = <&periph_clk>;
114 clocks = <&periph_clk>;
/Linux-v5.4/drivers/mfd/
Datmel-hlcdc.c97 hlcdc->periph_clk = devm_clk_get(dev, "periph_clk"); in atmel_hlcdc_probe()
98 if (IS_ERR(hlcdc->periph_clk)) { in atmel_hlcdc_probe()
100 return PTR_ERR(hlcdc->periph_clk); in atmel_hlcdc_probe()
/Linux-v5.4/arch/arm/boot/dts/
Dbcm63138.dtsi45 periph_clk: periph_clk { label
128 clocks = <&periph_clk>;
192 clocks = <&periph_clk>;
201 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.dtsi69 clocks = <&periph_clk>;
77 clocks = <&periph_clk>;
85 clocks = <&periph_clk>;
142 periph_clk: periph_clk { label
Dbcm-nsp.dtsi97 clocks = <&periph_clk>;
105 clocks = <&periph_clk>;
113 clocks = <&periph_clk>;
160 periph_clk: periph_clk { label
/Linux-v5.4/Documentation/devicetree/bindings/mfd/
Datmel-hlcdc.txt13 Should contain "periph_clk", "sys_clk" and "slow_clk".
27 clock-names = "periph_clk","sys_clk", "slow_clk";
/Linux-v5.4/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_dc.c738 ret = clk_prepare_enable(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_load()
776 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_load()
803 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_unload()
918 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_drm_suspend()
932 clk_prepare_enable(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_drm_resume()
/Linux-v5.4/include/linux/mfd/
Datmel-hlcdc.h68 struct clk *periph_clk; member
/Linux-v5.4/Documentation/devicetree/bindings/rng/
Dbrcm,bcm2835.txt38 clocks = <&periph_clk 18>;
/Linux-v5.4/Documentation/devicetree/bindings/pwm/
Datmel-hlcdc-pwm.txt21 clock-names = "periph_clk","sys_clk", "slow_clk";

12