Home
last modified time | relevance | path

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

12

/linux/drivers/clk/socfpga/
H A Dclk-periph-s10.c105 struct socfpga_periph_clk *periph_clk; in s10_register_periph() local
111 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in s10_register_periph()
112 if (WARN_ON(!periph_clk)) in s10_register_periph()
115 periph_clk->hw.reg = reg + clks->offset; in s10_register_periph()
126 periph_clk->hw.hw.init = &init; in s10_register_periph()
127 hw_clk = &periph_clk->hw.hw; in s10_register_periph()
131 kfree(periph_clk); in s10_register_periph()
141 struct socfpga_periph_clk *periph_clk; in n5x_register_periph() local
147 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in n5x_register_periph()
148 if (WARN_ON(!periph_clk)) in n5x_register_periph()
[all …]
H A 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 …]
H A 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/arch/mips/bcm63xx/
H A 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/arch/mips/boot/dts/brcm/
H A Dbcm6368.dtsi62 periph_clk: clock-controller@10000004 { label
159 clocks = <&periph_clk BCM6368_CLK_NAND>;
174 clocks = <&periph_clk BCM6368_CLK_SPI>;
217 clocks = <&periph_clk BCM6368_CLK_USBH>;
230 clocks = <&periph_clk BCM6368_CLK_IPSEC>;
H A Dbcm3368.dtsi30 periph_clk: periph-clk { label
94 clocks = <&periph_clk>;
107 clocks = <&periph_clk>;
H A Dbcm6362.dtsi72 periph_clk: clock-controller@10000004 { label
160 clocks = <&periph_clk BCM6362_CLK_NAND>;
175 clocks = <&periph_clk BCM6362_CLK_SPI>;
193 clocks = <&periph_clk BCM6362_CLK_HSSPI>,
254 clocks = <&periph_clk BCM6362_CLK_USBH>;
H A Dbcm63268.dtsi72 periph_clk: clock-controller@10000004 { label
160 clocks = <&periph_clk BCM63268_CLK_NAND>;
188 clocks = <&periph_clk BCM63268_CLK_SPI>;
205 clocks = <&periph_clk BCM63268_CLK_HSSPI>,
264 clocks = <&periph_clk BCM63268_CLK_USBH>;
H A Dbcm3384_viper.dtsi38 periph_clk: periph_clk { label
86 clocks = <&periph_clk>;
H A Dbcm3384_zephyr.dtsi43 periph_clk: periph_clk { label
104 clocks = <&periph_clk>;
H A Dbcm6328.dtsi69 periph_clk: clock-controller@10000004 { label
178 clocks = <&periph_clk BCM6328_CLK_HSSPI>,
229 clocks = <&periph_clk BCM6328_CLK_USBH>;
/linux/drivers/pwm/
H A Dpwm-atmel-hlcdc.c190 clk_disable_unprepare(atmel->hlcdc->periph_clk); in atmel_hlcdc_pwm_suspend()
204 ret = clk_prepare_enable(atmel->hlcdc->periph_clk); in atmel_hlcdc_pwm_resume()
257 ret = clk_prepare_enable(hlcdc->periph_clk); in atmel_hlcdc_pwm_probe()
270 clk_disable_unprepare(hlcdc->periph_clk); in atmel_hlcdc_pwm_probe()
286 clk_disable_unprepare(atmel->hlcdc->periph_clk); in atmel_hlcdc_pwm_remove()
/linux/drivers/mfd/
H A Datmel-hlcdc.c105 hlcdc->periph_clk = devm_clk_get(dev, "periph_clk"); in atmel_hlcdc_probe()
106 if (IS_ERR(hlcdc->periph_clk)) { in atmel_hlcdc_probe()
108 return PTR_ERR(hlcdc->periph_clk); in atmel_hlcdc_probe()
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm63138.dtsi45 periph_clk: periph_clk { label
134 clocks = <&periph_clk>;
198 clocks = <&periph_clk>;
207 clocks = <&periph_clk>;
H A Dbcm5301x.dtsi25 clocks = <&periph_clk>;
56 periph_clk: periph_clk { label
H A Dbcm-hr2.dtsi79 clocks = <&periph_clk>;
87 clocks = <&periph_clk>;
95 clocks = <&periph_clk>;
126 periph_clk: periph_clk { label
H A Dbcm63148.dtsi59 periph_clk: periph-clk { label
106 clocks = <&periph_clk>;
H A Dbcm6846.dtsi60 periph_clk: periph-clk { label
106 clocks = <&periph_clk>;
H A Dbcm6878.dtsi60 periph_clk: periph-clk { label
69 clocks = <&periph_clk>;
H A Dbcm6855.dtsi69 periph_clk: periph-clk { label
78 clocks = <&periph_clk>;
H A Dbcm63178.dtsi70 periph_clk: periph-clk { label
79 clocks = <&periph_clk>;
H A Dbcm47622.dtsi79 periph_clk: periph-clk { label
88 clocks = <&periph_clk>;
/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_dc.c777 ret = clk_prepare_enable(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_load()
815 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_load()
835 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_unload()
910 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_drm_suspend()
920 clk_prepare_enable(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_drm_resume()
/linux/arch/arm64/boot/dts/broadcom/bcmbca/
H A Dbcm63146.dtsi59 periph_clk: periph-clk { label
68 clocks = <&periph_clk>;
H A Dbcm6856.dtsi59 periph_clk:periph-clk { label
106 clocks = <&periph_clk>;

12