头文件引用及全局变量定义: /*头文件引用*/#include<linux/module.h>#include<linux/sched.h>#include<linux/pid.h>#include<linux/wait.h>#include<linux/completion.h>#include<linux/kthread.h>MODULE_LICENSE("GPL");/*全局变量定义*/staticstructcompletion comple;//用于保存completion的状态staticstructtask...
开发者ID:LeeShuni,项目名称:linux,代码行数:89,代码来源:arizona.c 示例5: xhci_ehset_single_step_set_feature ▲点赞 1▼ /* * This function implements the USB_PORT_FEAT_TEST handling of the * SINGLE_STEP_SET_FEATURE test mode as defined in the Embedded * High-Speed Electrical Test (EHSE...
Old Mirror of Linus Torvald's Kernel Tree, see "linux" repo for current version - sched: Change wait_for_completion_*_timeout() to return a signed long · oztc/linux-2.6@6bf4123
开发者ID:3null,项目名称:linux,代码行数:22,代码来源:arm-charlcd.c 示例2: p54_remove_interface ▲点赞 6▼ staticvoidp54_remove_interface(struct ieee80211_hw *dev, struct ieee80211_vif *vif){structp54_common*priv=dev->priv;mutex_lock(&priv->conf_mutex); priv->vif =NULL;/* * LMAC ...
File: arm-charlcd.c Project: 3null/linux static void charlcd_wait_complete_irq(struct charlcd *lcd) { int ret; ret = wait_for_completion_interruptible_timeout(&lcd->complete, CHARLCD_TIMEOUT); /* Disable IRQ after completion */ writel(0x00, lcd-...
函数:wait_for_completion_interruptible_timeout( ) 文件包含: #include <linux/completion.h> 函数定义: 在内核源码中的位置:linux-3.19.3/kernel/sched/completion.c 函数定义格式: long __sched wait_for_completion
开发者ID:LeeShuni,项目名称:linux,代码行数:89,代码来源:arizona.c 示例5: xhci_ehset_single_step_set_feature ▲点赞 1▼ /* * This function implements the USB_PORT_FEAT_TEST handling of the * SINGLE_STEP_SET_FEATURE test mode as defined in the Embedded ...