Searched refs:sata_dev_desc (Results 1 – 7 of 7) sorted by relevance
/external/u-boot/drivers/ata/ |
D | sata.c | 18 struct blk_desc sata_dev_desc[CONFIG_SYS_SATA_MAX_DEVICE]; variable 55 return (dev < CONFIG_SYS_SATA_MAX_DEVICE) ? &sata_dev_desc[dev] : NULL; in sata_get_dev() 93 memset(&sata_dev_desc[i], 0, sizeof(struct blk_desc)); in __sata_initialize() 94 sata_dev_desc[i].if_type = IF_TYPE_SATA; in __sata_initialize() 95 sata_dev_desc[i].devnum = i; in __sata_initialize() 96 sata_dev_desc[i].part_type = PART_TYPE_UNKNOWN; in __sata_initialize() 97 sata_dev_desc[i].type = DEV_TYPE_HARDDISK; in __sata_initialize() 98 sata_dev_desc[i].lba = 0; in __sata_initialize() 99 sata_dev_desc[i].blksz = 512; in __sata_initialize() 100 sata_dev_desc[i].log2blksz = LOG2(sata_dev_desc[i].blksz); in __sata_initialize() [all …]
|
D | sata_mv.c | 283 struct mv_priv *priv = (struct mv_priv *)sata_dev_desc[port].priv; in mv_stop_edma_engine() 304 struct mv_priv *priv = (struct mv_priv *)sata_dev_desc[port].priv; in mv_start_edma_engine() 356 struct mv_priv *priv = (struct mv_priv *)sata_dev_desc[port].priv; in mv_reset_channel() 371 struct mv_priv *priv = (struct mv_priv *)sata_dev_desc[port].priv; in mv_reset_port() 397 struct mv_priv *priv = (struct mv_priv *)sata_dev_desc[port].priv; in probe_port() 460 struct mv_priv *priv = (struct mv_priv *)sata_dev_desc[port].priv; in get_reqip() 471 struct mv_priv *priv = (struct mv_priv *)sata_dev_desc[port].priv; in set_reqip() 490 struct mv_priv *priv = (struct mv_priv *)sata_dev_desc[port].priv; in get_rspip() 502 struct mv_priv *priv = (struct mv_priv *)sata_dev_desc[port].priv; in get_rspop() 519 struct mv_priv *priv = (struct mv_priv *)sata_dev_desc[port].priv; in set_rspop() [all …]
|
D | sata_sil.c | 118 struct sil_sata *sata = sata_dev_desc[dev].priv; in sil_read_fis() 133 struct sil_sata *sata = sata_dev_desc[dev].priv; in sil_exec_cmd() 169 struct sil_sata *sata = sata_dev_desc[dev].priv; in sil_cmd_set_feature() 208 struct sil_sata *sata = sata_dev_desc[dev].priv; in sil_cmd_identify_device() 238 struct sil_sata *sata = sata_dev_desc[dev].priv; in sil_cmd_soft_reset() 269 struct sil_sata *sata = sata_dev_desc[dev].priv; in sil_sata_rw_cmd() 314 struct sil_sata *sata = sata_dev_desc[dev].priv; in sil_sata_rw_cmd_ext() 443 struct sil_sata *sata = sata_dev_desc[dev].priv; in sil_sata_init_wcache() 455 struct sil_sata *sata = sata_dev_desc[dev].priv; in sil_sata_get_wcache() 462 struct sil_sata *sata = sata_dev_desc[dev].priv; in sil_sata_get_flush() [all …]
|
D | fsl_sata.c | 114 sata_dev_desc[dev].priv = (void *)sata; in init_sata() 484 fsl_sata_t *sata = (fsl_sata_t *)sata_dev_desc[dev].priv; in fsl_sata_identify() 499 fsl_sata_t *sata = (fsl_sata_t *)sata_dev_desc[dev].priv; in fsl_sata_xfer_mode() 509 fsl_sata_t *sata = (fsl_sata_t *)sata_dev_desc[dev].priv; in fsl_sata_set_features() 538 fsl_sata_t *sata = (fsl_sata_t *)sata_dev_desc[dev].priv; in fsl_sata_rw_cmd() 563 fsl_sata_t *sata = (fsl_sata_t *)sata_dev_desc[dev].priv; in fsl_sata_flush_cache() 577 fsl_sata_t *sata = (fsl_sata_t *)sata_dev_desc[dev].priv; in fsl_sata_rw_cmd_ext() 608 fsl_sata_t *sata = (fsl_sata_t *)sata_dev_desc[dev].priv; in fsl_sata_rw_ncq_cmd() 651 fsl_sata_t *sata = (fsl_sata_t *)sata_dev_desc[dev].priv; in fsl_sata_flush_cache_ext() 665 fsl_sata_t *sata = (fsl_sata_t *)sata_dev_desc[dev].priv; in fsl_sata_init_wcache() [all …]
|
D | sata_sil3114.c | 149 ata_id_c_string (iobuf, (unsigned char *)sata_dev_desc[devno].revision, in sata_identify() 150 ATA_ID_FW_REV, sizeof (sata_dev_desc[devno].revision)); in sata_identify() 151 ata_id_c_string (iobuf, (unsigned char *)sata_dev_desc[devno].vendor, in sata_identify() 152 ATA_ID_PROD, sizeof (sata_dev_desc[devno].vendor)); in sata_identify() 153 ata_id_c_string (iobuf, (unsigned char *)sata_dev_desc[devno].product, in sata_identify() 154 ATA_ID_SERNO, sizeof (sata_dev_desc[devno].product)); in sata_identify() 157 sata_dev_desc[devno].removable = 0; in sata_identify() 159 sata_dev_desc[devno].lba = (u32) n_sectors; in sata_identify() 160 debug("lba=0x%lx\n", sata_dev_desc[devno].lba); in sata_identify() 164 sata_dev_desc[devno].lba48 = 1; in sata_identify() [all …]
|
D | dwc_ahsata.c | 875 sata_dev_desc[pdev].priv = uc_priv; in ahci_init_one() 898 uc_priv = sata_dev_desc[dev].priv; in init_sata() 913 uc_priv = sata_dev_desc[dev].priv; in reset_sata() 934 if (sata_dev_desc[dev].priv == NULL) in sata_port_status() 937 uc_priv = sata_dev_desc[dev].priv; in sata_port_status() 948 struct ahci_uc_priv *uc_priv = sata_dev_desc[dev].priv; in sata_read() 950 return sata_read_common(uc_priv, &sata_dev_desc[dev], blknr, blkcnt, in sata_read() 956 struct ahci_uc_priv *uc_priv = sata_dev_desc[dev].priv; in sata_write() 958 return sata_write_common(uc_priv, &sata_dev_desc[dev], blknr, blkcnt, in sata_write() 964 struct ahci_uc_priv *uc_priv = sata_dev_desc[dev].priv; in scan_sata() [all …]
|
/external/u-boot/include/ |
D | sata.h | 18 extern struct blk_desc sata_dev_desc[];
|