fis 1349 drivers/ata/libahci.c u8 *fis = pp->cmd_tbl; fis 1353 drivers/ata/libahci.c ata_tf_to_fis(tf, pmp, is_cmd, fis); fis 538 drivers/ata/libata-core.c void ata_tf_to_fis(const struct ata_taskfile *tf, u8 pmp, int is_cmd, u8 *fis) fis 540 drivers/ata/libata-core.c fis[0] = 0x27; /* Register - Host to Device FIS */ fis 541 drivers/ata/libata-core.c fis[1] = pmp & 0xf; /* Port multiplier number*/ fis 543 drivers/ata/libata-core.c fis[1] |= (1 << 7); /* bit 7 indicates Command FIS */ fis 545 drivers/ata/libata-core.c fis[2] = tf->command; fis 546 drivers/ata/libata-core.c fis[3] = tf->feature; fis 548 drivers/ata/libata-core.c fis[4] = tf->lbal; fis 549 drivers/ata/libata-core.c fis[5] = tf->lbam; fis 550 drivers/ata/libata-core.c fis[6] = tf->lbah; fis 551 drivers/ata/libata-core.c fis[7] = tf->device; fis 553 drivers/ata/libata-core.c fis[8] = tf->hob_lbal; fis 554 drivers/ata/libata-core.c fis[9] = tf->hob_lbam; fis 555 drivers/ata/libata-core.c fis[10] = tf->hob_lbah; fis 556 drivers/ata/libata-core.c fis[11] = tf->hob_feature; fis 558 drivers/ata/libata-core.c fis[12] = tf->nsect; fis 559 drivers/ata/libata-core.c fis[13] = tf->hob_nsect; fis 560 drivers/ata/libata-core.c fis[14] = 0; fis 561 drivers/ata/libata-core.c fis[15] = tf->ctl; fis 563 drivers/ata/libata-core.c fis[16] = tf->auxiliary & 0xff; fis 564 drivers/ata/libata-core.c fis[17] = (tf->auxiliary >> 8) & 0xff; fis 565 drivers/ata/libata-core.c fis[18] = (tf->auxiliary >> 16) & 0xff; fis 566 drivers/ata/libata-core.c fis[19] = (tf->auxiliary >> 24) & 0xff; fis 580 drivers/ata/libata-core.c void ata_tf_from_fis(const u8 *fis, struct ata_taskfile *tf) fis 582 drivers/ata/libata-core.c tf->command = fis[2]; /* status */ fis 583 drivers/ata/libata-core.c tf->feature = fis[3]; /* error */ fis 585 drivers/ata/libata-core.c tf->lbal = fis[4]; fis 586 drivers/ata/libata-core.c tf->lbam = fis[5]; fis 587 drivers/ata/libata-core.c tf->lbah = fis[6]; fis 588 drivers/ata/libata-core.c tf->device = fis[7]; fis 590 drivers/ata/libata-core.c tf->hob_lbal = fis[8]; fis 591 drivers/ata/libata-core.c tf->hob_lbam = fis[9]; fis 592 drivers/ata/libata-core.c tf->hob_lbah = fis[10]; fis 594 drivers/ata/libata-core.c tf->nsect = fis[12]; fis 595 drivers/ata/libata-core.c tf->hob_nsect = fis[13]; fis 2225 drivers/ata/sata_mv.c static unsigned int mv_send_fis(struct ata_port *ap, u32 *fis, int nwords) fis 2238 drivers/ata/sata_mv.c writel(fis[i], port_mmio + VENDOR_UNIQUE_FIS); fis 2242 drivers/ata/sata_mv.c writelfl(fis[final_word], port_mmio + VENDOR_UNIQUE_FIS); fis 2286 drivers/ata/sata_mv.c u32 fis[5]; fis 2289 drivers/ata/sata_mv.c ata_tf_to_fis(&qc->tf, link->pmp, 1, (void *)fis); fis 2290 drivers/ata/sata_mv.c err = mv_send_fis(ap, fis, ARRAY_SIZE(fis)); fis 325 drivers/ata/sata_nv.c static void nv_swncq_irq_clear(struct ata_port *ap, u16 fis); fis 1739 drivers/ata/sata_nv.c static void nv_swncq_irq_clear(struct ata_port *ap, u16 fis) fis 1743 drivers/ata/sata_nv.c writew(fis, pp->irq_block); fis 2044 drivers/ata/sata_nv.c static void nv_swncq_hotplug(struct ata_port *ap, u32 fis) fis 2056 drivers/ata/sata_nv.c if (fis & NV_SWNCQ_IRQ_ADDED) fis 2058 drivers/ata/sata_nv.c else if (fis & NV_SWNCQ_IRQ_REMOVED) fis 2183 drivers/ata/sata_nv.c static void nv_swncq_host_interrupt(struct ata_port *ap, u16 fis) fis 2192 drivers/ata/sata_nv.c nv_swncq_irq_clear(ap, fis); fis 2193 drivers/ata/sata_nv.c if (!fis) fis 2199 drivers/ata/sata_nv.c if (fis & NV_SWNCQ_IRQ_HOTPLUG) { fis 2200 drivers/ata/sata_nv.c nv_swncq_hotplug(ap, fis); fis 2213 drivers/ata/sata_nv.c ata_ehi_push_desc(ehi, "Ata error. fis:0x%X", fis); fis 2221 drivers/ata/sata_nv.c if (fis & NV_SWNCQ_IRQ_BACKOUT) { fis 2228 drivers/ata/sata_nv.c if (fis & NV_SWNCQ_IRQ_SDBFIS) { fis 2238 drivers/ata/sata_nv.c if (fis & NV_SWNCQ_IRQ_DHREGFIS) { fis 2251 drivers/ata/sata_nv.c if (!(fis & NV_SWNCQ_IRQ_DMASETUP) && fis 2265 drivers/ata/sata_nv.c if (fis & NV_SWNCQ_IRQ_DMASETUP) { fis 2277 drivers/ata/sata_nv.c ata_ehi_push_desc(ehi, "fis:0x%x", fis); fis 33 drivers/ata/sata_sil24.c u8 fis[6 * 4]; fis 483 drivers/ata/sata_sil24.c u8 fis[6 * 4]; fis 486 drivers/ata/sata_sil24.c memcpy_fromio(fis, prb->fis, sizeof(fis)); fis 487 drivers/ata/sata_sil24.c ata_tf_from_fis(fis, tf); fis 607 drivers/ata/sata_sil24.c ata_tf_to_fis(tf, pmp, is_cmd, prb->fis); fis 873 drivers/ata/sata_sil24.c ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, prb->fis); fis 512 drivers/block/mtip32xx/mtip32xx.c struct host_to_dev_fis *fis; fis 608 drivers/block/mtip32xx/mtip32xx.c fis = (struct host_to_dev_fis *)cmd->command; fis 612 drivers/block/mtip32xx/mtip32xx.c fis->command == ATA_CMD_SET_FEATURES) fis 617 drivers/block/mtip32xx/mtip32xx.c fis->command == ATA_CMD_FPDMA_WRITE)) { fis 620 drivers/block/mtip32xx/mtip32xx.c fis->command == ATA_CMD_FPDMA_WRITE ? fis 843 drivers/block/mtip32xx/mtip32xx.c struct host_to_dev_fis *fis) fis 851 drivers/block/mtip32xx/mtip32xx.c if (fis->command == ATA_CMD_SEC_ERASE_PREP) { fis 854 drivers/block/mtip32xx/mtip32xx.c } else if ((fis->command == ATA_CMD_DOWNLOAD_MICRO) && fis 855 drivers/block/mtip32xx/mtip32xx.c (fis->features == 0x03)) { fis 859 drivers/block/mtip32xx/mtip32xx.c } else if ((fis->command == ATA_CMD_SEC_ERASE_UNIT) || fis 860 drivers/block/mtip32xx/mtip32xx.c ((fis->command == 0xFC) && fis 861 drivers/block/mtip32xx/mtip32xx.c (fis->features == 0x27 || fis->features == 0x72 || fis 862 drivers/block/mtip32xx/mtip32xx.c fis->features == 0x62 || fis->features == 0x26))) { fis 958 drivers/block/mtip32xx/mtip32xx.c struct host_to_dev_fis *fis, fis 993 drivers/block/mtip32xx/mtip32xx.c if (fis->command == ATA_CMD_SEC_ERASE_PREP) fis 998 drivers/block/mtip32xx/mtip32xx.c if (fis->command != ATA_CMD_STANDBYNOW1) { fis 1012 drivers/block/mtip32xx/mtip32xx.c memcpy(int_cmd->command, fis, fis_len*4); fis 1021 drivers/block/mtip32xx/mtip32xx.c fis->command, int_cmd->status); fis 1029 drivers/block/mtip32xx/mtip32xx.c fis->command); fis 1050 drivers/block/mtip32xx/mtip32xx.c if (rv >= 0 && mtip_pause_ncq(port, fis)) { fis 1080 drivers/block/mtip32xx/mtip32xx.c struct host_to_dev_fis *fis, fis 1083 drivers/block/mtip32xx/mtip32xx.c switch (fis->command) { fis 1132 drivers/block/mtip32xx/mtip32xx.c struct host_to_dev_fis fis; fis 1138 drivers/block/mtip32xx/mtip32xx.c memset(&fis, 0, sizeof(struct host_to_dev_fis)); fis 1139 drivers/block/mtip32xx/mtip32xx.c fis.type = 0x27; fis 1140 drivers/block/mtip32xx/mtip32xx.c fis.opts = 1 << 7; fis 1141 drivers/block/mtip32xx/mtip32xx.c fis.command = ATA_CMD_ID_ATA; fis 1151 drivers/block/mtip32xx/mtip32xx.c &fis, fis 1214 drivers/block/mtip32xx/mtip32xx.c struct host_to_dev_fis fis; fis 1219 drivers/block/mtip32xx/mtip32xx.c memset(&fis, 0, sizeof(struct host_to_dev_fis)); fis 1220 drivers/block/mtip32xx/mtip32xx.c fis.type = 0x27; fis 1221 drivers/block/mtip32xx/mtip32xx.c fis.opts = 1 << 7; fis 1222 drivers/block/mtip32xx/mtip32xx.c fis.command = ATA_CMD_STANDBYNOW1; fis 1224 drivers/block/mtip32xx/mtip32xx.c mtip_set_timeout(port->dd, &fis, &timeout, 0); fis 1228 drivers/block/mtip32xx/mtip32xx.c &fis, fis 1258 drivers/block/mtip32xx/mtip32xx.c struct host_to_dev_fis fis; fis 1260 drivers/block/mtip32xx/mtip32xx.c memset(&fis, 0, sizeof(struct host_to_dev_fis)); fis 1261 drivers/block/mtip32xx/mtip32xx.c fis.type = 0x27; fis 1262 drivers/block/mtip32xx/mtip32xx.c fis.opts = 1 << 7; fis 1263 drivers/block/mtip32xx/mtip32xx.c fis.command = ATA_CMD_READ_LOG_EXT; fis 1264 drivers/block/mtip32xx/mtip32xx.c fis.sect_count = sectors & 0xFF; fis 1265 drivers/block/mtip32xx/mtip32xx.c fis.sect_cnt_ex = (sectors >> 8) & 0xFF; fis 1266 drivers/block/mtip32xx/mtip32xx.c fis.lba_low = page; fis 1267 drivers/block/mtip32xx/mtip32xx.c fis.lba_mid = 0; fis 1268 drivers/block/mtip32xx/mtip32xx.c fis.device = ATA_DEVICE_OBS; fis 1273 drivers/block/mtip32xx/mtip32xx.c &fis, fis 1294 drivers/block/mtip32xx/mtip32xx.c struct host_to_dev_fis fis; fis 1296 drivers/block/mtip32xx/mtip32xx.c memset(&fis, 0, sizeof(struct host_to_dev_fis)); fis 1297 drivers/block/mtip32xx/mtip32xx.c fis.type = 0x27; fis 1298 drivers/block/mtip32xx/mtip32xx.c fis.opts = 1 << 7; fis 1299 drivers/block/mtip32xx/mtip32xx.c fis.command = ATA_CMD_SMART; fis 1300 drivers/block/mtip32xx/mtip32xx.c fis.features = 0xD0; fis 1301 drivers/block/mtip32xx/mtip32xx.c fis.sect_count = 1; fis 1302 drivers/block/mtip32xx/mtip32xx.c fis.lba_mid = 0x4F; fis 1303 drivers/block/mtip32xx/mtip32xx.c fis.lba_hi = 0xC2; fis 1304 drivers/block/mtip32xx/mtip32xx.c fis.device = ATA_DEVICE_OBS; fis 1307 drivers/block/mtip32xx/mtip32xx.c &fis, fis 1489 drivers/block/mtip32xx/mtip32xx.c struct host_to_dev_fis fis; fis 1494 drivers/block/mtip32xx/mtip32xx.c memset(&fis, 0, sizeof(struct host_to_dev_fis)); fis 1495 drivers/block/mtip32xx/mtip32xx.c fis.type = 0x27; fis 1496 drivers/block/mtip32xx/mtip32xx.c fis.opts = 1 << 7; fis 1497 drivers/block/mtip32xx/mtip32xx.c fis.command = command[0]; fis 1498 drivers/block/mtip32xx/mtip32xx.c fis.features = command[1]; fis 1499 drivers/block/mtip32xx/mtip32xx.c fis.sect_count = command[2]; fis 1500 drivers/block/mtip32xx/mtip32xx.c fis.sector = command[3]; fis 1501 drivers/block/mtip32xx/mtip32xx.c fis.cyl_low = command[4]; fis 1502 drivers/block/mtip32xx/mtip32xx.c fis.cyl_hi = command[5]; fis 1503 drivers/block/mtip32xx/mtip32xx.c fis.device = command[6] & ~0x10; /* Clear the dev bit*/ fis 1505 drivers/block/mtip32xx/mtip32xx.c mtip_set_timeout(port->dd, &fis, &to, 0); fis 1519 drivers/block/mtip32xx/mtip32xx.c &fis, fis 1559 drivers/block/mtip32xx/mtip32xx.c struct host_to_dev_fis fis; fis 1583 drivers/block/mtip32xx/mtip32xx.c memset(&fis, 0, sizeof(struct host_to_dev_fis)); fis 1584 drivers/block/mtip32xx/mtip32xx.c fis.type = 0x27; fis 1585 drivers/block/mtip32xx/mtip32xx.c fis.opts = 1 << 7; fis 1586 drivers/block/mtip32xx/mtip32xx.c fis.command = command[0]; fis 1587 drivers/block/mtip32xx/mtip32xx.c fis.features = command[2]; fis 1588 drivers/block/mtip32xx/mtip32xx.c fis.sect_count = command[3]; fis 1589 drivers/block/mtip32xx/mtip32xx.c if (fis.command == ATA_CMD_SMART) { fis 1590 drivers/block/mtip32xx/mtip32xx.c fis.sector = command[1]; fis 1591 drivers/block/mtip32xx/mtip32xx.c fis.cyl_low = 0x4F; fis 1592 drivers/block/mtip32xx/mtip32xx.c fis.cyl_hi = 0xC2; fis 1595 drivers/block/mtip32xx/mtip32xx.c mtip_set_timeout(port->dd, &fis, &to, 0); fis 1613 drivers/block/mtip32xx/mtip32xx.c &fis, fis 1708 drivers/block/mtip32xx/mtip32xx.c struct host_to_dev_fis fis; fis 1780 drivers/block/mtip32xx/mtip32xx.c memset(&fis, 0, sizeof(struct host_to_dev_fis)); fis 1782 drivers/block/mtip32xx/mtip32xx.c fis.type = 0x27; fis 1783 drivers/block/mtip32xx/mtip32xx.c fis.opts = 1 << 7; fis 1784 drivers/block/mtip32xx/mtip32xx.c fis.command = req_task->io_ports[7]; fis 1785 drivers/block/mtip32xx/mtip32xx.c fis.features = req_task->io_ports[1]; fis 1786 drivers/block/mtip32xx/mtip32xx.c fis.sect_count = req_task->io_ports[2]; fis 1787 drivers/block/mtip32xx/mtip32xx.c fis.lba_low = req_task->io_ports[3]; fis 1788 drivers/block/mtip32xx/mtip32xx.c fis.lba_mid = req_task->io_ports[4]; fis 1789 drivers/block/mtip32xx/mtip32xx.c fis.lba_hi = req_task->io_ports[5]; fis 1791 drivers/block/mtip32xx/mtip32xx.c fis.device = req_task->io_ports[6] & ~0x10; fis 1797 drivers/block/mtip32xx/mtip32xx.c fis.lba_low_ex = req_task->hob_ports[3]; fis 1798 drivers/block/mtip32xx/mtip32xx.c fis.lba_mid_ex = req_task->hob_ports[4]; fis 1799 drivers/block/mtip32xx/mtip32xx.c fis.lba_hi_ex = req_task->hob_ports[5]; fis 1800 drivers/block/mtip32xx/mtip32xx.c fis.features_ex = req_task->hob_ports[1]; fis 1801 drivers/block/mtip32xx/mtip32xx.c fis.sect_cnt_ex = req_task->hob_ports[2]; fis 1807 drivers/block/mtip32xx/mtip32xx.c force_single_sector = implicit_sector(fis.command, fis.features); fis 1809 drivers/block/mtip32xx/mtip32xx.c if ((taskin || taskout) && (!fis.sect_count)) { fis 1811 drivers/block/mtip32xx/mtip32xx.c fis.sect_count = nsect; fis 1828 drivers/block/mtip32xx/mtip32xx.c fis.command, fis 1829 drivers/block/mtip32xx/mtip32xx.c fis.features, fis 1830 drivers/block/mtip32xx/mtip32xx.c fis.sect_count, fis 1831 drivers/block/mtip32xx/mtip32xx.c fis.lba_low, fis 1832 drivers/block/mtip32xx/mtip32xx.c fis.lba_mid, fis 1833 drivers/block/mtip32xx/mtip32xx.c fis.lba_hi, fis 1834 drivers/block/mtip32xx/mtip32xx.c fis.device); fis 1837 drivers/block/mtip32xx/mtip32xx.c if ((fis.command == ATA_CMD_SEC_ERASE_UNIT) && outbuf && fis 1842 drivers/block/mtip32xx/mtip32xx.c mtip_set_timeout(dd, &fis, &timeout, erasemode); fis 1848 drivers/block/mtip32xx/mtip32xx.c transfer_size = ATA_SECT_SIZE * fis.sect_count; fis 1852 drivers/block/mtip32xx/mtip32xx.c &fis, fis 2062 drivers/block/mtip32xx/mtip32xx.c struct host_to_dev_fis *fis; fis 2084 drivers/block/mtip32xx/mtip32xx.c fis = command->command; fis 2085 drivers/block/mtip32xx/mtip32xx.c fis->type = 0x27; fis 2086 drivers/block/mtip32xx/mtip32xx.c fis->opts = 1 << 7; fis 2088 drivers/block/mtip32xx/mtip32xx.c fis->command = ATA_CMD_FPDMA_READ; fis 2090 drivers/block/mtip32xx/mtip32xx.c fis->command = ATA_CMD_FPDMA_WRITE; fis 2091 drivers/block/mtip32xx/mtip32xx.c fis->lba_low = start & 0xFF; fis 2092 drivers/block/mtip32xx/mtip32xx.c fis->lba_mid = (start >> 8) & 0xFF; fis 2093 drivers/block/mtip32xx/mtip32xx.c fis->lba_hi = (start >> 16) & 0xFF; fis 2094 drivers/block/mtip32xx/mtip32xx.c fis->lba_low_ex = (start >> 24) & 0xFF; fis 2095 drivers/block/mtip32xx/mtip32xx.c fis->lba_mid_ex = (start >> 32) & 0xFF; fis 2096 drivers/block/mtip32xx/mtip32xx.c fis->lba_hi_ex = (start >> 40) & 0xFF; fis 2097 drivers/block/mtip32xx/mtip32xx.c fis->device = 1 << 6; fis 2098 drivers/block/mtip32xx/mtip32xx.c fis->features = nsect & 0xFF; fis 2099 drivers/block/mtip32xx/mtip32xx.c fis->features_ex = (nsect >> 8) & 0xFF; fis 2100 drivers/block/mtip32xx/mtip32xx.c fis->sect_count = ((rq->tag << 3) | (rq->tag >> 5)); fis 2101 drivers/block/mtip32xx/mtip32xx.c fis->sect_cnt_ex = 0; fis 2102 drivers/block/mtip32xx/mtip32xx.c fis->control = 0; fis 2103 drivers/block/mtip32xx/mtip32xx.c fis->res2 = 0; fis 2104 drivers/block/mtip32xx/mtip32xx.c fis->res3 = 0; fis 2108 drivers/block/mtip32xx/mtip32xx.c fis->device |= 1 << 7; fis 128 drivers/scsi/aic94xx/aic94xx_dev.c struct dev_to_host_fis *fis = (struct dev_to_host_fis *) fis 130 drivers/scsi/aic94xx/aic94xx_dev.c asd_ddbsite_write_byte(asd_ha, ddb, SATA_STATUS, fis->status); fis 346 drivers/scsi/aic94xx/aic94xx_sas.h struct host_to_dev_fis fis; fis 411 drivers/scsi/aic94xx/aic94xx_sas.h struct host_to_dev_fis fis; fis 368 drivers/scsi/aic94xx/aic94xx_task.c scb->ata_task.fis = task->ata_task.fis; fis 370 drivers/scsi/aic94xx/aic94xx_task.c scb->ata_task.fis.flags |= 0x80; /* C=1: update ATA cmd reg */ fis 371 drivers/scsi/aic94xx/aic94xx_task.c scb->ata_task.fis.flags &= 0xF0; /* PM_PORT field shall be 0 */ fis 481 drivers/scsi/hisi_sas/hisi_sas.h struct dev_to_host_fis fis; fis 564 drivers/scsi/hisi_sas/hisi_sas.h extern u8 hisi_sas_get_ata_protocol(struct host_to_dev_fis *fis, fis 26 drivers/scsi/hisi_sas/hisi_sas_main.c u8 hisi_sas_get_ata_protocol(struct host_to_dev_fis *fis, int direction) fis 28 drivers/scsi/hisi_sas/hisi_sas_main.c switch (fis->command) { fis 81 drivers/scsi/hisi_sas/hisi_sas_main.c switch (fis->features) { fis 1201 drivers/scsi/hisi_sas/hisi_sas_main.c memcpy(&task->ata_task.fis, parameter, para_len); fis 1297 drivers/scsi/hisi_sas/hisi_sas_main.c bool reset, int pmp, u8 *fis) fis 1307 drivers/scsi/hisi_sas/hisi_sas_main.c ata_tf_to_fis(&tf, pmp, 0, fis); fis 1312 drivers/scsi/hisi_sas/hisi_sas_main.c u8 fis[20] = {0}; fis 1323 drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_fill_ata_reset_cmd(link->device, 1, pmp, fis); fis 1324 drivers/scsi/hisi_sas/hisi_sas_main.c rc = hisi_sas_exec_internal_tmf_task(device, fis, s, NULL); fis 1333 drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_fill_ata_reset_cmd(link->device, 0, pmp, fis); fis 1334 drivers/scsi/hisi_sas/hisi_sas_main.c rc = hisi_sas_exec_internal_tmf_task(device, fis, fis 1463 drivers/scsi/hisi_sas/hisi_sas_main.c u8 fis[20] = {0}; fis 1475 drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_fill_ata_reset_cmd(link->device, 1, pmp, fis); fis 1476 drivers/scsi/hisi_sas/hisi_sas_main.c rc = hisi_sas_exec_internal_tmf_task(device, fis, s, fis 2526 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c if ((task->ata_task.fis.command == ATA_CMD_DEV_RESET) && fis 2527 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c (task->ata_task.fis.control & ATA_SRST)) fis 2531 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c &task->ata_task.fis, task->data_dir)) fis 2541 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); fis 2563 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c task->ata_task.fis.flags |= 0x80; /* C=1: update ATA cmd reg */ fis 2565 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c memcpy(buf_cmd, &task->ata_task.fis, sizeof(struct host_to_dev_fis)); fis 3199 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c struct dev_to_host_fis *fis; fis 3210 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c fis = &initial_fis->fis; fis 3228 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c if (fis->status & ATA_ERR) { fis 3230 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c fis->status); fis 3268 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c memcpy(sas_phy->frame_rcvd, fis, sizeof(struct dev_to_host_fis)); fis 473 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c #define FIS_CMD_IS_UNCONSTRAINED(fis) \ fis 474 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ((fis.command == ATA_CMD_READ_LOG_EXT) || \ fis 475 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c (fis.command == ATA_CMD_READ_LOG_DMA_EXT) || \ fis 476 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ((fis.command == ATA_CMD_DEV_RESET) && \ fis 477 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c ((fis.control & ATA_SRST) != 0))) fis 1362 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c if ((task->ata_task.fis.command == ATA_CMD_DEV_RESET) && fis 1363 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c (task->ata_task.fis.control & ATA_SRST)) fis 1367 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c &task->ata_task.fis, task->data_dir)) fis 1371 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c if (FIS_CMD_IS_UNCONSTRAINED(task->ata_task.fis)) fis 1381 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); fis 1403 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c task->ata_task.fis.flags |= 0x80; /* C=1: update ATA cmd reg */ fis 1405 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c memcpy(buf_cmd, &task->ata_task.fis, sizeof(struct host_to_dev_fis)); fis 1465 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c struct dev_to_host_fis *fis; fis 1471 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c fis = &initial_fis->fis; fis 1474 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c if (fis->status & ATA_ERR) { fis 1476 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c phy_no, fis->status); fis 1489 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c memcpy(sas_phy->frame_rcvd, fis, fis 1038 drivers/scsi/isci/phy.c sci_controller_copy_sata_response(&iphy->frame_rcvd.fis, fis 102 drivers/scsi/isci/phy.h struct dev_to_host_fis fis; fis 698 drivers/scsi/isci/request.c task->ata_task.fis.command == ATA_CMD_PACKET) { fis 2717 drivers/scsi/isci/request.c static void isci_process_stp_response(struct sas_task *task, struct dev_to_host_fis *fis) fis 2722 drivers/scsi/isci/request.c resp->frame_len = sizeof(*fis); fis 2723 drivers/scsi/isci/request.c memcpy(resp->ending_fis, fis, sizeof(*fis)); fis 2727 drivers/scsi/isci/request.c if (ac_err_mask(fis->status)) fis 2984 drivers/scsi/isci/request.c task->ata_task.fis.command == ATA_CMD_PACKET) { fis 3155 drivers/scsi/isci/request.c struct host_to_dev_fis *fis = &ireq->stp.cmd; fis 3164 drivers/scsi/isci/request.c memcpy(fis, &task->ata_task.fis, sizeof(struct host_to_dev_fis)); fis 3166 drivers/scsi/isci/request.c fis->flags |= 0x80; fis 3167 drivers/scsi/isci/request.c fis->flags &= 0xF0; fis 3176 drivers/scsi/isci/request.c fis->sector_count = qc->tag << 3; fis 306 drivers/scsi/isci/request.h task->ata_task.fis.command == ATA_CMD_READ_LOG_EXT && fis 307 drivers/scsi/isci/request.h task->ata_task.fis.lbal == ATA_LOG_SATA_NCQ); fis 128 drivers/scsi/libsas/sas_ata.c memcpy(dev->sata_dev.fis, resp->ending_fis, ATA_RESP_FIS_SIZE); fis 131 drivers/scsi/libsas/sas_ata.c qc->err_mask |= ac_err_mask(dev->sata_dev.fis[2]); fis 133 drivers/scsi/libsas/sas_ata.c link->eh_info.err_mask |= ac_err_mask(dev->sata_dev.fis[2]); fis 149 drivers/scsi/libsas/sas_ata.c dev->sata_dev.fis[3] = 0x04; /* status err */ fis 150 drivers/scsi/libsas/sas_ata.c dev->sata_dev.fis[2] = ATA_ERR; fis 197 drivers/scsi/libsas/sas_ata.c ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, (u8 *)&task->ata_task.fis); fis 243 drivers/scsi/libsas/sas_ata.c ata_tf_from_fis(dev->sata_dev.fis, &qc->result_tf); fis 275 drivers/scsi/libsas/sas_ata.c memcpy(dev->frame_rcvd, &dev->sata_dev.rps_resp.rps.fis, fis 602 drivers/scsi/libsas/sas_ata.c struct dev_to_host_fis *fis = fis 609 drivers/scsi/libsas/sas_ata.c ata_tf_from_fis((const u8 *)fis, &tf); fis 75 drivers/scsi/libsas/sas_discover.c struct dev_to_host_fis *fis = fis 77 drivers/scsi/libsas/sas_discover.c if (fis->interrupt_reason == 1 && fis->lbal == 1 && fis 78 drivers/scsi/libsas/sas_discover.c fis->byte_count_low==0x69 && fis->byte_count_high == 0x96 fis 79 drivers/scsi/libsas/sas_discover.c && (fis->device & ~0x10) == 0) fis 141 drivers/scsi/libsas/sas_host_smp.c struct dev_to_host_fis *fis; fis 155 drivers/scsi/libsas/sas_host_smp.c fis = (struct dev_to_host_fis *) fis 166 drivers/scsi/libsas/sas_host_smp.c if (fis->fis_type != 0x34) fis 1992 drivers/scsi/megaraid/megaraid_sas.h __le16 fis[10]; /*18h */ fis 467 drivers/scsi/mvsas/mv_sas.c if (task->ata_task.fis.command != ATA_CMD_ID_ATAPI) fis 474 drivers/scsi/mvsas/mv_sas.c task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); fis 530 drivers/scsi/mvsas/mv_sas.c task->ata_task.fis.flags |= 0x80; /* C=1: update ATA cmd reg */ fis 532 drivers/scsi/mvsas/mv_sas.c memcpy(buf_cmd, &task->ata_task.fis, sizeof(struct host_to_dev_fis)); fis 1775 drivers/scsi/pm8001/pm8001_hwi.c struct host_to_dev_fis fis; fis 1822 drivers/scsi/pm8001/pm8001_hwi.c memset(&fis, 0, sizeof(struct host_to_dev_fis)); fis 1823 drivers/scsi/pm8001/pm8001_hwi.c fis.fis_type = 0x27; fis 1824 drivers/scsi/pm8001/pm8001_hwi.c fis.flags = 0x80; fis 1825 drivers/scsi/pm8001/pm8001_hwi.c fis.command = ATA_CMD_READ_LOG_EXT; fis 1826 drivers/scsi/pm8001/pm8001_hwi.c fis.lbal = 0x10; fis 1827 drivers/scsi/pm8001/pm8001_hwi.c fis.sector_count = 0x1; fis 1832 drivers/scsi/pm8001/pm8001_hwi.c memcpy(&sata_cmd.sata_fis, &fis, sizeof(struct host_to_dev_fis)); fis 4395 drivers/scsi/pm8001/pm8001_hwi.c task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); fis 4404 drivers/scsi/pm8001/pm8001_hwi.c sata_cmd.sata_fis = task->ata_task.fis; fis 1461 drivers/scsi/pm8001/pm80xx_hwi.c struct host_to_dev_fis fis; fis 1510 drivers/scsi/pm8001/pm80xx_hwi.c memset(&fis, 0, sizeof(struct host_to_dev_fis)); fis 1511 drivers/scsi/pm8001/pm80xx_hwi.c fis.fis_type = 0x27; fis 1512 drivers/scsi/pm8001/pm80xx_hwi.c fis.flags = 0x80; fis 1513 drivers/scsi/pm8001/pm80xx_hwi.c fis.command = ATA_CMD_READ_LOG_EXT; fis 1514 drivers/scsi/pm8001/pm80xx_hwi.c fis.lbal = 0x10; fis 1515 drivers/scsi/pm8001/pm80xx_hwi.c fis.sector_count = 0x1; fis 1520 drivers/scsi/pm8001/pm80xx_hwi.c memcpy(&sata_cmd.sata_fis, &fis, sizeof(struct host_to_dev_fis)); fis 4024 drivers/scsi/pm8001/pm80xx_hwi.c switch (task->ata_task.fis.command) { fis 4249 drivers/scsi/pm8001/pm80xx_hwi.c task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); fis 4257 drivers/scsi/pm8001/pm80xx_hwi.c sata_cmd.sata_fis = task->ata_task.fis; fis 1151 include/linux/libata.h u8 pmp, int is_cmd, u8 *fis); fis 1152 include/linux/libata.h extern void ata_tf_from_fis(const u8 *fis, struct ata_taskfile *tf); fis 149 include/scsi/libsas.h u8 fis[ATA_RESP_FIS_SIZE]; fis 542 include/scsi/libsas.h struct host_to_dev_fis fis; fis 454 include/scsi/sas.h struct dev_to_host_fis fis; fis 685 include/scsi/sas.h struct dev_to_host_fis fis;