Home
last modified time | relevance | path

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

1234567

/linux-6.6.21/include/linux/
Dmath64.h26 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 …]
Dmath.h86 #define DIV_ROUND_CLOSEST(x, divisor)( \ argument
101 #define DIV_ROUND_CLOSEST_ULL(x, divisor)( \ argument
Dvlynq.h44 enum vlynq_divisor divisor; member
53 enum vlynq_divisor divisor; member
/linux-6.6.21/lib/math/
Ddiv64.c67 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/
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()
/linux-6.6.21/drivers/net/wireless/realtek/rtw89/
Dutil.h23 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/
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()
/linux-6.6.21/arch/parisc/net/
Dbpf_jit_core.c190 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/
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
/linux-6.6.21/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c71 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/
Dsparc-us2e-cpufreq.c86 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/
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
/linux-6.6.21/drivers/input/serio/
Dambakmi.c31 unsigned int divisor; member
67 unsigned int divisor; in amba_kmi_open() local
/linux-6.6.21/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
/linux-6.6.21/include/vdso/
Dmath64.h6 __iter_div_u64_rem(u64 dividend, u32 divisor, u64 *remainder) in __iter_div_u64_rem()
/linux-6.6.21/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()
/linux-6.6.21/drivers/i2c/busses/
Di2c-aspeed.c826 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/
Dcvmx-helper-jtag.c50 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/
Dstring.c201 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/
Dicst.c30 u32 divisor = (vco.r + 2) * p->s2div[vco.s]; in icst_hz() local
/linux-6.6.21/arch/arm/mach-orion5x/
Dtsx09-common.c27 const unsigned divisor = ((orion5x_tclk + (8 * 19200)) / (16 * 19200)); in qnap_tsx09_power_off() local
/linux-6.6.21/drivers/net/wireless/ath/ath9k/
Dcommon-beacon.c24 unsigned int offset, divisor; in ath9k_get_next_tbtt() local
/linux-6.6.21/drivers/usb/serial/
Doti6858.c76 __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/
Dqnap-poweroff.c55 const unsigned divisor = ((tclk + (8 * cfg->baud)) / (16 * cfg->baud)); in qnap_power_off() local
/linux-6.6.21/drivers/tty/serial/
Dmpc52xx_uart.c125 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

1234567