Lines Matching refs:req_idx
447 u16 req_idx = 0; in mpt_turbo_reply() local
455 req_idx = pa & 0x0000FFFF; in mpt_turbo_reply()
457 mf = MPT_INDEX_2_MFPTR(ioc, req_idx); in mpt_turbo_reply()
471 req_idx = pa & 0x0000FFFF; in mpt_turbo_reply()
472 mf = MPT_INDEX_2_MFPTR(ioc, req_idx); in mpt_turbo_reply()
507 u16 req_idx; in mpt_reply() local
528 req_idx = le16_to_cpu(mr->u.frame.hwhdr.msgctxu.fld.req_idx); in mpt_reply()
530 mf = MPT_INDEX_2_MFPTR(ioc, req_idx); in mpt_reply()
533 ioc->name, mr, req_idx, cb_idx, mr->u.hdr.Function)); in mpt_reply()
889 u16 req_idx; /* Request index */ in mpt_get_msg_frame() local
914 req_idx = req_offset / ioc->req_sz; in mpt_get_msg_frame()
915 mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx); in mpt_get_msg_frame()
918 ioc->RequestNB[req_idx] = ioc->NB_for_64_byte_frame; in mpt_get_msg_frame()
958 u16 req_idx; /* Request index */ in mpt_put_msg_frame() local
964 req_idx = req_offset / ioc->req_sz; in mpt_put_msg_frame()
965 mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx); in mpt_put_msg_frame()
970 mf_dma_addr = (ioc->req_frames_low_dma + req_offset) | ioc->RequestNB[req_idx]; in mpt_put_msg_frame()
972 "RequestNB=%x\n", ioc->name, mf_dma_addr, req_idx, in mpt_put_msg_frame()
973 ioc->RequestNB[req_idx])); in mpt_put_msg_frame()
994 u16 req_idx; /* Request index */ in mpt_put_msg_frame_hi_pri() local
999 req_idx = req_offset / ioc->req_sz; in mpt_put_msg_frame_hi_pri()
1000 mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(req_idx); in mpt_put_msg_frame_hi_pri()
1007 ioc->name, mf_dma_addr, req_idx)); in mpt_put_msg_frame_hi_pri()
1199 mf->u.frame.hwhdr.msgctxu.fld.req_idx = cpu_to_le16(ii); in mpt_send_handshake_request()