Lines Matching refs:sgl

1246 						      &pthru->sgl);  in megasas_build_dcdb()
1250 &pthru->sgl); in megasas_build_dcdb()
1253 &pthru->sgl); in megasas_build_dcdb()
1389 &ldio->sgl); in megasas_build_ldio()
1392 ldio->sge_count = megasas_make_sgl64(instance, scp, &ldio->sgl); in megasas_build_ldio()
1394 ldio->sge_count = megasas_make_sgl32(instance, scp, &ldio->sgl); in megasas_build_ldio()
1479 mfi_sgl = &ldio->sgl; in megasas_dump_pending_frames()
1489 mfi_sgl = &pthru->sgl; in megasas_dump_pending_frames()
1934 dcmd->sgl.sge32[0].phys_addr = in megasas_get_ld_vf_affiliation_111()
1937 dcmd->sgl.sge32[0].phys_addr = new_affiliation_111_h; in megasas_get_ld_vf_affiliation_111()
1939 dcmd->sgl.sge32[0].length = in megasas_get_ld_vf_affiliation_111()
2050 dcmd->sgl.sge32[0].phys_addr = instance->vf_affiliation_h; in megasas_get_ld_vf_affiliation_12()
2052 dcmd->sgl.sge32[0].phys_addr = new_affiliation_h; in megasas_get_ld_vf_affiliation_12()
2054 dcmd->sgl.sge32[0].length = (MAX_LOGICAL_DRIVES + 1) * in megasas_get_ld_vf_affiliation_12()
2216 dcmd->sgl.sge32[0].phys_addr = instance->hb_host_mem_h; in megasas_sriov_start_heartbeat()
2217 dcmd->sgl.sge32[0].length = sizeof(struct MR_CTRL_HB_HOST_MEM); in megasas_sriov_start_heartbeat()
3837 dcmd->sgl.sge32[0].phys_addr = cpu_to_le32(ci_h); in megasas_get_pd_list()
3838 dcmd->sgl.sge32[0].length = cpu_to_le32(MEGASAS_MAX_PD * sizeof(struct MR_PD_LIST)); in megasas_get_pd_list()
3936 dcmd->sgl.sge32[0].phys_addr = cpu_to_le32(ci_h); in megasas_get_ld_list()
3937 dcmd->sgl.sge32[0].length = cpu_to_le32(sizeof(struct MR_LD_LIST)); in megasas_get_ld_list()
4029 dcmd->sgl.sge32[0].phys_addr = cpu_to_le32(ci_h); in megasas_ld_list_query()
4030 dcmd->sgl.sge32[0].length = cpu_to_le32(sizeof(struct MR_LD_TARGETID_LIST)); in megasas_ld_list_query()
4168 dcmd->sgl.sge32[0].phys_addr = cpu_to_le32(ci_h); in megasas_get_ctrl_info()
4169 dcmd->sgl.sge32[0].length = cpu_to_le32(sizeof(struct megasas_ctrl_info)); in megasas_get_ctrl_info()
4239 dcmd->sgl.sge32[0].phys_addr = cpu_to_le32(instance->crash_dump_h); in megasas_set_crash_dump_params()
4240 dcmd->sgl.sge32[0].length = cpu_to_le32(CRASH_DMA_BUF_SIZE); in megasas_set_crash_dump_params()
4815 dcmd->sgl.sge32[0].phys_addr = cpu_to_le32(el_info_h); in megasas_get_seq_num()
4816 dcmd->sgl.sge32[0].length = cpu_to_le32(sizeof(struct megasas_evt_log_info)); in megasas_get_seq_num()
4945 dcmd->sgl.sge32[0].phys_addr = cpu_to_le32(instance->evt_detail_h); in megasas_register_aen()
4946 dcmd->sgl.sge32[0].length = cpu_to_le32(sizeof(struct megasas_evt_detail)); in megasas_register_aen()
6102 if (!ioc->sgl[i].iov_len) in megasas_mgmt_fw_ioctl()
6106 ioc->sgl[i].iov_len, in megasas_mgmt_fw_ioctl()
6120 kern_sge32[i].length = cpu_to_le32(ioc->sgl[i].iov_len); in megasas_mgmt_fw_ioctl()
6126 if (copy_from_user(kbuff_arr[i], ioc->sgl[i].iov_base, in megasas_mgmt_fw_ioctl()
6127 (u32) (ioc->sgl[i].iov_len))) { in megasas_mgmt_fw_ioctl()
6163 if (copy_to_user(ioc->sgl[i].iov_base, kbuff_arr[i], in megasas_mgmt_fw_ioctl()
6164 ioc->sgl[i].iov_len)) { in megasas_mgmt_fw_ioctl()
6432 if (get_user(ptr, &cioc->sgl[i].iov_base) || in megasas_mgmt_compat_ioctl_fw()
6433 put_user(compat_ptr(ptr), &ioc->sgl[i].iov_base) || in megasas_mgmt_compat_ioctl_fw()
6434 copy_in_user(&ioc->sgl[i].iov_len, in megasas_mgmt_compat_ioctl_fw()
6435 &cioc->sgl[i].iov_len, sizeof(compat_size_t))) in megasas_mgmt_compat_ioctl_fw()