Searched refs:cfis (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/ata/ |
| H A D | fsl_sata.c | 294 static int fsl_ata_exec_ata_cmd(struct fsl_sata *sata, struct sata_fis_h2d *cfis, in fsl_ata_exec_ata_cmd() argument 318 h2d = (sata_fis_h2d_t *)cmd_desc->cfis; in fsl_ata_exec_ata_cmd() 324 h2d->fis_type = cfis->fis_type; in fsl_ata_exec_ata_cmd() 325 h2d->pm_port_c = cfis->pm_port_c; in fsl_ata_exec_ata_cmd() 326 h2d->command = cfis->command; in fsl_ata_exec_ata_cmd() 328 h2d->features = cfis->features; in fsl_ata_exec_ata_cmd() 329 h2d->features_exp = cfis->features_exp; in fsl_ata_exec_ata_cmd() 331 h2d->lba_low = cfis->lba_low; in fsl_ata_exec_ata_cmd() 332 h2d->lba_mid = cfis->lba_mid; in fsl_ata_exec_ata_cmd() 333 h2d->lba_high = cfis->lba_high; in fsl_ata_exec_ata_cmd() [all …]
|
| H A D | sata_mv.c | 569 static int mv_ata_exec_ata_cmd(int port, struct sata_fis_h2d *cfis, in mv_ata_exec_ata_cmd() argument 593 ((cfis->pm_port_c << CRQB_CNTRLFLAGS_PMPORTSHIFT) in mv_ata_exec_ata_cmd() 598 req->ata_cmd_feat = (cfis->command << CRQB_CMDFEAT_CMDSHIFT) & in mv_ata_exec_ata_cmd() 600 req->ata_cmd_feat |= (cfis->features << CRQB_CMDFEAT_FEATSHIFT) & in mv_ata_exec_ata_cmd() 603 req->ata_addr = (cfis->lba_low << CRQB_ADDR_LBA_LOWSHIFT) & in mv_ata_exec_ata_cmd() 605 req->ata_addr |= (cfis->lba_mid << CRQB_ADDR_LBA_MIDSHIFT) & in mv_ata_exec_ata_cmd() 607 req->ata_addr |= (cfis->lba_high << CRQB_ADDR_LBA_HIGHSHIFT) & in mv_ata_exec_ata_cmd() 609 req->ata_addr |= (cfis->device << CRQB_ADDR_DEVICE_SHIFT) & in mv_ata_exec_ata_cmd() 612 req->ata_addr_exp = (cfis->lba_low_exp << CRQB_ADDR_LBA_LOW_EXP_SHIFT) & in mv_ata_exec_ata_cmd() 615 (cfis->lba_mid_exp << CRQB_ADDR_LBA_MID_EXP_SHIFT) & in mv_ata_exec_ata_cmd() [all …]
|
| H A D | dwc_ahsata.c | 370 struct sata_fis_h2d *cfis, u8 *buf, u32 buf_len, in ahci_exec_ata_cmd() argument 391 memcpy((u8 *)(pp->cmd_tbl), cfis, sizeof(struct sata_fis_h2d)); in ahci_exec_ata_cmd() 422 struct sata_fis_h2d *cfis = &h2d; in ahci_set_feature() local 424 memset(cfis, 0, sizeof(struct sata_fis_h2d)); in ahci_set_feature() 425 cfis->fis_type = SATA_FIS_TYPE_REGISTER_H2D; in ahci_set_feature() 426 cfis->pm_port_c = 1 << 7; in ahci_set_feature() 427 cfis->command = ATA_CMD_SET_FEATURES; in ahci_set_feature() 428 cfis->features = SETFEATURES_XFER; in ahci_set_feature() 429 cfis->sector_count = ffs(uc_priv->udma_mask + 1) + 0x3e; in ahci_set_feature() 431 ahci_exec_ata_cmd(uc_priv, port, cfis, NULL, 0, READ_CMD); in ahci_set_feature() [all …]
|
| H A D | fsl_sata.h | 274 u8 cfis[SATA_HC_CMD_DESC_CFIS_SIZE]; member
|
| /OK3568_Linux_fs/kernel/drivers/ata/ |
| H A D | sata_fsl.c | 247 u8 cfis[8 * 4]; member 521 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, (u8 *) &cd->cfis); in sata_fsl_qc_prep() 524 cd->cfis[0], cd->cfis[1], cd->cfis[2]); in sata_fsl_qc_prep() 528 cd->cfis[3], cd->cfis[11]); in sata_fsl_qc_prep() 941 u8 *cfis; in sata_fsl_softreset() local 963 cfis = (u8 *) &pp->cmdentry->cfis; in sata_fsl_softreset() 970 ata_tf_to_fis(&tf, pmp, 0, cfis); in sata_fsl_softreset() 973 cfis[0], cfis[1], cfis[2], cfis[3]); in sata_fsl_softreset() 1019 ata_tf_to_fis(&tf, pmp, 0, cfis); in sata_fsl_softreset()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/arm/ |
| H A D | fas216.c | 940 unsigned int cfis, i; in fas216_reselected_intr() local 949 cfis = fas216_readb(info, REG_CFIS); in fas216_reselected_intr() 952 info->scsi.phase, cfis); in fas216_reselected_intr() 954 cfis &= CFIS_CF; in fas216_reselected_intr() 956 if (cfis < 2 || cfis > 4) { in fas216_reselected_intr() 962 for (i = 0; i < cfis; i++) in fas216_reselected_intr() 974 if (cfis >= 3) { in fas216_reselected_intr() 1041 for (i = 0; i < cfis; i++) in fas216_reselected_intr()
|