Home
last modified time | relevance | path

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

12

/Linux-v6.1/lib/math/
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()
DMakefile2 obj-y += div64.o gcd.o lcm.o int_pow.o int_sqrt.o reciprocal_div.o
/Linux-v6.1/net/sunrpc/auth_gss/
Dgss_krb5_keys.c62 #include <linux/lcm.h>
85 /* first compute lcm(n,k) */ in krb5_nfold()
86 ulcm = lcm(inbits, outbits); in krb5_nfold()
93 /* this will end up cycling through k lcm(k,n)/k times, which in krb5_nfold()
/Linux-v6.1/include/linux/
Dlcm.h7 unsigned long lcm(unsigned long a, unsigned long b) __attribute_const__;
/Linux-v6.1/Documentation/devicetree/bindings/regulator/
Drichtek,rt4831-regulator.yaml29 "^DSV(LCM|P|N)$":
/Linux-v6.1/Documentation/devicetree/bindings/display/panel/
Djdi,lt070me05000.yaml30 power supply for LCM (1.8V)
/Linux-v6.1/arch/arm/boot/dts/
Dat91-dvk_su60_somc_lcm.dtsi41 regulator-name = "VCC LCM";
/Linux-v6.1/drivers/iio/imu/
Dadis16475.c19 #include <linux/lcm.h>
308 * 1. lcm of the input clock and the desired output rate. in adis16475_set_freq()
314 unsigned long scaled_rate = lcm(st->clk_freq, freq); in adis16475_set_freq()
318 * If lcm is bigger than the IMU maximum sampling rate there's no perfect in adis16475_set_freq()
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()
/Linux-v6.1/drivers/media/i2c/
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()
Daptina-pll.c11 #include <linux/lcm.h>
/Linux-v6.1/drivers/video/backlight/
DKconfig80 tristate "VGG2432A4 LCM device support"
/Linux-v6.1/drivers/media/platform/xilinx/
Dxilinx-dma.c13 #include <linux/lcm.h>
558 align = lcm(dma->align, info->bpp); in __xvip_dma_try_format()
/Linux-v6.1/drivers/scsi/hisi_sas/
Dhisi_sas.h18 #include <linux/lcm.h>
Dhisi_sas_main.c2164 s = max(lcm(max_command_entries_ru, sz_slot_buf_ru), PAGE_SIZE); in hisi_sas_alloc()
/Linux-v6.1/sound/soc/atmel/
Dmchp-i2s-mcc.c18 #include <linux/lcm.h>
438 lcm_rate = lcm(sysclk, bclk); in mchp_i2s_mcc_config_divs()
/Linux-v6.1/drivers/media/platform/ti/omap3isp/
Dispccp2.c507 /* Clear LCM interrupts */ in ccp2_mem_configure()
512 /* Enable LCM interrupts */ in ccp2_mem_configure()
/Linux-v6.1/arch/arm/mach-s3c/
Dmach-jive.c656 gpio_request(S3C2410_GPG(13), "lcm reset"); in jive_machine_init()
/Linux-v6.1/drivers/video/fbdev/
Dda8xx-fb.c26 #include <linux/lcm.h>
1422 ulcm = lcm((lcdc_info->xres * lcd_cfg->bpp)/8, PAGE_SIZE); in fb_probe()
/Linux-v6.1/block/
Dblk-settings.c13 #include <linux/lcm.h>
/Linux-v6.1/mm/
Dpercpu.c75 #include <linux/lcm.h>
1355 * Align the end of the region with the LCM of PAGE_SIZE and in pcpu_alloc_first_chunk()
1359 lcm_align = lcm(PAGE_SIZE, PCPU_BITMAP_BLOCK_SIZE); in pcpu_alloc_first_chunk()
/Linux-v6.1/drivers/media/usb/em28xx/
Dem28xx-core.c632 /* Max Tx Size = 188 * 256 = 48128 - LCM(188,512) * 2 */ in em28xx_capture_start()
/Linux-v6.1/drivers/media/pci/cx18/
Dcx18-streams.c175 /* VB_MIN_BUFSIZE is lcm(1440 * 480, 1440 * 576)
/Linux-v6.1/drivers/staging/media/tegra-video/
Dvi.c10 #include <linux/lcm.h>
/Linux-v6.1/lib/zstd/compress/
Dzstd_compress.c675 const ZSTD_literalCompressionMode_e lcm = (ZSTD_literalCompressionMode_e)value; in ZSTD_CCtxParams_setParameter() local
676 BOUNDCHECK(ZSTD_c_literalCompressionMode, lcm); in ZSTD_CCtxParams_setParameter()
677 CCtxParams->literalCompressionMode = lcm; in ZSTD_CCtxParams_setParameter()

12