Home
last modified time | relevance | path

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

12

/linux/drivers/clk/socfpga/
A Dclk-periph-s10.c111 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in s10_register_periph()
112 if (WARN_ON(!periph_clk)) in s10_register_periph()
127 hw_clk = &periph_clk->hw.hw; in s10_register_periph()
131 kfree(periph_clk); in s10_register_periph()
147 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in n5x_register_periph()
148 if (WARN_ON(!periph_clk)) in n5x_register_periph()
166 kfree(periph_clk); in n5x_register_periph()
182 periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); in s10_register_cnt_periph()
183 if (WARN_ON(!periph_clk)) in s10_register_cnt_periph()
189 periph_clk->hw.reg = NULL; in s10_register_cnt_periph()
[all …]
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()
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()
96 periph_clk->hw.hw.init = &init; in __socfpga_periph_init()
97 hw_clk = &periph_clk->hw.hw; in __socfpga_periph_init()
[all …]
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()
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()
105 periph_clk->hw.hw.init = &init; in __socfpga_periph_init()
107 hw_clk = &periph_clk->hw.hw; in __socfpga_periph_init()
[all …]
/linux/arch/mips/bcm63xx/
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/drivers/pwm/
A 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()
272 clk_disable_unprepare(hlcdc->periph_clk); in atmel_hlcdc_pwm_probe()
287 clk_disable_unprepare(chip->hlcdc->periph_clk); in atmel_hlcdc_pwm_remove()
/linux/arch/mips/boot/dts/brcm/
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>;
A Dbcm63268.dtsi72 periph_clk: clock-controller@10000004 { label
147 clocks = <&periph_clk BCM63268_CLK_NAND>;
175 clocks = <&periph_clk BCM63268_CLK_SPI>;
192 clocks = <&periph_clk BCM63268_CLK_HSSPI>,
251 clocks = <&periph_clk BCM63268_CLK_USBH>;
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>;
A Dbcm3368.dtsi30 periph_clk: periph-clk { label
94 clocks = <&periph_clk>;
107 clocks = <&periph_clk>;
A Dbcm3384_viper.dtsi38 periph_clk: periph_clk { label
86 clocks = <&periph_clk>;
A Dbcm3384_zephyr.dtsi43 periph_clk: periph_clk { label
104 clocks = <&periph_clk>;
A Dbcm6328.dtsi69 periph_clk: clock-controller@10000004 { label
178 clocks = <&periph_clk BCM6328_CLK_HSSPI>,
229 clocks = <&periph_clk BCM6328_CLK_USBH>;
A Dbcm6358.dtsi61 periph_clk: clock-controller@fffe0004 { label
151 clocks = <&periph_clk BCM6358_CLK_SPI>;
/linux/arch/arm/boot/dts/
A Dbcm63138.dtsi45 periph_clk: periph_clk { label
128 clocks = <&periph_clk>;
192 clocks = <&periph_clk>;
201 clocks = <&periph_clk>;
A Dbcm-hr2.dtsi79 clocks = <&periph_clk>;
87 clocks = <&periph_clk>;
95 clocks = <&periph_clk>;
126 periph_clk: periph_clk { label
A Dbcm5301x.dtsi69 clocks = <&periph_clk>;
77 clocks = <&periph_clk>;
85 clocks = <&periph_clk>;
142 periph_clk: periph_clk { label
A Dbcm-nsp.dtsi97 clocks = <&periph_clk>;
105 clocks = <&periph_clk>;
113 clocks = <&periph_clk>;
160 periph_clk: periph_clk { label
/linux/drivers/mfd/
A Datmel-hlcdc.c107 hlcdc->periph_clk = devm_clk_get(dev, "periph_clk"); in atmel_hlcdc_probe()
108 if (IS_ERR(hlcdc->periph_clk)) { in atmel_hlcdc_probe()
110 return PTR_ERR(hlcdc->periph_clk); in atmel_hlcdc_probe()
/linux/Documentation/devicetree/bindings/mfd/
A Datmel-hlcdc.txt13 Should contain "periph_clk", "sys_clk" and "slow_clk".
27 clock-names = "periph_clk","sys_clk", "slow_clk";
/linux/drivers/gpu/drm/atmel-hlcdc/
A Datmel_hlcdc_dc.c671 ret = clk_prepare_enable(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_load()
709 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_load()
729 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_unload()
802 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_drm_suspend()
812 clk_prepare_enable(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_drm_resume()
/linux/arch/arm64/boot/dts/broadcom/bcm4908/
A Dbcm4908.dtsi101 periph_clk: periph_clk { label
294 clocks = <&periph_clk>;
/linux/Documentation/devicetree/bindings/serial/
A Dbrcm,bcm6345-uart.yaml45 clocks = <&periph_clk>;
/linux/include/linux/mfd/
A Datmel-hlcdc.h68 struct clk *periph_clk; member
/linux/Documentation/devicetree/bindings/pwm/
A Datmel-hlcdc-pwm.txt21 clock-names = "periph_clk","sys_clk", "slow_clk";
/linux/Documentation/devicetree/bindings/rng/
A Dbrcm,bcm2835.yaml77 clocks = <&periph_clk 18>;

Completed in 27 milliseconds

12