Searched refs:ndivs (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/clk/sunxi/ |
H A D | clk-sunxi.c | 864 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 D | i2c-imx.c | 178 unsigned int ndivs; member 228 .ndivs = ARRAY_SIZE(imx_i2c_clk_div), 238 .ndivs = ARRAY_SIZE(imx_i2c_clk_div), 248 .ndivs = ARRAY_SIZE(imx_i2c_clk_div), 258 .ndivs = ARRAY_SIZE(vf610_i2c_clk_div), 591 else if (div > i2c_clk_div[i2c_imx->hwdata->ndivs - 1].div) in i2c_imx_set_clk() 592 i = i2c_imx->hwdata->ndivs - 1; in i2c_imx_set_clk()
|
/linux/drivers/net/ethernet/atheros/ |
H A D | ag71xx.c | 638 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 D | testmgr.c | 474 unsigned int ndivs = 0; in count_test_sg_divisions() local 477 remaining -= divs[ndivs++].proportion_of_total; in count_test_sg_divisions() 480 return ndivs; in count_test_sg_divisions() 596 const unsigned int ndivs = count_test_sg_divisions(divs); in build_test_sglist() local 601 if (WARN_ON(ndivs > ARRAY_SIZE(partitions))) in build_test_sglist() 606 for (i = 0; i < ndivs; i++) { in build_test_sglist()
|