/linux-6.3-rc2/include/linux/ |
A D | math64.h | 26 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in div_u64_rem() 40 static inline s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem() 67 static inline u64 div64_u64(u64 dividend, u64 divisor) in div64_u64() 79 static inline s64 div64_s64(s64 dividend, s64 divisor) in div64_s64() 90 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in div_u64_rem() 127 static inline u64 div_u64(u64 dividend, u32 divisor) in div_u64() 142 static inline s64 div_s64(s64 dividend, s32 divisor) in div_s64() 261 static inline u64 mul_u64_u32_div(u64 a, u32 mul, u32 divisor) in mul_u64_u32_div() 314 #define DIV64_U64_ROUND_CLOSEST(dividend, divisor) \ argument 327 #define DIV_U64_ROUND_CLOSEST(dividend, divisor) \ argument [all …]
|
A D | math.h | 86 #define DIV_ROUND_CLOSEST(x, divisor)( \ argument 101 #define DIV_ROUND_CLOSEST_ULL(x, divisor)( \ argument
|
A D | vlynq.h | 44 enum vlynq_divisor divisor; member 53 enum vlynq_divisor divisor; member
|
/linux-6.3-rc2/lib/math/ |
A D | div64.c | 67 s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem() 98 u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem() 138 u64 div64_u64(u64 dividend, u64 divisor) in div64_u64() 161 s64 div64_s64(s64 dividend, s64 divisor) in div64_s64() 179 u32 iter_div_u64_rem(u64 dividend, u32 divisor, u64 *remainder) in iter_div_u64_rem()
|
/linux-6.3-rc2/lib/mpi/ |
A D | mpi-div.c | 20 void mpi_fdiv_r(MPI rem, MPI dividend, MPI divisor) in mpi_fdiv_r() 43 void mpi_fdiv_q(MPI quot, MPI dividend, MPI divisor) in mpi_fdiv_q() 50 void mpi_fdiv_qr(MPI quot, MPI rem, MPI dividend, MPI divisor) in mpi_fdiv_qr()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw89/ |
A D | util.h | 23 static inline s32 s32_div_u32_round_down(s32 dividend, u32 divisor, s32 *remainder) in s32_div_u32_round_down() 42 static inline s32 s32_div_u32_round_closest(s32 dividend, u32 divisor) in s32_div_u32_round_closest()
|
/linux-6.3-rc2/drivers/acpi/acpica/ |
A D | utmath.c | 257 u32 divisor, u64 *out_quotient, u32 *out_remainder) in acpi_ut_short_divide() 316 union uint64_overlay divisor; in acpi_ut_divide() local 445 u32 divisor, u64 *out_quotient, u32 *out_remainder) in acpi_ut_short_divide()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | early_printk.c | 130 static __init void early_serial_hw_init(unsigned divisor) in early_serial_hw_init() 150 unsigned divisor; in early_serial_init() local 219 unsigned divisor; in early_pci_serial_init() local
|
/linux-6.3-rc2/drivers/iio/common/hid-sensors/ |
A D | hid-sensor-attributes.c | 71 static void simple_div(int dividend, int divisor, int *whole, in simple_div() 95 int divisor = int_pow(10, exp); in split_micro_fraction() local 133 int divisor; in convert_to_vtf_format() local 358 int divisor; in adjust_exponent_nano() local
|
/linux-6.3-rc2/drivers/cpufreq/ |
A D | sparc-us2e-cpufreq.c | 88 unsigned long old_divisor, unsigned long divisor) in frob_mem_refresh() 120 unsigned long old_divisor, unsigned long divisor) in us2e_transition() 250 unsigned long clock_tick, divisor, old_divisor, estar; in __us2e_freq_target() local
|
/linux-6.3-rc2/arch/sh/kernel/cpu/sh4/ |
A D | clock-sh4-202.c | 30 int divisor = clk->parent->rate / rate; in frqcr3_lookup() local 79 int divisor = frqcr3_divisors[i]; in shoc_clk_init() local
|
/linux-6.3-rc2/drivers/input/serio/ |
A D | ambakmi.c | 31 unsigned int divisor; member 67 unsigned int divisor; in amba_kmi_open() local
|
/linux-6.3-rc2/drivers/staging/sm750fb/ |
A D | ddk750_chip.c | 87 unsigned int reg, divisor; in set_memory_clock() local 139 unsigned int reg, divisor; in set_master_clock() local
|
/linux-6.3-rc2/include/vdso/ |
A D | math64.h | 6 __iter_div_u64_rem(u64 dividend, u32 divisor, u64 *remainder) in __iter_div_u64_rem()
|
/linux-6.3-rc2/drivers/mfd/ |
A D | mcp-sa11x0.c | 45 mcp_sa11x0_set_telecom_divisor(struct mcp *mcp, unsigned int divisor) in mcp_sa11x0_set_telecom_divisor() 57 mcp_sa11x0_set_audio_divisor(struct mcp *mcp, unsigned int divisor) in mcp_sa11x0_set_audio_divisor()
|
/linux-6.3-rc2/drivers/i2c/busses/ |
A D | i2c-aspeed.c | 806 u32 divisor) in aspeed_i2c_get_clk_reg_val() 871 static u32 aspeed_i2c_24xx_get_clk_reg_val(struct device *dev, u32 divisor) in aspeed_i2c_24xx_get_clk_reg_val() 880 static u32 aspeed_i2c_25xx_get_clk_reg_val(struct device *dev, u32 divisor) in aspeed_i2c_25xx_get_clk_reg_val() 892 u32 divisor, clk_reg_val; in aspeed_i2c_init_clk() local
|
/linux-6.3-rc2/arch/mips/cavium-octeon/executive/ |
A D | cvmx-helper-jtag.c | 50 uint32_t divisor = cvmx_sysinfo_get()->cpu_clock_hz / (25 * 1000000); in cvmx_helper_qlm_jtag_init() local
|
/linux-6.3-rc2/arch/x86/boot/ |
A D | string.c | 201 static inline u64 __div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in __div_u64_rem() 220 static inline u64 __div_u64(u64 dividend, u32 divisor) in __div_u64()
|
/linux-6.3-rc2/drivers/clk/versatile/ |
A D | icst.c | 30 u32 divisor = (vco.r + 2) * p->s2div[vco.s]; in icst_hz() local
|
/linux-6.3-rc2/arch/arm/mach-orion5x/ |
A D | tsx09-common.c | 27 const unsigned divisor = ((orion5x_tclk + (8 * 19200)) / (16 * 19200)); in qnap_tsx09_power_off() local
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/ |
A D | common-beacon.c | 24 unsigned int offset, divisor; in ath9k_get_next_tbtt() local
|
/linux-6.3-rc2/drivers/usb/serial/ |
A D | oti6858.c | 76 __le16 divisor; /* baud rate = 96000000 / (16 * divisor), LE */ member 182 __le16 divisor; member 406 __le16 divisor; in oti6858_set_termios() local
|
/linux-6.3-rc2/drivers/power/reset/ |
A D | qnap-poweroff.c | 55 const unsigned divisor = ((tclk + (8 * cfg->baud)) / (16 * cfg->baud)); in qnap_power_off() local
|
/linux-6.3-rc2/drivers/tty/serial/ |
A D | mpc52xx_uart.c | 125 u16 prescaler, unsigned int divisor) in mpc52xx_set_divisor() 293 unsigned int divisor; in mpc5200_psc_set_baudrate() local 311 unsigned int divisor; in mpc5200b_psc_set_baudrate() local 539 unsigned int divisor; in mpc512x_psc_set_baudrate() local 873 u8 prescaler, unsigned int divisor) in mpc5125_set_divisor() 886 unsigned int divisor; in mpc5125_psc_set_baudrate() local
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/basics/ |
A D | conversion.c | 41 int32_t divisor = 1 << fractional_bits; in fixed_point_to_int_frac() local
|