Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/rts5208/
H A Drtsx_scsi.c974 u32 card_size; in read_format_capacity() local
1008 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() local
1067 card_size = get_card_size(chip, lun); in read_capacity()
1068 buf[0] = (unsigned char)((card_size - 1) >> 24); in read_capacity()
1070 buf[2] = (unsigned char)((card_size - 1) >> 8); in read_capacity()
[all …]