Home
last modified time | relevance | path

Searched refs:hpll_freq (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
H A Datomisp_v4l2.c1308 isp->hpll_freq = HPLL_FREQ_1600MHZ; in atomisp_pci_probe()
1338 isp->hpll_freq = gmin_get_var_int(&pdev->dev, false, "HpllFreq", HPLL_FREQ_2000MHZ); in atomisp_pci_probe()
1353 isp->hpll_freq = HPLL_FREQ_1600MHZ; in atomisp_pci_probe()
1367 isp->hpll_freq = HPLL_FREQ_800MHZ; in atomisp_pci_probe()
1370 isp->hpll_freq = HPLL_FREQ_1600MHZ; in atomisp_pci_probe()
1373 isp->hpll_freq = HPLL_FREQ_2000MHZ; in atomisp_pci_probe()
1376 isp->hpll_freq = HPLL_FREQ_1600MHZ; in atomisp_pci_probe()
1386 dev_info(&pdev->dev, "ISP HPLL frequency base = %d MHz\n", isp->hpll_freq); in atomisp_pci_probe()
H A Datomisp_internal.h223 unsigned int hpll_freq; member
H A Datomisp_cmd.c135 if (!isp->hpll_freq) { in write_target_freq_to_hw()
136 dev_err(isp->dev, "failed to get hpll_freq. no change to freq\n"); in write_target_freq_to_hw()
147 ratio = (2 * isp->hpll_freq + new_freq / 2) / new_freq - 1; in write_target_freq_to_hw()
148 guar_ratio = (2 * isp->hpll_freq + 200 / 2) / 200 - 1; in write_target_freq_to_hw()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
H A Datomisp_v4l2.c1599 isp->hpll_freq = HPLL_FREQ_1600MHZ; in atomisp_pci_probe()
1629 isp->hpll_freq = gmin_get_var_int(&pdev->dev, false, "HpllFreq", HPLL_FREQ_2000MHZ); in atomisp_pci_probe()
1649 isp->hpll_freq = HPLL_FREQ_1600MHZ; in atomisp_pci_probe()
1668 isp->hpll_freq = HPLL_FREQ_800MHZ; in atomisp_pci_probe()
1671 isp->hpll_freq = HPLL_FREQ_1600MHZ; in atomisp_pci_probe()
1674 isp->hpll_freq = HPLL_FREQ_2000MHZ; in atomisp_pci_probe()
1677 isp->hpll_freq = HPLL_FREQ_1600MHZ; in atomisp_pci_probe()
1687 dev_info(&pdev->dev, "ISP HPLL frequency base = %d MHz\n", isp->hpll_freq); in atomisp_pci_probe()
H A Datomisp_internal.h282 unsigned int hpll_freq; member
H A Datomisp_cmd.c146 if (!isp->hpll_freq) { in write_target_freq_to_hw()
147 dev_err(isp->dev, "failed to get hpll_freq. no change to freq\n"); in write_target_freq_to_hw()
158 ratio = (2 * isp->hpll_freq + new_freq / 2) / new_freq - 1; in write_target_freq_to_hw()
159 guar_ratio = (2 * isp->hpll_freq + 200 / 2) / 200 - 1; in write_target_freq_to_hw()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dintel_cdclk.c435 int freq_320 = (dev_priv->hpll_freq << 1) % 320000 != 0 ? in vlv_calc_cdclk()
468 return DIV_ROUND_CLOSEST(dev_priv->hpll_freq << 1, cdclk) - 1; in vlv_calc_voltage_level()
582 divider = DIV_ROUND_CLOSEST(dev_priv->hpll_freq << 1, in vlv_set_cdclk()
H A Dintel_display.c190 int hpll_freq, vco_freq[] = { 800, 1600, 2000, 2400 }; in vlv_get_hpll_vco() local
193 hpll_freq = vlv_cck_read(dev_priv, CCK_FUSE_REG) & in vlv_get_hpll_vco()
196 return vco_freq[hpll_freq] * 1000; in vlv_get_hpll_vco()
222 if (dev_priv->hpll_freq == 0) in vlv_get_cck_clock_hpll()
223 dev_priv->hpll_freq = vlv_get_hpll_vco(dev_priv); in vlv_get_cck_clock_hpll()
225 hpll = vlv_get_cck_clock(dev_priv, name, reg, dev_priv->hpll_freq); in vlv_get_cck_clock_hpll()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Di915_drv.h250 unsigned int hpll_freq; member
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_cdclk.c481 int freq_320 = (dev_priv->hpll_freq << 1) % 320000 != 0 ? in vlv_calc_cdclk()
514 return DIV_ROUND_CLOSEST(dev_priv->hpll_freq << 1, cdclk) - 1; in vlv_calc_voltage_level()
628 divider = DIV_ROUND_CLOSEST(dev_priv->hpll_freq << 1, in vlv_set_cdclk()
H A Dintel_display.c130 int hpll_freq, vco_freq[] = { 800, 1600, 2000, 2400 }; in vlv_get_hpll_vco() local
133 hpll_freq = vlv_cck_read(dev_priv, CCK_FUSE_REG) & in vlv_get_hpll_vco()
136 return vco_freq[hpll_freq] * 1000; in vlv_get_hpll_vco()
162 if (dev_priv->hpll_freq == 0) in vlv_get_cck_clock_hpll()
163 dev_priv->hpll_freq = vlv_get_hpll_vco(dev_priv); in vlv_get_cck_clock_hpll()
165 hpll = vlv_get_cck_clock(dev_priv, name, reg, dev_priv->hpll_freq); in vlv_get_cck_clock_hpll()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_drv.h928 unsigned int hpll_freq; member

Completed in 85 milliseconds