Searched refs:BytesPerSector (Results 1 – 2 of 2) sorted by relevance
64 .BytesPerSector = CONFIG_BOOTUF2_SECTOR_SIZE,133 ctx->DBR->BPB.BytesPerSector * in fcalculate_cluster()268 memset(buff, 0, ctx->DBR->BPB.BytesPerSector); in boot2uf2_read_sector()381 size_t fcontent_offset = sector_relative_file * ctx->DBR->BPB.BytesPerSector; in boot2uf2_read_sector()388 if (copy_size > ctx->DBR->BPB.BytesPerSector) { in boot2uf2_read_sector()389 copy_size = ctx->DBR->BPB.BytesPerSector; in boot2uf2_read_sector()400 buff += ctx->DBR->BPB.BytesPerSector; in boot2uf2_read_sector()438 buff += ctx->DBR->BPB.BytesPerSector; in bootuf2_write_sector()446 return bootuf2_disk.DBR->BPB.BytesPerSector; in bootuf2_get_sector_size()
59 uint16_t BytesPerSector; member145 #define BOOTUF2_FAT16_PER_SECTOR(pDBR) (pDBR->BPB.BytesPerSector / 2)146 #define BOOTUF2_ENTRY_PER_SECTOR(pDBR) (pDBR->BPB.BytesPerSector / sizeof(struct bootuf2_ENTRY))151 …) BOOTUF2_SECTOR_FAT_END(pDBR) + (pDBR->BPB.RootEntries / (pDBR->BPB.BytesPerSector / sizeof(struc…
Completed in 4 milliseconds