Home
last modified time | relevance | path

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

12

/openbmc/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
/openbmc/linux/include/linux/
H A Dlcm.h7 unsigned long lcm(unsigned long a, unsigned long b) __attribute_const__;
/openbmc/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()
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Drichtek,rt4831-regulator.yaml29 "^DSV(LCM|P|N)$":
/openbmc/linux/Documentation/devicetree/bindings/display/panel/
H A Djdi,lt070me05000.yaml30 power supply for LCM (1.8V)
/openbmc/linux/arch/arm/boot/dts/microchip/
H A Dat91-dvk_su60_somc_lcm.dtsi41 regulator-name = "VCC LCM";
/openbmc/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()
/openbmc/linux/drivers/iio/imu/
H A Dadis16475.c19 #include <linux/lcm.h>
306 * 1. lcm of the input clock and the desired output rate. in adis16475_set_freq()
312 unsigned long scaled_rate = lcm(st->clk_freq, freq); in adis16475_set_freq()
316 * If lcm is bigger than the IMU maximum sampling rate there's no perfect in adis16475_set_freq()
H A Dadis16480.c18 #include <linux/lcm.h>
349 * 1. lcm of the input clock and the desired output rate. in adis16480_set_freq()
355 unsigned long scaled_rate = lcm(st->clk_freq, t); in adis16480_set_freq()
359 * If lcm is bigger than the IMU maximum sampling rate there's no perfect in adis16480_set_freq()
/openbmc/linux/drivers/video/backlight/
H A DKconfig80 tristate "VGG2432A4 LCM device support"
/openbmc/linux/drivers/media/platform/xilinx/
H A Dxilinx-dma.c13 #include <linux/lcm.h>
543 align = lcm(dma->align, info->bpp); in __xvip_dma_try_format()
/openbmc/qemu/audio/
H A Dmixeng.c394 * lcm(in_rate,out_rate).
/openbmc/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas.h18 #include <linux/lcm.h>
H A Dhisi_sas_main.c2244 s = max(lcm(max_command_entries_ru, sz_slot_buf_ru), PAGE_SIZE); in hisi_sas_alloc()
/openbmc/linux/sound/soc/atmel/
H A Dmchp-i2s-mcc.c18 #include <linux/lcm.h>
438 lcm_rate = lcm(sysclk, bclk); in mchp_i2s_mcc_config_divs()
/openbmc/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()
/openbmc/linux/drivers/video/fbdev/
H A Dda8xx-fb.c26 #include <linux/lcm.h>
1418 ulcm = lcm((lcdc_info->xres * lcd_cfg->bpp)/8, PAGE_SIZE); in fb_probe()
/openbmc/linux/arch/arm64/boot/dts/qcom/
H A Dsc7180-acer-aspire1.dts783 reg_lcm_en_default: reg-lcm-en-deault-state {
/openbmc/linux/block/
H A Dblk-settings.c13 #include <linux/lcm.h>
/openbmc/linux/drivers/media/usb/em28xx/
H A Dem28xx-core.c632 /* Max Tx Size = 188 * 256 = 48128 - LCM(188,512) * 2 */ in em28xx_capture_start()
/openbmc/linux/drivers/staging/media/tegra-video/
H A Dvi.c10 #include <linux/lcm.h>
/openbmc/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()
/openbmc/linux/drivers/md/
H A Draid10.c4330 * For 'near' the multiplier is the LCM of in raid10_resize()
4333 * Else find LCM(raid_disks, near_copy)*far_copies and in raid10_resize()
/openbmc/qemu/target/xtensa/core-dsp3400/
H A Dxtensa-modules.c.inc76583 { "lcm", ICLASS_iclass_LCM,

12