Home
last modified time | relevance | path

Searched refs:new_shift (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/arch/arm/lib/
H A Ddelay.c67 u32 new_mult, new_shift; in register_current_timer_delay() local
70 clocks_calc_mult_shift(&new_mult, &new_shift, timer->freq, in register_current_timer_delay()
72 res = cyc_to_ns(1ULL, new_mult, new_shift); in register_current_timer_delay()
/openbmc/linux/kernel/time/
H A Dsched_clock.c167 u32 new_mult, new_shift; in sched_clock_register() local
179 clocks_calc_mult_shift(&new_mult, &new_shift, rate, NSEC_PER_SEC, 3600); in sched_clock_register()
185 wrap = clocks_calc_max_nsecs(new_mult, new_shift, 0, new_mask, NULL); in sched_clock_register()
199 rd.shift = new_shift; in sched_clock_register()
223 res = cyc_to_ns(1ULL, new_mult, new_shift); in sched_clock_register()
/openbmc/linux/drivers/hwmon/
H A Dw83l786ng.c339 u8 new_shift = 0; in store_fan_div() local
357 new_shift = 0; in store_fan_div()
361 new_shift = 4; in store_fan_div()
368 tmp_fan_div = (data->fan_div[nr] << new_shift) & ~keep_mask; in store_fan_div()
H A Dw83791d.c580 u8 new_shift = 0; in store_fan_div() local
598 new_shift = 4; in store_fan_div()
603 new_shift = 6; in store_fan_div()
608 new_shift = 6; in store_fan_div()
613 new_shift = 0; in store_fan_div()
618 new_shift = 4; in store_fan_div()
630 tmp_fan_div = (data->fan_div[nr] << new_shift) & ~keep_mask; in store_fan_div()
/openbmc/linux/drivers/scsi/
H A Dscsi_scan.c220 int new_shift = sbitmap_calculate_shift(depth); in scsi_realloc_sdev_budget_map() local
232 if (!need_alloc && new_shift != sdev->budget_map.shift) in scsi_realloc_sdev_budget_map()
248 new_shift, GFP_KERNEL, in scsi_realloc_sdev_budget_map()
/openbmc/linux/net/core/
H A Dneighbour.c578 unsigned long new_shift) in neigh_hash_grow() argument
587 new_nht = neigh_hash_alloc(new_shift); in neigh_hash_grow()