Lines Matching refs:ssp_cmd
3988 struct ssp_ini_io_start_req ssp_cmd; in pm8001_chip_ssp_io_req() local
3992 memset(&ssp_cmd, 0, sizeof(ssp_cmd)); in pm8001_chip_ssp_io_req()
3993 memcpy(ssp_cmd.ssp_iu.lun, task->ssp_task.LUN, 8); in pm8001_chip_ssp_io_req()
3994 ssp_cmd.dir_m_tlr = in pm8001_chip_ssp_io_req()
3997 ssp_cmd.data_len = cpu_to_le32(task->total_xfer_len); in pm8001_chip_ssp_io_req()
3998 ssp_cmd.device_id = cpu_to_le32(pm8001_dev->device_id); in pm8001_chip_ssp_io_req()
3999 ssp_cmd.tag = cpu_to_le32(tag); in pm8001_chip_ssp_io_req()
4000 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_attr & 7); in pm8001_chip_ssp_io_req()
4001 memcpy(ssp_cmd.ssp_iu.cdb, task->ssp_task.cmd->cmnd, in pm8001_chip_ssp_io_req()
4008 ssp_cmd.addr_low = cpu_to_le32(lower_32_bits(phys_addr)); in pm8001_chip_ssp_io_req()
4009 ssp_cmd.addr_high = cpu_to_le32(upper_32_bits(phys_addr)); in pm8001_chip_ssp_io_req()
4010 ssp_cmd.esgl = cpu_to_le32(1<<31); in pm8001_chip_ssp_io_req()
4013 ssp_cmd.addr_low = cpu_to_le32(lower_32_bits(dma_addr)); in pm8001_chip_ssp_io_req()
4014 ssp_cmd.addr_high = cpu_to_le32(upper_32_bits(dma_addr)); in pm8001_chip_ssp_io_req()
4015 ssp_cmd.len = cpu_to_le32(task->total_xfer_len); in pm8001_chip_ssp_io_req()
4016 ssp_cmd.esgl = 0; in pm8001_chip_ssp_io_req()
4018 ssp_cmd.addr_low = 0; in pm8001_chip_ssp_io_req()
4019 ssp_cmd.addr_high = 0; in pm8001_chip_ssp_io_req()
4020 ssp_cmd.len = cpu_to_le32(task->total_xfer_len); in pm8001_chip_ssp_io_req()
4021 ssp_cmd.esgl = 0; in pm8001_chip_ssp_io_req()
4024 return pm8001_mpi_build_cmd(pm8001_ha, 0, opc, &ssp_cmd, in pm8001_chip_ssp_io_req()
4025 sizeof(ssp_cmd), 0); in pm8001_chip_ssp_io_req()