Home
last modified time | relevance | path

Searched refs:quotient (Results 1 – 10 of 10) sorted by relevance

/drivers/acpi/acpica/
Dutmath.c260 union uint64_overlay quotient; in acpi_ut_short_divide() local
279 quotient.part.hi, remainder32); in acpi_ut_short_divide()
282 quotient.part.lo, remainder32); in acpi_ut_short_divide()
287 *out_quotient = quotient.full; in acpi_ut_short_divide()
317 union uint64_overlay quotient; in acpi_ut_divide() local
348 quotient.part.hi, partial1); in acpi_ut_divide()
351 quotient.part.lo, remainder.part.lo); in acpi_ut_divide()
359 quotient.part.hi = 0; in acpi_ut_divide()
377 normalized_divisor.part.lo, quotient.part.lo, in acpi_ut_divide()
384 partial1 = quotient.part.lo * divisor.part.hi; in acpi_ut_divide()
[all …]
Dhwtimer.c123 u64 quotient; in ACPI_EXPORT_SYMBOL() local
168 ACPI_PM_TIMER_FREQUENCY, &quotient, NULL); in ACPI_EXPORT_SYMBOL()
170 *time_elapsed = (u32)quotient; in ACPI_EXPORT_SYMBOL()
Dutstrsuppt.c373 u64 quotient; in acpi_ut_strtoul_multiply64() local
390 acpi_ut_short_divide(ACPI_UINT64_MAX, base, &quotient, NULL); in acpi_ut_strtoul_multiply64()
391 if (multiplicand > quotient) { in acpi_ut_strtoul_multiply64()
/drivers/media/tuners/
Dmax2165.c150 static int fixpt_div32(u32 dividend, u32 divisor, u32 *quotient, u32 *fraction) in fixpt_div32() argument
171 *quotient = q; in fixpt_div32()
182 u32 quotient, fraction; in max2165_set_rf() local
187 &quotient, &fraction); in max2165_set_rf()
194 max2165_write_reg(priv, REG_NDIV_INT, quotient); in max2165_set_rf()
/drivers/clk/qcom/
Dclk-alpha-pll.c463 u64 quotient; in alpha_pll_round_rate() local
465 quotient = rate; in alpha_pll_round_rate()
466 remainder = do_div(quotient, prate); in alpha_pll_round_rate()
467 *l = quotient; in alpha_pll_round_rate()
475 quotient = remainder << ALPHA_SHIFT(alpha_width); in alpha_pll_round_rate()
477 remainder = do_div(quotient, prate); in alpha_pll_round_rate()
480 quotient++; in alpha_pll_round_rate()
482 *a = quotient; in alpha_pll_round_rate()
670 u64 quotient; in alpha_huayra_pll_round_rate() local
672 quotient = rate; in alpha_huayra_pll_round_rate()
[all …]
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.c63 u32 quotient, reminder; in stmmac_adjust_time() local
75 quotient = div_u64_rem(delta, 1000000000ULL, &reminder); in stmmac_adjust_time()
76 sec = quotient; in stmmac_adjust_time()
/drivers/media/pci/cx25821/
Dcx25821-medusa-video.c515 int quotient; in mapM() local
528 quotient = numerator / denominator; in mapM()
531 quotient++; in mapM()
533 *dstVal = quotient + dstMin; in mapM()
/drivers/soc/qcom/
Dcpr.c136 char *quotient; member
902 ret = nvmem_cell_read_variable_le_u32(drv->dev, fuses->quotient, &fuse->quot); in cpr_fuse_corner_init()
1254 fuses[i].quotient = devm_kstrdup(drv->dev, tbuf, GFP_KERNEL); in cpr_get_fuses()
1255 if (!fuses[i].quotient) in cpr_get_fuses()
/drivers/net/wireless/broadcom/b43/
Dphy_lp.c1062 u32 quotient, remainder; in lpphy_qdiv_roundup() local
1067 quotient = dividend / divisor; in lpphy_qdiv_roundup()
1071 quotient <<= 1; in lpphy_qdiv_roundup()
1073 quotient++; in lpphy_qdiv_roundup()
1080 quotient++; in lpphy_qdiv_roundup()
1082 return quotient; in lpphy_qdiv_roundup()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c952 u32 quotient, remainder, roundup, rbit; in wlc_lcnphy_qdiv_roundup() local
954 quotient = dividend / divisor; in wlc_lcnphy_qdiv_roundup()
960 quotient <<= 1; in wlc_lcnphy_qdiv_roundup()
962 quotient++; in wlc_lcnphy_qdiv_roundup()
970 quotient++; in wlc_lcnphy_qdiv_roundup()
972 return quotient; in wlc_lcnphy_qdiv_roundup()