Home
last modified time | relevance | path

Searched refs:fis (Results 1 – 25 of 35) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/block/mtip32xx/
Dmtip32xx.c513 struct host_to_dev_fis *fis; in mtip_handle_tfe() local
609 fis = (struct host_to_dev_fis *)cmd->command; in mtip_handle_tfe()
613 fis->command == ATA_CMD_SET_FEATURES) in mtip_handle_tfe()
618 fis->command == ATA_CMD_FPDMA_WRITE)) { in mtip_handle_tfe()
621 fis->command == ATA_CMD_FPDMA_WRITE ? in mtip_handle_tfe()
844 struct host_to_dev_fis *fis) in mtip_pause_ncq() argument
852 if (fis->command == ATA_CMD_SEC_ERASE_PREP) { in mtip_pause_ncq()
855 } else if ((fis->command == ATA_CMD_DOWNLOAD_MICRO) && in mtip_pause_ncq()
856 (fis->features == 0x03)) { in mtip_pause_ncq()
860 } else if ((fis->command == ATA_CMD_SEC_ERASE_UNIT) || in mtip_pause_ncq()
[all …]
/kernel/linux/linux-5.10/drivers/ata/
Dlibata-sata.c149 void ata_tf_to_fis(const struct ata_taskfile *tf, u8 pmp, int is_cmd, u8 *fis) in ata_tf_to_fis() argument
151 fis[0] = 0x27; /* Register - Host to Device FIS */ in ata_tf_to_fis()
152 fis[1] = pmp & 0xf; /* Port multiplier number*/ in ata_tf_to_fis()
154 fis[1] |= (1 << 7); /* bit 7 indicates Command FIS */ in ata_tf_to_fis()
156 fis[2] = tf->command; in ata_tf_to_fis()
157 fis[3] = tf->feature; in ata_tf_to_fis()
159 fis[4] = tf->lbal; in ata_tf_to_fis()
160 fis[5] = tf->lbam; in ata_tf_to_fis()
161 fis[6] = tf->lbah; in ata_tf_to_fis()
162 fis[7] = tf->device; in ata_tf_to_fis()
[all …]
Dsata_nv.c325 static void nv_swncq_irq_clear(struct ata_port *ap, u16 fis);
1741 static void nv_swncq_irq_clear(struct ata_port *ap, u16 fis) in nv_swncq_irq_clear() argument
1745 writew(fis, pp->irq_block); in nv_swncq_irq_clear()
2048 static void nv_swncq_hotplug(struct ata_port *ap, u32 fis) in nv_swncq_hotplug() argument
2060 if (fis & NV_SWNCQ_IRQ_ADDED) in nv_swncq_hotplug()
2062 else if (fis & NV_SWNCQ_IRQ_REMOVED) in nv_swncq_hotplug()
2187 static void nv_swncq_host_interrupt(struct ata_port *ap, u16 fis) in nv_swncq_host_interrupt() argument
2196 nv_swncq_irq_clear(ap, fis); in nv_swncq_host_interrupt()
2197 if (!fis) in nv_swncq_host_interrupt()
2203 if (fis & NV_SWNCQ_IRQ_HOTPLUG) { in nv_swncq_host_interrupt()
[all …]
Dsata_sil24.c33 u8 fis[6 * 4]; member
483 u8 fis[6 * 4]; in sil24_read_tf() local
486 memcpy_fromio(fis, prb->fis, sizeof(fis)); in sil24_read_tf()
487 ata_tf_from_fis(fis, tf); in sil24_read_tf()
607 ata_tf_to_fis(tf, pmp, is_cmd, prb->fis); in sil24_exec_polled_cmd()
873 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, prb->fis); in sil24_qc_prep()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mtd/partitions/
Dredboot-fis.txt14 - compatible : (required) must be "redboot-fis"
15 - fis-index-block : (required) a index to the eraseblock containing
24 compatible = "redboot-fis";
25 fis-index-block = <0>;
/kernel/linux/linux-5.10/Documentation/arm/sa1100/
Dassabet.rst77 fis init -f
99 fis create "Linux kernel" -b 0x100000 -l 0xc0000
115 fis load "Linux kernel"
149 fis free
153 RedBoot> fis free
168 fis unlock -f 0x500E0000 -l 0x2e0000
169 fis erase -f 0x500E0000 -l 0x2e0000
170 fis write -b 0x100000 -l 0x277424 -f 0x500E0000
171 fis create "JFFS2" -n -f 0x500E0000 -l 0x2e0000
174 what they are in the boot process. From Redboot, the 'fis list' command
[all …]
/kernel/linux/linux-5.10/drivers/scsi/libsas/
Dsas_ata.c128 memcpy(dev->sata_dev.fis, resp->ending_fis, ATA_RESP_FIS_SIZE); in sas_ata_task_done()
131 qc->err_mask |= ac_err_mask(dev->sata_dev.fis[2]); in sas_ata_task_done()
133 link->eh_info.err_mask |= ac_err_mask(dev->sata_dev.fis[2]); in sas_ata_task_done()
149 dev->sata_dev.fis[3] = 0x04; /* status err */ in sas_ata_task_done()
150 dev->sata_dev.fis[2] = ATA_ERR; in sas_ata_task_done()
198 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, (u8 *)&task->ata_task.fis); in sas_ata_qc_issue()
246 ata_tf_from_fis(dev->sata_dev.fis, &qc->result_tf); in sas_ata_qc_fill_rtf()
278 memcpy(dev->frame_rcvd, &dev->sata_dev.rps_resp.rps.fis, in sas_get_ata_info()
618 struct dev_to_host_fis *fis = in sas_get_ata_command_set() local
625 ata_tf_from_fis((const u8 *)fis, &tf); in sas_get_ata_command_set()
Dsas_discover.c75 struct dev_to_host_fis *fis = in sas_get_port_device() local
77 if (fis->interrupt_reason == 1 && fis->lbal == 1 && in sas_get_port_device()
78 fis->byte_count_low==0x69 && fis->byte_count_high == 0x96 in sas_get_port_device()
79 && (fis->device & ~0x10) == 0) in sas_get_port_device()
Dsas_host_smp.c141 struct dev_to_host_fis *fis; in sas_report_phy_sata() local
155 fis = (struct dev_to_host_fis *) in sas_report_phy_sata()
166 if (fis->fis_type != 0x34) in sas_report_phy_sata()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dintel-ixp43x-gateworks-gw2358.dts89 compatible = "redboot-fis";
91 fis-index-block = <0xff>;
Dintel-ixp42x-linksys-nslu2.dts104 compatible = "redboot-fis";
106 fis-index-block = <0x3f>;
Dgemini-nas4220b.dts85 compatible = "redboot-fis";
87 fis-index-block = <0x7f>;
Dgemini-sq201.dts135 compatible = "redboot-fis";
137 fis-index-block = <0x1fc>;
Dgemini-sl93512r.dts147 compatible = "redboot-fis";
149 fis-index-block = <0x1fc>;
/kernel/linux/linux-5.10/drivers/scsi/isci/
Drequest.h306 task->ata_task.fis.command == ATA_CMD_READ_LOG_EXT && in isci_task_is_ncq_recovery()
307 task->ata_task.fis.lbal == ATA_LOG_SATA_NCQ); in isci_task_is_ncq_recovery()
Drequest.c698 task->ata_task.fis.command == ATA_CMD_PACKET) { in sci_io_request_construct_sata()
2717 static void isci_process_stp_response(struct sas_task *task, struct dev_to_host_fis *fis) in isci_process_stp_response() argument
2722 resp->frame_len = sizeof(*fis); in isci_process_stp_response()
2723 memcpy(resp->ending_fis, fis, sizeof(*fis)); in isci_process_stp_response()
2727 if (ac_err_mask(fis->status)) in isci_process_stp_response()
2984 task->ata_task.fis.command == ATA_CMD_PACKET) { in sci_request_started_state_enter()
3155 struct host_to_dev_fis *fis = &ireq->stp.cmd; in isci_request_stp_request_construct() local
3164 memcpy(fis, &task->ata_task.fis, sizeof(struct host_to_dev_fis)); in isci_request_stp_request_construct()
3166 fis->flags |= 0x80; in isci_request_stp_request_construct()
3167 fis->flags &= 0xF0; in isci_request_stp_request_construct()
[all …]
Dphy.h102 struct dev_to_host_fis fis; member
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/
Daic94xx_task.c368 scb->ata_task.fis = task->ata_task.fis; in asd_build_ata_ascb()
370 scb->ata_task.fis.flags |= 0x80; /* C=1: update ATA cmd reg */ in asd_build_ata_ascb()
371 scb->ata_task.fis.flags &= 0xF0; /* PM_PORT field shall be 0 */ in asd_build_ata_ascb()
Daic94xx_dev.c128 struct dev_to_host_fis *fis = (struct dev_to_host_fis *) in asd_init_sata() local
130 asd_ddbsite_write_byte(asd_ha, ddb, SATA_STATUS, fis->status); in asd_init_sata()
Daic94xx_sas.h346 struct host_to_dev_fis fis; member
411 struct host_to_dev_fis fis; member
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
Dhisi_sas_v3_hw.c476 #define FIS_CMD_IS_UNCONSTRAINED(fis) \ argument
477 ((fis.command == ATA_CMD_READ_LOG_EXT) || \
478 (fis.command == ATA_CMD_READ_LOG_DMA_EXT) || \
479 ((fis.command == ATA_CMD_DEV_RESET) && \
480 ((fis.control & ATA_SRST) != 0)))
1392 if ((task->ata_task.fis.command == ATA_CMD_DEV_RESET) && in prep_ata_v3_hw()
1393 (task->ata_task.fis.control & ATA_SRST)) in prep_ata_v3_hw()
1397 &task->ata_task.fis, task->data_dir)) in prep_ata_v3_hw()
1401 if (FIS_CMD_IS_UNCONSTRAINED(task->ata_task.fis)) in prep_ata_v3_hw()
1411 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in prep_ata_v3_hw()
[all …]
Dhisi_sas_v2_hw.c2529 if ((task->ata_task.fis.command == ATA_CMD_DEV_RESET) && in prep_ata_v2_hw()
2530 (task->ata_task.fis.control & ATA_SRST)) in prep_ata_v2_hw()
2534 &task->ata_task.fis, task->data_dir)) in prep_ata_v2_hw()
2544 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in prep_ata_v2_hw()
2566 task->ata_task.fis.flags |= 0x80; /* C=1: update ATA cmd reg */ in prep_ata_v2_hw()
2568 memcpy(buf_cmd, &task->ata_task.fis, sizeof(struct host_to_dev_fis)); in prep_ata_v2_hw()
3201 struct dev_to_host_fis *fis; in sata_int_v2_hw() local
3212 fis = &initial_fis->fis; in sata_int_v2_hw()
3230 if (fis->status & ATA_ERR) { in sata_int_v2_hw()
3232 fis->status); in sata_int_v2_hw()
[all …]
Dhisi_sas_main.c26 u8 hisi_sas_get_ata_protocol(struct host_to_dev_fis *fis, int direction) in hisi_sas_get_ata_protocol() argument
28 switch (fis->command) { in hisi_sas_get_ata_protocol()
81 switch (fis->features) { in hisi_sas_get_ata_protocol()
1215 memcpy(&task->ata_task.fis, parameter, para_len); in hisi_sas_exec_internal_tmf_task()
1311 bool reset, int pmp, u8 *fis) in hisi_sas_fill_ata_reset_cmd() argument
1321 ata_tf_to_fis(&tf, pmp, 0, fis); in hisi_sas_fill_ata_reset_cmd()
1326 u8 fis[20] = {0}; in hisi_sas_softreset_ata_disk() local
1337 hisi_sas_fill_ata_reset_cmd(link->device, 1, pmp, fis); in hisi_sas_softreset_ata_disk()
1338 rc = hisi_sas_exec_internal_tmf_task(device, fis, s, NULL); in hisi_sas_softreset_ata_disk()
1347 hisi_sas_fill_ata_reset_cmd(link->device, 0, pmp, fis); in hisi_sas_softreset_ata_disk()
[all …]
/kernel/linux/linux-5.10/include/scsi/
Dsas.h454 struct dev_to_host_fis fis; member
685 struct dev_to_host_fis fis; member
Dlibsas.h149 u8 fis[ATA_RESP_FIS_SIZE]; member
538 struct host_to_dev_fis fis; member

12