periph_clk 23 arch/mips/bcm63xx/timer.c static struct clk *periph_clk; periph_clk 146 arch/mips/bcm63xx/timer.c return (clk_get_rate(periph_clk) / (1000 * 1000)) * countdown_us; periph_clk 192 arch/mips/bcm63xx/timer.c periph_clk = clk_get(NULL, "periph"); periph_clk 193 arch/mips/bcm63xx/timer.c if (IS_ERR(periph_clk)) periph_clk 65 drivers/clk/socfpga/clk-periph-a10.c struct socfpga_periph_clk *periph_clk; periph_clk 75 drivers/clk/socfpga/clk-periph-a10.c periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); periph_clk 76 drivers/clk/socfpga/clk-periph-a10.c if (WARN_ON(!periph_clk)) periph_clk 79 drivers/clk/socfpga/clk-periph-a10.c periph_clk->hw.reg = clk_mgr_a10_base_addr + reg; periph_clk 83 drivers/clk/socfpga/clk-periph-a10.c periph_clk->div_reg = clk_mgr_a10_base_addr + div_reg[0]; periph_clk 84 drivers/clk/socfpga/clk-periph-a10.c periph_clk->shift = div_reg[1]; periph_clk 85 drivers/clk/socfpga/clk-periph-a10.c periph_clk->width = div_reg[2]; periph_clk 87 drivers/clk/socfpga/clk-periph-a10.c periph_clk->div_reg = NULL; periph_clk 92 drivers/clk/socfpga/clk-periph-a10.c periph_clk->fixed_div = 0; periph_clk 94 drivers/clk/socfpga/clk-periph-a10.c periph_clk->fixed_div = fixed_div; periph_clk 105 drivers/clk/socfpga/clk-periph-a10.c periph_clk->hw.hw.init = &init; periph_clk 107 drivers/clk/socfpga/clk-periph-a10.c clk = clk_register(NULL, &periph_clk->hw.hw); periph_clk 109 drivers/clk/socfpga/clk-periph-a10.c kfree(periph_clk); periph_clk 82 drivers/clk/socfpga/clk-periph-s10.c struct socfpga_periph_clk *periph_clk; periph_clk 85 drivers/clk/socfpga/clk-periph-s10.c periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); periph_clk 86 drivers/clk/socfpga/clk-periph-s10.c if (WARN_ON(!periph_clk)) periph_clk 89 drivers/clk/socfpga/clk-periph-s10.c periph_clk->hw.reg = reg + offset; periph_clk 98 drivers/clk/socfpga/clk-periph-s10.c periph_clk->hw.hw.init = &init; periph_clk 100 drivers/clk/socfpga/clk-periph-s10.c clk = clk_register(NULL, &periph_clk->hw.hw); periph_clk 102 drivers/clk/socfpga/clk-periph-s10.c kfree(periph_clk); periph_clk 116 drivers/clk/socfpga/clk-periph-s10.c struct socfpga_periph_clk *periph_clk; periph_clk 119 drivers/clk/socfpga/clk-periph-s10.c periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); periph_clk 120 drivers/clk/socfpga/clk-periph-s10.c if (WARN_ON(!periph_clk)) periph_clk 124 drivers/clk/socfpga/clk-periph-s10.c periph_clk->hw.reg = regbase + offset; periph_clk 126 drivers/clk/socfpga/clk-periph-s10.c periph_clk->hw.reg = NULL; periph_clk 129 drivers/clk/socfpga/clk-periph-s10.c periph_clk->bypass_reg = regbase + bypass_reg; periph_clk 131 drivers/clk/socfpga/clk-periph-s10.c periph_clk->bypass_reg = NULL; periph_clk 132 drivers/clk/socfpga/clk-periph-s10.c periph_clk->bypass_shift = bypass_shift; periph_clk 133 drivers/clk/socfpga/clk-periph-s10.c periph_clk->fixed_div = fixed_divider; periph_clk 142 drivers/clk/socfpga/clk-periph-s10.c periph_clk->hw.hw.init = &init; periph_clk 144 drivers/clk/socfpga/clk-periph-s10.c clk = clk_register(NULL, &periph_clk->hw.hw); periph_clk 146 drivers/clk/socfpga/clk-periph-s10.c kfree(periph_clk); periph_clk 55 drivers/clk/socfpga/clk-periph.c struct socfpga_periph_clk *periph_clk; periph_clk 65 drivers/clk/socfpga/clk-periph.c periph_clk = kzalloc(sizeof(*periph_clk), GFP_KERNEL); periph_clk 66 drivers/clk/socfpga/clk-periph.c if (WARN_ON(!periph_clk)) periph_clk 69 drivers/clk/socfpga/clk-periph.c periph_clk->hw.reg = clk_mgr_base_addr + reg; periph_clk 73 drivers/clk/socfpga/clk-periph.c periph_clk->div_reg = clk_mgr_base_addr + div_reg[0]; periph_clk 74 drivers/clk/socfpga/clk-periph.c periph_clk->shift = div_reg[1]; periph_clk 75 drivers/clk/socfpga/clk-periph.c periph_clk->width = div_reg[2]; periph_clk 77 drivers/clk/socfpga/clk-periph.c periph_clk->div_reg = NULL; periph_clk 82 drivers/clk/socfpga/clk-periph.c periph_clk->fixed_div = 0; periph_clk 84 drivers/clk/socfpga/clk-periph.c periph_clk->fixed_div = fixed_div; periph_clk 96 drivers/clk/socfpga/clk-periph.c periph_clk->hw.hw.init = &init; periph_clk 98 drivers/clk/socfpga/clk-periph.c clk = clk_register(NULL, &periph_clk->hw.hw); periph_clk 100 drivers/clk/socfpga/clk-periph.c kfree(periph_clk); periph_clk 738 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c ret = clk_prepare_enable(dc->hlcdc->periph_clk); periph_clk 776 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c clk_disable_unprepare(dc->hlcdc->periph_clk); periph_clk 803 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c clk_disable_unprepare(dc->hlcdc->periph_clk); periph_clk 918 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c clk_disable_unprepare(dc->hlcdc->periph_clk); periph_clk 932 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c clk_prepare_enable(dc->hlcdc->periph_clk); periph_clk 97 drivers/mfd/atmel-hlcdc.c hlcdc->periph_clk = devm_clk_get(dev, "periph_clk"); periph_clk 98 drivers/mfd/atmel-hlcdc.c if (IS_ERR(hlcdc->periph_clk)) { periph_clk 100 drivers/mfd/atmel-hlcdc.c return PTR_ERR(hlcdc->periph_clk); periph_clk 190 drivers/pwm/pwm-atmel-hlcdc.c clk_disable_unprepare(chip->hlcdc->periph_clk); periph_clk 205 drivers/pwm/pwm-atmel-hlcdc.c ret = clk_prepare_enable(chip->hlcdc->periph_clk); periph_clk 257 drivers/pwm/pwm-atmel-hlcdc.c ret = clk_prepare_enable(hlcdc->periph_clk); periph_clk 275 drivers/pwm/pwm-atmel-hlcdc.c clk_disable_unprepare(hlcdc->periph_clk); periph_clk 293 drivers/pwm/pwm-atmel-hlcdc.c clk_disable_unprepare(chip->hlcdc->periph_clk); periph_clk 68 include/linux/mfd/atmel-hlcdc.h struct clk *periph_clk;