Searched refs:ncp_div (Results 1 – 1 of 1) sorted by relevance
906 int ncp_div; in pcm512x_set_dividers() local1075 ncp_div = DIV_ROUND_CLOSEST(dac_rate, in pcm512x_set_dividers()1077 if (ncp_div > 128 || dac_rate / ncp_div > 2048000) { in pcm512x_set_dividers()1079 ncp_div = DIV_ROUND_UP(dac_rate, 2048000); in pcm512x_set_dividers()1080 if (ncp_div > 128) { in pcm512x_set_dividers()1100 ret = regmap_write(pcm512x->regmap, PCM512x_NCP_CLKDIV, ncp_div - 1); in pcm512x_set_dividers()1155 dev_dbg(component->dev, "NCP divider %d\n", ncp_div); in pcm512x_set_dividers()