Searched refs:startSector (Results 1 – 2 of 2) sorted by relevance
/device/qemu/riscv32_virt/liteos_m/board/driver/cfiflash/ |
D | cfiflash_fs_hal.c | 38 static DSTATUS DisckRead(BYTE pdrv, BYTE *buffer, DWORD startSector, UINT nSectors) in DisckRead() argument 41 unsigned int byteOffset = CfiFlashSec2Bytes(startSector); in DisckRead() 47 static DSTATUS DiskWrite(BYTE pdrv, const BYTE *buffer, DWORD startSector, UINT nSectors) in DiskWrite() argument 50 unsigned int byteOffset = CfiFlashSec2Bytes(startSector); in DiskWrite()
|
/device/qemu/drivers/virtio/ |
D | virtblock.c | 70 uint64_t startSector; member 142 static uint8_t VirtblkIO(struct Virtblk *blk, uint32_t cmd, uint64_t startSector, in VirtblkIO() argument 150 blk->req.startSector = startSector; in VirtblkIO() 414 uint64_t startSector = (uint64_t)cmd->argument; in VirtMmcIO() local 418 startSector >>= MMC_SEC_SHIFT; in VirtMmcIO() 427 ret = VirtblkIO(blk, io, startSector, cmd->data->dataBuffer, cmd->data->blockNum); in VirtMmcIO()
|