/Linux-v5.4/drivers/clk/socfpga/ |
D | clk-periph-s10.c | 82 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 …]
|
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 …]
|
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-v5.4/Documentation/devicetree/bindings/serial/ |
D | brcm,bcm6345-uart.txt | 26 clocks = <&periph_clk>; 31 periph_clk: periph_clk@0 {
|
/Linux-v5.4/arch/mips/bcm63xx/ |
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-v5.4/drivers/pwm/ |
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() 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/ |
D | bcm3368.dtsi | 27 periph_clk: periph-clk { label 91 clocks = <&periph_clk>; 104 clocks = <&periph_clk>;
|
D | bcm3384_viper.dtsi | 38 periph_clk: periph_clk { label 86 clocks = <&periph_clk>;
|
D | bcm6362.dtsi | 27 periph_clk: periph-clk { label 92 clocks = <&periph_clk>; 105 clocks = <&periph_clk>;
|
D | bcm63268.dtsi | 27 periph_clk: periph-clk { label 92 clocks = <&periph_clk>; 105 clocks = <&periph_clk>;
|
D | bcm6328.dtsi | 27 periph_clk: periph-clk { label 77 clocks = <&periph_clk>; 87 clocks = <&periph_clk>;
|
D | bcm6368.dtsi | 27 periph_clk: periph-clk { label 98 clocks = <&periph_clk>; 108 clocks = <&periph_clk>;
|
D | bcm3384_zephyr.dtsi | 43 periph_clk: periph_clk { label 104 clocks = <&periph_clk>;
|
D | bcm6358.dtsi | 27 periph_clk: periph-clk { label 101 clocks = <&periph_clk>; 114 clocks = <&periph_clk>;
|
/Linux-v5.4/drivers/mfd/ |
D | atmel-hlcdc.c | 97 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/ |
D | bcm63138.dtsi | 45 periph_clk: periph_clk { label 128 clocks = <&periph_clk>; 192 clocks = <&periph_clk>; 201 clocks = <&periph_clk>;
|
D | tango4-common.dtsi | 19 periph_clk: periph_clk { label 42 clocks = <&periph_clk>;
|
D | bcm-hr2.dtsi | 79 clocks = <&periph_clk>; 87 clocks = <&periph_clk>; 95 clocks = <&periph_clk>; 126 periph_clk: periph_clk { label
|
D | bcm5301x.dtsi | 69 clocks = <&periph_clk>; 77 clocks = <&periph_clk>; 85 clocks = <&periph_clk>; 142 periph_clk: periph_clk { label
|
D | bcm-nsp.dtsi | 97 clocks = <&periph_clk>; 105 clocks = <&periph_clk>; 113 clocks = <&periph_clk>; 160 periph_clk: periph_clk { label
|
/Linux-v5.4/Documentation/devicetree/bindings/mfd/ |
D | atmel-hlcdc.txt | 13 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/ |
D | atmel_hlcdc_dc.c | 738 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/ |
D | atmel-hlcdc.h | 68 struct clk *periph_clk; member
|
/Linux-v5.4/Documentation/devicetree/bindings/rng/ |
D | brcm,bcm2835.txt | 38 clocks = <&periph_clk 18>;
|
/Linux-v5.4/Documentation/devicetree/bindings/pwm/ |
D | atmel-hlcdc-pwm.txt | 21 clock-names = "periph_clk","sys_clk", "slow_clk";
|