/linux-4.4.14/lib/ |
H A D | gcd.c | 2 #include <linux/gcd.h> 6 unsigned long gcd(unsigned long a, unsigned long b) gcd() function 21 EXPORT_SYMBOL_GPL(gcd); variable
|
H A D | lcm.c | 2 #include <linux/gcd.h> 10 return (a / gcd(a, b)) * b; lcm()
|
H A D | bch.c | 771 dbg("gcd(%s,%s)=", gf_poly_str(a), gf_poly_str(b)); gf_poly_gcd() 845 struct gf_poly *gcd; factor_polynomial() local 856 /* compute g = gcd(f, tk) (destructive operation) */ factor_polynomial() 858 gcd = gf_poly_gcd(bch, f2, tk); factor_polynomial() 859 if (gcd->deg < f->deg) { factor_polynomial() 860 /* compute h=f/gcd(f,tk); this will modify f and q */ factor_polynomial() 861 gf_poly_div(bch, f, gcd, q); factor_polynomial() 863 *h = &((struct gf_poly_deg1 *)f)[gcd->deg].poly; factor_polynomial() 864 gf_poly_copy(*g, gcd); factor_polynomial()
|
H A D | Makefile | 27 gcd.o lcm.o list_sort.o uuid.o flex_array.o iov_iter.o clz_ctz.o \
|
/linux-4.4.14/include/linux/ |
H A D | gcd.h | 6 unsigned long gcd(unsigned long a, unsigned long b) __attribute_const__;
|
H A D | mpi.h | 113 /*-- mpi-gcd.c --*/
|
/linux-4.4.14/sound/core/ |
H A D | pcm_timer.c | 23 #include <linux/gcd.h> 41 l = gcd(mult, rate); snd_pcm_timer_resolution_change() 47 l = gcd(rate, fsize); snd_pcm_timer_resolution_change()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_afmt.c | 27 #include <linux/gcd.h> 61 div = gcd(n, cts); amdgpu_afmt_calc_cts()
|
H A D | amdgpu_pll.c | 29 #include <linux/gcd.h> 49 tmp = gcd(*nom, *den); amdgpu_pll_reduce_ratio()
|
/linux-4.4.14/drivers/media/i2c/ |
H A D | aptina-pll.c | 22 #include <linux/gcd.h> 55 div = gcd(pll->pix_clock, pll->ext_clock); aptina_pll_calculate() 108 * mf_inc = p1 / gcd(div, p1) (6) aptina_pll_calculate() 147 unsigned int mf_inc = p1 / gcd(div, p1); aptina_pll_calculate()
|
H A D | smiapp-pll.c | 20 #include <linux/gcd.h> 456 i = gcd(pll->pll_op_clk_freq_hz, pll->ext_clk_freq_hz); smiapp_pll_calculate()
|
/linux-4.4.14/net/netfilter/ipvs/ |
H A D | ip_vs_wrr.c | 28 #include <linux/gcd.h> 84 g = gcd(weight, g); ip_vs_wrr_gcd_weight()
|
/linux-4.4.14/drivers/media/tuners/ |
H A D | msi001.c | 19 #include <linux/gcd.h> 225 uitmp = gcd(k_thresh, k_frac); msi001_set_tuner()
|
H A D | mt2063.c | 669 * gcd() - Uses Euclid's algorithm 731 ** For each edge (d, c & f), calculate a scale, based on the gcd IsSpurInBand() 733 ** gcd-based scale factor or f_Scale. IsSpurInBand()
|
/linux-4.4.14/arch/mips/ar7/ |
H A D | clock.c | 26 #include <linux/gcd.h> 135 tmp_gcd = gcd(target, tmp_base); calculate()
|
/linux-4.4.14/drivers/iio/frequency/ |
H A D | adf4350.c | 17 #include <linux/gcd.h> 187 div_gcd = gcd(st->r1_mod, st->r0_fract); adf4350_set_freq()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
H A D | radeon_audio.c | 25 #include <linux/gcd.h> 563 div = gcd(n, cts); radeon_audio_calc_cts()
|
H A D | r600_hdmi.c | 27 #include <linux/gcd.h>
|
H A D | radeon_display.c | 38 #include <linux/gcd.h> 917 tmp = gcd(*nom, *den); avivo_reduce_ratio()
|
/linux-4.4.14/drivers/clk/ |
H A D | clk-cdce925.c | 20 #include <linux/gcd.h> 107 g = gcd(rate, parent_rate); cdce925_pll_find_rate()
|
/linux-4.4.14/sound/soc/codecs/ |
H A D | adau17x1.c | 19 #include <linux/gcd.h> 412 j = gcd(i, freq_in); adau17x1_set_dai_pll()
|
H A D | pcm512x.c | 25 #include <linux/gcd.h> 705 common = gcd(pll_rate, pllin_rate); pcm512x_find_pll_coeff() 744 common = gcd(10000 * num, den); pcm512x_find_pll_coeff()
|
H A D | adau1373.c | 16 #include <linux/gcd.h> 1304 j = gcd(i, freq_in); adau1373_set_pll()
|
H A D | arizona.c | 14 #include <linux/gcd.h> 1987 gcd_fll = gcd(target, ratio * Fref); arizona_calc_fll()
|
H A D | wm2200.c | 19 #include <linux/gcd.h> 1921 gcd_fll = gcd(target, fratio * Fref); fll_factors()
|
H A D | wm5100.c | 19 #include <linux/gcd.h> 1741 gcd_fll = gcd(target, fratio * Fref); fll_factors()
|
H A D | wm8962.c | 20 #include <linux/gcd.h> 2797 gcd_fll = gcd(target, fratio * Fref); fll_factors()
|
H A D | wm8996.c | 19 #include <linux/gcd.h> 1988 gcd_fll = gcd(target, fratio * Fref); fll_factors()
|
H A D | wm8994.c | 19 #include <linux/gcd.h> 2122 gcd_fll = gcd(freq_out, freq_in); wm8994_get_fll_config()
|
/linux-4.4.14/drivers/spi/ |
H A D | spi-omap2-mcspi.c | 35 #include <linux/gcd.h> 320 fifo_depth = gcd(t->len, max_fifo_depth); omap2_mcspi_set_fifo()
|
/linux-4.4.14/drivers/media/platform/soc_camera/ |
H A D | mx2_camera.c | 22 #include <linux/gcd.h> 1035 m = gcd(in, out); mx2_emmaprp_resize()
|
/linux-4.4.14/drivers/media/platform/coda/ |
H A D | coda-common.c | 18 #include <linux/gcd.h> 838 div = gcd(s.numerator, s.denominator); coda_approximate_timeperframe()
|
/linux-4.4.14/block/ |
H A D | blk-settings.c | 10 #include <linux/gcd.h>
|