Searched refs:sata_cmd (Results 1 – 2 of 2) sorted by relevance
4454 struct sata_start_req sata_cmd; in pm80xx_chip_sata_req() local4461 memset(&sata_cmd, 0, sizeof(sata_cmd)); in pm80xx_chip_sata_req()4486 sata_cmd.tag = cpu_to_le32(tag); in pm80xx_chip_sata_req()4487 sata_cmd.device_id = cpu_to_le32(pm8001_ha_dev->device_id); in pm80xx_chip_sata_req()4488 sata_cmd.data_len = cpu_to_le32(task->total_xfer_len); in pm80xx_chip_sata_req()4491 sata_cmd.sata_fis = task->ata_task.fis; in pm80xx_chip_sata_req()4493 sata_cmd.sata_fis.flags |= 0x80;/* C=1: update ATA cmd reg */ in pm80xx_chip_sata_req()4494 sata_cmd.sata_fis.flags &= 0xF0;/* PM_PORT field shall be 0 */ in pm80xx_chip_sata_req()4501 sata_cmd.sata_fis.command); in pm80xx_chip_sata_req()4504 sata_cmd.retfis_ncqtag_atap_dir_m_dad = in pm80xx_chip_sata_req()[all …]
4091 struct sata_start_req sata_cmd; in pm8001_chip_sata_req() local4098 memset(&sata_cmd, 0, sizeof(sata_cmd)); in pm8001_chip_sata_req()4121 sata_cmd.tag = cpu_to_le32(tag); in pm8001_chip_sata_req()4122 sata_cmd.device_id = cpu_to_le32(pm8001_ha_dev->device_id); in pm8001_chip_sata_req()4123 sata_cmd.data_len = cpu_to_le32(task->total_xfer_len); in pm8001_chip_sata_req()4126 sata_cmd.retfis_ncqtag_atap_dir_m = in pm8001_chip_sata_req()4129 sata_cmd.sata_fis = task->ata_task.fis; in pm8001_chip_sata_req()4131 sata_cmd.sata_fis.flags |= 0x80;/* C=1: update ATA cmd reg */ in pm8001_chip_sata_req()4132 sata_cmd.sata_fis.flags &= 0xF0;/* PM_PORT field shall be 0 */ in pm8001_chip_sata_req()4137 sata_cmd.addr_low = lower_32_bits(phys_addr); in pm8001_chip_sata_req()[all …]