Lines Matching refs:pi_info_arr
39 struct qed_pi_info pi_info_arr[PIS_PER_SB]; member
1254 arr_size = ARRAY_SIZE(p_hwfn->p_sp_sb->pi_info_arr); in qed_int_sp_dpc()
1321 pi_info = &p_hwfn->p_sp_sb->pi_info_arr[pi]; in qed_int_sp_dpc()
1786 memset(p_sb->pi_info_arr, 0, sizeof(p_sb->pi_info_arr)); in qed_int_sp_sb_alloc()
1800 for (pi = 0; pi < ARRAY_SIZE(p_sp_sb->pi_info_arr); pi++) { in qed_int_register_cb()
1801 if (p_sp_sb->pi_info_arr[pi].comp_cb) in qed_int_register_cb()
1804 p_sp_sb->pi_info_arr[pi].comp_cb = comp_cb; in qed_int_register_cb()
1805 p_sp_sb->pi_info_arr[pi].cookie = cookie; in qed_int_register_cb()
1819 if (p_sp_sb->pi_info_arr[pi].comp_cb == NULL) in qed_int_unregister_cb()
1822 p_sp_sb->pi_info_arr[pi].comp_cb = NULL; in qed_int_unregister_cb()
1823 p_sp_sb->pi_info_arr[pi].cookie = NULL; in qed_int_unregister_cb()