26#if defined(XWCDCFG_ds_PM) && (1 == XWCDCFG_ds_PM)
41#if defined(XWCDCFG_ds_PM) && (1 == XWCDCFG_ds_PM)
xwer_t xwds_device_suspend_all(struct xwds *ds, bool ign_err)
XWDS API:暂停所有设备
xwer_t xwds_device_resume_all(struct xwds *ds, bool ign_err)
XWDS API:继续所有设备
xwer_t xwds_pm_resume(struct xwds *ds)
XWDS API:继续设备栈
void xwds_init(struct xwds *ds)
XWDS API:初始化设备栈
xwer_t xwds_pm_suspend(struct xwds *ds)
XWDS API:暂停设备栈
static void xwlib_bclst_init_node(struct xwlib_bclst_node *n)
初始化一个链表节点。
static void xwos_sqlk_init(struct xwos_sqlk *sql)
XWOS API:初始化顺序锁
struct xwos_sqlk devlistlock
struct xwlib_bclst_node devhead
static void xwds_pm_report_devices_suspending(struct xwds *ds, xwer_t rc)
报告设备暂停操作异常
static void xwds_pm_report_devices_resuming(struct xwds *ds, xwer_t rc)
报告设备继续操作异常