Searched refs:quotient (Results 1 – 10 of 10) sorted by relevance
/drivers/acpi/acpica/ |
D | utmath.c | 260 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 …]
|
D | hwtimer.c | 123 u64 quotient; in ACPI_EXPORT_SYMBOL() local 168 ACPI_PM_TIMER_FREQUENCY, "ient, NULL); in ACPI_EXPORT_SYMBOL() 170 *time_elapsed = (u32)quotient; in ACPI_EXPORT_SYMBOL()
|
D | utstrsuppt.c | 373 u64 quotient; in acpi_ut_strtoul_multiply64() local 390 acpi_ut_short_divide(ACPI_UINT64_MAX, base, "ient, NULL); in acpi_ut_strtoul_multiply64() 391 if (multiplicand > quotient) { in acpi_ut_strtoul_multiply64()
|
/drivers/media/tuners/ |
D | max2165.c | 150 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 "ient, &fraction); in max2165_set_rf() 194 max2165_write_reg(priv, REG_NDIV_INT, quotient); in max2165_set_rf()
|
/drivers/clk/qcom/ |
D | clk-alpha-pll.c | 463 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/ |
D | stmmac_ptp.c | 63 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/ |
D | cx25821-medusa-video.c | 515 int quotient; in mapM() local 528 quotient = numerator / denominator; in mapM() 531 quotient++; in mapM() 533 *dstVal = quotient + dstMin; in mapM()
|
/drivers/soc/qcom/ |
D | cpr.c | 136 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/ |
D | phy_lp.c | 1062 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/ |
D | phy_lcn.c | 952 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()
|