• Home
  • Raw
  • Download

Lines Matching refs:ata_task

359 	if (unlikely(task->ata_task.device_control_reg_update))  in asd_build_ata_ascb()
366 scb->ata_task.proto_conn_rate = (1 << 5); /* STP */ in asd_build_ata_ascb()
368 scb->ata_task.proto_conn_rate |= dev->linkrate; in asd_build_ata_ascb()
370 scb->ata_task.total_xfer_len = cpu_to_le32(task->total_xfer_len); in asd_build_ata_ascb()
371 scb->ata_task.fis = task->ata_task.fis; in asd_build_ata_ascb()
372 if (likely(!task->ata_task.device_control_reg_update)) in asd_build_ata_ascb()
373 scb->ata_task.fis.flags |= 0x80; /* C=1: update ATA cmd reg */ in asd_build_ata_ascb()
374 scb->ata_task.fis.flags &= 0xF0; /* PM_PORT field shall be 0 */ in asd_build_ata_ascb()
376 memcpy(scb->ata_task.atapi_packet, task->ata_task.atapi_packet, in asd_build_ata_ascb()
378 scb->ata_task.sister_scb = cpu_to_le16(0xFFFF); in asd_build_ata_ascb()
379 scb->ata_task.conn_handle = cpu_to_le16( in asd_build_ata_ascb()
382 if (likely(!task->ata_task.device_control_reg_update)) { in asd_build_ata_ascb()
384 if (task->ata_task.dma_xfer) in asd_build_ata_ascb()
386 if (task->ata_task.use_ncq && in asd_build_ata_ascb()
390 scb->ata_task.ata_flags = flags; in asd_build_ata_ascb()
392 scb->ata_task.retry_count = task->ata_task.retry_count; in asd_build_ata_ascb()
395 if (task->ata_task.set_affil_pol) in asd_build_ata_ascb()
397 if (task->ata_task.stp_affil_pol) in asd_build_ata_ascb()
399 scb->ata_task.flags = flags; in asd_build_ata_ascb()
403 if (likely(!task->ata_task.device_control_reg_update)) in asd_build_ata_ascb()
404 res = asd_map_scatterlist(task, scb->ata_task.sg_element, in asd_build_ata_ascb()