Searched refs:card_size (Results 1 – 1 of 1) sorted by relevance
974 u32 card_size; in read_format_capacity() local1008 card_size = get_card_size(chip, lun); in read_format_capacity()1009 buf[i++] = (unsigned char)(card_size >> 24); in read_format_capacity()1010 buf[i++] = (unsigned char)(card_size >> 16); in read_format_capacity()1011 buf[i++] = (unsigned char)(card_size >> 8); in read_format_capacity()1012 buf[i++] = (unsigned char)card_size; in read_format_capacity()1050 u32 card_size; in read_capacity() local1067 card_size = get_card_size(chip, lun); in read_capacity()1068 buf[0] = (unsigned char)((card_size - 1) >> 24); in read_capacity()1069 buf[1] = (unsigned char)((card_size - 1) >> 16); in read_capacity()[all …]