/linux-4.19.296/fs/btrfs/ |
D | math.h | 17 return div_u64(num, 10); in div_factor() 25 return div_u64(num, 100); in div_factor_fine()
|
D | free-space-tree.c | 29 num_bitmaps = div_u64(cache->key.offset + bitmap_range - 1, in set_free_space_tree_thresholds() 33 cache->bitmap_high_thresh = div_u64(total_bitmap_size, in set_free_space_tree_thresholds() 136 return DIV_ROUND_UP((u32)div_u64(size, sectorsize), BITS_PER_BYTE); in free_space_bitmap_size() 235 first = div_u64(found_key.objectid - start, in convert_free_space_to_bitmaps() 237 last = div_u64(found_key.objectid + found_key.offset - start, in convert_free_space_to_bitmaps() 375 bitmap_pos = div_u64(found_key.objectid - start, in convert_free_space_to_extents() 412 nrbits = div_u64(block_group->key.offset, block_group->fs_info->sectorsize); in convert_free_space_to_extents() 507 i = div_u64(offset - found_start, in free_space_test_bit() 536 first = div_u64(*start - found_start, fs_info->sectorsize); in free_space_set_bits() 537 last = div_u64(end - found_start, fs_info->sectorsize); in free_space_set_bits()
|
/linux-4.19.296/drivers/pwm/ |
D | pwm-hibvt.c | 102 freq = div_u64(clk_get_rate(hi_pwm_chip->clk), 1000000); in hibvt_pwm_config() 104 period = div_u64(freq * period_ns, 1000); in hibvt_pwm_config() 105 duty = div_u64(period * duty_cycle_ns, period_ns); in hibvt_pwm_config() 135 freq = div_u64(clk_get_rate(hi_pwm_chip->clk), 1000000); in hibvt_pwm_get_state() 139 state->period = div_u64(value * 1000, freq); in hibvt_pwm_get_state() 142 state->duty_cycle = div_u64(value * 1000, freq); in hibvt_pwm_get_state()
|
D | pwm-atmel-tcb.c | 309 min = div_u64((u64)NSEC_PER_SEC * atmel_tc_divisors[i], rate); in atmel_tcb_pwm_config() 322 min = div_u64(NSEC_PER_SEC, rate); in atmel_tcb_pwm_config() 330 duty = div_u64(duty_ns, min); in atmel_tcb_pwm_config() 331 period = div_u64(period_ns, min); in atmel_tcb_pwm_config()
|
/linux-4.19.296/lib/ |
D | div64.c | 113 quot = div_u64(dividend >> n, divisor >> n); in div64_u64_rem() 148 quot = div_u64(dividend, divisor); in div64_u64() 151 quot = div_u64(dividend >> n, divisor >> n); in div64_u64()
|
D | interval_tree_test.c | 95 time = div_u64(time, perf_loops); in interval_tree_test_init() 117 time = div_u64(time, search_loops); in interval_tree_test_init() 118 results = div_u64(results, search_loops); in interval_tree_test_init()
|
D | rbtree_test.c | 271 time = div_u64(time, perf_loops); in rbtree_test_init() 287 time = div_u64(time, perf_loops); in rbtree_test_init() 304 time = div_u64(time, perf_loops); in rbtree_test_init() 316 time = div_u64(time, perf_loops); in rbtree_test_init() 328 time = div_u64(time, perf_loops); in rbtree_test_init() 364 time = div_u64(time, perf_loops); in rbtree_test_init() 379 time = div_u64(time, perf_loops); in rbtree_test_init()
|
D | kstrtox.c | 76 if (res > div_u64(ULLONG_MAX - val, base)) in _parse_integer_limit()
|
/linux-4.19.296/include/linux/ |
D | math64.h | 85 #define div64_ul(x, y) div_u64((x), (y)) 122 #ifndef div_u64 123 static inline u64 div_u64(u64 dividend, u32 divisor) in div_u64() function
|
/linux-4.19.296/drivers/clk/ |
D | clk-si570.c | 206 n1 = div_u64(div_u64(FDCO_MIN, hs_div), frequency); in si570_calc_divs() 243 rfreq = div_u64(rfreq, hs_div * n1); in si570_recalc_rate() 331 div_u64(data->frequency, 2), data->frequency); in si570_set_frequency_small()
|
/linux-4.19.296/include/trace/events/ |
D | wbt.h | 73 __entry->lat = div_u64(lat, 1000); 112 __entry->window = div_u64(window, 1000);
|
/linux-4.19.296/drivers/clk/renesas/ |
D | rcar-gen2-cpg.c | 66 return div_u64((u64)parent_rate * mult, 32); in cpg_z_clk_recalc_rate() 78 mult = div_u64((u64)rate * 32, prate); in cpg_z_clk_round_rate() 92 mult = div_u64((u64)rate * 32, parent_rate); in cpg_z_clk_set_rate()
|
D | clk-rcar-gen2.c | 68 return div_u64((u64)parent_rate * mult, 32); in cpg_z_clk_recalc_rate() 80 mult = div_u64((u64)rate * 32, prate); in cpg_z_clk_round_rate() 94 mult = div_u64((u64)rate * 32, parent_rate); in cpg_z_clk_set_rate()
|
/linux-4.19.296/drivers/iio/light/ |
D | cm3232.c | 217 lux = div_u64(lux, als_it); in cm3232_get_lux() 228 lux = div_u64(lux, CM3232_CALIBSCALE_RESOLUTION); in cm3232_get_lux() 229 lux = div_u64(lux, CM3232_MLUX_PER_LUX); in cm3232_get_lux()
|
/linux-4.19.296/drivers/media/dvb-frontends/ |
D | mn88473.c | 350 stmp = div_u64(((u64)80807124 - intlog10(utmp) in mn88473_read_status() 375 stmp = div_u64(((u64)70706234 - intlog10(utmp) in mn88473_read_status() 382 stmp = div_u64(((u64)80807124 - intlog10(utmp) in mn88473_read_status() 405 stmp = div_u64(((u64)15151336 + intlog10(utmp1) in mn88473_read_status()
|
D | mn88443x.c | 319 d_3 = div_u64(16 * x * x, d); in mn88443x_s_read_status() 322 d_3 = div_u64(211243671486ULL, d_3); in mn88443x_s_read_status() 329 cnr = div_u64(tmp * 10000, 1 << 24); in mn88443x_s_read_status() 517 cnr = div_u64(tmp * 10000, 1 << 24); in mn88443x_t_read_status()
|
D | zl10353.c | 134 *nominal_rate = div_u64(value, adc_clock); in zl10353_calc_nominal_rate() 161 value = div_u64((u64)65536 * ife + adc_clock / 2, adc_clock); in zl10353_calc_input_freq()
|
/linux-4.19.296/drivers/ptp/ |
D | ptp_qoriq.c | 73 ns = div_u64(ns, 1000000000UL) * 1000000000ULL; in set_alarm() 192 diff = div_u64(adj, 8000000); in ptp_qoriq_adjfine() 416 max_adj = div_u64(max_adj, nominal_freq) - 1; in qoriq_ptp_auto_config()
|
/linux-4.19.296/drivers/media/tuners/ |
D | fc2580.c | 91 if (f_vco >= div_u64((u64) DIV_PRE_N * DIV_N_MIN * F_REF, 1)) { in fc2580_set_params() 94 } else if (f_vco >= div_u64((u64) DIV_PRE_N * DIV_N_MIN * F_REF, 2)) { in fc2580_set_params() 105 k_cw = div_u64((u64) k * 0x100000, uitmp); in fc2580_set_params()
|
D | tua9001.c | 125 data[1].val = div_u64((u64) (c->frequency - 150000000) * 48, 1000000); in tua9001_set_params()
|
/linux-4.19.296/fs/ubifs/ |
D | budget.c | 191 idx_lebs = div_u64(idx_size + c->idx_leb_size - 1, c->idx_leb_size); in ubifs_calc_min_idx_lebs() 658 return div_u64(free, divisor); in ubifs_reported_space()
|
/linux-4.19.296/drivers/clk/pistachio/ |
D | clk-pll.c | 369 vco = div_u64(params->fref * params->fbdiv, params->refdiv); in pll_gf40lp_laint_set_rate() 374 val = div_u64(params->fref, params->refdiv); in pll_gf40lp_laint_set_rate()
|
/linux-4.19.296/block/ |
D | blk-stat.c | 36 dst->mean = div_u64(src->batch + dst->mean * dst->nr_samples, in blk_rq_stat_sum()
|
/linux-4.19.296/drivers/media/v4l2-core/ |
D | v4l2-dv-timings.c | 312 fps = (htot * vtot) > 0 ? div_u64((100 * (u64)bt->pixelclock), in v4l2_print_dv_timings() 723 h_blank = div_u64((num + (den >> 1)), den); in v4l2_detect_gtf() 733 h_blank = div_u64((num + (den >> 1)), den); in v4l2_detect_gtf()
|
/linux-4.19.296/drivers/clk/meson/ |
D | clk-pll.c | 101 val = div_u64(val * frac_max, parent_rate); in __pll_params_with_frac()
|