/freebsd/sys/dev/pms/RefTisa/sat/src/ |
H A D | smsat.c | 406 &smIORequestBody->transport.SATA.agSATARequestBody.fis.fisRegHostToDev; in smSuperIOStart() 516 &smIORequestBody->transport.SATA.agSATARequestBody.fis.fisRegHostToDev; in smIOStart() 834 /* allocate any fis for seting SRT bit in device control */ in smsatStartCheckPowerMode() 910 /* allocate any fis for seting SRT bit in device control */ in smsatStartResetDevice() 1139 &(smIORequestBody->transport.SATA.agSATARequestBody.fis.fisRegHostToDev); in smsatTaskManagement() 1984 …satNewIOContext->pFis = &(smNewIORequestBody->transport.SATA.agSATARequestBody.fis.fisReg… in smsatPrepareNewIO() 2819 pInquiry[36] = 0x34; /* FIS type */ in smsatInquiryPage89() 3185 …satIOContext->pFis = &(smIORequestBody->transport.SATA.agSATARequestBody.fis.fisRegHostTo… in smIDStart() 3254 …satNewIOContext->pFis = &(smIORequestBody->transport.SATA.agSATARequestBody.fis.fisRegHos… in smsatIDSubStart() 3315 agsaFisRegHostToDevice_t *fis; in smsatIDStart() local [all …]
|
/freebsd/sys/dev/pms/RefTisa/tisa/sassata/sata/host/ |
H A D | sat.c | 722 * SAT implementation for ATAPI Packet and send FIS request to LL layer. 748 agsaFisRegHostToDevice_t *fis; in satPacket() local 752 fis = satIOContext->pFis; in satPacket() 759 fis->h.fisType = 0x27; /* Reg host to device */ in satPacket() 760 fis->h.c_pmPort = 0x80; /* C Bit is set 1*/ in satPacket() 761 fis->h.command = SAT_PACKET; /* 0xA0 */ in satPacket() 764 …fis->h.features = (tiScsiRequest->dataDirection == tiDirectionIn)? 0x04 : 0; /* 1 for D2H, 0 fo… in satPacket() 768 fis->h.features = 0; /* FIS reserve */ in satPacket() 773 fis->d.lbaMid = 0xFF; /* FIS LBA (7 :0 ) */ in satPacket() 774 fis->d.lbaHigh = 0xFF; /* FIS LBA (15:8 ) */ in satPacket() [all …]
|
H A D | ossasat.c | 90 * \param agFirstDword:Pointer to the four bytes of FIS. 91 * \param agIOInfoLen: Length in bytes of overrun/underrun residual or FIS 350 * \param agFirstDword:Pointer to the four bytes of FIS. 351 * \param agIOInfoLen: Length in bytes of overrun/underrun residual or FIS 558 * \param agFirstDword:Pointer to the four bytes of FIS. 559 * \param agIOInfoLen: Length in bytes of overrun/underrun residual or FIS 653 * \param agFirstDword:Pointer to the four bytes of FIS. 654 * \param agIOInfoLen: Length in bytes of overrun/underrun residual or FIS 776 * \param agFirstDword:Pointer to the four bytes of FIS. 777 * \param agIOInfoLen: Length in bytes of overrun/underrun residual or FIS [all …]
|
/freebsd/sys/dev/ata/ |
H A D | ata-sata.c | 244 ata_request2fis_h2d(struct ata_request *request, u_int8_t *fis) in ata_request2fis_h2d() argument 248 fis[0] = 0x27; /* host to device */ in ata_request2fis_h2d() 249 fis[1] = 0x80 | (request->unit & 0x0f); in ata_request2fis_h2d() 250 fis[2] = ATA_PACKET_CMD; in ata_request2fis_h2d() 252 fis[3] = ATA_F_DMA; in ata_request2fis_h2d() 254 fis[5] = request->transfersize; in ata_request2fis_h2d() 255 fis[6] = request->transfersize >> 8; in ata_request2fis_h2d() 257 fis[7] = ATA_D_LBA; in ata_request2fis_h2d() 258 fis[15] = ATA_A_4BIT; in ata_request2fis_h2d() 262 fis[0] = 0x27; /* host to device */ in ata_request2fis_h2d() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mtd/partitions/ |
H A D | redboot-fis.yaml | 4 $id: http://devicetree.org/schemas/mtd/partitions/redboot-fis.yaml# 7 title: RedBoot FLASH Image System (FIS) Partitions 9 description: The FLASH Image System (FIS) directory is a flash description 23 const: redboot-fis 25 fis-index-block: 27 description: a index to the eraseblock containing the FIS directory on this 37 - fis-index-block 45 compatible = "redboot-fis"; 46 fis-index-block = <0>;
|
H A D | redboot-fis.txt | 1 RedBoot FLASH Image System (FIS) Partitions 4 The FLASH Image System (FIS) directory is a flash description 14 - compatible : (required) must be "redboot-fis" 15 - fis-index-block : (required) a index to the eraseblock containing 16 the FIS directory on this device. On a flash memory with 32KB 24 compatible = "redboot-fis"; 25 fis-index-block = <0>;
|
/freebsd/sys/dev/isci/scil/ |
H A D | intel_sata.h | 68 * @name SATA FIS Types 70 * These constants depict the various SATA FIS types devined in the serial ATA 89 * @brief This is the common definition for a SATA FIS Header word. A 90 * different header word is defined for any FIS type that does not use 109 * @brief This is the definition for a SATA Host to Device Register FIS. 137 * @brief SATA Device To Host FIS 170 * @brief SATA Set Device Bits FIS 188 * @brief SATA DMA Activate FIS 208 * @brief SATA DMA Setup FIS 230 * @brief SATA BIST Activate FIS [all …]
|
H A D | scic_sds_stp_packet_request.c | 78 * @brief This method will fill in the SCU Task Context for a PACKET fis. And 97 // need to make change to Packet Fis features field. in scic_sds_stp_packet_request_construct() 102 // Build the Packet Fis task context structure in scic_sds_stp_packet_request_construct() 208 * @brief This method will fill in the SCU Task Context for a DATA fis 210 * fis was already there, we only need to change the H2D fis content. 242 *@brief This methods decode the D2H status FIS and retrieve the sense data, 245 *@param[in] this_request The request receive D2H status FIS. 246 *@param[in] status_fis The D2H status fis to be processed. 256 //TODO: Process the error status fis, retrieve sense data. in scic_sds_stp_packet_request_process_status_fis() 308 * to determine if the Packet FIS was sent successfully. If the Packet [all …]
|
H A D | sati.h | 97 * ATA register FIS into which the translator can write the 126 * ATA register FIS into which the translator can write the 145 * into a corresponding ATA command/control FIS. 158 * ATA register FIS into which the translator can write the 188 * ATA IO request (e.g. register FIS, PIO Setup etc.) from which 215 * ATA IO request (e.g. register FIS, PIO Setup etc.) from which
|
H A D | scic_sds_phy.h | 75 * This is the timeout value for the SATA phy to wait for a SIGNATURE FIS 78 * issue its signature FIS as a result of a soft reset. Now we see that 138 * Wait state for the SIGNATURE FIS unsolicited frame notification 243 * IAF exchange/Signature FIS reception). 265 * when a signature FIS timeout has occurred. The signature FIS is the 266 * first FIS sent by an attached SATA device after OOB/SN.
|
H A D | scic_sds_stp_request.c | 85 * This macro returns the address of the stp h2d reg fis buffer in the io 302 // Set the first word of the H2D REG FIS in scu_sata_reqeust_construct_task_context() 789 * for the transmission of the H2D register FIS containing the SATA/STP 844 * for a device to host register FIS. If a non-register FIS is received 1051 // Recycle the TC and reconstruct it for sending out DATA FIS containing in scic_sds_stp_request_pio_data_out_trasmit_data_frame() 1122 …//recycle the TC and send the H2D Data FIS from (current sgl + sgl_offset) and length = remaining_… in scic_sds_stp_request_pio_data_out_transmit_data() 1132 …//recycle the TC and send the H2D Data FIS from (current sgl + sgl_offset) and length = type.pio.p… in scic_sds_stp_request_pio_data_out_transmit_data() 1459 // Now why is the drive sending a D2H Register FIS when it is still busy? in scic_sds_stp_request_pio_await_frame_frame_handler() 1464 "SCIC PIO Request 0x%x received D2H Register FIS with BSY status 0x%x\n", in scic_sds_stp_request_pio_await_frame_frame_handler() 1592 … "SCIC PIO Request 0x%x received frame %d with fis type 0x%02x when expecting a data fis.\n", in scic_sds_stp_request_pio_data_in_await_data_frame_handler() [all …]
|
H A D | scic_sds_stp_request.h | 107 * PIO Setup ending status value to tell us if we need to wait for another FIS 108 * or if the transfer is complete. On the receipt of a D2H FIS this will be 109 * the status field of that FIS. 114 * On receipt of a D2H FIS this will be the ending error field if the
|
H A D | sati_atapi.h | 81 * ATA Packet FIS into which the translator can write the resultant 112 * ATAPI IO request (e.g. register FIS, PIO Setup etc.) from which 141 * ATAPI IO request (e.g. register FIS, PIO Setup etc.) from which 166 * ATAPI IO request (e.g. register FIS, PIO Setup etc.) from which
|
H A D | sati_move.c | 106 * CDB into the appropriate amount in the ATA register FIS. Please 143 * supplied sector_count parameter into the ATA register FIS. 183 * CDB into the appropriate amount in the ATA register FIS. 214 * in a register FIS. This method works for both 8-bit and 16-bit sector 245 // Check the CDB transfer length count and set the register FIS sector in sati_move_set_sector_count() 282 * file (register FIS). 308 * file (register FIS). The 2 most significant bytes must be 0, 598 * to be written to the ATA task file (register FIS) device
|
H A D | scic_sds_stp_pio_request.h | 82 * notification for the H2D Register FIS 88 * FIS or a D2H register FIS. The type of frame received is based on the
|
/freebsd/sys/dev/mvs/ |
H A D | mvs.h | 137 * during FIS reception. 139 #define EDMA_IE_LINKTXERR_FISTXABORTED (1 << 4) /* FIS Tx is aborted */ 357 #define SATA_FISC 0x360 /* FIS Configuration */ 358 #define SATA_FISC_FISWAIT4RDYEN_B0 (1 << 0) /* Device to Host FIS */ 359 #define SATA_FISC_FISWAIT4RDYEN_B1 (1 << 1) /* SDB FIS rcv with <N>bit 0 */ 360 #define SATA_FISC_FISWAIT4RDYEN_B2 (1 << 2) /* DMA Activate FIS */ 361 #define SATA_FISC_FISWAIT4RDYEN_B3 (1 << 3) /* DMA Setup FIS */ 362 #define SATA_FISC_FISWAIT4RDYEN_B4 (1 << 4) /* Data FIS first DW */ 363 #define SATA_FISC_FISWAIT4RDYEN_B5 (1 << 5) /* Data FIS entire FIS */ 365 /* Device to Host FIS with <ERR> or <DF> */ [all …]
|
/freebsd/usr.sbin/bhyve/ |
H A D | pci_ahci.c | 70 FIS_TYPE_REGH2D = 0x27, /* Register FIS - host to device */ 71 FIS_TYPE_REGD2H = 0x34, /* Register FIS - device to host */ 72 FIS_TYPE_DMAACT = 0x39, /* DMA activate FIS - device to host */ 73 FIS_TYPE_DMASETUP = 0x41, /* DMA setup FIS - bidirectional */ 74 FIS_TYPE_DATA = 0x46, /* Data FIS - bidirectional */ 75 FIS_TYPE_BIST = 0x58, /* BIST activate FIS - bidirectional */ 76 FIS_TYPE_PIOSETUP = 0x5F, /* PIO setup FIS - device to host */ 77 FIS_TYPE_SETDEVBITS = 0xA1, /* Set dev bits FIS - device to host */ 323 ahci_write_fis(struct ahci_port *p, enum sata_fis_type ft, uint8_t *fis) in ahci_write_fis() argument 334 irq = (fis[1] & (1 << 6)) ? AHCI_P_IX_DHR : 0; in ahci_write_fis() [all …]
|
/freebsd/sys/dev/ahci/ |
H A D | ahci.c | 1103 /* FIS receive area. */ in ahci_dmainit() 1394 u_int8_t *fis = ch->dma.rfis + 0x58; in ahci_ch_intr_main() local 1397 if (fis[1] & 0x80) { in ahci_ch_intr_main() 1398 fis[1] &= 0x7f; in ahci_ch_intr_main() 1401 fis += 256; in ahci_ch_intr_main() 1404 u_int8_t *fis = ch->dma.rfis + 0x58; in ahci_ch_intr_main() local 1406 if (fis[1] & 0x80) in ahci_ch_intr_main() 1407 sntf = (1 << (fis[1] & 0x0f)); in ahci_ch_intr_main() 1671 uint8_t *fis = ch->dma.rfis + 0x40; in ahci_execute_transaction() local 1677 /* Setup the FIS for this request */ in ahci_execute_transaction() [all …]
|
/freebsd/sys/powerpc/mpc85xx/ |
H A D | fsl_sata.c | 1003 /* Setup the FIS for this request */ in fsl_sata_execute_transaction() 1005 device_printf(ch->dev, "Setting up SATA FIS failed\n"); in fsl_sata_execute_transaction() 1020 /* Prepare FIS receive area for check. */ in fsl_sata_execute_transaction() 1192 uint8_t *fis = ctp->sfis; in fsl_sata_end_transaction() local 1194 res->status = fis[2]; in fsl_sata_end_transaction() 1195 res->error = fis[3]; in fsl_sata_end_transaction() 1196 res->lba_low = fis[4]; in fsl_sata_end_transaction() 1197 res->lba_mid = fis[5]; in fsl_sata_end_transaction() 1198 res->lba_high = fis[6]; in fsl_sata_end_transaction() 1199 res->device = fis[7]; in fsl_sata_end_transaction() [all …]
|
/freebsd/sys/dev/siis/ |
H A D | siis.c | 1103 /* Setup the FIS for this request */ in siis_execute_transaction() 1105 device_printf(ch->dev, "Setting up SATA FIS failed\n"); in siis_execute_transaction() 1689 u_int8_t *fis = &ctp->fis[0]; in siis_setup_fis() local 1691 bzero(fis, 24); in siis_setup_fis() 1692 fis[0] = 0x27; /* host to device */ in siis_setup_fis() 1693 fis[1] = (ccb->ccb_h.target_id & 0x0f); in siis_setup_fis() 1695 fis[1] |= 0x80; in siis_setup_fis() 1696 fis[2] = ATA_PACKET_CMD; in siis_setup_fis() 1699 fis[3] = ATA_F_DMA; in siis_setup_fis() 1701 fis[5] = ccb->csio.dxfer_len; in siis_setup_fis() [all …]
|
/freebsd/sys/dev/pms/RefTisa/sallsdk/api/ |
H A D | sa_spec.h | 157 /** \brief Structure for SATA BIST FIS 159 * The agsaFisBIST_t data structure describes a SATA FIS (Frame Information Structures) 160 * for FIS type BIST (Built In Self Test) Activate Bidirectional. 184 /* b3-b0 PM Port. device port address that the PM should deliver the FIS to */ 279 /** \brief Structure for SATA Device to Host Register FIS 281 * The agsaFisRegDeviceToHost_t data structure describes a SATA FIS (Frame Information 282 * Structures) for FIS type Register Device to Host. 327 /** \brief Structure for SATA Host to Device Register FIS 329 * The agsaFisRegHostToDevice_t data structure describes a SATA FIS 330 * (Frame Information Structures) for FIS type Register Host to Device. [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/intel/ixp/ |
H A D | intel-ixp42x-adi-coyote.dts | 51 compatible = "redboot-fis"; 52 /* CHECKME: guess this is Redboot FIS */ 53 fis-index-block = <0x1ff>;
|
H A D | intel-ixp42x-ixdpg425.dts | 56 compatible = "redboot-fis"; 57 /* CHECKME: guess this is Redboot FIS */ 58 fis-index-block = <0x7f>;
|
H A D | intel-ixp46x-ixdp465.dts | 30 compatible = "redboot-fis"; 32 fis-index-block = <0xff>;
|
/freebsd/sys/dev/pms/RefTisa/discovery/dm/ |
H A D | dmsmp.c | 1219 agsaFisRegDeviceToHost_t *fis; in dmReportPhySataRcvd() local 1299 fis = (agsaFisRegDeviceToHost_t*) &SMPreportPhySataResp.regDevToHostFis; in dmReportPhySataRcvd() 1300 if (fis->h.fisType == REG_DEV_TO_HOST_FIS) in dmReportPhySataRcvd() 1305 SataDevice->satSignature[0] = fis->d.sectorCount; in dmReportPhySataRcvd() 1306 SataDevice->satSignature[1] = fis->d.lbaLow; in dmReportPhySataRcvd() 1307 SataDevice->satSignature[2] = fis->d.lbaMid; in dmReportPhySataRcvd() 1308 SataDevice->satSignature[3] = fis->d.lbaHigh; in dmReportPhySataRcvd() 1309 SataDevice->satSignature[4] = fis->d.device; in dmReportPhySataRcvd() 1328 /* Handling DataDomain buggy FIS */ in dmReportPhySataRcvd() 1329 else if (fis->h.error == REG_DEV_TO_HOST_FIS) in dmReportPhySataRcvd() [all …]
|