Home
last modified time | relevance | path

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

/Linux-v5.4/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.c155 kfree(io_req->sgl_task_params); in qedf_cmd_mgr_free()
253 io_req->sgl_task_params = kzalloc( in qedf_cmd_mgr_alloc()
255 if (!io_req->sgl_task_params) { in qedf_cmd_mgr_alloc()
615 memset(io_req->sgl_task_params, 0, sizeof(struct scsi_sgl_task_params)); in qedf_init_task()
644 io_req->sgl_task_params->sgl = bd_tbl->bd_tbl; in qedf_init_task()
645 io_req->sgl_task_params->sgl_phys_addr.lo = in qedf_init_task()
647 io_req->sgl_task_params->sgl_phys_addr.hi = in qedf_init_task()
649 io_req->sgl_task_params->num_sges = bd_count; in qedf_init_task()
650 io_req->sgl_task_params->total_buffer_size = in qedf_init_task()
653 io_req->sgl_task_params->small_mid_sge = 1; in qedf_init_task()
[all …]
Dqedf.h149 struct scsi_sgl_task_params *sgl_task_params; member
/Linux-v5.4/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 …]