Lines Matching refs:capacity
87 unsigned long capacity; /* Size of card in bytes */ member
650 if (!info->capacity) in sddr55_read_map()
653 numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr55_read_map()
788 unsigned long capacity; in sddr55_transport() local
862 capacity = sddr55_get_capacity(us); in sddr55_transport()
864 if (!capacity) { in sddr55_transport()
869 info->capacity = capacity; in sddr55_transport()
875 info->max_log_blks = ((info->capacity >> (info->pageshift + info->blockshift)) / 256) * 250; in sddr55_transport()
881 capacity = (capacity / 256) * 250; in sddr55_transport()
883 capacity /= PAGESIZE; in sddr55_transport()
884 capacity--; in sddr55_transport()
886 ((__be32 *) ptr)[0] = cpu_to_be32(capacity); in sddr55_transport()