Lines Matching full:cn
67 #define CN(x) (((x) == 1) ? 0x1f : (((CN_BUF) >> ((x) - 1)) & 0x1f)) macro
111 u32 cn; member
217 * CN ranges between 1 and 32 in mixel_dphy_config_from_opts()
223 cfg->cn = denominator >> i; in mixel_dphy_config_from_opts()
228 cfg->cn < 1 || cfg->cn > 32 || in mixel_dphy_config_from_opts()
230 dev_err(&phy->dev, "Invalid CM/CN/CO values: %u/%u/%u\n", in mixel_dphy_config_from_opts()
231 cfg->cm, cfg->cn, cfg->co); in mixel_dphy_config_from_opts()
338 priv->cfg.cn < 1 || priv->cfg.cn > 32 || in mixel_dphy_set_pll_params()
340 dev_err(&phy->dev, "Invalid CM/CN/CO values! (%u/%u/%u)\n", in mixel_dphy_set_pll_params()
341 priv->cfg.cm, priv->cfg.cn, priv->cfg.co); in mixel_dphy_set_pll_params()
344 dev_dbg(&phy->dev, "Using CM:%u CN:%u CO:%u\n", in mixel_dphy_set_pll_params()
345 priv->cfg.cm, priv->cfg.cn, priv->cfg.co); in mixel_dphy_set_pll_params()
347 phy_write(phy, CN(priv->cfg.cn), DPHY_CN); in mixel_dphy_set_pll_params()
430 * CO is configurable, while CN and CM are not, in mixel_dphy_configure_lvds_phy()