/linux/drivers/clk/socfpga/ |
H A D | clk-periph-s10.c | 105 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 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() 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 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() 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 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/arch/mips/boot/dts/brcm/ |
H 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>;
|
H A D | bcm3368.dtsi | 30 periph_clk: periph-clk { label 94 clocks = <&periph_clk>; 107 clocks = <&periph_clk>;
|
H 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>;
|
H A D | bcm63268.dtsi | 72 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 D | bcm3384_viper.dtsi | 38 periph_clk: periph_clk { label 86 clocks = <&periph_clk>;
|
H A D | bcm3384_zephyr.dtsi | 43 periph_clk: periph_clk { label 104 clocks = <&periph_clk>;
|
H 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>;
|
/linux/drivers/pwm/ |
H A D | pwm-atmel-hlcdc.c | 190 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 D | atmel-hlcdc.c | 105 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 D | bcm63138.dtsi | 45 periph_clk: periph_clk { label 134 clocks = <&periph_clk>; 198 clocks = <&periph_clk>; 207 clocks = <&periph_clk>;
|
H A D | bcm5301x.dtsi | 25 clocks = <&periph_clk>; 56 periph_clk: periph_clk { label
|
H A D | bcm-hr2.dtsi | 79 clocks = <&periph_clk>; 87 clocks = <&periph_clk>; 95 clocks = <&periph_clk>; 126 periph_clk: periph_clk { label
|
H A D | bcm63148.dtsi | 59 periph_clk: periph-clk { label 106 clocks = <&periph_clk>;
|
H A D | bcm6846.dtsi | 60 periph_clk: periph-clk { label 106 clocks = <&periph_clk>;
|
H A D | bcm6878.dtsi | 60 periph_clk: periph-clk { label 69 clocks = <&periph_clk>;
|
H A D | bcm6855.dtsi | 69 periph_clk: periph-clk { label 78 clocks = <&periph_clk>;
|
H A D | bcm63178.dtsi | 70 periph_clk: periph-clk { label 79 clocks = <&periph_clk>;
|
H A D | bcm47622.dtsi | 79 periph_clk: periph-clk { label 88 clocks = <&periph_clk>;
|
/linux/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_dc.c | 777 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 D | bcm63146.dtsi | 59 periph_clk: periph-clk { label 68 clocks = <&periph_clk>;
|
H A D | bcm6856.dtsi | 59 periph_clk:periph-clk { label 106 clocks = <&periph_clk>;
|