Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/be2iscsi/
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 …]
Dbe_iscsi.c1053 struct be_dma_mem nonemb_cmd; in beiscsi_open_conn() local
1081 nonemb_cmd.va = dma_alloc_coherent(&phba->ctrl.pdev->dev, in beiscsi_open_conn()
1083 &nonemb_cmd.dma, GFP_KERNEL); in beiscsi_open_conn()
1084 if (nonemb_cmd.va == NULL) { in beiscsi_open_conn()
1093 nonemb_cmd.size = req_memsize; in beiscsi_open_conn()
1094 memset(nonemb_cmd.va, 0, nonemb_cmd.size); in beiscsi_open_conn()
1095 tag = mgmt_open_connection(phba, dst_addr, beiscsi_ep, &nonemb_cmd); in beiscsi_open_conn()
1101 dma_free_coherent(&phba->ctrl.pdev->dev, nonemb_cmd.size, in beiscsi_open_conn()
1102 nonemb_cmd.va, nonemb_cmd.dma); in beiscsi_open_conn()
1107 ret = beiscsi_mccq_compl_wait(phba, tag, NULL, &nonemb_cmd); in beiscsi_open_conn()
[all …]
Dbe_cmds.c1261 struct be_dma_mem nonemb_cmd; in beiscsi_check_supported_fw() local
1267 nonemb_cmd.va = dma_alloc_coherent(&ctrl->pdev->dev, in beiscsi_check_supported_fw()
1269 &nonemb_cmd.dma, GFP_KERNEL); in beiscsi_check_supported_fw()
1270 if (nonemb_cmd.va == NULL) { in beiscsi_check_supported_fw()
1276 nonemb_cmd.size = sizeof(struct be_mgmt_controller_attributes); in beiscsi_check_supported_fw()
1277 req = nonemb_cmd.va; in beiscsi_check_supported_fw()
1284 sge->pa_hi = cpu_to_le32(upper_32_bits(nonemb_cmd.dma)); in beiscsi_check_supported_fw()
1285 sge->pa_lo = cpu_to_le32(nonemb_cmd.dma & 0xFFFFFFFF); in beiscsi_check_supported_fw()
1286 sge->len = cpu_to_le32(nonemb_cmd.size); in beiscsi_check_supported_fw()
1289 struct be_mgmt_controller_attributes_resp *resp = nonemb_cmd.va; in beiscsi_check_supported_fw()
[all …]
Dbe_mgmt.h32 struct be_dma_mem *nonemb_cmd);
37 struct be_dma_mem *nonemb_cmd);
Dbe_main.c4812 struct be_dma_mem nonemb_cmd; in beiscsi_bsg_request() local
4828 nonemb_cmd.va = dma_alloc_coherent(&phba->ctrl.pdev->dev, in beiscsi_bsg_request()
4830 &nonemb_cmd.dma, GFP_KERNEL); in beiscsi_bsg_request()
4831 if (nonemb_cmd.va == NULL) { in beiscsi_bsg_request()
4838 &nonemb_cmd); in beiscsi_bsg_request()
4843 dma_free_coherent(&phba->ctrl.pdev->dev, nonemb_cmd.size, in beiscsi_bsg_request()
4844 nonemb_cmd.va, nonemb_cmd.dma); in beiscsi_bsg_request()
4857 dma_free_coherent(&phba->ctrl.pdev->dev, nonemb_cmd.size, in beiscsi_bsg_request()
4858 nonemb_cmd.va, nonemb_cmd.dma); in beiscsi_bsg_request()
4865 resp = (struct be_cmd_resp_hdr *)nonemb_cmd.va; in beiscsi_bsg_request()
[all …]
Dbe_main.h381 struct be_dma_mem nonemb_cmd; member
/linux-6.1.9/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c1589 int be_cmd_get_stats(struct be_adapter *adapter, struct be_dma_mem *nonemb_cmd) in be_cmd_get_stats() argument
1602 hdr = nonemb_cmd->va; in be_cmd_get_stats()
1605 OPCODE_ETH_GET_STATISTICS, nonemb_cmd->size, wrb, in be_cmd_get_stats()
1606 nonemb_cmd); in be_cmd_get_stats()
1629 struct be_dma_mem *nonemb_cmd) in lancer_cmd_get_pport_stats() argument
1646 req = nonemb_cmd->va; in lancer_cmd_get_pport_stats()
1649 OPCODE_ETH_GET_PPORT_STATS, nonemb_cmd->size, in lancer_cmd_get_pport_stats()
1650 wrb, nonemb_cmd); in lancer_cmd_get_pport_stats()
3213 struct be_dma_mem *nonemb_cmd) in be_cmd_enable_magic_wol() argument
3226 req = nonemb_cmd->va; in be_cmd_enable_magic_wol()
[all …]
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);