| /drivers/acpi/acpica/ |
| A 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() 395 quotient.part.lo--; in acpi_ut_divide() 399 quotient.part.lo--; in acpi_ut_divide() [all …]
|
| A 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()
|
| A 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/net/wireless/realtek/rtw89/ |
| A D | util.h | 45 s32 quotient; in s32_div_u32_round_down() local 47 quotient = dividend / i_divisor; in s32_div_u32_round_down() 51 quotient--; in s32_div_u32_round_down() 57 return quotient; in s32_div_u32_round_down()
|
| A D | phy.c | 5376 u8 quotient; in rtw89_phy_ccx_ms_to_period_unit() local 5381 quotient = CCX_MAX_PERIOD_UNIT * time_ms / CCX_MAX_PERIOD; in rtw89_phy_ccx_ms_to_period_unit() 5383 if (quotient < 4) in rtw89_phy_ccx_ms_to_period_unit() 5385 else if (quotient < 8) in rtw89_phy_ccx_ms_to_period_unit() 5387 else if (quotient < 16) in rtw89_phy_ccx_ms_to_period_unit()
|
| /drivers/net/ethernet/amd/xgbe/ |
| A D | xgbe-ptp.c | 42 u32 quotient, reminder; in xgbe_adjtime() local 50 quotient = div_u64_rem(delta, 1000000000ULL, &reminder); in xgbe_adjtime() 51 sec = quotient; in xgbe_adjtime()
|
| /drivers/media/tuners/ |
| A 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/ |
| A D | clk-alpha-pll.c | 670 u64 quotient; in alpha_pll_round_rate() local 672 quotient = rate; in alpha_pll_round_rate() 674 *l = quotient; in alpha_pll_round_rate() 687 quotient++; in alpha_pll_round_rate() 689 *a = quotient; in alpha_pll_round_rate() 922 u64 quotient; in alpha_huayra_pll_round_rate() local 924 quotient = rate; in alpha_huayra_pll_round_rate() 926 *l = quotient; in alpha_huayra_pll_round_rate() 937 quotient++; in alpha_huayra_pll_round_rate() 947 *a = quotient; in alpha_huayra_pll_round_rate() [all …]
|
| /drivers/net/ethernet/stmicro/stmmac/ |
| A D | stmmac_ptp.c | 53 u32 quotient, reminder; in stmmac_adjust_time() local 65 quotient = div_u64_rem(delta, 1000000000ULL, &reminder); in stmmac_adjust_time() 66 sec = quotient; in stmmac_adjust_time()
|
| /drivers/media/pci/cx25821/ |
| A 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/pmdomain/qcom/ |
| A D | cpr.c | 136 char *quotient; member 897 ret = nvmem_cell_read_variable_le_u32(drv->dev, fuses->quotient, &fuse->quot); in cpr_fuse_corner_init() 1243 fuses[i].quotient = devm_kstrdup(drv->dev, tbuf, GFP_KERNEL); in cpr_get_fuses() 1244 if (!fuses[i].quotient) in cpr_get_fuses()
|
| /drivers/net/wireless/broadcom/b43/ |
| A 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/ |
| A 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()
|