Home
last modified time | relevance | path

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

/linux/drivers/clk/sunxi/
H A Dclk-sunxi.c864 int ndivs; /* number of outputs */ member
892 .ndivs = 2,
903 .ndivs = 4,
914 .ndivs = 2,
947 int ndivs = SUNXI_DIVS_MAX_QTY, i = 0; in sunxi_divs_clk_setup() local
951 if (data->ndivs) in sunxi_divs_clk_setup()
952 ndivs = data->ndivs; in sunxi_divs_clk_setup()
955 for (i = 0; i < ndivs; i++) { in sunxi_divs_clk_setup()
998 clks = kcalloc(ndivs, sizeof(*clks), GFP_KERNEL); in sunxi_divs_clk_setup()
1008 for (i = 0; i < ndivs; i++) { in sunxi_divs_clk_setup()
/linux/drivers/i2c/busses/
H A Di2c-imx.c204 unsigned int ndivs; member
273 .ndivs = ARRAY_SIZE(imx_i2c_clk_div),
283 .ndivs = ARRAY_SIZE(imx_i2c_clk_div),
293 .ndivs = ARRAY_SIZE(imx_i2c_clk_div),
303 .ndivs = ARRAY_SIZE(vf610_i2c_clk_div),
312 .ndivs = ARRAY_SIZE(s32g2_i2c_clk_div),
652 else if (div > i2c_clk_div[i2c_imx->hwdata->ndivs - 1].div) in i2c_imx_set_clk()
653 i = i2c_imx->hwdata->ndivs - 1; in i2c_imx_set_clk()
/linux/drivers/net/ethernet/atheros/
H A Dag71xx.c638 int ndivs, i; in ag71xx_mdio_get_divider() local
646 ndivs = ARRAY_SIZE(ar933x_mdio_div_table); in ag71xx_mdio_get_divider()
649 ndivs = ARRAY_SIZE(ar7240_mdio_div_table); in ag71xx_mdio_get_divider()
652 ndivs = ARRAY_SIZE(ar71xx_mdio_div_table); in ag71xx_mdio_get_divider()
655 for (i = 0; i < ndivs; i++) { in ag71xx_mdio_get_divider()
/linux/crypto/
H A Dtestmgr.c481 unsigned int ndivs = 0; in count_test_sg_divisions() local
484 remaining -= divs[ndivs++].proportion_of_total; in count_test_sg_divisions()
487 return ndivs; in count_test_sg_divisions()
603 const unsigned int ndivs = count_test_sg_divisions(divs); in build_test_sglist() local
608 if (WARN_ON(ndivs > ARRAY_SIZE(partitions))) in build_test_sglist()
613 for (i = 0; i < ndivs; i++) { in build_test_sglist()