AM64x MCU+ SDK  10.00.00
tisci_pm_clock.h File Reference

Go to the source code of this file.

Data Structures

struct  tisci_msg_set_clock_req
 Mark a clock as required/not required. More...
 
struct  tisci_msg_set_clock_resp
 Empty response for TISCI_MSG_SET_CLOCK. More...
 
struct  tisci_msg_get_clock_req
 Get the current state of a clock. More...
 
struct  tisci_msg_get_clock_resp
 Clock state response. More...
 
struct  tisci_msg_set_clock_parent_req
 Set the clock parent. More...
 
struct  tisci_msg_set_clock_parent_resp
 Empty response for TISCI_MSG_SET_CLOCK_PARENT. More...
 
struct  tisci_msg_get_clock_parent_req
 Return the current clock parent. More...
 
struct  tisci_msg_get_clock_parent_resp
 Clock parent response. More...
 
struct  tisci_msg_get_num_clock_parents_req
 Return the number of possible parents for a clock. More...
 
struct  tisci_msg_get_num_clock_parents_resp
 Num clock parents response. More...
 
struct  tisci_msg_set_freq_req
 Set the desired frequency for a clock. More...
 
struct  tisci_msg_set_freq_resp
 Empty response for TISCI_MSG_SET_FREQ. More...
 
struct  tisci_msg_query_freq_req
 Determine the result of a hypothetical set frequency operation. More...
 
struct  tisci_msg_query_freq_resp
 Result of a query operation. More...
 
struct  tisci_msg_get_freq_req
 Get the current frequency of a device's clock. More...
 
struct  tisci_msg_get_freq_resp
 Result of get frequency request. More...
 

Macros

#define TISCI_MSG_VALUE_CLOCK_SW_STATE_UNREQ   0
 This file contains: More...
 
#define TISCI_MSG_VALUE_CLOCK_SW_STATE_AUTO   1
 
#define TISCI_MSG_VALUE_CLOCK_SW_STATE_REQ   2
 
#define TISCI_MSG_VALUE_CLOCK_HW_STATE_NOT_READY   0
 
#define TISCI_MSG_VALUE_CLOCK_HW_STATE_READY   1
 
#define TISCI_MSG_FLAG_CLOCK_ALLOW_SSC   TISCI_BIT(8)
 
#define TISCI_MSG_FLAG_CLOCK_ALLOW_FREQ_CHANGE   TISCI_BIT(9)
 
#define TISCI_MSG_FLAG_CLOCK_INPUT_TERM   TISCI_BIT(10)
 
#define TISCI_MSG_FLAG_CLOCK_SSC_ACTIVE   TISCI_BIT(11)
 

Functions

struct tisci_msg_set_clock_req __attribute__ ((__packed__))
 

Variables

struct tisci_header hdr
 
uint32_t device
 
uint8_t clk
 
uint8_t state
 
uint32_t clk32
 
uint8_t programmed_state
 
uint8_t current_state
 
uint8_t parent
 
uint32_t parent32
 
uint8_t num_parents
 
uint32_t num_parentint32_t
 
uint64_t min_freq_hz
 
uint64_t target_freq_hz
 
uint64_t max_freq_hz
 
uint64_t freq_hz
 

Variable Documentation

◆ hdr

struct tisci_header hdr

◆ device

uint32_t device

◆ clk

uint8_t clk

◆ state

uint8_t state

◆ clk32

uint32_t clk32

◆ programmed_state

uint8_t programmed_state

◆ current_state

uint8_t current_state

◆ parent

uint8_t parent

◆ parent32

uint32_t parent32

◆ num_parents

uint8_t num_parents

◆ num_parentint32_t

uint32_t num_parentint32_t

◆ min_freq_hz

uint64_t min_freq_hz

◆ target_freq_hz

uint64_t target_freq_hz

◆ max_freq_hz

uint64_t max_freq_hz

◆ freq_hz

uint64_t freq_hz