36#if defined(XWCDCFG_ds_PM) && (1 == XWCDCFG_ds_PM)
49#if defined(XWCDCFG_ds_PM) && (1 == XWCDCFG_ds_PM)
93 goto err_dev_vop_probe;
114 goto err_dev_vop_remove;
141 goto err_dev_vop_start;
164 goto err_dev_vop_stop;
173#if (defined(XWCDCFG_ds_PM)) && (1 == XWCDCFG_ds_PM)
188 goto err_dev_vop_suspend;
216 goto err_dev_vop_resume;
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)
设备基本操作函数:暂停设备
xwer_t xwds_spim_put(struct xwds_spim *spim)
XWDS API:减少对象的引用计数
xwer_t xwds_spim_grab(struct xwds_spim *spim)
XWDS API:增加对象的引用计数
void xwds_spip_construct(struct xwds_spip *spip)
XWDS API:SPI外设控制器对象的构造函数
void xwds_spip_destruct(struct xwds_spip *spip)
XWDS API:SPI外设控制器对象的析构函数
xwer_t xwds_spip_grab(struct xwds_spip *spip)
XWDS API:增加对象的引用计数
xwer_t xwds_spip_put(struct xwds_spip *spip)
XWDS API:减少对象的引用计数
#define XWDS_VALIDATE(exp, errstr,...)
#define EHOSTUNREACH
Host is unreachable
static xwer_t xwds_spip_vop_stop(struct xwds_spip *spip)
XWDS VOP:停止设备
static xwer_t xwds_spip_vop_start(struct xwds_spip *spip)
XWDS VOP:启动设备
const struct xwds_virtual_operation xwds_spip_vop
static xwer_t xwds_spip_vop_remove(struct xwds_spip *spip)
XWDS VOP:删除设备
static xwer_t xwds_spip_vop_suspend(struct xwds_spip *spip)
XWDS VOP:暂停设备
static xwer_t xwds_spip_vop_resume(struct xwds_spip *spip)
XWDS VOP:继续设备
static xwer_t xwds_spip_vop_probe(struct xwds_spip *spip)
XWDS VOP:探测设备
const struct xwds_virtual_operation * vop
xwer_t(* stop)(struct xwds_device *)
xwer_t(* remove)(struct xwds_device *)
xwer_t(* probe)(struct xwds_device *)
xwer_t(* resume)(struct xwds_device *)