Searched refs:quotient (Results 1 – 8 of 8) sorted by relevance
/drivers/acpi/acpica/ |
D | utmath.c | 94 union uint64_overlay quotient; in acpi_ut_short_divide() local 113 quotient.part.hi, remainder32); in acpi_ut_short_divide() 115 quotient.part.lo, remainder32); in acpi_ut_short_divide() 120 *out_quotient = quotient.full; in acpi_ut_short_divide() 150 union uint64_overlay quotient; in acpi_ut_divide() local 181 quotient.part.hi, partial1); in acpi_ut_divide() 183 quotient.part.lo, remainder.part.lo); in acpi_ut_divide() 191 quotient.part.hi = 0; in acpi_ut_divide() 210 quotient.part.lo, partial1); in acpi_ut_divide() 216 partial1 = quotient.part.lo * divisor.part.hi; in acpi_ut_divide() [all …]
|
D | hwtimer.c | 149 u64 quotient; in ACPI_EXPORT_SYMBOL() local 195 ACPI_PM_TIMER_FREQUENCY, "ient, NULL); in ACPI_EXPORT_SYMBOL() 197 *time_elapsed = (u32) quotient; in ACPI_EXPORT_SYMBOL()
|
D | utstring.c | 176 u64 quotient; in acpi_ut_strtoul64() local 296 base, "ient, NULL); in acpi_ut_strtoul64() 298 if (return_value > quotient) { in acpi_ut_strtoul64()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ptp.c | 78 u32 quotient, reminder; in stmmac_adjust_time() local 86 quotient = div_u64_rem(delta, 1000000000ULL, &reminder); in stmmac_adjust_time() 87 sec = quotient; in stmmac_adjust_time()
|
/drivers/media/tuners/ |
D | max2165.c | 164 static int fixpt_div32(u32 dividend, u32 divisor, u32 *quotient, u32 *fraction) in fixpt_div32() argument 185 *quotient = q; in fixpt_div32() 196 u32 quotient, fraction; in max2165_set_rf() local 201 "ient, &fraction); in max2165_set_rf() 208 max2165_write_reg(priv, REG_NDIV_INT, quotient); in max2165_set_rf()
|
/drivers/media/pci/cx25821/ |
D | cx25821-medusa-video.c | 529 int quotient; in mapM() local 542 quotient = numerator / denominator; in mapM() 545 quotient++; in mapM() 547 *dstVal = quotient + dstMin; in mapM()
|
/drivers/net/wireless/b43/ |
D | phy_lp.c | 1074 u32 quotient, remainder; in lpphy_qdiv_roundup() local 1079 quotient = dividend / divisor; in lpphy_qdiv_roundup() 1083 quotient <<= 1; in lpphy_qdiv_roundup() 1085 quotient++; in lpphy_qdiv_roundup() 1092 quotient++; in lpphy_qdiv_roundup() 1094 return quotient; in lpphy_qdiv_roundup()
|
/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_lcn.c | 1018 u32 quotient, remainder, roundup, rbit; in wlc_lcnphy_qdiv_roundup() local 1020 quotient = dividend / divisor; in wlc_lcnphy_qdiv_roundup() 1026 quotient <<= 1; in wlc_lcnphy_qdiv_roundup() 1028 quotient++; in wlc_lcnphy_qdiv_roundup() 1036 quotient++; in wlc_lcnphy_qdiv_roundup() 1038 return quotient; in wlc_lcnphy_qdiv_roundup()
|