p_ooo_info 612 drivers/net/ethernet/qlogic/qed/qed.h struct qed_ooo_info *p_ooo_info; p_ooo_info 326 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_ooo_put_free_buffer(p_hwfn, p_hwfn->p_ooo_info, p_ooo_info 592 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_ooo_put_free_buffer(p_hwfn, p_hwfn->p_ooo_info, p_ooo_info 626 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_ooo_release_connection_isles(p_hwfn, p_hwfn->p_ooo_info, cid); p_ooo_info 675 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_ooo_save_history_entry(p_hwfn, p_hwfn->p_ooo_info, p_ooo_info 681 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_ooo_delete_isles(p_hwfn, p_hwfn->p_ooo_info, cid, p_ooo_info 721 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_hwfn->p_ooo_info, p_ooo_info 728 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_hwfn->p_ooo_info, p_ooo_info 736 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_hwfn->p_ooo_info, p_ooo_info 744 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_hwfn->p_ooo_info, p_ooo_info 751 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_hwfn->p_ooo_info, p_ooo_info 757 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_hwfn->p_ooo_info, p_ooo_info 784 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_hwfn->p_ooo_info))) { p_ooo_info 817 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_ooo_put_ready_buffer(p_hwfn, p_hwfn->p_ooo_info, p_ooo_info 832 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_hwfn->p_ooo_info))) { p_ooo_info 839 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_hwfn->p_ooo_info, p_buffer); p_ooo_info 908 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_ooo_put_free_buffer(p_hwfn, p_hwfn->p_ooo_info, p_ooo_info 918 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_hwfn->p_ooo_info, p_buffer); p_ooo_info 1291 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_ooo_put_free_buffer(p_hwfn, p_hwfn->p_ooo_info, p_buf); p_ooo_info 1474 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_ooo_release_all_isles(p_hwfn, p_hwfn->p_ooo_info); p_ooo_info 1977 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_ooo_release_all_isles(p_hwfn, p_hwfn->p_ooo_info); p_ooo_info 2002 drivers/net/ethernet/qlogic/qed/qed_ll2.c qed_ooo_release_all_isles(p_hwfn, p_hwfn->p_ooo_info); p_ooo_info 2004 drivers/net/ethernet/qlogic/qed/qed_ll2.c p_hwfn->p_ooo_info))) { p_ooo_info 49 drivers/net/ethernet/qlogic/qed/qed_ooo.c *p_ooo_info, p_ooo_info 52 drivers/net/ethernet/qlogic/qed/qed_ooo.c u32 idx = (cid & 0xffff) - p_ooo_info->cid_base; p_ooo_info 55 drivers/net/ethernet/qlogic/qed/qed_ooo.c if (idx >= p_ooo_info->max_num_archipelagos) p_ooo_info 58 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_archipelago = &p_ooo_info->p_archipelagos_mem[idx]; p_ooo_info 67 drivers/net/ethernet/qlogic/qed/qed_ooo.c struct qed_ooo_info *p_ooo_info, p_ooo_info 74 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_archipelago = qed_ooo_seek_archipelago(p_hwfn, p_ooo_info, cid); p_ooo_info 91 drivers/net/ethernet/qlogic/qed/qed_ooo.c struct qed_ooo_info *p_ooo_info, p_ooo_info 94 drivers/net/ethernet/qlogic/qed/qed_ooo.c struct qed_ooo_history *p_history = &p_ooo_info->ooo_history; p_ooo_info 105 drivers/net/ethernet/qlogic/qed/qed_ooo.c struct qed_ooo_info *p_ooo_info; p_ooo_info 135 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_ooo_info = kzalloc(sizeof(*p_ooo_info), GFP_KERNEL); p_ooo_info 136 drivers/net/ethernet/qlogic/qed/qed_ooo.c if (!p_ooo_info) p_ooo_info 139 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_ooo_info->cid_base = cid_base; p_ooo_info 140 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_ooo_info->max_num_archipelagos = max_num_archipelagos; p_ooo_info 142 drivers/net/ethernet/qlogic/qed/qed_ooo.c INIT_LIST_HEAD(&p_ooo_info->free_buffers_list); p_ooo_info 143 drivers/net/ethernet/qlogic/qed/qed_ooo.c INIT_LIST_HEAD(&p_ooo_info->ready_buffers_list); p_ooo_info 144 drivers/net/ethernet/qlogic/qed/qed_ooo.c INIT_LIST_HEAD(&p_ooo_info->free_isles_list); p_ooo_info 146 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_ooo_info->p_isles_mem = kcalloc(max_num_isles, p_ooo_info 149 drivers/net/ethernet/qlogic/qed/qed_ooo.c if (!p_ooo_info->p_isles_mem) p_ooo_info 153 drivers/net/ethernet/qlogic/qed/qed_ooo.c INIT_LIST_HEAD(&p_ooo_info->p_isles_mem[i].buffers_list); p_ooo_info 154 drivers/net/ethernet/qlogic/qed/qed_ooo.c list_add_tail(&p_ooo_info->p_isles_mem[i].list_entry, p_ooo_info 155 drivers/net/ethernet/qlogic/qed/qed_ooo.c &p_ooo_info->free_isles_list); p_ooo_info 158 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_ooo_info->p_archipelagos_mem = p_ooo_info 162 drivers/net/ethernet/qlogic/qed/qed_ooo.c if (!p_ooo_info->p_archipelagos_mem) p_ooo_info 166 drivers/net/ethernet/qlogic/qed/qed_ooo.c INIT_LIST_HEAD(&p_ooo_info->p_archipelagos_mem[i].isles_list); p_ooo_info 168 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_ooo_info->ooo_history.p_cqes = p_ooo_info 172 drivers/net/ethernet/qlogic/qed/qed_ooo.c if (!p_ooo_info->ooo_history.p_cqes) p_ooo_info 175 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_ooo_info->ooo_history.num_of_cqes = QED_MAX_NUM_OOO_HISTORY_ENTRIES; p_ooo_info 177 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_hwfn->p_ooo_info = p_ooo_info; p_ooo_info 181 drivers/net/ethernet/qlogic/qed/qed_ooo.c kfree(p_ooo_info->p_archipelagos_mem); p_ooo_info 183 drivers/net/ethernet/qlogic/qed/qed_ooo.c kfree(p_ooo_info->p_isles_mem); p_ooo_info 185 drivers/net/ethernet/qlogic/qed/qed_ooo.c kfree(p_ooo_info); p_ooo_info 190 drivers/net/ethernet/qlogic/qed/qed_ooo.c struct qed_ooo_info *p_ooo_info, u32 cid) p_ooo_info 196 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_archipelago = qed_ooo_seek_archipelago(p_hwfn, p_ooo_info, cid); p_ooo_info 215 drivers/net/ethernet/qlogic/qed/qed_ooo.c &p_ooo_info->free_buffers_list); p_ooo_info 218 drivers/net/ethernet/qlogic/qed/qed_ooo.c &p_ooo_info->free_isles_list); p_ooo_info 223 drivers/net/ethernet/qlogic/qed/qed_ooo.c struct qed_ooo_info *p_ooo_info) p_ooo_info 230 drivers/net/ethernet/qlogic/qed/qed_ooo.c for (i = 0; i < p_ooo_info->max_num_archipelagos; i++) { p_ooo_info 231 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_archipelago = &(p_ooo_info->p_archipelagos_mem[i]); p_ooo_info 250 drivers/net/ethernet/qlogic/qed/qed_ooo.c &p_ooo_info->free_buffers_list); p_ooo_info 253 drivers/net/ethernet/qlogic/qed/qed_ooo.c &p_ooo_info->free_isles_list); p_ooo_info 256 drivers/net/ethernet/qlogic/qed/qed_ooo.c if (!list_empty(&p_ooo_info->ready_buffers_list)) p_ooo_info 257 drivers/net/ethernet/qlogic/qed/qed_ooo.c list_splice_tail_init(&p_ooo_info->ready_buffers_list, p_ooo_info 258 drivers/net/ethernet/qlogic/qed/qed_ooo.c &p_ooo_info->free_buffers_list); p_ooo_info 263 drivers/net/ethernet/qlogic/qed/qed_ooo.c qed_ooo_release_all_isles(p_hwfn, p_hwfn->p_ooo_info); p_ooo_info 264 drivers/net/ethernet/qlogic/qed/qed_ooo.c memset(p_hwfn->p_ooo_info->ooo_history.p_cqes, 0, p_ooo_info 265 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_hwfn->p_ooo_info->ooo_history.num_of_cqes * p_ooo_info 267 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_hwfn->p_ooo_info->ooo_history.head_idx = 0; p_ooo_info 272 drivers/net/ethernet/qlogic/qed/qed_ooo.c struct qed_ooo_info *p_ooo_info = p_hwfn->p_ooo_info; p_ooo_info 275 drivers/net/ethernet/qlogic/qed/qed_ooo.c if (!p_ooo_info) p_ooo_info 278 drivers/net/ethernet/qlogic/qed/qed_ooo.c qed_ooo_release_all_isles(p_hwfn, p_ooo_info); p_ooo_info 279 drivers/net/ethernet/qlogic/qed/qed_ooo.c while (!list_empty(&p_ooo_info->free_buffers_list)) { p_ooo_info 280 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_buffer = list_first_entry(&p_ooo_info->free_buffers_list, p_ooo_info 294 drivers/net/ethernet/qlogic/qed/qed_ooo.c kfree(p_ooo_info->p_isles_mem); p_ooo_info 295 drivers/net/ethernet/qlogic/qed/qed_ooo.c kfree(p_ooo_info->p_archipelagos_mem); p_ooo_info 296 drivers/net/ethernet/qlogic/qed/qed_ooo.c kfree(p_ooo_info->ooo_history.p_cqes); p_ooo_info 297 drivers/net/ethernet/qlogic/qed/qed_ooo.c kfree(p_ooo_info); p_ooo_info 298 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_hwfn->p_ooo_info = NULL; p_ooo_info 302 drivers/net/ethernet/qlogic/qed/qed_ooo.c struct qed_ooo_info *p_ooo_info, p_ooo_info 305 drivers/net/ethernet/qlogic/qed/qed_ooo.c list_add_tail(&p_buffer->list_entry, &p_ooo_info->free_buffers_list); p_ooo_info 309 drivers/net/ethernet/qlogic/qed/qed_ooo.c struct qed_ooo_info *p_ooo_info) p_ooo_info 313 drivers/net/ethernet/qlogic/qed/qed_ooo.c if (!list_empty(&p_ooo_info->free_buffers_list)) { p_ooo_info 314 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_buffer = list_first_entry(&p_ooo_info->free_buffers_list, p_ooo_info 324 drivers/net/ethernet/qlogic/qed/qed_ooo.c struct qed_ooo_info *p_ooo_info, p_ooo_info 329 drivers/net/ethernet/qlogic/qed/qed_ooo.c &p_ooo_info->ready_buffers_list); p_ooo_info 332 drivers/net/ethernet/qlogic/qed/qed_ooo.c &p_ooo_info->ready_buffers_list); p_ooo_info 336 drivers/net/ethernet/qlogic/qed/qed_ooo.c struct qed_ooo_info *p_ooo_info) p_ooo_info 340 drivers/net/ethernet/qlogic/qed/qed_ooo.c if (!list_empty(&p_ooo_info->ready_buffers_list)) { p_ooo_info 341 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_buffer = list_first_entry(&p_ooo_info->ready_buffers_list, p_ooo_info 351 drivers/net/ethernet/qlogic/qed/qed_ooo.c struct qed_ooo_info *p_ooo_info, p_ooo_info 358 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_isle = qed_ooo_seek_isle(p_hwfn, p_ooo_info, cid, drop_isle); p_ooo_info 370 drivers/net/ethernet/qlogic/qed/qed_ooo.c &p_ooo_info->free_buffers_list); p_ooo_info 373 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_ooo_info->cur_isles_number--; p_ooo_info 374 drivers/net/ethernet/qlogic/qed/qed_ooo.c list_add(&p_isle->list_entry, &p_ooo_info->free_isles_list); p_ooo_info 379 drivers/net/ethernet/qlogic/qed/qed_ooo.c struct qed_ooo_info *p_ooo_info, p_ooo_info 389 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_ooo_info, cid, ooo_isle - 1); p_ooo_info 397 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_archipelago = qed_ooo_seek_archipelago(p_hwfn, p_ooo_info, cid); p_ooo_info 404 drivers/net/ethernet/qlogic/qed/qed_ooo.c if (!list_empty(&p_ooo_info->free_isles_list)) { p_ooo_info 405 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_isle = list_first_entry(&p_ooo_info->free_isles_list, p_ooo_info 419 drivers/net/ethernet/qlogic/qed/qed_ooo.c u32 idx = (cid & 0xffff) - p_ooo_info->cid_base; p_ooo_info 421 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_archipelago = &p_ooo_info->p_archipelagos_mem[idx]; p_ooo_info 425 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_ooo_info->cur_isles_number++; p_ooo_info 426 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_ooo_info->gen_isles_number++; p_ooo_info 428 drivers/net/ethernet/qlogic/qed/qed_ooo.c if (p_ooo_info->cur_isles_number > p_ooo_info->max_isles_number) p_ooo_info 429 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_ooo_info->max_isles_number = p_ooo_info->cur_isles_number; p_ooo_info 438 drivers/net/ethernet/qlogic/qed/qed_ooo.c struct qed_ooo_info *p_ooo_info, p_ooo_info 445 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_isle = qed_ooo_seek_isle(p_hwfn, p_ooo_info, cid, ooo_isle); p_ooo_info 459 drivers/net/ethernet/qlogic/qed/qed_ooo.c struct qed_ooo_info *p_ooo_info, u32 cid, u8 left_isle) p_ooo_info 464 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_right_isle = qed_ooo_seek_isle(p_hwfn, p_ooo_info, cid, p_ooo_info 474 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_ooo_info->cur_isles_number--; p_ooo_info 476 drivers/net/ethernet/qlogic/qed/qed_ooo.c p_left_isle = qed_ooo_seek_isle(p_hwfn, p_ooo_info, cid, p_ooo_info 488 drivers/net/ethernet/qlogic/qed/qed_ooo.c &p_ooo_info->ready_buffers_list); p_ooo_info 490 drivers/net/ethernet/qlogic/qed/qed_ooo.c list_add_tail(&p_right_isle->list_entry, &p_ooo_info->free_isles_list); p_ooo_info 88 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info, p_ooo_info 98 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info, p_ooo_info 102 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info); p_ooo_info 105 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info, p_ooo_info 110 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info); p_ooo_info 113 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info, p_ooo_info 118 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info); p_ooo_info 121 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info, p_ooo_info 125 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info, p_ooo_info 130 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info, p_ooo_info 136 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info, u32 cid, p_ooo_info 140 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info, p_ooo_info 154 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info, p_ooo_info 158 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info) p_ooo_info 162 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info, p_ooo_info 167 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info) { return NULL; } p_ooo_info 170 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info, p_ooo_info 176 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info) { return NULL; } p_ooo_info 179 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info, p_ooo_info 183 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info, p_ooo_info 188 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info, p_ooo_info 194 drivers/net/ethernet/qlogic/qed/qed_ooo.h struct qed_ooo_info *p_ooo_info, u32 cid,