Lines Matching defs:size
23 static int rpi3_sdhost_prepare(int lba, uintptr_t buf, size_t size);
24 static int rpi3_sdhost_read(int lba, uintptr_t buf, size_t size);
25 static int rpi3_sdhost_write(int lba, uintptr_t buf, size_t size);
451 static int rpi3_sdhost_prepare(int lba, uintptr_t buf, size_t size)
457 if (size < 512) {
458 blocksize = size;
462 blocks = size / blocksize;
463 if (size % blocksize != 0)
475 static int rpi3_sdhost_read(int lba, uintptr_t buf, size_t size)
483 for (int i = 0; i < size / 4; i++) {
540 static int rpi3_sdhost_write(int lba, uintptr_t buf, size_t size)
547 for (int i = 0; i < size / 4; i++) {