Searched refs:cap64 (Results 1 – 2 of 2) sorted by relevance
871 u64 cap64; in ata_scsiop_read_capacity10() local881 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()
893 u64 cap64; in fsl_ata_scsiop_read_capacity10() local903 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()