Lines Matching refs:db_recovery_info

166 	spin_lock_bh(&p_hwfn->db_recovery_info.lock);  in qed_db_recovery_add()
167 list_add_tail(&db_entry->list_entry, &p_hwfn->db_recovery_info.list); in qed_db_recovery_add()
168 spin_unlock_bh(&p_hwfn->db_recovery_info.lock); in qed_db_recovery_add()
192 spin_lock_bh(&p_hwfn->db_recovery_info.lock); in qed_db_recovery_del()
194 &p_hwfn->db_recovery_info.list, list_entry) { in qed_db_recovery_del()
204 spin_unlock_bh(&p_hwfn->db_recovery_info.lock); in qed_db_recovery_del()
228 INIT_LIST_HEAD(&p_hwfn->db_recovery_info.list); in qed_db_recovery_setup()
229 spin_lock_init(&p_hwfn->db_recovery_info.lock); in qed_db_recovery_setup()
230 p_hwfn->db_recovery_info.db_recovery_counter = 0; in qed_db_recovery_setup()
241 if (!list_empty(&p_hwfn->db_recovery_info.list)) { in qed_db_recovery_teardown()
245 while (!list_empty(&p_hwfn->db_recovery_info.list)) { in qed_db_recovery_teardown()
247 list_first_entry(&p_hwfn->db_recovery_info.list, in qed_db_recovery_teardown()
255 p_hwfn->db_recovery_info.db_recovery_counter = 0; in qed_db_recovery_teardown()
265 p_hwfn->db_recovery_info.db_recovery_counter); in qed_db_recovery_dp()
268 spin_lock_bh(&p_hwfn->db_recovery_info.lock); in qed_db_recovery_dp()
270 &p_hwfn->db_recovery_info.list, list_entry) { in qed_db_recovery_dp()
274 spin_unlock_bh(&p_hwfn->db_recovery_info.lock); in qed_db_recovery_dp()
325 p_hwfn->db_recovery_info.db_recovery_counter); in qed_db_recovery_execute()
328 p_hwfn->db_recovery_info.db_recovery_counter++; in qed_db_recovery_execute()
331 spin_lock_bh(&p_hwfn->db_recovery_info.lock); in qed_db_recovery_execute()
333 &p_hwfn->db_recovery_info.list, list_entry) in qed_db_recovery_execute()
335 spin_unlock_bh(&p_hwfn->db_recovery_info.lock); in qed_db_recovery_execute()