|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Caller-owned private state for a block-device stream sink. More...
#include <ra8_io_stream_blockdev.h>
Data Fields | |
| const ra8_io_blockdev_t * | bd |
| Target device (private). | |
| uint32_t | lba |
| Next LBA to write. | |
| uint32_t | fill |
| Bytes in the sector buf. | |
| uint8_t | sector [(uint32_t) k_ra8_io_block_size_bytes] |
| Sector buffer. | |
Caller-owned private state for a block-device stream sink.
Zero-initialise and pass to ra8_io_stream_blockdev_init. Treat the fields as private. The bound block device and this state must out-live the stream.
Definition at line 46 of file ra8_io_stream_blockdev.h.
| const ra8_io_blockdev_t* ra8_io_stream_blockdev_state_t::bd |
Target device (private).
Definition at line 47 of file ra8_io_stream_blockdev.h.
Referenced by internal_bdsink_commit_sector(), and ra8_io_stream_blockdev_init().
| uint32_t ra8_io_stream_blockdev_state_t::fill |
Bytes in the sector buf.
Definition at line 49 of file ra8_io_stream_blockdev.h.
Referenced by internal_bdsink_commit_if_full(), internal_bdsink_commit_sector(), internal_bdsink_fill_chunk(), internal_bdsink_flush(), and ra8_io_stream_blockdev_init().
| uint32_t ra8_io_stream_blockdev_state_t::lba |
Next LBA to write.
Definition at line 48 of file ra8_io_stream_blockdev.h.
Referenced by internal_bdsink_commit_sector(), and ra8_io_stream_blockdev_init().
| uint8_t ra8_io_stream_blockdev_state_t::sector[(uint32_t) k_ra8_io_block_size_bytes] |
Sector buffer.
Definition at line 51 of file ra8_io_stream_blockdev.h.
Referenced by internal_bdsink_commit_sector(), internal_bdsink_fill_chunk(), and internal_bdsink_flush().