Home
last modified time | relevance | path

Searched full:lcm (Results 1 – 19 of 19) sorted by relevance

/linux/lib/math/
H A Dlcm.c5 #include <linux/lcm.h>
8 unsigned long lcm(unsigned long a, unsigned long b) in lcm() function
15 EXPORT_SYMBOL_GPL(lcm);
19 unsigned long l = lcm(a, b); in lcm_not_zero()
H A DMakefile2 obj-y += div64.o gcd.o lcm.o int_log.o int_pow.o int_sqrt.o reciprocal_div.o
/linux/include/linux/
H A Dlcm.h7 unsigned long lcm(unsigned long a, unsigned long b) __attribute_const__;
/linux/net/sunrpc/auth_gss/
H A Dgss_krb5_keys.c62 #include <linux/lcm.h>
94 /* first compute lcm(n,k) */ in krb5_nfold()
95 ulcm = lcm(inbits, outbits); in krb5_nfold()
102 /* this will end up cycling through k lcm(k,n)/k times, which in krb5_nfold()
/linux/Documentation/devicetree/bindings/regulator/
H A Drichtek,rt4831-regulator.yaml29 "^DSV(LCM|P|N)$":
/linux/Documentation/devicetree/bindings/display/panel/
H A Djdi,lt070me05000.yaml32 power supply for LCM (1.8V)
/linux/arch/arm/boot/dts/microchip/
H A Dat91-dvk_su60_somc_lcm.dtsi41 regulator-name = "VCC LCM";
/linux/drivers/media/i2c/
H A Dccs-pll.c14 #include <linux/lcm.h>
653 more_mul_factor = lcm(div, op_pll_fr->pre_pll_clk_div) / div; in ccs_pll_calculate_op()
655 more_mul_factor = lcm(more_mul_factor, op_lim_bk->min_sys_clk_div); in ccs_pll_calculate_op()
/linux/drivers/iio/imu/
H A Dadis16480.c18 #include <linux/lcm.h>
346 * 1. lcm of the input clock and the desired output rate. in adis16480_set_freq()
352 unsigned long scaled_rate = lcm(st->clk_freq, t); in adis16480_set_freq()
356 * If lcm is bigger than the IMU maximum sampling rate there's no perfect in adis16480_set_freq()
H A Dadis16475.c20 #include <linux/lcm.h>
344 * 1. lcm of the input clock and the desired output rate. in adis16475_set_freq()
350 unsigned long scaled_rate = lcm(st->clk_freq, freq); in adis16475_set_freq()
354 * If lcm is bigger than the IMU maximum sampling rate there's no perfect in adis16475_set_freq()
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt6795-sony-xperia-m5.dts247 disp_rst_pins: lcm-pins {
/linux/drivers/video/backlight/
H A DKconfig80 tristate "VGG2432A4 LCM device support"
/linux/sound/soc/atmel/
H A Dmchp-i2s-mcc.c18 #include <linux/lcm.h>
447 lcm_rate = lcm(sysclk, bclk); in mchp_i2s_mcc_config_divs()
/linux/drivers/media/platform/ti/omap3isp/
H A Dispccp2.c509 /* Clear LCM interrupts */ in ccp2_mem_configure()
514 /* Enable LCM interrupts */ in ccp2_mem_configure()
/linux/arch/arm64/boot/dts/qcom/
H A Dsc7180-acer-aspire1.dts978 reg_lcm_en_default: reg-lcm-en-deault-state {
/linux/block/
H A Dblk-settings.c13 #include <linux/lcm.h>
/linux/drivers/media/usb/em28xx/
H A Dem28xx-core.c633 /* Max Tx Size = 188 * 256 = 48128 - LCM(188,512) * 2 */ in em28xx_capture_start()
/linux/lib/zstd/compress/
H A Dzstd_compress.c768 const ZSTD_paramSwitch_e lcm = (ZSTD_paramSwitch_e)value; in ZSTD_CCtxParams_setParameter() local
769 BOUNDCHECK(ZSTD_c_literalCompressionMode, lcm); in ZSTD_CCtxParams_setParameter()
770 CCtxParams->literalCompressionMode = lcm; in ZSTD_CCtxParams_setParameter()
/linux/drivers/md/
H A Draid10.c4250 * For 'near' the multiplier is the LCM of in raid10_resize()
4253 * Else find LCM(raid_disks, near_copy)*far_copies and in raid10_resize()