ti_status
error = ti_dma_ring_alloc(sc, TI_RING_ALIGN, sizeof(struct ti_status),
&sc->ti_cdata.ti_status_tag, (uint8_t **)&sc->ti_rdata.ti_status,
(void *)&sc->ti_rdata.ti_status, sc->ti_cdata.ti_status_map,
offsetof(struct ti_status, ti_ev_prodidx_r));
offsetof(struct ti_status, ti_return_prodidx_r));
offsetof(struct ti_status, ti_tx_considx_r));
#define ti_ev_prodidx ti_rdata.ti_status->ti_ev_prodidx_r
#define ti_return_prodidx ti_rdata.ti_status->ti_return_prodidx_r
#define ti_tx_considx ti_rdata.ti_status->ti_tx_considx_r
struct ti_status *ti_status;