Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
tisci_clock_control.h File Reference
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  tisci_clock_config
 Clock configuration structure. More...

Macros

#define TISCI_GET_CLOCK(node_id)
#define TISCI_GET_CLOCK_DETAILS(node_id)
#define TISCI_GET_CLOCK_BY_INST(inst)
#define TISCI_GET_CLOCK_DETAILS_BY_INST(DT_DRV_INST)

Macro Definition Documentation

◆ TISCI_GET_CLOCK

#define TISCI_GET_CLOCK ( node_id)
Value:
DEVICE_DT_GET(DT_PHANDLE(node_id, clocks))
#define DEVICE_DT_GET(node_id)
Get a device reference from a devicetree node identifier.
Definition device.h:317
#define DT_PHANDLE(node_id, prop)
Get a node identifier for a phandle property's value.
Definition devicetree.h:1847

◆ TISCI_GET_CLOCK_BY_INST

#define TISCI_GET_CLOCK_BY_INST ( inst)
Value:
#define DT_DRV_INST(inst)
Node identifier for an instance of a DT_DRV_COMPAT compatible.
Definition devicetree.h:4085
#define TISCI_GET_CLOCK(node_id)
Definition tisci_clock_control.h:29

◆ TISCI_GET_CLOCK_DETAILS

#define TISCI_GET_CLOCK_DETAILS ( node_id)
Value:
{ \
.dev_id = DT_CLOCKS_CELL(node_id, devid), \
.clk_id = DT_CLOCKS_CELL(node_id, clkid) \
}
#define DT_CLOCKS_CELL(node_id, cell)
Equivalent to DT_CLOCKS_CELL_BY_IDX(node_id, 0, cell).
Definition clocks.h:254

◆ TISCI_GET_CLOCK_DETAILS_BY_INST

#define TISCI_GET_CLOCK_DETAILS_BY_INST ( DT_DRV_INST)
Value:
#define TISCI_GET_CLOCK_DETAILS(node_id)
Definition tisci_clock_control.h:31