Home
last modified time | relevance | path

Searched refs:nonemb_cmd (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/scsi/be2iscsi/
H A Dbe_mgmt.c36 struct be_dma_mem *nonemb_cmd) in mgmt_vendor_specific_fw_cmd() argument
42 struct be_bsg_vendor_cmd *req = nonemb_cmd->va; in mgmt_vendor_specific_fw_cmd()
45 nonemb_cmd->size = job->request_payload.payload_len; in mgmt_vendor_specific_fw_cmd()
46 memset(nonemb_cmd->va, 0, nonemb_cmd->size); in mgmt_vendor_specific_fw_cmd()
64 nonemb_cmd->va + offset, job->request_len); in mgmt_vendor_specific_fw_cmd()
86 be_wrb_hdr_prepare(wrb, nonemb_cmd->size, false, in mgmt_vendor_specific_fw_cmd()
88 mcc_sge->pa_hi = cpu_to_le32(upper_32_bits(nonemb_cmd->dma)); in mgmt_vendor_specific_fw_cmd()
89 mcc_sge->pa_lo = cpu_to_le32(nonemb_cmd->dma & 0xFFFFFFFF); in mgmt_vendor_specific_fw_cmd()
90 mcc_sge->len = cpu_to_le32(nonemb_cmd->size); in mgmt_vendor_specific_fw_cmd()
112 struct be_dma_mem *nonemb_cmd) in mgmt_open_connection() argument
[all …]
H A Dbe_iscsi.c1057 struct be_dma_mem nonemb_cmd; in beiscsi_open_conn() local
1085 nonemb_cmd.va = dma_alloc_coherent(&phba->ctrl.pdev->dev, in beiscsi_open_conn()
1087 &nonemb_cmd.dma, GFP_KERNEL); in beiscsi_open_conn()
1088 if (nonemb_cmd.va == NULL) { in beiscsi_open_conn()
1097 nonemb_cmd.size = req_memsize; in beiscsi_open_conn()
1098 memset(nonemb_cmd.va, 0, nonemb_cmd.size); in beiscsi_open_conn()
1099 tag = mgmt_open_connection(phba, dst_addr, beiscsi_ep, &nonemb_cmd); in beiscsi_open_conn()
1105 dma_free_coherent(&phba->ctrl.pdev->dev, nonemb_cmd.size, in beiscsi_open_conn()
1106 nonemb_cmd.va, nonemb_cmd.dma); in beiscsi_open_conn()
1111 ret = beiscsi_mccq_compl_wait(phba, tag, NULL, &nonemb_cmd); in beiscsi_open_conn()
[all …]
H A Dbe_cmds.c1259 struct be_dma_mem nonemb_cmd; in beiscsi_check_supported_fw() local
1265 nonemb_cmd.va = dma_alloc_coherent(&ctrl->pdev->dev, in beiscsi_check_supported_fw()
1267 &nonemb_cmd.dma, GFP_KERNEL); in beiscsi_check_supported_fw()
1268 if (nonemb_cmd.va == NULL) { in beiscsi_check_supported_fw()
1274 nonemb_cmd.size = sizeof(struct be_mgmt_controller_attributes); in beiscsi_check_supported_fw()
1275 req = nonemb_cmd.va; in beiscsi_check_supported_fw()
1282 sge->pa_hi = cpu_to_le32(upper_32_bits(nonemb_cmd.dma)); in beiscsi_check_supported_fw()
1283 sge->pa_lo = cpu_to_le32(nonemb_cmd.dma & 0xFFFFFFFF); in beiscsi_check_supported_fw()
1284 sge->len = cpu_to_le32(nonemb_cmd.size); in beiscsi_check_supported_fw()
1287 struct be_mgmt_controller_attributes_resp *resp = nonemb_cmd.va; in beiscsi_check_supported_fw()
[all …]
H A Dbe_mgmt.h32 struct be_dma_mem *nonemb_cmd);
37 struct be_dma_mem *nonemb_cmd);
H A Dbe_main.c4813 struct be_dma_mem nonemb_cmd; in beiscsi_bsg_request() local
4829 nonemb_cmd.va = dma_alloc_coherent(&phba->ctrl.pdev->dev, in beiscsi_bsg_request()
4831 &nonemb_cmd.dma, GFP_KERNEL); in beiscsi_bsg_request()
4832 if (nonemb_cmd.va == NULL) { in beiscsi_bsg_request()
4839 &nonemb_cmd); in beiscsi_bsg_request()
4844 dma_free_coherent(&phba->ctrl.pdev->dev, nonemb_cmd.size, in beiscsi_bsg_request()
4845 nonemb_cmd.va, nonemb_cmd.dma); in beiscsi_bsg_request()
4858 dma_free_coherent(&phba->ctrl.pdev->dev, nonemb_cmd.size, in beiscsi_bsg_request()
4859 nonemb_cmd.va, nonemb_cmd.dma); in beiscsi_bsg_request()
4866 resp = (struct be_cmd_resp_hdr *)nonemb_cmd.va; in beiscsi_bsg_request()
[all …]
H A Dbe_main.h380 struct be_dma_mem nonemb_cmd; member
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c1590 int be_cmd_get_stats(struct be_adapter *adapter, struct be_dma_mem *nonemb_cmd) in be_cmd_get_stats() argument
1603 hdr = nonemb_cmd->va; in be_cmd_get_stats()
1606 OPCODE_ETH_GET_STATISTICS, nonemb_cmd->size, wrb, in be_cmd_get_stats()
1607 nonemb_cmd); in be_cmd_get_stats()
1630 struct be_dma_mem *nonemb_cmd) in lancer_cmd_get_pport_stats() argument
1647 req = nonemb_cmd->va; in lancer_cmd_get_pport_stats()
1650 OPCODE_ETH_GET_PPORT_STATS, nonemb_cmd->size, in lancer_cmd_get_pport_stats()
1651 wrb, nonemb_cmd); in lancer_cmd_get_pport_stats()
3214 struct be_dma_mem *nonemb_cmd) in be_cmd_enable_magic_wol() argument
3227 req = nonemb_cmd->va; in be_cmd_enable_magic_wol()
[all …]
H A Dbe_cmds.h2410 int be_cmd_get_stats(struct be_adapter *adapter, struct be_dma_mem *nonemb_cmd);
2412 struct be_dma_mem *nonemb_cmd);
2439 struct be_dma_mem *nonemb_cmd);
2450 struct be_dma_mem *nonemb_cmd);