Home
last modified time | relevance | path

Searched refs:ndivs (Results 1 – 2 of 2) sorted by relevance

/drivers/clk/sunxi/
Dclk-sunxi.c889 int ndivs; /* number of outputs */ member
916 .ndivs = 2,
926 .ndivs = 4,
937 .ndivs = 2,
970 int ndivs = SUNXI_DIVS_MAX_QTY, i = 0; in sunxi_divs_clk_setup() local
974 if (data->ndivs) in sunxi_divs_clk_setup()
975 ndivs = data->ndivs; in sunxi_divs_clk_setup()
978 for (i = 0; i < ndivs; i++) { in sunxi_divs_clk_setup()
1019 clks = kcalloc(ndivs, sizeof(*clks), GFP_KERNEL); in sunxi_divs_clk_setup()
1029 for (i = 0; i < ndivs; i++) { in sunxi_divs_clk_setup()
/drivers/i2c/busses/
Di2c-imx.c178 unsigned ndivs; member
219 .ndivs = ARRAY_SIZE(imx_i2c_clk_div),
229 .ndivs = ARRAY_SIZE(imx_i2c_clk_div),
239 .ndivs = ARRAY_SIZE(vf610_i2c_clk_div),
488 else if (div > i2c_clk_div[i2c_imx->hwdata->ndivs - 1].div) in i2c_imx_set_clk()
489 i = i2c_imx->hwdata->ndivs - 1; in i2c_imx_set_clk()