Home
last modified time | relevance | path

Searched refs:cap64 (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/ata/
Dahci.c871 u64 cap64; in ata_scsiop_read_capacity10() local
881 cap64 = ata_id_n_sectors(uc_priv->ataid[pccb->target]); in ata_scsiop_read_capacity10()
882 if (cap64 > 0x100000000ULL) in ata_scsiop_read_capacity10()
883 cap64 = 0xffffffff; in ata_scsiop_read_capacity10()
885 cap = cpu_to_be32(cap64); in ata_scsiop_read_capacity10()
Dfsl_ahci.c893 u64 cap64; in fsl_ata_scsiop_read_capacity10() local
903 cap64 = ata_id_n_sectors(uc_priv->ataid[pccb->target]); in fsl_ata_scsiop_read_capacity10()
904 if (cap64 > 0x100000000ULL) in fsl_ata_scsiop_read_capacity10()
905 cap64 = 0xffffffff; in fsl_ata_scsiop_read_capacity10()
907 cap = cpu_to_be32(cap64); in fsl_ata_scsiop_read_capacity10()