/linux-4.19.296/drivers/clk/sunxi-ng/ |
D | ccu-sun8i-h3.c | 171 .common = { 211 .common = { 507 &pll_cpux_clk.common, 508 &pll_audio_base_clk.common, 509 &pll_video_clk.common, 510 &pll_ve_clk.common, 511 &pll_ddr_clk.common, 512 &pll_periph0_clk.common, 513 &pll_gpu_clk.common, 514 &pll_periph1_clk.common, [all …]
|
D | ccu-sun4i-a10.c | 41 .common = { 75 .common = { 91 .common = { 109 .common = { 122 .common = { 135 .common = { 149 .common = { 161 .common = { 178 .common = { 192 .common = { [all …]
|
D | ccu-sun5i.c | 39 .common = { 78 .common = { 93 .common = { 111 .common = { 124 .common = { 139 .common = { 152 .common = { 167 .common = { 194 .common = { 219 .common = { [all …]
|
D | ccu-sun6i-a31.c | 225 .common = { 587 .common = { 600 .common = { 678 .common = { 697 .common = { 716 .common = { 760 .common = { 781 .common = { 802 .common = { 813 &pll_cpu_clk.common, [all …]
|
D | ccu-sun8i-r40.c | 41 .common = { 112 .common = { 130 .common = { 146 .common = { 176 .common = { 226 .common = { 280 .common = { 475 .common = { 590 .common = { 767 .common = { [all …]
|
D | ccu-sun8i-a33.c | 41 .common = { 166 .common = { 197 .common = { 482 &pll_cpux_clk.common, 483 &pll_audio_base_clk.common, 484 &pll_video_clk.common, 485 &pll_ve_clk.common, 486 &pll_ddr0_clk.common, 487 &pll_periph_clk.common, 488 &pll_gpu_clk.common, [all …]
|
D | ccu-sun8i-a23.c | 43 .common = { 198 .common = { 463 &pll_cpux_clk.common, 464 &pll_audio_base_clk.common, 465 &pll_video_clk.common, 466 &pll_ve_clk.common, 467 &pll_ddr_clk.common, 468 &pll_periph_clk.common, 469 &pll_gpu_clk.common, 470 &pll_mipi_clk.common, [all …]
|
D | ccu-sun8i-v3s.c | 157 .common = { 197 .common = { 377 &pll_cpu_clk.common, 378 &pll_audio_base_clk.common, 379 &pll_video_clk.common, 380 &pll_ve_clk.common, 381 &pll_ddr0_clk.common, 382 &pll_periph0_clk.common, 383 &pll_isp_clk.common, 384 &pll_periph1_clk.common, [all …]
|
D | ccu-sun9i-a80.c | 46 .common = { 60 .common = { 82 .common = { 98 .common = { 114 .common = { 130 .common = { 145 .common = { 161 .common = { 177 .common = { 193 .common = { [all …]
|
D | ccu-sun50i-h6.c | 39 .common = { 55 .common = { 71 .common = { 88 .common = { 104 .common = { 123 .common = { 139 .common = { 155 .common = { 170 .common = { 185 .common = { [all …]
|
D | ccu-sun50i-a64.c | 40 .common = { 106 .common = { 120 .common = { 171 .common = { 233 .common = { 274 .common = { 391 .common = { 534 .common = { 611 &pll_cpux_clk.common, 612 &pll_audio_base_clk.common, [all …]
|
D | ccu-sun8i-a83t.c | 47 .common = { 61 .common = { 93 .common = { 111 .common = { 127 .common = { 143 .common = { 159 .common = { 175 .common = { 191 .common = { 207 .common = { [all …]
|
D | ccu-sun9i-a80-de.c | 100 &fe0_clk.common, 101 &fe1_clk.common, 102 &fe2_clk.common, 103 &iep_deu0_clk.common, 104 &iep_deu1_clk.common, 105 &be0_clk.common, 106 &be1_clk.common, 107 &be2_clk.common, 108 &iep_drc0_clk.common, 109 &iep_drc1_clk.common, [all …]
|
D | ccu_frac.c | 16 bool ccu_frac_helper_is_enabled(struct ccu_common *common, in ccu_frac_helper_is_enabled() argument 19 if (!(common->features & CCU_FEATURE_FRACTIONAL)) in ccu_frac_helper_is_enabled() 22 return !(readl(common->base + common->reg) & cf->enable); in ccu_frac_helper_is_enabled() 25 void ccu_frac_helper_enable(struct ccu_common *common, in ccu_frac_helper_enable() argument 31 if (!(common->features & CCU_FEATURE_FRACTIONAL)) in ccu_frac_helper_enable() 34 spin_lock_irqsave(common->lock, flags); in ccu_frac_helper_enable() 35 reg = readl(common->base + common->reg); in ccu_frac_helper_enable() 36 writel(reg & ~cf->enable, common->base + common->reg); in ccu_frac_helper_enable() 37 spin_unlock_irqrestore(common->lock, flags); in ccu_frac_helper_enable() 40 void ccu_frac_helper_disable(struct ccu_common *common, in ccu_frac_helper_disable() argument [all …]
|
D | ccu-sun8i-r.c | 47 .common = { 68 .common = { 83 .common = { 135 .common = { 146 &a83t_ar100_clk.common, 147 &a83t_apb0_clk.common, 148 &apb0_pio_clk.common, 149 &apb0_ir_clk.common, 150 &apb0_timer_clk.common, 151 &apb0_rsb_clk.common, [all …]
|
D | ccu_sdm.c | 15 bool ccu_sdm_helper_is_enabled(struct ccu_common *common, in ccu_sdm_helper_is_enabled() argument 18 if (!(common->features & CCU_FEATURE_SIGMA_DELTA_MOD)) in ccu_sdm_helper_is_enabled() 21 if (sdm->enable && !(readl(common->base + common->reg) & sdm->enable)) in ccu_sdm_helper_is_enabled() 24 return !!(readl(common->base + sdm->tuning_reg) & sdm->tuning_enable); in ccu_sdm_helper_is_enabled() 27 void ccu_sdm_helper_enable(struct ccu_common *common, in ccu_sdm_helper_enable() argument 35 if (!(common->features & CCU_FEATURE_SIGMA_DELTA_MOD)) in ccu_sdm_helper_enable() 42 common->base + sdm->tuning_reg); in ccu_sdm_helper_enable() 45 spin_lock_irqsave(common->lock, flags); in ccu_sdm_helper_enable() 46 reg = readl(common->base + sdm->tuning_reg); in ccu_sdm_helper_enable() 47 writel(reg | sdm->tuning_enable, common->base + sdm->tuning_reg); in ccu_sdm_helper_enable() [all …]
|
D | ccu-sun8i-de2.c | 57 &mixer0_clk.common, 58 &mixer1_clk.common, 59 &wb_clk.common, 61 &bus_mixer0_clk.common, 62 &bus_mixer1_clk.common, 63 &bus_wb_clk.common, 65 &mixer0_div_a83_clk.common, 66 &mixer1_div_a83_clk.common, 67 &wb_div_a83_clk.common, 71 &mixer0_clk.common, [all …]
|
D | ccu_gate.c | 15 void ccu_gate_helper_disable(struct ccu_common *common, u32 gate) in ccu_gate_helper_disable() argument 23 spin_lock_irqsave(common->lock, flags); in ccu_gate_helper_disable() 25 reg = readl(common->base + common->reg); in ccu_gate_helper_disable() 26 writel(reg & ~gate, common->base + common->reg); in ccu_gate_helper_disable() 28 spin_unlock_irqrestore(common->lock, flags); in ccu_gate_helper_disable() 35 return ccu_gate_helper_disable(&cg->common, cg->enable); in ccu_gate_disable() 38 int ccu_gate_helper_enable(struct ccu_common *common, u32 gate) in ccu_gate_helper_enable() argument 46 spin_lock_irqsave(common->lock, flags); in ccu_gate_helper_enable() 48 reg = readl(common->base + common->reg); in ccu_gate_helper_enable() 49 writel(reg | gate, common->base + common->reg); in ccu_gate_helper_enable() [all …]
|
D | ccu-sun50i-h6-r.c | 42 .common = { 57 .common = { 77 .common = { 135 &ar100_clk.common, 136 &r_apb1_clk.common, 137 &r_apb2_clk.common, 138 &r_apb1_timer_clk.common, 139 &r_apb1_twd_clk.common, 140 &r_apb1_pwm_clk.common, 141 &r_apb2_uart_clk.common, [all …]
|
D | ccu_mux.c | 18 static u16 ccu_mux_get_prediv(struct ccu_common *common, in ccu_mux_get_prediv() argument 25 if (!((common->features & CCU_FEATURE_FIXED_PREDIV) || in ccu_mux_get_prediv() 26 (common->features & CCU_FEATURE_VARIABLE_PREDIV) || in ccu_mux_get_prediv() 27 (common->features & CCU_FEATURE_ALL_PREDIV))) in ccu_mux_get_prediv() 30 if (common->features & CCU_FEATURE_ALL_PREDIV) in ccu_mux_get_prediv() 31 return common->prediv; in ccu_mux_get_prediv() 33 reg = readl(common->base + common->reg); in ccu_mux_get_prediv() 39 if (common->features & CCU_FEATURE_FIXED_PREDIV) { in ccu_mux_get_prediv() 47 if (common->features & CCU_FEATURE_VARIABLE_PREDIV) { in ccu_mux_get_prediv() 63 unsigned long ccu_mux_helper_apply_prediv(struct ccu_common *common, in ccu_mux_helper_apply_prediv() argument [all …]
|
D | ccu_nm.c | 64 return ccu_gate_helper_disable(&nm->common, nm->enable); in ccu_nm_disable() 71 return ccu_gate_helper_enable(&nm->common, nm->enable); in ccu_nm_enable() 78 return ccu_gate_helper_is_enabled(&nm->common, nm->enable); in ccu_nm_is_enabled() 89 if (ccu_frac_helper_is_enabled(&nm->common, &nm->frac)) { in ccu_nm_recalc_rate() 90 rate = ccu_frac_helper_read_rate(&nm->common, &nm->frac); in ccu_nm_recalc_rate() 92 if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) in ccu_nm_recalc_rate() 98 reg = readl(nm->common.base + nm->common.reg); in ccu_nm_recalc_rate() 112 if (ccu_sdm_helper_is_enabled(&nm->common, &nm->sdm)) in ccu_nm_recalc_rate() 113 rate = ccu_sdm_helper_read_rate(&nm->common, &nm->sdm, m, n); in ccu_nm_recalc_rate() 117 if (nm->common.features & CCU_FEATURE_FIXED_POSTDIV) in ccu_nm_recalc_rate() [all …]
|
D | ccu-sun9i-a80-usb.c | 39 &bus_hci0_clk.common, 40 &usb_ohci0_clk.common, 41 &bus_hci1_clk.common, 42 &bus_hci2_clk.common, 43 &usb_ohci2_clk.common, 45 &usb0_phy_clk.common, 46 &usb1_hsic_clk.common, 47 &usb1_phy_clk.common, 48 &usb2_hsic_clk.common, 49 &usb2_phy_clk.common, [all …]
|
/linux-4.19.296/drivers/clk/sprd/ |
D | sc9860-clk.c | 73 &mpll0_gate.common, 74 &mpll1_gate.common, 75 &dpll0_gate.common, 76 &dpll1_gate.common, 77 <epll0_gate.common, 78 &twpll_gate.common, 79 <epll1_gate.common, 80 &rpll0_gate.common, 81 &rpll1_gate.common, 82 &cppll_gate.common, [all …]
|
/linux-4.19.296/drivers/clk/actions/ |
D | owl-s900.c | 501 &core_pll_clk.common, 502 &dev_pll_clk.common, 503 &ddr_pll_clk.common, 504 &nand_pll_clk.common, 505 &display_pll_clk.common, 506 &assist_pll_clk.common, 507 &audio_pll_clk.common, 508 &edp_pll_clk.common, 509 &cpu_clk.common, 510 &dev_clk.common, [all …]
|
D | owl-s700.c | 407 &clk_core_pll.common, 408 &clk_dev_pll.common, 409 &clk_ddr_pll.common, 410 &clk_nand_pll.common, 411 &clk_display_pll.common, 412 &clk_cvbs_pll .common, 413 &clk_audio_pll.common, 414 &clk_ethernet_pll.common, 415 &clk_cpu.common, 416 &clk_dev.common, [all …]
|