Lines Matching defs:mp_req

405 	struct qedf_mp_req *mp_req = &(io_req->mp_req);
410 if (mp_req->mp_req_bd) {
412 mp_req->mp_req_bd, mp_req->mp_req_bd_dma);
413 mp_req->mp_req_bd = NULL;
415 if (mp_req->mp_resp_bd) {
417 mp_req->mp_resp_bd, mp_req->mp_resp_bd_dma);
418 mp_req->mp_resp_bd = NULL;
420 if (mp_req->req_buf) {
422 mp_req->req_buf, mp_req->req_buf_dma);
423 mp_req->req_buf = NULL;
425 if (mp_req->resp_buf) {
427 mp_req->resp_buf, mp_req->resp_buf_dma);
428 mp_req->resp_buf = NULL;
679 struct qedf_mp_req *mp_req = &(io_req->mp_req);
714 fc_hdr = &(mp_req->req_fc_hdr);
729 tx_sgl_task_params.sgl = mp_req->mp_req_bd;
730 tx_sgl_task_params.sgl_phys_addr.lo = U64_LO(mp_req->mp_req_bd_dma);
731 tx_sgl_task_params.sgl_phys_addr.hi = U64_HI(mp_req->mp_req_bd_dma);
738 rx_sgl_task_params.sgl = mp_req->mp_resp_bd;
739 rx_sgl_task_params.sgl_phys_addr.lo = U64_LO(mp_req->mp_resp_bd_dma);
740 rx_sgl_task_params.sgl_phys_addr.hi = U64_HI(mp_req->mp_resp_bd_dma);
2047 struct qedf_mp_req *mp_req;
2056 mp_req = (struct qedf_mp_req *)&(io_req->mp_req);
2057 memset(mp_req, 0, sizeof(struct qedf_mp_req));
2060 mp_req->req_len = sizeof(struct fcp_cmnd);
2061 io_req->data_xfer_len = mp_req->req_len;
2063 mp_req->req_len = io_req->data_xfer_len;
2065 mp_req->req_buf = dma_alloc_coherent(&qedf->pdev->dev, QEDF_PAGE_SIZE,
2066 &mp_req->req_buf_dma, GFP_KERNEL);
2067 if (!mp_req->req_buf) {
2073 mp_req->resp_buf = dma_alloc_coherent(&qedf->pdev->dev,
2074 QEDF_PAGE_SIZE, &mp_req->resp_buf_dma, GFP_KERNEL);
2075 if (!mp_req->resp_buf) {
2084 mp_req->mp_req_bd = dma_alloc_coherent(&qedf->pdev->dev, sz,
2085 &mp_req->mp_req_bd_dma, GFP_KERNEL);
2086 if (!mp_req->mp_req_bd) {
2092 mp_req->mp_resp_bd = dma_alloc_coherent(&qedf->pdev->dev, sz,
2093 &mp_req->mp_resp_bd_dma, GFP_KERNEL);
2094 if (!mp_req->mp_resp_bd) {
2101 addr = mp_req->req_buf_dma;
2102 mp_req_bd = mp_req->mp_req_bd;
2112 mp_resp_bd = mp_req->mp_resp_bd;
2113 addr = mp_req->resp_buf_dma;