Lines Matching refs:cri
1666 pasync_handle->cri = BE_GET_ASYNC_CRI_FROM_CID( in hwi_get_async_handle()
1728 unsigned int cri) in hwi_free_async_msg() argument
1733 plist = &pasync_ctx->async_entry[cri].wait_queue.list; in hwi_free_async_msg()
1748 INIT_LIST_HEAD(&pasync_ctx->async_entry[cri].wait_queue.list); in hwi_free_async_msg()
1749 pasync_ctx->async_entry[cri].wait_queue.hdr_received = 0; in hwi_free_async_msg()
1750 pasync_ctx->async_entry[cri].wait_queue.bytes_received = 0; in hwi_free_async_msg()
1875 hwi_free_async_msg(phba, pasync_ctx, pasync_handle->cri); in hwi_flush_default_pdu_buffer()
1884 struct hwi_async_pdu_context *pasync_ctx, unsigned short cri) in hwi_fwd_async_msg() argument
1894 plist = &pasync_ctx->async_entry[cri].wait_queue.list; in hwi_fwd_async_msg()
1917 hwi_free_async_msg(phba, pasync_ctx, cri); in hwi_fwd_async_msg()
1929 unsigned short cri = pasync_handle->cri; in hwi_gather_async_pdu() local
1941 if (pasync_ctx->async_entry[cri].wait_queue.hdr_received) { in hwi_gather_async_pdu()
1942 hwi_free_async_msg(phba, pasync_ctx, cri); in hwi_gather_async_pdu()
1946 pasync_ctx->async_entry[cri].wait_queue.bytes_received = 0; in hwi_gather_async_pdu()
1947 pasync_ctx->async_entry[cri].wait_queue.hdr_received = 1; in hwi_gather_async_pdu()
1948 pasync_ctx->async_entry[cri].wait_queue.hdr_len = in hwi_gather_async_pdu()
1951 &pasync_ctx->async_entry[cri].wait_queue.list); in hwi_gather_async_pdu()
1961 pasync_ctx->async_entry[cri].wait_queue.bytes_needed = in hwi_gather_async_pdu()
1966 pasync_ctx, cri); in hwi_gather_async_pdu()
1970 if (pasync_ctx->async_entry[cri].wait_queue.hdr_received) { in hwi_gather_async_pdu()
1972 &pasync_ctx->async_entry[cri].wait_queue. in hwi_gather_async_pdu()
1974 pasync_ctx->async_entry[cri].wait_queue. in hwi_gather_async_pdu()
1978 if (pasync_ctx->async_entry[cri].wait_queue. in hwi_gather_async_pdu()
1980 pasync_ctx->async_entry[cri].wait_queue. in hwi_gather_async_pdu()
1983 pasync_ctx, cri); in hwi_gather_async_pdu()
3085 pasync_header_h->cri = -1; in hwi_init_async_pdu_ctx()
3109 pasync_data_h->cri = -1; in hwi_init_async_pdu_ctx()
3925 uint16_t cri = 0; in hwi_init_port() local
3930 for (cri = 0; cri < in hwi_init_port()
3931 phba->params.cxns_per_ctrl; cri++) { in hwi_init_port()
3933 (phwi_ctrlr, cri)) in hwi_init_port()
3935 phwi_ctrlr->wrb_context[cri].cid] = in hwi_init_port()