Lines Matching refs:hb
87 /* fill hb stats memory with pattern */
224 struct adf_heartbeat *hb;
237 hb = accel_dev->heartbeat;
238 hb->hb_sent_counter++;
244 hb->hb_failed_counter++;
282 struct adf_heartbeat *hb;
284 hb = kzalloc(sizeof(*hb), GFP_KERNEL);
285 if (!hb)
288 hb->dma.virt_addr = dma_alloc_coherent(&GET_DEV(accel_dev), PAGE_SIZE,
289 &hb->dma.phy_addr, GFP_KERNEL);
290 if (!hb->dma.virt_addr)
297 hb->ctrs_cnt_checked = true;
298 accel_dev->heartbeat = hb;
303 kfree(hb);
334 struct adf_heartbeat *hb = accel_dev->heartbeat;
336 if (!hb)
339 if (hb->dma.virt_addr)
341 hb->dma.virt_addr, hb->dma.phy_addr);
343 kfree(hb);