Motr  M0
clk_src_xc.c File Reference
#include "lib/misc.h"
#include "lib/assert.h"
#include "xcode/xcode.h"
#include "dtm0/clk_src.h"
#include "dtm0/clk_src_xc.h"
Include dependency graph for clk_src_xc.c:

Go to the source code of this file.

Data Structures

struct  _m0_dtm0_ts_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_dtm0_ts_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_dtm0_ts)==8U)
 
 M0_BASSERT (sizeof((struct m0_dtm0_ts *) 0) ->dts_phys==8U)
 
 M0_BASSERT (offsetof(struct m0_dtm0_ts, dts_phys)==0U)
 
M0_INTERNAL void m0_xc_m0_dtm0_ts_struct_init (void)
 
M0_INTERNAL void m0_xc_dtm0_clk_src_init (void)
 
M0_INTERNAL void m0_xc_dtm0_clk_src_fini (void)
 

Variables

struct m0_xcode_typem0_dtm0_ts_xc = &_m0_dtm0_ts._type
 
static struct _m0_dtm0_ts_s _m0_dtm0_ts
 

Function Documentation

◆ M0_BASSERT() [1/4]

M0_BASSERT ( offsetof(struct _m0_dtm0_ts_s, _child[0])  = =offsetof(struct m0_xcode_type, xct_child[0]))

◆ M0_BASSERT() [2/4]

M0_BASSERT ( sizeof(struct m0_dtm0_ts = =8U)

◆ M0_BASSERT() [3/4]

M0_BASSERT ( sizeof((struct m0_dtm0_ts *) 0) ->  dts_phys = =8U)

◆ M0_BASSERT() [4/4]

M0_BASSERT ( offsetof(struct m0_dtm0_ts, dts_phys = =0U)

◆ m0_xc_dtm0_clk_src_fini()

M0_INTERNAL void m0_xc_dtm0_clk_src_fini ( void  )

Definition at line 62 of file clk_src_xc.c.

◆ m0_xc_dtm0_clk_src_init()

M0_INTERNAL void m0_xc_dtm0_clk_src_init ( void  )

Definition at line 57 of file clk_src_xc.c.

Here is the call graph for this function:

◆ m0_xc_m0_dtm0_ts_struct_init()

M0_INTERNAL void m0_xc_m0_dtm0_ts_struct_init ( void  )

Definition at line 37 of file clk_src_xc.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ _m0_dtm0_ts

struct _m0_dtm0_ts_s _m0_dtm0_ts
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_dtm0_ts",
.xct_sizeof = sizeof (struct m0_dtm0_ts),
.xct_nr = 1,
}
}

◆ m0_dtm0_ts_xc

struct m0_xcode_type * m0_dtm0_ts_xc = &_m0_dtm0_ts._type

Definition at line 10 of file clk_src_xc.c.