/linux/drivers/clk/socfpga/ |
A D | clk-periph-s10.c | 111 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 D | clk-periph.c | 55 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 D | clk-periph-a10.c | 65 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 D | timer.c | 23 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 D | pwm-atmel-hlcdc.c | 190 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 D | bcm6368.dtsi | 62 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 D | bcm63268.dtsi | 72 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 D | bcm6362.dtsi | 72 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 D | bcm3368.dtsi | 30 periph_clk: periph-clk { label 94 clocks = <&periph_clk>; 107 clocks = <&periph_clk>;
|
A D | bcm3384_viper.dtsi | 38 periph_clk: periph_clk { label 86 clocks = <&periph_clk>;
|
A D | bcm3384_zephyr.dtsi | 43 periph_clk: periph_clk { label 104 clocks = <&periph_clk>;
|
A D | bcm6328.dtsi | 69 periph_clk: clock-controller@10000004 { label 178 clocks = <&periph_clk BCM6328_CLK_HSSPI>, 229 clocks = <&periph_clk BCM6328_CLK_USBH>;
|
A D | bcm6358.dtsi | 61 periph_clk: clock-controller@fffe0004 { label 151 clocks = <&periph_clk BCM6358_CLK_SPI>;
|
/linux/arch/arm/boot/dts/ |
A D | bcm63138.dtsi | 45 periph_clk: periph_clk { label 128 clocks = <&periph_clk>; 192 clocks = <&periph_clk>; 201 clocks = <&periph_clk>;
|
A D | bcm-hr2.dtsi | 79 clocks = <&periph_clk>; 87 clocks = <&periph_clk>; 95 clocks = <&periph_clk>; 126 periph_clk: periph_clk { label
|
A D | bcm5301x.dtsi | 69 clocks = <&periph_clk>; 77 clocks = <&periph_clk>; 85 clocks = <&periph_clk>; 142 periph_clk: periph_clk { label
|
A D | bcm-nsp.dtsi | 97 clocks = <&periph_clk>; 105 clocks = <&periph_clk>; 113 clocks = <&periph_clk>; 160 periph_clk: periph_clk { label
|
/linux/drivers/mfd/ |
A D | atmel-hlcdc.c | 107 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 D | atmel-hlcdc.txt | 13 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 D | atmel_hlcdc_dc.c | 671 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 D | bcm4908.dtsi | 101 periph_clk: periph_clk { label 294 clocks = <&periph_clk>;
|
/linux/Documentation/devicetree/bindings/serial/ |
A D | brcm,bcm6345-uart.yaml | 45 clocks = <&periph_clk>;
|
/linux/include/linux/mfd/ |
A D | atmel-hlcdc.h | 68 struct clk *periph_clk; member
|
/linux/Documentation/devicetree/bindings/pwm/ |
A D | atmel-hlcdc-pwm.txt | 21 clock-names = "periph_clk","sys_clk", "slow_clk";
|
/linux/Documentation/devicetree/bindings/rng/ |
A D | brcm,bcm2835.yaml | 77 clocks = <&periph_clk 18>;
|