udi_gio_rw_params_t(3udi)
Parameters for standard GIO read/write ops
#include <udi.h>typedef struct { udi_ubit32_t offset_lo; udi_ubit32_t offset_hi; } udi_gio_rw_params_t;MEMBERS offset_lo is the least-significant 32 bits of an offset in bytes from the beginning of the (logical) device. This value is ignored if device_size_lo and device_size_hi were set to zero in the call to udi_gio_bind_ack.
offset_hi is the next-most-significant 32 bits of an offset in bytes from the beginning of the (logical) device. This value is ignored if device_size_lo and device_size_hi were set to zero in the call to udi_gio_bind_ack.
DESCRIPTION This structure is used to hold additional parameters for the standard GIO read/write operations: UDI_GIO_OP_READ and UDI_GIO_OP_WRITE. It is passed to a udi_gio_xfer_req operation using the tr_params inline memory structure of the udi_gio_xfer_cb_t, which must have been initialized with an inline_size of sizeof(udi_gio_rw_params_t).
The tr_params pointer itself must not be changed; instead it should be cast to (udi_gio_rw_params_t *) and then the structure may be read or written through the resulting pointer.
REFERENCES udi_gio_xfer_cb_t, udi_gio_xfer_req, udi_gio_xfer_ack