Searched refs:pclk_rate (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/clocksource/ |
D | timer-microchip-pit64b.c | 243 unsigned long pclk_rate, diff = 0, best_diff = ULONG_MAX; in mchp_pit64b_init_mode() local 247 pclk_rate = clk_get_rate(timer->pclk); in mchp_pit64b_init_mode() 248 if (!pclk_rate) in mchp_pit64b_init_mode() 258 if (pclk_rate / gclk_round < 3) in mchp_pit64b_init_mode() 273 mchp_pit64b_pres_compute(&pres, pclk_rate, max_rate); in mchp_pit64b_init_mode() 274 diff = abs(pclk_rate / (pres + 1) - max_rate); in mchp_pit64b_init_mode() 291 gclk_round / (best_pres + 1) : pclk_rate / (best_pres + 1)); in mchp_pit64b_init_mode()
|
/kernel/linux/linux-5.10/drivers/scsi/ufs/ |
D | ufs-exynos.c | 262 unsigned long pclk_rate; in exynos_ufs_get_clk_info() local 286 pclk_rate = clk_get_rate(ufs->clk_hci_core); in exynos_ufs_get_clk_info() 292 pclk_rate /= (div + 1); in exynos_ufs_get_clk_info() 294 if (pclk_rate <= f_max) in exynos_ufs_get_clk_info() 297 } while (pclk_rate >= f_min); in exynos_ufs_get_clk_info() 300 if (unlikely(pclk_rate < f_min || pclk_rate > f_max)) { in exynos_ufs_get_clk_info() 301 dev_err(hba->dev, "not available pclk range %lu\n", pclk_rate); in exynos_ufs_get_clk_info() 306 ufs->pclk_rate = pclk_rate; in exynos_ufs_get_clk_info() 367 long pclk_rate = ufs->pclk_rate; in exynos_ufs_calc_time_cntr() local 371 fraction = ((NSEC_PER_SEC % pclk_rate) * precise) / pclk_rate; in exynos_ufs_calc_time_cntr()
|
D | ufs-exynos.h | 85 #define UNIPRO_PCLK_PERIOD(ufs) (NSEC_PER_SEC / ufs->pclk_rate) 196 u32 pclk_rate; member
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | max9860.c | 33 unsigned long pclk_rate; member 367 switch (max9860->pclk_rate) { in max9860_hw_params() 399 max9860->pclk_rate); in max9860_hw_params() 666 max9860->pclk_rate = mclk_rate >> (max9860->psclk - 1); in max9860_probe() 668 dev_dbg(dev, "mclk %lu pclk %lu\n", mclk_rate, max9860->pclk_rate); in max9860_probe()
|
/kernel/linux/linux-5.10/sound/soc/atmel/ |
D | atmel-pdmic.c | 366 unsigned long pclk_rate, gclk_rate; in atmel_pdmic_cpu_dai_hw_params() local 405 pclk_rate = clk_get_rate(dd->pclk); in atmel_pdmic_cpu_dai_hw_params() 409 pclk_prescal = (u32)(pclk_rate/(f_pdmic << 1)) - 1; in atmel_pdmic_cpu_dai_hw_params() 414 pclk_rate/((pclk_prescal + 1) << 1))) { in atmel_pdmic_cpu_dai_hw_params()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/ |
D | dsi_host.c | 686 u32 pclk_rate; in dsi_get_pclk_rate() local 688 pclk_rate = mode->clock * 1000; in dsi_get_pclk_rate() 697 pclk_rate /= 2; in dsi_get_pclk_rate() 699 return pclk_rate; in dsi_get_pclk_rate() 706 u32 pclk_rate = dsi_get_pclk_rate(msm_host, is_dual_dsi); in dsi_calc_pclk() local 707 u64 pclk_bpp = (u64)pclk_rate * bpp; in dsi_calc_pclk() 716 msm_host->pixel_clk_rate = pclk_rate; in dsi_calc_pclk()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_encoder.c | 1652 u64 pclk_rate; in _dpu_encoder_calculate_linetime() local 1667 pclk_rate = mode->clock; /* pixel clock in kHz */ in _dpu_encoder_calculate_linetime() 1668 if (pclk_rate == 0) { in _dpu_encoder_calculate_linetime() 1673 pclk_period = DIV_ROUND_UP_ULL(1000000000ull, pclk_rate); in _dpu_encoder_calculate_linetime() 1691 pclk_rate, pclk_period, line_time); in _dpu_encoder_calculate_linetime()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0020_linux_drivers_gpu.patch | 333 + cdns_mhdp_plat_call(mhdp, pclk_rate); 2552 + cdns_mhdp_plat_call(mhdp, pclk_rate); 25473 + .pclk_rate = cdns_mhdp_pclk_rate_imx8qm, 25490 + .pclk_rate = cdns_mhdp_pclk_rate_imx8qm, 25504 + .pclk_rate = cdns_mhdp_pclk_rate_ls1028a,
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/ |
D | 0005_linux_include.patch | 707 + void (*pclk_rate)(struct cdns_mhdp_device *mhdp);
|