Home
last modified time | relevance | path

Searched refs:time_diff (Results 1 – 8 of 8) sorted by relevance

/drivers/char/ipmi/
Dipmi_si_intf.c1079 long time_diff; in smi_timeout() local
1086 time_diff = (((long)jiffies_now - (long)smi_info->last_timeout_jiffies) in smi_timeout()
1088 smi_result = smi_event_handler(smi_info, time_diff); in smi_timeout()
2164 long time_diff; in wait_msg_processed() local
2168 time_diff = (((long)jiffies_now - (long)smi_info->last_timeout_jiffies) in wait_msg_processed()
2170 smi_event_handler(smi_info, time_diff); in wait_msg_processed()
/drivers/cpufreq/
Dpowernv-cpufreq.c677 unsigned int time_diff = jiffies_to_msecs(jiffies) in gpstate_timer_handler() local
708 gpstates->last_sampled_time += time_diff; in gpstate_timer_handler()
709 gpstates->elapsed_time += time_diff; in gpstate_timer_handler()
/drivers/net/wireless/intel/iwlegacy/
D4965-rs.c259 u32 time_diff; in il4965_rs_tl_add_packet() local
287 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in il4965_rs_tl_add_packet()
288 idx = time_diff / TID_QUEUE_CELL_SPACING; in il4965_rs_tl_add_packet()
312 u32 time_diff; in il4965_rs_tl_get_load() local
326 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in il4965_rs_tl_get_load()
327 idx = time_diff / TID_QUEUE_CELL_SPACING; in il4965_rs_tl_get_load()
/drivers/scsi/arm/
Dacornscsi.c504 unsigned long time_diff; in acornscsi_dumplogline() local
520 time_diff = host->status[target][ptr].when - prev; in acornscsi_dumplogline()
522 if (time_diff == 0) in acornscsi_dumplogline()
524 else if (time_diff >= 100) in acornscsi_dumplogline()
527 printk(" %02ld", time_diff); in acornscsi_dumplogline()
/drivers/net/wireless/intel/iwlwifi/dvm/
Drs.c252 u32 time_diff; in rs_tl_add_packet() local
280 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in rs_tl_add_packet()
281 index = time_diff / TID_QUEUE_CELL_SPACING; in rs_tl_add_packet()
334 u32 time_diff; in rs_tl_get_load() local
348 time_diff = TIME_WRAP_AROUND(tl->time_stamp, curr_time); in rs_tl_get_load()
349 index = time_diff / TID_QUEUE_CELL_SPACING; in rs_tl_get_load()
/drivers/net/ethernet/intel/ice/
Dice_ptp.c2474 u64 time_diff; in ice_ptp_reset() local
2504 time_diff = ktime_get_real_ns() - ptp->reset_time; in ice_ptp_reset()
2505 ts = ns_to_timespec64(ptp->cached_phc_time + time_diff); in ice_ptp_reset()
/drivers/dma/ti/
Dk3-udma.c1092 ktime_t time_diff; in udma_check_tx_completion() local
1099 time_diff = uc->tx_drain.tstamp; in udma_check_tx_completion()
1112 time_diff = ktime_sub(uc->tx_drain.tstamp, in udma_check_tx_completion()
1113 time_diff) + 1; in udma_check_tx_completion()
1122 delay = (time_diff / residue_diff) * in udma_check_tx_completion()
/drivers/net/wireless/atmel/
Datmel.c3288 unsigned long time_diff = (jiffies - priv->last_qual) / HZ; in atmel_smooth_qual() local
3289 while (time_diff--) { in atmel_smooth_qual()