Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/sunxi/
H A Dclk-sunxi.c875 int ndivs; /* number of outputs */ member
903 .ndivs = 2,
914 .ndivs = 4,
925 .ndivs = 2,
958 int ndivs = SUNXI_DIVS_MAX_QTY, i = 0; in sunxi_divs_clk_setup() local
962 if (data->ndivs) in sunxi_divs_clk_setup()
963 ndivs = data->ndivs; in sunxi_divs_clk_setup()
966 for (i = 0; i < ndivs; i++) { in sunxi_divs_clk_setup()
1009 clks = kcalloc(ndivs, sizeof(*clks), GFP_KERNEL); in sunxi_divs_clk_setup()
1019 for (i = 0; i < ndivs; i++) { in sunxi_divs_clk_setup()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-imx.c178 unsigned int ndivs; member
232 .ndivs = ARRAY_SIZE(imx_i2c_clk_div),
242 .ndivs = ARRAY_SIZE(imx_i2c_clk_div),
252 .ndivs = ARRAY_SIZE(imx_i2c_clk_div),
262 .ndivs = ARRAY_SIZE(vf610_i2c_clk_div),
596 else if (div > i2c_clk_div[i2c_imx->hwdata->ndivs - 1].div) in i2c_imx_set_clk()
597 i = i2c_imx->hwdata->ndivs - 1; in i2c_imx_set_clk()
/openbmc/linux/drivers/net/ethernet/atheros/
H A Dag71xx.c635 int ndivs, i; in ag71xx_mdio_get_divider() local
643 ndivs = ARRAY_SIZE(ar933x_mdio_div_table); in ag71xx_mdio_get_divider()
646 ndivs = ARRAY_SIZE(ar7240_mdio_div_table); in ag71xx_mdio_get_divider()
649 ndivs = ARRAY_SIZE(ar71xx_mdio_div_table); in ag71xx_mdio_get_divider()
652 for (i = 0; i < ndivs; i++) { in ag71xx_mdio_get_divider()
/openbmc/linux/crypto/
H A Dtestmgr.c471 unsigned int ndivs = 0; in count_test_sg_divisions() local
474 remaining -= divs[ndivs++].proportion_of_total; in count_test_sg_divisions()
477 return ndivs; in count_test_sg_divisions()
592 const unsigned int ndivs = count_test_sg_divisions(divs); in build_test_sglist() local
597 if (WARN_ON(ndivs > ARRAY_SIZE(partitions))) in build_test_sglist()
602 for (i = 0; i < ndivs; i++) { in build_test_sglist()