LCOV - code coverage report
Current view: top level - zephyr/dt-bindings/rdc - imx_rdc.h Hit Total Coverage
Test: new.info Lines: 0 12 0.0 %
Date: 2024-12-22 00:14:23

          Line data    Source code
       1           0 : /*
       2             :  * Copyright (c) 2018, Diego Sueiro
       3             :  * Copyright 2024 NXP
       4             :  *
       5             :  * SPDX-License-Identifier: Apache-2.0
       6             :  */
       7             : 
       8             : #ifndef ZEPHYR_INCLUDE_DT_BINDINGS_RDC_IMX_RDC_H_
       9             : #define ZEPHYR_INCLUDE_DT_BINDINGS_RDC_IMX_RDC_H_
      10             : 
      11           0 : #define A7_DOMAIN_ID    0
      12           0 : #define A9_DOMAIN_ID    0
      13           0 : #define A53_DOMAIN_ID   0
      14           0 : #define M4_DOMAIN_ID    1
      15           0 : #define M7_DOMAIN_ID    1
      16             : 
      17           0 : #define RDC_DOMAIN_PERM_NONE  (0x0)
      18           0 : #define RDC_DOMAIN_PERM_W     (0x1)
      19           0 : #define RDC_DOMAIN_PERM_R     (0x2)
      20           0 : #define RDC_DOMAIN_PERM_RW    (RDC_DOMAIN_PERM_W|RDC_DOMAIN_PERM_R)
      21             : 
      22           0 : #define RDC_DOMAIN_PERM(domain, perm) (perm << (domain * 2))
      23             : 
      24           0 : #define RDC_DT_VAL(nodelabel) DT_PROP(DT_NODELABEL(nodelabel), rdc)
      25             : 
      26             : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_RDC_IMX_RDC_H_ */

Generated by: LCOV version 1.14