/linux-6.6.21/include/linux/ |
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() 54 static inline u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_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 [all …]
|
D | math.h | 86 #define DIV_ROUND_CLOSEST(x, divisor)( \ argument 101 #define DIV_ROUND_CLOSEST_ULL(x, divisor)( \ argument
|
D | vlynq.h | 44 enum vlynq_divisor divisor; member 53 enum vlynq_divisor divisor; member
|
/linux-6.6.21/lib/math/ |
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.6.21/lib/crypto/mpi/ |
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.6.21/drivers/net/wireless/realtek/rtw89/ |
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.6.21/drivers/acpi/acpica/ |
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.6.21/arch/parisc/net/ |
D | bpf_jit_core.c | 190 u64 hppa_div64(u64 div, u64 divisor) in hppa_div64() 196 u64 hppa_div64_rem(u64 div, u64 divisor) in hppa_div64_rem()
|
/linux-6.6.21/arch/x86/kernel/ |
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.6.21/drivers/iio/common/hid-sensors/ |
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.6.21/drivers/cpufreq/ |
D | sparc-us2e-cpufreq.c | 86 unsigned long old_divisor, unsigned long divisor) in frob_mem_refresh() 118 unsigned long old_divisor, unsigned long divisor) in us2e_transition() 248 unsigned long clock_tick, divisor, old_divisor, estar; in __us2e_freq_target() local
|
/linux-6.6.21/arch/sh/kernel/cpu/sh4/ |
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.6.21/drivers/input/serio/ |
D | ambakmi.c | 31 unsigned int divisor; member 67 unsigned int divisor; in amba_kmi_open() local
|
/linux-6.6.21/drivers/staging/sm750fb/ |
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.6.21/include/vdso/ |
D | math64.h | 6 __iter_div_u64_rem(u64 dividend, u32 divisor, u64 *remainder) in __iter_div_u64_rem()
|
/linux-6.6.21/drivers/mfd/ |
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.6.21/drivers/i2c/busses/ |
D | i2c-aspeed.c | 826 u32 divisor) in aspeed_i2c_get_clk_reg_val() 891 static u32 aspeed_i2c_24xx_get_clk_reg_val(struct device *dev, u32 divisor) in aspeed_i2c_24xx_get_clk_reg_val() 900 static u32 aspeed_i2c_25xx_get_clk_reg_val(struct device *dev, u32 divisor) in aspeed_i2c_25xx_get_clk_reg_val() 912 u32 divisor, clk_reg_val; in aspeed_i2c_init_clk() local
|
/linux-6.6.21/arch/mips/cavium-octeon/executive/ |
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.6.21/arch/x86/boot/ |
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.6.21/drivers/clk/versatile/ |
D | icst.c | 30 u32 divisor = (vco.r + 2) * p->s2div[vco.s]; in icst_hz() local
|
/linux-6.6.21/arch/arm/mach-orion5x/ |
D | tsx09-common.c | 27 const unsigned divisor = ((orion5x_tclk + (8 * 19200)) / (16 * 19200)); in qnap_tsx09_power_off() local
|
/linux-6.6.21/drivers/net/wireless/ath/ath9k/ |
D | common-beacon.c | 24 unsigned int offset, divisor; in ath9k_get_next_tbtt() local
|
/linux-6.6.21/drivers/usb/serial/ |
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.6.21/drivers/power/reset/ |
D | qnap-poweroff.c | 55 const unsigned divisor = ((tclk + (8 * cfg->baud)) / (16 * cfg->baud)); in qnap_power_off() local
|
/linux-6.6.21/drivers/tty/serial/ |
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
|