37#if defined(XWCDCFG_ds_PM) && (1 == XWCDCFG_ds_PM)
50#if defined(XWCDCFG_ds_PM) && (1 == XWCDCFG_ds_PM)
162#if (defined(XWCDCFG_ds_PM)) && (1 == XWCDCFG_ds_PM)
static xwer_t xwds_device_grab(struct xwds_device *dev)
XWDS API:增加对象的引用计数
xwer_t xwds_device_vop_start(struct xwds_device *dev)
设备基本操作函数:启动设备
void xwds_device_construct(struct xwds_device *dev)
XWDS API:设备的构造函数
void xwds_device_destruct(struct xwds_device *dev)
XWDS API:设备的析构函数
static xwer_t xwds_device_put(struct xwds_device *dev)
XWDS API:减少对象的引用计数
xwer_t xwds_device_vop_stop(struct xwds_device *dev)
设备基本操作函数:停止设备
xwer_t xwds_device_vop_remove(struct xwds_device *dev)
设备基本操作函数:删除设备
xwer_t xwds_device_vop_resume(struct xwds_device *dev)
设备基本操作函数:继续设备
xwer_t xwds_device_vop_probe(struct xwds_device *dev)
设备基本操作函数:探测设备
xwer_t xwds_device_vop_suspend(struct xwds_device *dev)
设备基本操作函数:暂停设备
void xwds_soc_destruct(struct xwds_soc *soc)
XWDS API:SOC对象的析构函数
xwer_t xwds_soc_grab(struct xwds_soc *soc)
XWDS API:增加对象的引用计数
xwer_t xwds_soc_put(struct xwds_soc *soc)
XWDS API:减少对象的引用计数
void xwds_soc_construct(struct xwds_soc *soc)
XWDS API:SOC构造函数
xwer_t xwds_soc_get_reset_reason(struct xwds_soc *soc, xwu64_t *reason)
XWDS API:获取复位原因
#define xwds_cast(type, dev)
#define XWDS_VALIDATE(exp, errstr,...)
#define EFAULT
Bad address
#define ENOSYS
Function not implemented
static xwer_t xwds_soc_vop_stop(struct xwds_soc *soc)
XWDS VOP:停止SOC
static xwer_t xwds_soc_vop_probe(struct xwds_soc *soc)
XWDS VOP:探测SOC
static xwer_t xwds_soc_vop_start(struct xwds_soc *soc)
XWDS VOP:启动SOC
const struct xwds_virtual_operation xwds_soc_vop
static xwer_t xwds_soc_vop_resume(struct xwds_soc *soc)
XWDS VOP:继续SOC
static xwer_t xwds_soc_vop_remove(struct xwds_soc *soc)
XWDS VOP:移除SOC
static xwer_t xwds_soc_vop_suspend(struct xwds_soc *soc)
XWDS VOP:暂停SOC
const struct xwds_driver * drv
const struct xwds_virtual_operation * vop
xwer_t(* get_reset_reason)(struct xwds_soc *, xwu64_t *)
xwer_t(* stop)(struct xwds_device *)
xwer_t(* remove)(struct xwds_device *)
xwer_t(* probe)(struct xwds_device *)
xwer_t(* resume)(struct xwds_device *)