Lines Matching refs:cri
1682 pasync_handle->cri = BE_GET_ASYNC_CRI_FROM_CID( in hwi_get_async_handle()
1744 unsigned int cri) in hwi_free_async_msg() argument
1749 plist = &pasync_ctx->async_entry[cri].wait_queue.list; in hwi_free_async_msg()
1764 INIT_LIST_HEAD(&pasync_ctx->async_entry[cri].wait_queue.list); in hwi_free_async_msg()
1765 pasync_ctx->async_entry[cri].wait_queue.hdr_received = 0; in hwi_free_async_msg()
1766 pasync_ctx->async_entry[cri].wait_queue.bytes_received = 0; in hwi_free_async_msg()
1891 hwi_free_async_msg(phba, pasync_ctx, pasync_handle->cri); in hwi_flush_default_pdu_buffer()
1900 struct hwi_async_pdu_context *pasync_ctx, unsigned short cri) in hwi_fwd_async_msg() argument
1910 plist = &pasync_ctx->async_entry[cri].wait_queue.list; in hwi_fwd_async_msg()
1933 hwi_free_async_msg(phba, pasync_ctx, cri); in hwi_fwd_async_msg()
1945 unsigned short cri = pasync_handle->cri; in hwi_gather_async_pdu() local
1957 if (pasync_ctx->async_entry[cri].wait_queue.hdr_received) { in hwi_gather_async_pdu()
1958 hwi_free_async_msg(phba, pasync_ctx, cri); in hwi_gather_async_pdu()
1962 pasync_ctx->async_entry[cri].wait_queue.bytes_received = 0; in hwi_gather_async_pdu()
1963 pasync_ctx->async_entry[cri].wait_queue.hdr_received = 1; in hwi_gather_async_pdu()
1964 pasync_ctx->async_entry[cri].wait_queue.hdr_len = in hwi_gather_async_pdu()
1967 &pasync_ctx->async_entry[cri].wait_queue.list); in hwi_gather_async_pdu()
1977 pasync_ctx->async_entry[cri].wait_queue.bytes_needed = in hwi_gather_async_pdu()
1982 pasync_ctx, cri); in hwi_gather_async_pdu()
1986 if (pasync_ctx->async_entry[cri].wait_queue.hdr_received) { in hwi_gather_async_pdu()
1988 &pasync_ctx->async_entry[cri].wait_queue. in hwi_gather_async_pdu()
1990 pasync_ctx->async_entry[cri].wait_queue. in hwi_gather_async_pdu()
1994 if (pasync_ctx->async_entry[cri].wait_queue. in hwi_gather_async_pdu()
1996 pasync_ctx->async_entry[cri].wait_queue. in hwi_gather_async_pdu()
1999 pasync_ctx, cri); in hwi_gather_async_pdu()
3106 pasync_header_h->cri = -1; in hwi_init_async_pdu_ctx()
3130 pasync_data_h->cri = -1; in hwi_init_async_pdu_ctx()
3952 uint16_t cri = 0; in hwi_init_port() local
3957 for (cri = 0; cri < in hwi_init_port()
3958 phba->params.cxns_per_ctrl; cri++) { in hwi_init_port()
3960 (phwi_ctrlr, cri)) in hwi_init_port()
3962 phwi_ctrlr->wrb_context[cri].cid] = in hwi_init_port()