PDK API Guide for J721E
Udma_RingMonPrms Struct Reference

Detailed Description

UDMA ring monitor parameters.

Data Fields

uint8_t source
 
uint8_t mode
 
uint16_t ringNum
 
uint32_t data0
 
uint32_t data1
 

Field Documentation

◆ source

uint8_t Udma_RingMonPrms::source

Ring monitor source. Refer tisci_msg_rm_ring_mon_cfg_req::source

◆ mode

uint8_t Udma_RingMonPrms::mode

Ring monitor mode. Refer tisci_msg_rm_ring_mon_cfg_req::mode

◆ ringNum

uint16_t Udma_RingMonPrms::ringNum

Ring or queue to monitor.

◆ data0

uint32_t Udma_RingMonPrms::data0

When mode is TISCI_MSG_VALUE_RM_MON_MODE_PUSH_POP, this is read-only and represents number of pushes. When mode is TISCI_MSG_VALUE_RM_MON_MODE_THRESHOLD, this is read-write and represents the low threshold value which should be programmed to generate the RM event when the threshold is crossed (goes below). When mode is TISCI_MSG_VALUE_RM_MON_MODE_WATERMARK, this is read only and represents the low watermark. When mode is TISCI_MSG_VALUE_RM_MON_MODE_STARVATION, this is read only and represents the starvation count

◆ data1

uint32_t Udma_RingMonPrms::data1

When mode is TISCI_MSG_VALUE_RM_MON_MODE_PUSH_POP, this is read-only and represents number of pops. When mode is TISCI_MSG_VALUE_RM_MON_MODE_THRESHOLD, this is read-write and represents the high threshold value which should be programmed to generate the RM event when the threshold is crossed (goes above). When mode is TISCI_MSG_VALUE_RM_MON_MODE_WATERMARK, this is read only and represents the high watermark. When mode is TISCI_MSG_VALUE_RM_MON_MODE_STARVATION, this is not applicable