Lines Matching refs:ssp_cmd

4282 	struct ssp_ini_io_start_req ssp_cmd;  in pm80xx_chip_ssp_io_req()  local
4289 memset(&ssp_cmd, 0, sizeof(ssp_cmd)); in pm80xx_chip_ssp_io_req()
4290 memcpy(ssp_cmd.ssp_iu.lun, task->ssp_task.LUN, 8); in pm80xx_chip_ssp_io_req()
4296 ssp_cmd.dad_dir_m_tlr = in pm80xx_chip_ssp_io_req()
4298 ssp_cmd.data_len = cpu_to_le32(task->total_xfer_len); in pm80xx_chip_ssp_io_req()
4299 ssp_cmd.device_id = cpu_to_le32(pm8001_dev->device_id); in pm80xx_chip_ssp_io_req()
4300 ssp_cmd.tag = cpu_to_le32(tag); in pm80xx_chip_ssp_io_req()
4301 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_attr & 7); in pm80xx_chip_ssp_io_req()
4302 memcpy(ssp_cmd.ssp_iu.cdb, task->ssp_task.cmd->cmnd, in pm80xx_chip_ssp_io_req()
4314 ssp_cmd.dad_dir_m_tlr = cpu_to_le32 in pm80xx_chip_ssp_io_req()
4322 ssp_cmd.enc_addr_low = in pm80xx_chip_ssp_io_req()
4324 ssp_cmd.enc_addr_high = in pm80xx_chip_ssp_io_req()
4326 ssp_cmd.enc_esgl = cpu_to_le32(1<<31); in pm80xx_chip_ssp_io_req()
4330 ssp_cmd.enc_addr_low = in pm80xx_chip_ssp_io_req()
4332 ssp_cmd.enc_addr_high = in pm80xx_chip_ssp_io_req()
4334 ssp_cmd.enc_len = cpu_to_le32(task->total_xfer_len); in pm80xx_chip_ssp_io_req()
4335 ssp_cmd.enc_esgl = 0; in pm80xx_chip_ssp_io_req()
4338 end_addr = dma_addr + le32_to_cpu(ssp_cmd.enc_len) - 1; in pm80xx_chip_ssp_io_req()
4342 if (end_addr_high != le32_to_cpu(ssp_cmd.enc_addr_high)) { in pm80xx_chip_ssp_io_req()
4346 le32_to_cpu(ssp_cmd.enc_len), in pm80xx_chip_ssp_io_req()
4351 ssp_cmd.enc_addr_low = in pm80xx_chip_ssp_io_req()
4353 ssp_cmd.enc_addr_high = in pm80xx_chip_ssp_io_req()
4355 ssp_cmd.enc_esgl = cpu_to_le32(1U<<31); in pm80xx_chip_ssp_io_req()
4358 ssp_cmd.enc_addr_low = 0; in pm80xx_chip_ssp_io_req()
4359 ssp_cmd.enc_addr_high = 0; in pm80xx_chip_ssp_io_req()
4360 ssp_cmd.enc_len = cpu_to_le32(task->total_xfer_len); in pm80xx_chip_ssp_io_req()
4361 ssp_cmd.enc_esgl = 0; in pm80xx_chip_ssp_io_req()
4365 ssp_cmd.key_cmode = cpu_to_le32(0x6 << 4); in pm80xx_chip_ssp_io_req()
4368 ssp_cmd.twk_val0 = cpu_to_le32((task->ssp_task.cmd->cmnd[2] << 24) | in pm80xx_chip_ssp_io_req()
4381 ssp_cmd.addr_low = in pm80xx_chip_ssp_io_req()
4383 ssp_cmd.addr_high = in pm80xx_chip_ssp_io_req()
4385 ssp_cmd.esgl = cpu_to_le32(1<<31); in pm80xx_chip_ssp_io_req()
4389 ssp_cmd.addr_low = cpu_to_le32(lower_32_bits(dma_addr)); in pm80xx_chip_ssp_io_req()
4390 ssp_cmd.addr_high = in pm80xx_chip_ssp_io_req()
4392 ssp_cmd.len = cpu_to_le32(task->total_xfer_len); in pm80xx_chip_ssp_io_req()
4393 ssp_cmd.esgl = 0; in pm80xx_chip_ssp_io_req()
4396 end_addr = dma_addr + le32_to_cpu(ssp_cmd.len) - 1; in pm80xx_chip_ssp_io_req()
4399 if (end_addr_high != le32_to_cpu(ssp_cmd.addr_high)) { in pm80xx_chip_ssp_io_req()
4403 le32_to_cpu(ssp_cmd.len), in pm80xx_chip_ssp_io_req()
4408 ssp_cmd.addr_low = in pm80xx_chip_ssp_io_req()
4410 ssp_cmd.addr_high = in pm80xx_chip_ssp_io_req()
4412 ssp_cmd.esgl = cpu_to_le32(1<<31); in pm80xx_chip_ssp_io_req()
4415 ssp_cmd.addr_low = 0; in pm80xx_chip_ssp_io_req()
4416 ssp_cmd.addr_high = 0; in pm80xx_chip_ssp_io_req()
4417 ssp_cmd.len = cpu_to_le32(task->total_xfer_len); in pm80xx_chip_ssp_io_req()
4418 ssp_cmd.esgl = 0; in pm80xx_chip_ssp_io_req()
4422 return pm8001_mpi_build_cmd(pm8001_ha, q_index, opc, &ssp_cmd, in pm80xx_chip_ssp_io_req()
4423 sizeof(ssp_cmd), q_index); in pm80xx_chip_ssp_io_req()