Home
last modified time | relevance | path

Searched refs:sgl_task_params (Results 1 – 9 of 9) sorted by relevance

/drivers/scsi/qedf/
Ddrv_scsi_fw_funcs.c16 struct scsi_sgl_task_params *sgl_task_params) in init_scsi_sgl_context() argument
19 u8 num_sges_to_init = sgl_task_params->num_sges > in init_scsi_sgl_context()
21 sgl_task_params->num_sges; in init_scsi_sgl_context()
25 val = cpu_to_le32(sgl_task_params->sgl_phys_addr.lo); in init_scsi_sgl_context()
27 val = cpu_to_le32(sgl_task_params->sgl_phys_addr.hi); in init_scsi_sgl_context()
29 val = cpu_to_le32(sgl_task_params->total_buffer_size); in init_scsi_sgl_context()
31 ctx_sgl_params->sgl_num_sges = cpu_to_le16(sgl_task_params->num_sges); in init_scsi_sgl_context()
34 val = cpu_to_le32(sgl_task_params->sgl[sge_index].sge_addr.lo); in init_scsi_sgl_context()
36 val = cpu_to_le32(sgl_task_params->sgl[sge_index].sge_addr.hi); in init_scsi_sgl_context()
38 val = cpu_to_le32(sgl_task_params->sgl[sge_index].sge_len); in init_scsi_sgl_context()
Ddrv_fcoe_fw_funcs.c20 struct scsi_sgl_task_params *sgl_task_params, in init_initiator_rw_fcoe_task() argument
36 slow_sgl = scsi_is_slow_sgl(sgl_task_params->num_sges, in init_initiator_rw_fcoe_task()
37 sgl_task_params->small_mid_sge); in init_initiator_rw_fcoe_task()
84 sgl_task_params); in init_initiator_rw_fcoe_task()
91 cpu_to_le16(sgl_task_params->num_sges); in init_initiator_rw_fcoe_task()
102 sgl_task_params); in init_initiator_rw_fcoe_task()
Ddrv_fcoe_fw_funcs.h39 struct scsi_sgl_task_params *sgl_task_params,
Ddrv_scsi_fw_funcs.h81 struct scsi_sgl_task_params *sgl_task_params);
Dqedf_io.c148 kfree(io_req->sgl_task_params); in qedf_cmd_mgr_free()
246 io_req->sgl_task_params = kzalloc( in qedf_cmd_mgr_alloc()
248 if (!io_req->sgl_task_params) { in qedf_cmd_mgr_alloc()
607 memset(io_req->sgl_task_params, 0, sizeof(struct scsi_sgl_task_params)); in qedf_init_task()
636 io_req->sgl_task_params->sgl = bd_tbl->bd_tbl; in qedf_init_task()
637 io_req->sgl_task_params->sgl_phys_addr.lo = in qedf_init_task()
639 io_req->sgl_task_params->sgl_phys_addr.hi = in qedf_init_task()
641 io_req->sgl_task_params->num_sges = bd_count; in qedf_init_task()
642 io_req->sgl_task_params->total_buffer_size = in qedf_init_task()
645 io_req->sgl_task_params->small_mid_sge = 1; in qedf_init_task()
[all …]
Dqedf.h145 struct scsi_sgl_task_params *sgl_task_params; member
/drivers/net/ethernet/qlogic/qed/
Dqed_nvmetcp_fw_funcs.c65 struct storage_sgl_task_params *sgl_task_params, in init_sqe() argument
87 if (nvmetcp_is_slow_sgl(sgl_task_params->num_sges, in init_sqe()
88 sgl_task_params->small_mid_sge)) in init_sqe()
91 num_sges = min((u16)sgl_task_params->num_sges, in init_sqe()
113 min((u16)sgl_task_params->num_sges, in init_sqe()
219 struct storage_sgl_task_params *sgl_task_params) in init_rw_nvmetcp_task() argument
233 sgl_task_params); in init_rw_nvmetcp_task()
234 slow_io = nvmetcp_is_slow_sgl(sgl_task_params->num_sges, in init_rw_nvmetcp_task()
235 sgl_task_params->small_mid_sge); in init_rw_nvmetcp_task()
237 (u8)(!slow_io ? min((u32)sgl_task_params->num_sges, in init_rw_nvmetcp_task()
[all …]
Dqed_nvmetcp_fw_funcs.h24 struct storage_sgl_task_params *sgl_task_params);
28 struct storage_sgl_task_params *sgl_task_params);
/drivers/scsi/qedi/
Dqedi_fw_api.c24 struct scsi_sgl_task_params *sgl_task_params) in init_scsi_sgl_context() argument
30 num_sges = (sgl_task_params->num_sges > SCSI_NUM_SGES_IN_CACHE) ? in init_scsi_sgl_context()
31 SCSI_NUM_SGES_IN_CACHE : sgl_task_params->num_sges; in init_scsi_sgl_context()
34 val = cpu_to_le32(sgl_task_params->sgl_phys_addr.lo); in init_scsi_sgl_context()
36 val = cpu_to_le32(sgl_task_params->sgl_phys_addr.hi); in init_scsi_sgl_context()
38 val = cpu_to_le32(sgl_task_params->total_buffer_size); in init_scsi_sgl_context()
40 ctx_sgl_params->sgl_num_sges = cpu_to_le16(sgl_task_params->num_sges); in init_scsi_sgl_context()
43 val = cpu_to_le32(sgl_task_params->sgl[sge_index].sge_addr.lo); in init_scsi_sgl_context()
45 val = cpu_to_le32(sgl_task_params->sgl[sge_index].sge_addr.hi); in init_scsi_sgl_context()
47 val = cpu_to_le32(sgl_task_params->sgl[sge_index].sge_len); in init_scsi_sgl_context()
[all …]