Lines Matching full:heartbeat

29 	u64 polling_time = curr_time - accel_dev->heartbeat->last_hb_check_time;  in adf_hb_check_polling_freq()
31 if (polling_time < accel_dev->heartbeat->hb_timer) { in adf_hb_check_polling_freq()
34 accel_dev->heartbeat->hb_timer); in adf_hb_check_polling_freq()
38 accel_dev->heartbeat->last_hb_check_time = curr_time; in adf_hb_check_polling_freq()
43 * validate_hb_ctrs_cnt() - checks if the number of heartbeat counters should
62 struct hb_cnt_pair *hb_stats = accel_dev->heartbeat->dma.virt_addr; in validate_hb_ctrs_cnt()
80 struct hb_cnt_pair *hb_stats = accel_dev->heartbeat->dma.virt_addr; in adf_heartbeat_check_ctrs()
89 accel_dev->heartbeat->ctrs_cnt_checked = false; in adf_heartbeat_check_ctrs()
129 accel_dev->heartbeat->hb_timer = timer_ms; in get_timer_ticks()
174 if (!accel_dev->heartbeat->ctrs_cnt_checked) { in adf_hb_get_status()
178 accel_dev->heartbeat->ctrs_cnt_checked = true; in adf_hb_get_status()
181 live_stats = accel_dev->heartbeat->dma.virt_addr; in adf_hb_get_status()
211 u64 time_since_reset = curr_time - accel_dev->heartbeat->last_hb_reset_time; in adf_heartbeat_reset()
216 accel_dev->heartbeat->last_hb_reset_time = curr_time; in adf_heartbeat_reset()
237 hb = accel_dev->heartbeat; in adf_heartbeat_status()
242 "Heartbeat ERROR: QAT is not responding.\n"); in adf_heartbeat_status()
298 accel_dev->heartbeat = hb; in adf_heartbeat_init()
313 if (!accel_dev->heartbeat) { in adf_heartbeat_start()
314 dev_warn(&GET_DEV(accel_dev), "Heartbeat instance not found!"); in adf_heartbeat_start()
327 dev_warn(&GET_DEV(accel_dev), "Heartbeat not supported!"); in adf_heartbeat_start()
334 struct adf_heartbeat *hb = accel_dev->heartbeat; in adf_heartbeat_shutdown()
344 accel_dev->heartbeat = NULL; in adf_heartbeat_shutdown()