|
AM62x MCU+ SDK
10.00.00
|
|
Go to the documentation of this file.
53 #ifndef TISCI_PM_TISCI_CLOCK_H
54 #define TISCI_PM_TISCI_CLOCK_H
67 #define TISCI_MSG_VALUE_CLOCK_SW_STATE_UNREQ 0
75 #define TISCI_MSG_VALUE_CLOCK_SW_STATE_AUTO 1
78 #define TISCI_MSG_VALUE_CLOCK_SW_STATE_REQ 2
81 #define TISCI_MSG_VALUE_CLOCK_HW_STATE_NOT_READY 0
84 #define TISCI_MSG_VALUE_CLOCK_HW_STATE_READY 1
89 #define TISCI_MSG_FLAG_CLOCK_ALLOW_SSC TISCI_BIT(8)
95 #define TISCI_MSG_FLAG_CLOCK_ALLOW_FREQ_CHANGE TISCI_BIT(9)
101 #define TISCI_MSG_FLAG_CLOCK_INPUT_TERM TISCI_BIT(10)
106 #define TISCI_MSG_FLAG_CLOCK_SSC_ACTIVE TISCI_BIT(11)
uint8_t clk
Definition: tisci_pm_clock.h:360
uint32_t clk32
Definition: tisci_pm_clock.h:550
Empty response for TISCI_MSG_SET_FREQ.
Definition: tisci_pm_clock.h:454
struct tisci_msg_set_clock_req __attribute__((__packed__))
uint32_t num_parentint32_t
Definition: tisci_pm_clock.h:383
uint64_t freq_hz
Definition: tisci_pm_clock.h:563
Result of get frequency request.
Definition: tisci_pm_clock.h:561
uint32_t clk32
Definition: tisci_pm_clock.h:263
struct tisci_header hdr
Definition: tisci_pm_clock.h:562
struct tisci_header hdr
Definition: tisci_pm_clock.h:276
struct tisci_header hdr
Definition: tisci_pm_clock.h:455
Get the current frequency of a device's clock.
Definition: tisci_pm_clock.h:546
uint8_t num_parents
Definition: tisci_pm_clock.h:382
uint64_t target_freq_hz
Definition: tisci_pm_clock.h:502
Clock state response.
Definition: tisci_pm_clock.h:207
Num clock parents response.
Definition: tisci_pm_clock.h:380
struct tisci_header hdr
Definition: tisci_pm_clock.h:187
uint8_t clk
Definition: tisci_pm_clock.h:309
uint32_t device
Definition: tisci_pm_clock.h:146
struct tisci_header hdr
Definition: tisci_pm_clock.h:358
uint64_t max_freq_hz
Definition: tisci_pm_clock.h:503
Return the number of possible parents for a clock.
Definition: tisci_pm_clock.h:357
uint32_t parent32
Definition: tisci_pm_clock.h:332
Determine the result of a hypothetical set frequency operation.
Definition: tisci_pm_clock.h:498
uint32_t clk32
Definition: tisci_pm_clock.h:505
struct tisci_header hdr
Definition: tisci_pm_clock.h:547
uint32_t device
Definition: tisci_pm_clock.h:548
uint32_t device
Definition: tisci_pm_clock.h:438
uint8_t parent
Definition: tisci_pm_clock.h:331
uint32_t clk32
Definition: tisci_pm_clock.h:149
uint8_t clk
Definition: tisci_pm_clock.h:261
uint64_t freq_hz
Definition: tisci_pm_clock.h:518
uint32_t device
Definition: tisci_pm_clock.h:359
struct tisci_header hdr
Definition: tisci_pm_clock.h:208
Set the clock parent.
Definition: tisci_pm_clock.h:258
uint8_t programmed_state
Definition: tisci_pm_clock.h:209
struct tisci_header hdr
Definition: tisci_pm_clock.h:145
uint64_t max_freq_hz
Definition: tisci_pm_clock.h:441
uint64_t min_freq_hz
Definition: tisci_pm_clock.h:501
struct tisci_header hdr
Definition: tisci_pm_clock.h:307
uint64_t min_freq_hz
Definition: tisci_pm_clock.h:439
Mark a clock as required/not required.
Definition: tisci_pm_clock.h:144
uint32_t device
Definition: tisci_pm_clock.h:260
struct tisci_header hdr
Definition: tisci_pm_clock.h:330
uint32_t device
Definition: tisci_pm_clock.h:500
uint8_t clk
Definition: tisci_pm_clock.h:147
uint32_t device
Definition: tisci_pm_clock.h:308
Return the current clock parent.
Definition: tisci_pm_clock.h:306
struct tisci_header hdr
Definition: tisci_pm_clock.h:517
Clock parent response.
Definition: tisci_pm_clock.h:329
Empty response for TISCI_MSG_SET_CLOCK.
Definition: tisci_pm_clock.h:160
Get the current state of a clock.
Definition: tisci_pm_clock.h:186
Empty response for TISCI_MSG_SET_CLOCK_PARENT.
Definition: tisci_pm_clock.h:275
struct tisci_header hdr
Definition: tisci_pm_clock.h:259
uint8_t clk
Definition: tisci_pm_clock.h:504
uint32_t clk32
Definition: tisci_pm_clock.h:190
uint32_t clk32
Definition: tisci_pm_clock.h:310
struct tisci_header hdr
Definition: tisci_pm_clock.h:381
uint8_t clk
Definition: tisci_pm_clock.h:189
uint8_t clk
Definition: tisci_pm_clock.h:442
struct tisci_header hdr
Definition: tisci_pm_clock.h:161
uint8_t clk
Definition: tisci_pm_clock.h:549
struct tisci_header hdr
Definition: tisci_pm_clock.h:437
struct tisci_header hdr
Definition: tisci_pm_clock.h:499
uint32_t clk32
Definition: tisci_pm_clock.h:361
Set the desired frequency for a clock.
Definition: tisci_pm_clock.h:436
uint8_t state
Definition: tisci_pm_clock.h:148
uint32_t device
Definition: tisci_pm_clock.h:188
uint64_t target_freq_hz
Definition: tisci_pm_clock.h:440
uint8_t current_state
Definition: tisci_pm_clock.h:210
Result of a query operation.
Definition: tisci_pm_clock.h:516
uint8_t parent
Definition: tisci_pm_clock.h:262
uint32_t clk32
Definition: tisci_pm_clock.h:443
uint32_t parent32
Definition: tisci_pm_clock.h:264