Lines Matching refs:fdmi_req

267 csio_ln_fdmi_done(struct csio_hw *hw, struct csio_ioreq *fdmi_req)  in csio_ln_fdmi_done()  argument
270 struct csio_lnode *ln = fdmi_req->lnode; in csio_ln_fdmi_done()
272 if (fdmi_req->wr_status != FW_SUCCESS) { in csio_ln_fdmi_done()
274 fdmi_req->wr_status); in csio_ln_fdmi_done()
278 cmd = fdmi_req->dma_buf.vaddr; in csio_ln_fdmi_done()
291 csio_ln_fdmi_rhba_cbfn(struct csio_hw *hw, struct csio_ioreq *fdmi_req) in csio_ln_fdmi_rhba_cbfn() argument
299 struct csio_lnode *ln = fdmi_req->lnode; in csio_ln_fdmi_rhba_cbfn()
306 if (fdmi_req->wr_status != FW_SUCCESS) { in csio_ln_fdmi_rhba_cbfn()
308 fdmi_req->wr_status); in csio_ln_fdmi_rhba_cbfn()
312 cmd = fdmi_req->dma_buf.vaddr; in csio_ln_fdmi_rhba_cbfn()
318 if (!csio_is_rnode_ready(fdmi_req->rnode)) { in csio_ln_fdmi_rhba_cbfn()
390 if (csio_ln_mgmt_submit_req(fdmi_req, csio_ln_fdmi_done, in csio_ln_fdmi_rhba_cbfn()
391 FCOE_CT, &fdmi_req->dma_buf, len)) { in csio_ln_fdmi_rhba_cbfn()
404 csio_ln_fdmi_dprt_cbfn(struct csio_hw *hw, struct csio_ioreq *fdmi_req) in csio_ln_fdmi_dprt_cbfn() argument
412 struct csio_lnode *ln = fdmi_req->lnode; in csio_ln_fdmi_dprt_cbfn()
418 if (fdmi_req->wr_status != FW_SUCCESS) { in csio_ln_fdmi_dprt_cbfn()
420 fdmi_req->wr_status); in csio_ln_fdmi_dprt_cbfn()
424 if (!csio_is_rnode_ready(fdmi_req->rnode)) { in csio_ln_fdmi_dprt_cbfn()
428 cmd = fdmi_req->dma_buf.vaddr; in csio_ln_fdmi_dprt_cbfn()
497 if (csio_ln_mgmt_submit_req(fdmi_req, csio_ln_fdmi_rhba_cbfn, in csio_ln_fdmi_dprt_cbfn()
498 FCOE_CT, &fdmi_req->dma_buf, len)) { in csio_ln_fdmi_dprt_cbfn()
511 csio_ln_fdmi_dhba_cbfn(struct csio_hw *hw, struct csio_ioreq *fdmi_req) in csio_ln_fdmi_dhba_cbfn() argument
513 struct csio_lnode *ln = fdmi_req->lnode; in csio_ln_fdmi_dhba_cbfn()
519 if (fdmi_req->wr_status != FW_SUCCESS) { in csio_ln_fdmi_dhba_cbfn()
521 fdmi_req->wr_status); in csio_ln_fdmi_dhba_cbfn()
525 if (!csio_is_rnode_ready(fdmi_req->rnode)) { in csio_ln_fdmi_dhba_cbfn()
529 cmd = fdmi_req->dma_buf.vaddr; in csio_ln_fdmi_dhba_cbfn()
549 if (csio_ln_mgmt_submit_req(fdmi_req, csio_ln_fdmi_dprt_cbfn, in csio_ln_fdmi_dhba_cbfn()
550 FCOE_CT, &fdmi_req->dma_buf, len)) { in csio_ln_fdmi_dhba_cbfn()
567 struct csio_ioreq *fdmi_req; in csio_ln_fdmi_start() local
583 fdmi_req = ln->mgmt_req; in csio_ln_fdmi_start()
584 fdmi_req->lnode = ln; in csio_ln_fdmi_start()
585 fdmi_req->rnode = fdmi_rn; in csio_ln_fdmi_start()
588 cmd = fdmi_req->dma_buf.vaddr; in csio_ln_fdmi_start()
598 if (csio_ln_mgmt_submit_req(fdmi_req, csio_ln_fdmi_dhba_cbfn, in csio_ln_fdmi_start()
599 FCOE_CT, &fdmi_req->dma_buf, len)) { in csio_ln_fdmi_start()