Lines Matching defs:dma_resp
100 static ocs_hw_rtn_e ocs_hw_exec_dmtf_clp_cmd(ocs_hw_t *hw, ocs_dma_t *dma_cmd, ocs_dma_t *dma_resp, uint32_t opts, ocs_hw_dmtf_clp_cb_t cb, void *arg);
5806 ocs_dma_t dma_resp;
5882 if (ocs_dma_alloc(hw->os, &cb_arg->dma_resp, OCS_HW_DMTF_CLP_RSP_MAX, 4096)) {
5892 rc = ocs_hw_exec_dmtf_clp_cmd(hw, &cb_arg->dma_cmd, &cb_arg->dma_resp,
5904 ocs_dma_free(hw->os, &cb_arg->dma_resp);
6074 if (ocs_dma_alloc(hw->os, &cb_arg->dma_resp, OCS_HW_DMTF_CLP_RSP_MAX, 4096)) {
6084 rc = ocs_hw_exec_dmtf_clp_cmd(hw, &cb_arg->dma_cmd, &cb_arg->dma_resp,
6096 ocs_dma_free(hw->os, &cb_arg->dma_resp);
6481 cb_arg->dma_resp.virt,
6500 ocs_dma_free(hw->os, &cb_arg->dma_resp);
6613 ocs_dma_t dma_resp;
6631 if (ocs_dma_alloc(hw->os, &dma_resp, OCS_HW_DMTF_CLP_RSP_MAX, 4096)) {
6638 if (ocs_hw_exec_dmtf_clp_cmd(hw, &dma_cmd, &dma_resp, OCS_CMD_POLL, NULL, NULL)) {
6644 ocs_dma_free(hw->os, &dma_resp);
6653 ocs_dma_t *dma_resp;
6664 * @param dma_resp DMA buffer that will contain the response (if successful).
6673 ocs_hw_exec_dmtf_clp_cmd(ocs_hw_t *hw, ocs_dma_t *dma_cmd, ocs_dma_t *dma_resp, uint32_t opts, ocs_hw_dmtf_clp_cb_t cb, void *arg)
6696 cb_arg->dma_resp = dma_resp;
6701 dma_cmd, dma_resp)) {
6780 if ((result_len == 0) || (cb_arg->dma_resp->size < result_len)) {
6782 cb_arg->dma_resp->size, result_len);
6790 cb_arg->dma_resp->virt,