Home
last modified time | relevance | path

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

12

/freebsd/sys/dev/pms/RefTisa/tisa/sassata/sata/host/
H A Dsat.c748 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()
764fis->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()
778 fis->d.lbaMid = (bit8)scsiCmnd->expDataLength; /* FIS LBA (7 :0 ) */ in satPacket()
[all …]
/freebsd/sys/dev/pms/RefTisa/sat/src/
H A Dsmsat.c406 &smIORequestBody->transport.SATA.agSATARequestBody.fis.fisRegHostToDev; in smSuperIOStart()
516 &smIORequestBody->transport.SATA.agSATARequestBody.fis.fisRegHostToDev; in smIOStart()
1139 &(smIORequestBody->transport.SATA.agSATARequestBody.fis.fisRegHostToDev); in smsatTaskManagement()
1984 …satNewIOContext->pFis = &(smNewIORequestBody->transport.SATA.agSATARequestBody.fis.fisReg… in smsatPrepareNewIO()
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
3322 fis = satIOContext->pFis; in smsatIDStart()
3328 fis->h.fisType = 0x27; /* Reg host to device */ in smsatIDStart()
3329 fis->h.c_pmPort = 0x80; /* C Bit is set */ in smsatIDStart()
[all …]
/freebsd/sys/dev/ata/
H A Data-sata.c244 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/usr.sbin/bhyve/
H A Dpci_ahci.c323 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()
339 irq = (fis[1] & (1 << 6)) ? AHCI_P_IX_SDB : 0; in ahci_write_fis()
344 irq = (fis[1] & (1 << 6)) ? AHCI_P_IX_PS : 0; in ahci_write_fis()
350 if (fis[2] & ATA_S_ERROR) { in ahci_write_fis()
354 memcpy(p->rfis + offset, fis, len); in ahci_write_fis()
366 uint8_t fis[20]; in ahci_write_fis_piosetup() local
368 memset(fis, 0, sizeof(fis)); in ahci_write_fis_piosetup()
369 fis[0] = FIS_TYPE_PIOSETUP; in ahci_write_fis_piosetup()
370 ahci_write_fis(p, FIS_TYPE_PIOSETUP, fis); in ahci_write_fis_piosetup()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mtd/partitions/
H A 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>;
/freebsd/sys/powerpc/mpc85xx/
H A Dfsl_sata.c1192 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()
1200 res->lba_low_exp = fis[8]; in fsl_sata_end_transaction()
1201 res->lba_mid_exp = fis[9]; in fsl_sata_end_transaction()
1202 res->lba_high_exp = fis[10]; in fsl_sata_end_transaction()
[all …]
/freebsd/sys/dev/ahci/
H A Dahci.c1394 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
1707 fis[i] = 0xff; in ahci_execute_transaction()
1782 val = fis[2]; in ahci_execute_transaction()
[all …]
/freebsd/sys/dev/siis/
H A Dsiis.c1689 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()
1702 fis[6] = ccb->csio.dxfer_len >> 8; in siis_setup_fis()
1704 fis[7] = ATA_D_LBA; in siis_setup_fis()
[all …]
/freebsd/sys/dev/pms/RefTisa/discovery/dm/
H A Ddmsmp.c1219 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()
1329 else if (fis->h.error == REG_DEV_TO_HOST_FIS) in dmReportPhySataRcvd()
1332 bit8fis = (bit8*)fis; in dmReportPhySataRcvd()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/intel/ixp/
H A Dintel-ixp46x-ixdp465.dts30 compatible = "redboot-fis";
32 fis-index-block = <0xff>;
H A Dintel-ixp43x-kixrp435.dts30 compatible = "redboot-fis";
32 fis-index-block = <0x7f>;
H A Dintel-ixp42x-ixdp425.dts34 compatible = "redboot-fis";
36 fis-index-block = <0x7f>;
H A Dintel-ixp42x-gateway-7001.dts48 compatible = "redboot-fis";
50 fis-index-block = <0x3f>;
H A Dintel-ixp42x-netgear-wg302v1.dts50 compatible = "redboot-fis";
51 fis-index-block = <0x3f>;
H A Dintel-ixp42x-adi-coyote.dts51 compatible = "redboot-fis";
53 fis-index-block = <0x1ff>;
H A Dintel-ixp42x-iomega-nas100d.dts104 compatible = "redboot-fis";
106 fis-index-block = <0x3f>;
H A Dintel-ixp42x-ixdpg425.dts56 compatible = "redboot-fis";
58 fis-index-block = <0x7f>;
H A Dintel-ixp42x-dlink-dsm-g600.dts114 compatible = "redboot-fis";
119 fis-index-block = <0x7f>;
/freebsd/sys/contrib/device-tree/src/arm/gemini/
H A Dgemini-ns2502.dts64 compatible = "redboot-fis";
66 fis-index-block = <0x3f>;
H A Dgemini-ssi1328.dts74 compatible = "redboot-fis";
76 fis-index-block = <0x7F>;
H A Dgemini-wbd111.dts91 compatible = "redboot-fis";
93 fis-index-block = <0x3f>;
H A Dgemini-wbd222.dts95 compatible = "redboot-fis";
97 fis-index-block = <0x3f>;
H A Dgemini-nas4220b.dts85 compatible = "redboot-fis";
87 fis-index-block = <0x7f>;
/freebsd/sys/dev/isci/scil/
H A Dscif_sas_stp_io_request.c111 SATA_FIS_REG_H2D_T * fis; in scif_sas_stp_io_request_constructed_start_handler() local
123 fis = scic_stp_io_request_get_h2d_reg_address(fw_io->parent.core_object); in scif_sas_stp_io_request_constructed_start_handler()
124 fis->sector_count = (fw_io->parent.stp.ncq_tag << 3); in scif_sas_stp_io_request_constructed_start_handler()
H A Dscic_sds_stp_packet_request.h155 #define scic_sds_stp_packet_request_process_status_fis(reqeust, fis) SCI_FAILURE argument

12