Lines Matching full:hb

127 		 * On 4xxx devices adf_timer is responsible for HB updates and  in adf_hb_cfg_write()
198 struct adf_heartbeat *hb = accel_dev->heartbeat; in adf_heartbeat_dbgfs_add() local
200 if (!hb) in adf_heartbeat_dbgfs_add()
203 hb->dbgfs.base_dir = debugfs_create_dir("heartbeat", accel_dev->debugfs_dir); in adf_heartbeat_dbgfs_add()
204 hb->dbgfs.status = debugfs_create_file("status", 0400, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add()
206 hb->dbgfs.sent = debugfs_create_file("queries_sent", 0400, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add()
207 &hb->hb_sent_counter, &adf_hb_stats_fops); in adf_heartbeat_dbgfs_add()
208 hb->dbgfs.failed = debugfs_create_file("queries_failed", 0400, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add()
209 &hb->hb_failed_counter, &adf_hb_stats_fops); in adf_heartbeat_dbgfs_add()
210 hb->dbgfs.cfg = debugfs_create_file("config", 0600, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add()
217 hb->dbgfs.base_dir, accel_dev, in adf_heartbeat_dbgfs_add()
220 hb->dbgfs.inject_error = inject_error; in adf_heartbeat_dbgfs_add()
228 struct adf_heartbeat *hb = accel_dev->heartbeat; in adf_heartbeat_dbgfs_rm() local
230 if (!hb) in adf_heartbeat_dbgfs_rm()
233 debugfs_remove(hb->dbgfs.status); in adf_heartbeat_dbgfs_rm()
234 hb->dbgfs.status = NULL; in adf_heartbeat_dbgfs_rm()
235 debugfs_remove(hb->dbgfs.sent); in adf_heartbeat_dbgfs_rm()
236 hb->dbgfs.sent = NULL; in adf_heartbeat_dbgfs_rm()
237 debugfs_remove(hb->dbgfs.failed); in adf_heartbeat_dbgfs_rm()
238 hb->dbgfs.failed = NULL; in adf_heartbeat_dbgfs_rm()
239 debugfs_remove(hb->dbgfs.cfg); in adf_heartbeat_dbgfs_rm()
240 hb->dbgfs.cfg = NULL; in adf_heartbeat_dbgfs_rm()
242 debugfs_remove(hb->dbgfs.inject_error); in adf_heartbeat_dbgfs_rm()
243 hb->dbgfs.inject_error = NULL; in adf_heartbeat_dbgfs_rm()
245 debugfs_remove(hb->dbgfs.base_dir); in adf_heartbeat_dbgfs_rm()
246 hb->dbgfs.base_dir = NULL; in adf_heartbeat_dbgfs_rm()