Home
last modified time | relevance | path

Searched refs:dpll (Results 1 – 25 of 71) sorted by relevance

123

/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dpll.c310 int pnv_calc_dpll_params(int refclk, struct dpll *clock) in pnv_calc_dpll_params()
322 static u32 i9xx_dpll_compute_m(const struct dpll *dpll) in i9xx_dpll_compute_m() argument
324 return 5 * (dpll->m1 + 2) + (dpll->m2 + 2); in i9xx_dpll_compute_m()
327 int i9xx_calc_dpll_params(int refclk, struct dpll *clock) in i9xx_calc_dpll_params()
339 int vlv_calc_dpll_params(int refclk, struct dpll *clock) in vlv_calc_dpll_params()
351 int chv_calc_dpll_params(int refclk, struct dpll *clock) in chv_calc_dpll_params()
370 const struct dpll *clock) in intel_pll_is_valid()
441 const struct dpll *match_clock, in i9xx_find_best_dpll()
442 struct dpll *best_clock) in i9xx_find_best_dpll()
445 struct dpll clock; in i9xx_find_best_dpll()
[all …]
Dintel_dpll.h11 struct dpll;
23 int vlv_calc_dpll_params(int refclk, struct dpll *clock);
24 int pnv_calc_dpll_params(int refclk, struct dpll *clock);
25 int i9xx_calc_dpll_params(int refclk, struct dpll *clock);
26 u32 i9xx_dpll_compute_fp(const struct dpll *dpll);
31 const struct dpll *dpll);
41 struct dpll *best_clock);
42 int chv_calc_dpll_params(int refclk, struct dpll *pll_clock);
Dintel_dpll_mgr.c117 for (i = 0; i < dev_priv->display.dpll.num_shared_dpll; i++) { in intel_atomic_duplicate_dpll_state()
118 struct intel_shared_dpll *pll = &dev_priv->display.dpll.shared_dplls[i]; in intel_atomic_duplicate_dpll_state()
153 return &dev_priv->display.dpll.shared_dplls[id]; in intel_get_shared_dpll_by_id()
168 long pll_idx = pll - dev_priv->display.dpll.shared_dplls; in intel_get_shared_dpll_id()
172 pll_idx >= dev_priv->display.dpll.num_shared_dpll)) in intel_get_shared_dpll_id()
249 mutex_lock(&dev_priv->display.dpll.lock); in intel_enable_shared_dpll()
275 mutex_unlock(&dev_priv->display.dpll.lock); in intel_enable_shared_dpll()
298 mutex_lock(&dev_priv->display.dpll.lock); in intel_disable_shared_dpll()
321 mutex_unlock(&dev_priv->display.dpll.lock); in intel_disable_shared_dpll()
340 pll = &dev_priv->display.dpll.shared_dplls[i]; in intel_find_shared_dpll()
[all …]
Dintel_dvo.c429 u32 dpll[I915_MAX_PIPES]; in intel_dvo_init() local
466 dpll[pipe] = intel_de_read(dev_priv, DPLL(pipe)); in intel_dvo_init()
468 dpll[pipe] | DPLL_DVO_2X_MODE); in intel_dvo_init()
475 intel_de_write(dev_priv, DPLL(pipe), dpll[pipe]); in intel_dvo_init()
Dg4x_dp.h20 const struct dpll *vlv_get_dpll(struct drm_i915_private *i915);
Dintel_display_core.h256 const struct intel_dpll_funcs *dpll; member
416 struct intel_dpll dpll; member
/linux-6.1.9/drivers/gpu/drm/gma500/
Dpsb_intel_display.c104 u32 dpll = 0, fp = 0, dspcntr, pipeconf; in psb_intel_crtc_mode_set() local
155 dpll = DPLL_VGA_MODE_DIS; in psb_intel_crtc_mode_set()
157 dpll |= DPLLB_MODE_LVDS; in psb_intel_crtc_mode_set()
158 dpll |= DPLL_DVO_HIGH_SPEED; in psb_intel_crtc_mode_set()
160 dpll |= DPLLB_MODE_DAC_SERIAL; in psb_intel_crtc_mode_set()
164 dpll |= DPLL_DVO_HIGH_SPEED; in psb_intel_crtc_mode_set()
165 dpll |= in psb_intel_crtc_mode_set()
170 dpll |= (1 << (clock.p1 - 1)) << 16; in psb_intel_crtc_mode_set()
173 dpll |= DPLL_DAC_SERIAL_P2_CLOCK_DIV_5; in psb_intel_crtc_mode_set()
176 dpll |= DPLLB_LVDS_P2_CLOCK_DIV_7; in psb_intel_crtc_mode_set()
[all …]
Doaktrail_crtc.c244 temp = REG_READ_WITH_AUX(map->dpll, i); in oaktrail_crtc_dpms()
246 REG_WRITE_WITH_AUX(map->dpll, temp, i); in oaktrail_crtc_dpms()
247 REG_READ_WITH_AUX(map->dpll, i); in oaktrail_crtc_dpms()
250 REG_WRITE_WITH_AUX(map->dpll, in oaktrail_crtc_dpms()
252 REG_READ_WITH_AUX(map->dpll, i); in oaktrail_crtc_dpms()
255 REG_WRITE_WITH_AUX(map->dpll, in oaktrail_crtc_dpms()
257 REG_READ_WITH_AUX(map->dpll, i); in oaktrail_crtc_dpms()
316 temp = REG_READ_WITH_AUX(map->dpll, i); in oaktrail_crtc_dpms()
318 REG_WRITE_WITH_AUX(map->dpll, in oaktrail_crtc_dpms()
320 REG_READ_WITH_AUX(map->dpll, i); in oaktrail_crtc_dpms()
[all …]
Dcdv_intel_display.c583 u32 dpll = 0, dspcntr, pipeconf; in cdv_intel_crtc_mode_set() local
664 dpll = DPLL_VGA_MODE_DIS; in cdv_intel_crtc_mode_set()
675 dpll |= DPLL_SYNCLOCK_ENABLE; in cdv_intel_crtc_mode_set()
721 REG_WRITE(map->dpll, dpll | DPLL_VGA_MODE_DIS | DPLL_SYNCLOCK_ENABLE); in cdv_intel_crtc_mode_set()
722 REG_READ(map->dpll); in cdv_intel_crtc_mode_set()
757 dpll |= DPLL_VCO_ENABLE; in cdv_intel_crtc_mode_set()
766 REG_WRITE(map->dpll, in cdv_intel_crtc_mode_set()
767 (REG_READ(map->dpll) & ~DPLL_LOCK) | DPLL_VCO_ENABLE); in cdv_intel_crtc_mode_set()
768 REG_READ(map->dpll); in cdv_intel_crtc_mode_set()
772 if (!(REG_READ(map->dpll) & DPLL_LOCK)) { in cdv_intel_crtc_mode_set()
[all …]
Dgma_display.c221 temp = REG_READ(map->dpll); in gma_crtc_dpms()
223 REG_WRITE(map->dpll, temp); in gma_crtc_dpms()
224 REG_READ(map->dpll); in gma_crtc_dpms()
227 REG_WRITE(map->dpll, temp | DPLL_VCO_ENABLE); in gma_crtc_dpms()
228 REG_READ(map->dpll); in gma_crtc_dpms()
231 REG_WRITE(map->dpll, temp | DPLL_VCO_ENABLE); in gma_crtc_dpms()
232 REG_READ(map->dpll); in gma_crtc_dpms()
309 temp = REG_READ(map->dpll); in gma_crtc_dpms()
311 REG_WRITE(map->dpll, temp & ~DPLL_VCO_ENABLE); in gma_crtc_dpms()
312 REG_READ(map->dpll); in gma_crtc_dpms()
[all …]
Doaktrail_hdmi.c283 u32 dspcntr, pipeconf, dpll, temp; in oaktrail_crtc_hdmi_mode_set() local
293 dpll = REG_READ(DPLL_CTRL); in oaktrail_crtc_hdmi_mode_set()
294 if ((dpll & DPLL_PWRDN) == 0) { in oaktrail_crtc_hdmi_mode_set()
295 REG_WRITE(DPLL_CTRL, dpll | (DPLL_PWRDN | DPLL_RESET)); in oaktrail_crtc_hdmi_mode_set()
309 dpll = REG_READ(DPLL_CTRL); in oaktrail_crtc_hdmi_mode_set()
310 dpll &= ~DPLL_PDIV_MASK; in oaktrail_crtc_hdmi_mode_set()
311 dpll &= ~(DPLL_PWRDN | DPLL_RESET); in oaktrail_crtc_hdmi_mode_set()
315 REG_WRITE(DPLL_CTRL, (dpll | (clock.np << DPLL_PDIV_SHIFT) | DPLL_ENSTAT | DPLL_DITHEN)); in oaktrail_crtc_hdmi_mode_set()
Doaktrail_device.c144 p->dpll = PSB_RVDC32(MRST_DPLL_A); in oaktrail_save_display_registers()
261 PSB_WVDC32(p->dpll, MRST_DPLL_A); in oaktrail_restore_display_registers()
402 .dpll = MRST_DPLL_A,
426 .dpll = DPLL_B,
/linux-6.1.9/Documentation/devicetree/bindings/clock/ti/
Ddpll.txt18 "ti,omap3-dpll-clock",
19 "ti,omap3-dpll-core-clock",
20 "ti,omap3-dpll-per-clock",
21 "ti,omap3-dpll-per-j-type-clock",
22 "ti,omap4-dpll-clock",
23 "ti,omap4-dpll-x2-clock",
24 "ti,omap4-dpll-core-clock",
25 "ti,omap4-dpll-m4xen-clock",
26 "ti,omap4-dpll-j-type-clock",
27 "ti,omap5-mpu-dpll-clock",
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/media/i2c/
Dadv748x.yaml38 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
39 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
40 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
41 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
42 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
43 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
44 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
45 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
46 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
47 - enum: [ dpll, cp, hdmi, edid, repeater, infoframe, cbus, cec, sdp, txa, txb ]
[all …]
/linux-6.1.9/arch/arm/boot/dts/
Ddra7xx-clocks.dtsi229 compatible = "ti,omap4-dpll-m4xen-clock";
235 dpll_abe_x2_ck: clock-dpll-abe-x2 {
237 compatible = "ti,omap4-dpll-x2-clock";
242 dpll_abe_m2x2_ck: clock-dpll-abe-m2x2-8@1f0 {
264 dpll_abe_m2_ck: clock-dpll-abe-m2-8@1f0 {
276 dpll_abe_m3x2_ck: clock-dpll-abe-m3x2-8@1f4 {
288 dpll_core_byp_mux: clock-dpll-core-byp-mux-23@12c {
299 compatible = "ti,omap4-dpll-core-clock";
305 dpll_core_x2_ck: clock-dpll-core-x2 {
307 compatible = "ti,omap4-dpll-x2-clock";
[all …]
Dam43xx-clocks.dtsi231 compatible = "ti,am3-dpll-core-clock";
237 dpll_core_x2_ck: clock-dpll-core-x2 {
239 compatible = "ti,am3-dpll-x2-clock";
244 dpll_core_m4_ck: clock-dpll-core-m4-8@2d38 {
256 dpll_core_m5_ck: clock-dpll-core-m5-8@2d3c {
268 dpll_core_m6_ck: clock-dpll-core-m6-8@2d40 {
282 compatible = "ti,am3-dpll-clock";
288 dpll_mpu_m2_ck: clock-dpll-mpu-m2-8@2d70 {
311 compatible = "ti,am3-dpll-clock";
317 dpll_ddr_m2_ck: clock-dpll-ddr-m2-8@2db0 {
[all …]
Dam33xx-clocks.dtsi190 compatible = "ti,am3-dpll-core-clock";
196 dpll_core_x2_ck: clock-dpll-core-x2 {
198 compatible = "ti,am3-dpll-x2-clock";
203 dpll_core_m4_ck: clock-dpll-core-m4@480 {
213 dpll_core_m5_ck: clock-dpll-core-m5@484 {
223 dpll_core_m6_ck: clock-dpll-core-m6@4d8 {
235 compatible = "ti,am3-dpll-clock";
241 dpll_mpu_m2_ck: clock-dpll-mpu-m2@4a8 {
253 compatible = "ti,am3-dpll-no-gate-clock";
259 dpll_ddr_m2_ck: clock-dpll-ddr-m2@4a0 {
[all …]
Domap54xx-clocks.dtsi119 compatible = "ti,omap4-dpll-m4xen-clock";
127 compatible = "ti,omap4-dpll-x2-clock";
201 compatible = "ti,omap4-dpll-core-clock";
209 compatible = "ti,omap4-dpll-x2-clock";
352 compatible = "ti,omap4-dpll-clock";
362 compatible = "ti,omap4-dpll-x2-clock";
402 compatible = "ti,omap5-mpu-dpll-clock";
586 compatible = "ti,omap4-dpll-clock";
594 compatible = "ti,omap4-dpll-x2-clock";
661 compatible = "ti,omap4-dpll-clock";
[all …]
/linux-6.1.9/arch/arm/mach-omap1/
Dsram.S36 strh r0, [r2] @ set dpll into bypass mode
41 strh r0, [r2] @ write new dpll value
49 lock: ldrh r4, [r2], #0 @ read back dpll value
52 tst r4, #1 << 0 @ dpll rate locked?
/linux-6.1.9/Documentation/devicetree/bindings/clock/
Dmicrochip,sparx5-dpll.yaml4 $id: http://devicetree.org/schemas/clock/microchip,sparx5-dpll.yaml#
18 const: microchip,sparx5-dpll
46 compatible = "microchip,sparx5-dpll";
/linux-6.1.9/drivers/ata/
Dpata_hpt3x2n.c312 int dpll = hpt3x2n_use_dpll(ap, qc->tf.flags & ATA_TFLAG_WRITE); in hpt3x2n_qc_defer() local
319 if ((flags & USE_DPLL) != dpll && alt->qc_active) in hpt3x2n_qc_defer()
328 int dpll = hpt3x2n_use_dpll(ap, qc->tf.flags & ATA_TFLAG_WRITE); in hpt3x2n_qc_issue() local
330 if ((flags & USE_DPLL) != dpll) { in hpt3x2n_qc_issue()
332 flags |= dpll; in hpt3x2n_qc_issue()
335 hpt3x2n_set_clock(ap, dpll ? 0x21 : 0x23); in hpt3x2n_qc_issue()
Dpata_hpt37x.c948 int dpll, adjust; in hpt37x_init_one() local
951 dpll = (ppi[0]->udma_mask & 0xC0) ? 3 : 2; in hpt37x_init_one()
953 f_low = (MHz[clock_slot] * 48) / MHz[dpll]; in hpt37x_init_one()
981 if (dpll == 3) in hpt37x_init_one()
987 MHz[clock_slot], MHz[dpll]); in hpt37x_init_one()
/linux-6.1.9/drivers/gpu/drm/rcar-du/
Drcar_du_crtc.c84 struct dpll_info *dpll, in rcar_du_dpll_divider() argument
148 dpll->n = n; in rcar_du_dpll_divider()
149 dpll->m = m; in rcar_du_dpll_divider()
150 dpll->fdpll = fdpll; in rcar_du_dpll_divider()
151 dpll->output = output; in rcar_du_dpll_divider()
163 dpll->output, dpll->fdpll, dpll->n, dpll->m, best_diff); in rcar_du_dpll_divider()
223 struct dpll_info dpll = { 0 }; in rcar_du_crtc_set_display_timing() local
247 rcar_du_dpll_divider(rcrtc, &dpll, extclk, target); in rcar_du_crtc_set_display_timing()
250 | DPLLCR_FDPLL(dpll.fdpll) in rcar_du_crtc_set_display_timing()
251 | DPLLCR_N(dpll.n) | DPLLCR_M(dpll.m) in rcar_du_crtc_set_display_timing()
/linux-6.1.9/drivers/video/fbdev/intelfb/
Dintelfbhw.c682 static void intelfbhw_get_p1p2(struct intelfb_info *dinfo, int dpll, in intelfbhw_get_p1p2() argument
688 if (dpll & DPLL_P1_FORCE_DIV2) in intelfbhw_get_p1p2()
691 p1 = (dpll >> DPLL_P1_SHIFT) & 0xff; in intelfbhw_get_p1p2()
695 p2 = (dpll >> DPLL_I9XX_P2_SHIFT) & DPLL_P2_MASK; in intelfbhw_get_p1p2()
697 if (dpll & DPLL_P1_FORCE_DIV2) in intelfbhw_get_p1p2()
700 p1 = (dpll >> DPLL_P1_SHIFT) & DPLL_P1_MASK; in intelfbhw_get_p1p2()
701 p2 = (dpll >> DPLL_P2_SHIFT) & DPLL_P2_MASK; in intelfbhw_get_p1p2()
1043 u32 *dpll, *fp0, *fp1; in intelfbhw_mode_to_hw() local
1058 dpll = &hw->dpll_b; in intelfbhw_mode_to_hw()
1070 dpll = &hw->dpll_a; in intelfbhw_mode_to_hw()
[all …]
/linux-6.1.9/arch/arm64/boot/dts/sprd/
Dsharkl3.dtsi123 dpll: dpll { label
124 compatible = "sprd,sc9863a-dpll";

123