RT-Thread RTOS
An open source embedded real-time operating system
|
Data Structures | |
struct | rt_blk_disk |
struct | rt_blk_disk_ops |
struct | rt_blk_device |
Functions | |
rt_err_t | rt_hw_blk_disk_register (struct rt_blk_disk *disk) |
rt_err_t | rt_hw_blk_disk_unregister (struct rt_blk_disk *disk) |
rt_err_t | rt_blk_disk_probe_partition (struct rt_blk_disk *disk) |
rt_ssize_t | rt_blk_disk_get_capacity (struct rt_blk_disk *disk) |
rt_ssize_t | rt_blk_disk_get_logical_block_size (struct rt_blk_disk *disk) |
blk driver api
rt_err_t rt_hw_blk_disk_register | ( | struct rt_blk_disk * | disk | ) |
Register the blk disk device.
disk | Point to blk disk |
rt_err_t rt_hw_blk_disk_unregister | ( | struct rt_blk_disk * | disk | ) |
Unregister the blk disk device.
disk | Point to blk disk |
rt_err_t rt_blk_disk_probe_partition | ( | struct rt_blk_disk * | disk | ) |
Probe and register the blk disk partition.
disk | Point to blk disk |
rt_ssize_t rt_blk_disk_get_capacity | ( | struct rt_blk_disk * | disk | ) |
Get the blk disk capacity.
disk | Point to blk disk |
rt_ssize_t rt_blk_disk_get_logical_block_size | ( | struct rt_blk_disk * | disk | ) |
Get the sector size.
disk | Point to blk disk |