21#ifndef __xwcd_ds_standard_h__
22#define __xwcd_ds_standard_h__
31#define __xwds_code __xwcd_code
32#define __xwds_isr __xwcd_isr
33#define __xwds_api __xwcd_api
34#define __xwds_inline __xwcd_inline
35#define __xwds_inline_api __xwcd_inline_api
36#define __xwds_vop __xwcd_code
37#define __xwds_data __xwcd_data
38#define __xwds_rodata __xwcd_rodata
40#define xwds_cast(type, dev) ((type)(dev))
42#define XWDS_BUG() XWOS_BUG()
43#define XWDS_BUG_ON(x) XWOS_BUG_ON(x)
45#if (defined(XWCDCFG_CHECK_PARAMETERS) && (1 == XWCDCFG_CHECK_PARAMETERS))
46# define XWDS_VALIDATE(exp, errstr, ...) \
47 if (__xwcc_unlikely(!(exp))) { \
51# define XWDS_VALIDATE(exp, errstr, ...)
54#define XWDS_LOG_TAG "xwds"
struct xwds_iochip * iochip
const struct xwds_resource_reg * regrsc_array
const struct xwds_resource_gpio * gpiorsc_array
const struct xwds_resource_extgpio * extgpiorsc_array
const struct xwds_resource_pwr * pwrrsc_array
const struct xwds_resource_clk * clkrsc_array
const struct xwds_resource_dma * dmarsc_array
const struct xwds_resource_irq * irqrsc_array