Searched refs:rawblksz (Results 1 – 8 of 8) sorted by relevance
| /rk3399_rockchip-uboot/disk/ |
| H A D | part_efi.c | 199 ALLOC_CACHE_ALIGN_BUFFER_PAD(gpt_header, gpt_head, 1, dev_desc->rawblksz); in get_disk_guid() 226 ALLOC_CACHE_ALIGN_BUFFER_PAD(gpt_header, gpt_head, 1, dev_desc->rawblksz); in part_print_efi() 255 sector = dev_desc->rawblksz / dev_desc->blksz; in part_print_efi() 290 if (!dev_desc->rawblksz || !dev_desc->rawlba) { in part_get_info_efi() 291 dev_desc->rawblksz = dev_desc->blksz; in part_get_info_efi() 295 if (dev_desc->rawblksz == 4096) in part_get_info_efi() 299 gpt_head = memalign(ARCH_DMA_MINALIGN, dev_desc->rawblksz); in part_get_info_efi() 306 if (dev_desc->rawblksz == 4096) { in part_get_info_efi() 309 gpt_head = memalign(ARCH_DMA_MINALIGN, dev_desc->rawblksz); in part_get_info_efi() 344 sector = dev_desc->rawblksz / dev_desc->blksz; in part_get_info_efi() [all …]
|
| /rk3399_rockchip-uboot/drivers/scsi/ |
| H A D | scsi.c | 181 if (block_dev->rawblksz == 512) in _scsi_read() 201 pccb->datalen = block_dev->rawblksz * blocks; in _scsi_read() 208 pccb->datalen = block_dev->rawblksz * max_read_blks; in _scsi_read() 214 pccb->datalen = block_dev->rawblksz * blks; in _scsi_read() 245 uint32_t rawsectsz = block_dev->rawblksz / 512; in scsi_read() 314 if (block_dev->rawblksz == 512) in _scsi_write() 331 pccb->datalen = (block_dev->rawblksz * max_write_blks); in _scsi_write() 337 pccb->datalen = block_dev->rawblksz * blks; in _scsi_write() 367 uint32_t rawsectsz = block_dev->rawblksz / 512; in scsi_write() 418 uint32_t rawsectsz = block_dev->rawblksz / block_dev->blksz; in scsi_erase() [all …]
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | gpt.c | 518 parts[i].size = lldiv(size_ll, dev_desc->rawblksz); in set_gpt_info() 529 parts[i].start = lldiv(start_ll, dev_desc->rawblksz); in set_gpt_info() 583 ALLOC_CACHE_ALIGN_BUFFER_PAD(gpt_header, gpt_head, 1, blk_dev_desc->rawblksz); in gpt_verify() 842 if (!blk_dev_desc->rawblksz || !blk_dev_desc->rawlba) { in do_gpt() 843 blk_dev_desc->rawblksz = blk_dev_desc->blksz; in do_gpt()
|
| H A D | rockusb.c | 57 if (block_dev->if_type == IF_TYPE_SCSI && block_dev->rawblksz == 4096) { in rkusb_write_sector() 76 if (block_dev->if_type == IF_TYPE_SCSI && block_dev->rawblksz == 4096) { in rkusb_erase_sector()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | blk.h | 95 unsigned long rawblksz; /* block size */ member
|
| /rk3399_rockchip-uboot/arch/arm/mach-rockchip/ |
| H A D | vendor.c | 326 …if (dev_desc->if_type == IF_TYPE_NVME || (dev_desc->if_type == IF_TYPE_SCSI && dev_desc->rawblksz … in vendor_ops() 445 …if (dev_desc->if_type == IF_TYPE_NVME || (dev_desc->if_type == IF_TYPE_SCSI && dev_desc->rawblksz … in vendor_storage_init()
|
| /rk3399_rockchip-uboot/drivers/block/ |
| H A D | blk-uclass.c | 669 desc->rawblksz = blksz; in blk_create_device()
|
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | f_rockusb.c | 296 if (desc->rawblksz == 0x1000) in rkusb_do_read_flash_info()
|