AM64x MCU+ SDK  10.00.00

Introduction

DMSC controls the power management, security and resource management of the device.

Data Structures

struct  tisci_msg_set_device_req
 Set the desired state of the device. More...
 
struct  tisci_msg_set_device_resp
 Empty response for TISCI_MSG_SET_DEVICE. More...
 
struct  tisci_msg_get_device_req
 Request to get device based on id. More...
 
struct  tisci_msg_get_device_resp
 Response to get device request. More...
 
struct  tisci_msg_set_device_resets_req
 Set the desired state of the resets of a device. More...
 
struct  tisci_msg_set_device_resets_resp
 Empty response for TISCI_MSG_SET_DEVICE_RESETS. More...
 
struct  tisci_msg_device_drop_powerup_ref_req
 Drop any remaining powerup device references. More...
 
struct  tisci_msg_device_drop_powerup_ref_resp
 Empty response for TISCI_MSG_DEVICE_DROP_POWERUP_REF. More...
 

Functions

struct tisci_msg_set_device_req __attribute__ ((__packed__))
 

Macros

#define TISCI_MSG_FLAG_DEVICE_WAKE_ENABLED   TISCI_BIT(8)
 This file contains: More...
 
#define TISCI_MSG_FLAG_DEVICE_RESET_ISO   TISCI_BIT(9)
 
#define TISCI_MSG_FLAG_DEVICE_EXCLUSIVE   TISCI_BIT(10)
 
#define TISCI_MSG_VALUE_DEVICE_SW_STATE_AUTO_OFF   0
 
#define TISCI_MSG_VALUE_DEVICE_SW_STATE_RETENTION   1
 
#define TISCI_MSG_VALUE_DEVICE_SW_STATE_ON   2
 
#define TISCI_MSG_VALUE_DEVICE_HW_STATE_OFF   0
 
#define TISCI_MSG_VALUE_DEVICE_HW_STATE_ON   1
 
#define TISCI_MSG_VALUE_DEVICE_HW_STATE_TRANS   2
 

Macro Definition Documentation

◆ TISCI_MSG_FLAG_DEVICE_WAKE_ENABLED

#define TISCI_MSG_FLAG_DEVICE_WAKE_ENABLED   TISCI_BIT(8)

This file contains:

    WARNING!!: Autogenerated file from SYSFW. DO NOT MODIFY!!

System Firmware

Cortex-M3 (CM3) firmware for power management Configure the device to be a wake source. The meaning of this flag will vary slightly from device to device and from SoC to SoC but it generally allows the device to wake the SoC out of low power states.

◆ TISCI_MSG_FLAG_DEVICE_RESET_ISO

#define TISCI_MSG_FLAG_DEVICE_RESET_ISO   TISCI_BIT(9)

Enable reset isolation for this device.

◆ TISCI_MSG_FLAG_DEVICE_EXCLUSIVE

#define TISCI_MSG_FLAG_DEVICE_EXCLUSIVE   TISCI_BIT(10)

Claim a device exclusively. When passed with STATE_RETENTION or STATE_ON, it will claim the device exclusively. If another host already has this device set to STATE_RETENTION or STATE_ON, the message will fail. Once successful, other hosts attempting to set STATE_RETENTION or STATE_ON will fail.

◆ TISCI_MSG_VALUE_DEVICE_SW_STATE_AUTO_OFF

#define TISCI_MSG_VALUE_DEVICE_SW_STATE_AUTO_OFF   0

Used by TISCI_MSG_SET_DEVICE to turn device off when possible. This must be used in conjunction with SoC dependencies to identify the overall power domain state being achieved.

◆ TISCI_MSG_VALUE_DEVICE_SW_STATE_RETENTION

#define TISCI_MSG_VALUE_DEVICE_SW_STATE_RETENTION   1

Used by TISCI_MSG_SET_DEVICE to disable device but keep in retention.

◆ TISCI_MSG_VALUE_DEVICE_SW_STATE_ON

#define TISCI_MSG_VALUE_DEVICE_SW_STATE_ON   2

Used by TISCI_MSG_SET_DEVICE to turn device on for usage.

◆ TISCI_MSG_VALUE_DEVICE_HW_STATE_OFF

#define TISCI_MSG_VALUE_DEVICE_HW_STATE_OFF   0

TISCI_MSG_GET_DEVICE sets this as current state to indicate device is off.

◆ TISCI_MSG_VALUE_DEVICE_HW_STATE_ON

#define TISCI_MSG_VALUE_DEVICE_HW_STATE_ON   1

TISCI_MSG_GET_DEVICE sets this as current state to indicate device is on.

◆ TISCI_MSG_VALUE_DEVICE_HW_STATE_TRANS

#define TISCI_MSG_VALUE_DEVICE_HW_STATE_TRANS   2

TISCI_MSG_GET_DEVICE sets this as current state to indicate device is transitioning between states. When a device stays in this state it is typically due to the fact that some resource that the device is dependent on (example IRQs) are pending preventing completion of hardware handshake. Please refer to Technical Reference Manual for additional information.

Function Documentation

◆ __attribute__()

struct tisci_msg_set_device_req __attribute__ ( (__packed__)  )