Home
last modified time | relevance | path

Searched refs:int_sqrt (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/linux/lib/math/
H A Dint_sqrt.c20 unsigned long int_sqrt(unsigned long x) in int_sqrt() function
41 EXPORT_SYMBOL(int_sqrt);
54 return int_sqrt((unsigned long) x); in int_sqrt64()
H A DMakefile2 obj-y += div64.o gcd.o lcm.o int_log.o int_pow.o int_sqrt.o reciprocal_div.o
H A Dprime_numbers.c69 unsigned long y = int_sqrt(x); in slow_is_prime_number()
/openbmc/linux/include/linux/
H A Dmath.h197 unsigned long int_sqrt(unsigned long);
204 return (u32)int_sqrt(x); in int_sqrt64()
/openbmc/linux/drivers/media/pci/cx88/
H A Dcx88-dsp.c131 return (u32)int_sqrt(sum); in freq_magnitude()
154 return (u32)int_sqrt(sum / samples); in noise_magnitude()
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dkernel-api.rst166 lib/math/int_sqrt.c
/openbmc/linux/drivers/thermal/tegra/
H A Dtegra30-tsensor.c214 c2 = -ts->calib.r - int_sqrt(ts->calib.r * ts->calib.r - c1); in tegra_tsensor_temp_to_counter()
/openbmc/linux/fs/nfsd/
H A Dnfscache.c73 limit = (16 * int_sqrt(low_pages)) << (PAGE_SHIFT-10); in nfsd_cache_size_limit()
/openbmc/linux/Documentation/core-api/
H A Dkernel-api.rst173 .. kernel-doc:: lib/math/int_sqrt.c
/openbmc/linux/block/
H A Dblk-wbt.c410 int_sqrt((rqd->scale_step + 1) << 8)); in rwb_arm_timer()
/openbmc/linux/drivers/iio/proximity/
H A Dsx9360.c516 val = int_sqrt(2 * val); in sx9360_write_thresh()
H A Dsx9324.c631 val = int_sqrt(2 * val); in sx9324_write_thresh()
/openbmc/linux/drivers/comedi/drivers/
H A Dvmk80xx.c545 val = int_sqrt(debtime * 1000 / 115); in vmk80xx_cnt_insn_write()
/openbmc/linux/drivers/media/dvb-frontends/
H A Dtc90522.c269 p = int_sqrt(cndat << 16); in tc90522s_get_frontend()
/openbmc/linux/fs/ceph/
H A Dsuper.h967 congestion_kb = (16*int_sqrt(totalram_pages())) << (PAGE_SHIFT-10); in default_congestion_kb()
/openbmc/linux/drivers/video/fbdev/core/
H A Dfbmon.c1115 h_period = int_sqrt(h_period); in fb_get_hblank_by_dclk()
/openbmc/linux/drivers/md/bcache/
H A Dbset.c1189 state->crit_factor = int_sqrt(1 << page_order); in bch_bset_sort_state_init()
/openbmc/linux/kernel/rcu/
H A Dtree_nocb.h1548 ls = nr_cpu_ids / int_sqrt(nr_cpu_ids); in rcu_organize_nocb_kthreads()
/openbmc/linux/fs/nfs/
H A Dwrite.c2190 nfs_congestion_kb = (16*int_sqrt(totalram_pages())) << (PAGE_SHIFT-10); in nfs_init_writepagecache()
/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A Di915_gem_gtt.c418 const unsigned long max_step = max(int_sqrt(max_pages), 2UL); in fill_hole()
/openbmc/linux/drivers/hid/
H A Dwacom_wac.c1234 return int_sqrt(x*x + y*y); in int_dist()
3090 width = 2 * int_sqrt(a * WACOM_CONTACT_AREA_SCALE); in wacom_bpt3_touch_msg()
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A Dphy_lp.c1743 tmp4 = -int_sqrt(tmp4); in lpphy_calc_rx_iq_comp()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_lcn.c1237 b = (s32) int_sqrt((unsigned long) b); in wlc_lcnphy_calc_rx_iq_comp()
/openbmc/linux/mm/
H A Dpage_alloc.c5762 new_min_free_kbytes = int_sqrt(lowmem_kbytes * 16); in calculate_min_free_kbytes()
H A Dvmscan.c2878 inactive_ratio = int_sqrt(10 * gb); in inactive_is_low()

12