Home
last modified time | relevance | path

Searched refs:pclk_rate (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/sound/soc/codecs/
Dmax9860.c33 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()
/Linux-v5.4/sound/soc/atmel/
Datmel-pdmic.c383 unsigned long pclk_rate, gclk_rate; in atmel_pdmic_codec_dai_hw_params() local
422 pclk_rate = clk_get_rate(dd->pclk); in atmel_pdmic_codec_dai_hw_params()
426 pclk_prescal = (u32)(pclk_rate/(f_pdmic << 1)) - 1; in atmel_pdmic_codec_dai_hw_params()
431 pclk_rate/((pclk_prescal + 1) << 1))) { in atmel_pdmic_codec_dai_hw_params()
/Linux-v5.4/drivers/gpu/drm/msm/dsi/
Ddsi_host.c664 u32 pclk_rate; in dsi_get_pclk_rate() local
666 pclk_rate = mode->clock * 1000; in dsi_get_pclk_rate()
675 pclk_rate /= 2; in dsi_get_pclk_rate()
677 return pclk_rate; in dsi_get_pclk_rate()
684 u32 pclk_rate = dsi_get_pclk_rate(msm_host, is_dual_dsi); in dsi_calc_pclk() local
685 u64 pclk_bpp = (u64)pclk_rate * bpp; in dsi_calc_pclk()
694 msm_host->pixel_clk_rate = pclk_rate; in dsi_calc_pclk()
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_encoder.c1639 u64 pclk_rate; in _dpu_encoder_calculate_linetime() local
1654 pclk_rate = mode->clock; /* pixel clock in kHz */ in _dpu_encoder_calculate_linetime()
1655 if (pclk_rate == 0) { in _dpu_encoder_calculate_linetime()
1660 pclk_period = DIV_ROUND_UP_ULL(1000000000ull, pclk_rate); in _dpu_encoder_calculate_linetime()
1678 pclk_rate, pclk_period, line_time); in _dpu_encoder_calculate_linetime()