Home
last modified time | relevance | path

Searched defs:divisor (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/kernel/linux/linux-5.10/include/linux/
Dmath64.h25 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in div_u64_rem()
39 static inline s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem()
53 static inline u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem()
66 static inline u64 div64_u64(u64 dividend, u64 divisor) in div64_u64()
78 static inline s64 div64_s64(s64 dividend, s64 divisor) in div64_s64()
89 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in div_u64_rem()
124 static inline u64 div_u64(u64 dividend, u32 divisor) in div_u64()
137 static inline s64 div_s64(s64 dividend, s32 divisor) in div_s64()
238 static inline u64 mul_u64_u32_div(u64 a, u32 mul, u32 divisor) in mul_u64_u32_div()
281 #define DIV64_U64_ROUND_CLOSEST(dividend, divisor) \ argument
[all …]
/kernel/linux/linux-4.19/include/linux/
Dmath64.h24 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in div_u64_rem()
38 static inline s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem()
52 static inline u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem()
65 static inline u64 div64_u64(u64 dividend, u64 divisor) in div64_u64()
77 static inline s64 div64_s64(s64 dividend, s64 divisor) in div64_s64()
88 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in div_u64_rem()
123 static inline u64 div_u64(u64 dividend, u32 divisor) in div_u64()
136 static inline s64 div_s64(s64 dividend, s32 divisor) in div_s64()
146 __iter_div_u64_rem(u64 dividend, u32 divisor, u64 *remainder) in __iter_div_u64_rem()
256 static inline u64 mul_u64_u32_div(u64 a, u32 mul, u32 divisor) in mul_u64_u32_div()
/kernel/linux/linux-4.19/lib/
Ddiv64.c71 s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem()
102 u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem()
142 u64 div64_u64(u64 dividend, u64 divisor) in div64_u64()
170 s64 div64_s64(s64 dividend, s64 divisor) in div64_s64()
188 u32 iter_div_u64_rem(u64 dividend, u32 divisor, u64 *remainder) in iter_div_u64_rem()
/kernel/linux/linux-5.10/lib/math/
Ddiv64.c71 s64 div_s64_rem(s64 dividend, s32 divisor, s32 *remainder) in div_s64_rem()
102 u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder) in div64_u64_rem()
142 u64 div64_u64(u64 dividend, u64 divisor) in div64_u64()
170 s64 div64_s64(s64 dividend, s64 divisor) in div64_s64()
188 u32 iter_div_u64_rem(u64 dividend, u32 divisor, u64 *remainder) in iter_div_u64_rem()
/kernel/linux/linux-5.10/lib/mpi/
Dmpi-div.c20 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()
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Dutmath.c257 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()
/kernel/linux/linux-4.19/drivers/acpi/acpica/
Dutmath.c257 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()
/kernel/linux/linux-5.10/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c76 static void simple_div(int dividend, int divisor, int *whole, in simple_div()
100 int divisor = int_pow(10, exp); in split_micro_fraction() local
138 int divisor; in convert_to_vtf_format() local
309 int divisor; in adjust_exponent_nano() local
/kernel/linux/linux-4.19/arch/x86/kernel/
Dearly_printk.c133 static __init void early_serial_hw_init(unsigned divisor) in early_serial_hw_init()
153 unsigned divisor; in early_serial_init() local
222 unsigned divisor; in early_pci_serial_init() local
/kernel/linux/linux-5.10/arch/x86/kernel/
Dearly_printk.c130 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
/kernel/linux/linux-4.19/drivers/cpufreq/
Dsparc-us2e-cpufreq.c87 unsigned long old_divisor, unsigned long divisor) in frob_mem_refresh()
119 unsigned long old_divisor, unsigned long divisor) in us2e_transition()
249 unsigned long clock_tick, divisor, old_divisor, estar; in __us2e_freq_target() local
/kernel/linux/linux-5.10/drivers/cpufreq/
Dsparc-us2e-cpufreq.c88 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
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/sh4/
Dclock-sh4-202.c30 int divisor = clk->parent->rate / rate; in frqcr3_lookup() local
79 int divisor = frqcr3_divisors[i]; in shoc_clk_init() local
/kernel/linux/linux-4.19/arch/sh/kernel/cpu/sh4/
Dclock-sh4-202.c33 int divisor = clk->parent->rate / rate; in frqcr3_lookup() local
82 int divisor = frqcr3_divisors[i]; in shoc_clk_init() local
/kernel/linux/linux-4.19/drivers/input/serio/
Dambakmi.c35 unsigned int divisor; member
71 unsigned int divisor; in amba_kmi_open() local
/kernel/linux/linux-5.10/drivers/input/serio/
Dambakmi.c31 unsigned int divisor; member
67 unsigned int divisor; in amba_kmi_open() local
/kernel/linux/linux-5.10/include/vdso/
Dmath64.h6 __iter_div_u64_rem(u64 dividend, u32 divisor, u64 *remainder) in __iter_div_u64_rem()
/kernel/linux/linux-5.10/drivers/staging/sm750fb/
Dddk750_chip.c87 unsigned int reg, divisor; in set_memory_clock() local
139 unsigned int reg, divisor; in set_master_clock() local
/kernel/linux/linux-4.19/drivers/staging/sm750fb/
Dddk750_chip.c88 unsigned int reg, divisor; in set_memory_clock() local
140 unsigned int reg, divisor; in set_master_clock() local
/kernel/linux/linux-5.10/drivers/mfd/
Dmcp-sa11x0.c45 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()
/kernel/linux/linux-4.19/drivers/mfd/
Dmcp-sa11x0.c48 mcp_sa11x0_set_telecom_divisor(struct mcp *mcp, unsigned int divisor) in mcp_sa11x0_set_telecom_divisor()
60 mcp_sa11x0_set_audio_divisor(struct mcp *mcp, unsigned int divisor) in mcp_sa11x0_set_audio_divisor()
/kernel/linux/linux-4.19/arch/mips/cavium-octeon/executive/
Dcvmx-helper-jtag.c50 uint32_t divisor = cvmx_sysinfo_get()->cpu_clock_hz / (25 * 1000000); in cvmx_helper_qlm_jtag_init() local
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/
Dcvmx-helper-jtag.c50 uint32_t divisor = cvmx_sysinfo_get()->cpu_clock_hz / (25 * 1000000); in cvmx_helper_qlm_jtag_init() local
/kernel/linux/linux-4.19/drivers/i2c/busses/
Di2c-aspeed.c692 u32 divisor) in aspeed_i2c_get_clk_reg_val()
757 static u32 aspeed_i2c_24xx_get_clk_reg_val(struct device *dev, u32 divisor) in aspeed_i2c_24xx_get_clk_reg_val()
766 static u32 aspeed_i2c_25xx_get_clk_reg_val(struct device *dev, u32 divisor) in aspeed_i2c_25xx_get_clk_reg_val()
778 u32 divisor, clk_reg_val; in aspeed_i2c_init_clk() local
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-aspeed.c797 u32 divisor) in aspeed_i2c_get_clk_reg_val()
862 static u32 aspeed_i2c_24xx_get_clk_reg_val(struct device *dev, u32 divisor) in aspeed_i2c_24xx_get_clk_reg_val()
871 static u32 aspeed_i2c_25xx_get_clk_reg_val(struct device *dev, u32 divisor) in aspeed_i2c_25xx_get_clk_reg_val()
883 u32 divisor, clk_reg_val; in aspeed_i2c_init_clk() local

12345678910>>...12