| /components/drivers/ipc/ |
| A D | workqueue.c | 53 struct rt_work *work; in _workqueue_thread_entry() local 126 work->flags = 0; in _workqueue_submit_work() 175 work->flags = 0; in _workqueue_cancel_work() 177 work->workqueue = RT_NULL; in _workqueue_cancel_work() 195 RT_ASSERT(work != RT_NULL); in rt_work_init() 201 work->workqueue = RT_NULL; in rt_work_init() 202 work->flags = 0; in rt_work_init() 203 work->type = 0; in rt_work_init() 278 RT_ASSERT(work != RT_NULL); in rt_workqueue_dowork() 300 RT_ASSERT(work != RT_NULL); in rt_workqueue_submit_work() [all …]
|
| /components/drivers/include/ipc/ |
| A D | workqueue.h | 53 void (*work_func)(struct rt_work *work, void *work_data); 65 void rt_work_init(struct rt_work *work, void (*work_func)(struct rt_work *work, void *work_data), v… 68 rt_err_t rt_workqueue_dowork(struct rt_workqueue *queue, struct rt_work *work); 69 rt_err_t rt_workqueue_submit_work(struct rt_workqueue *queue, struct rt_work *work, rt_tick_t ticks… 70 rt_err_t rt_workqueue_cancel_work(struct rt_workqueue *queue, struct rt_work *work); 71 rt_err_t rt_workqueue_cancel_work_sync(struct rt_workqueue *queue, struct rt_work *work); 73 rt_err_t rt_workqueue_urgent_work(struct rt_workqueue *queue, struct rt_work *work); 76 rt_err_t rt_work_submit(struct rt_work *work, rt_tick_t ticks); 77 rt_err_t rt_work_urgent(struct rt_work *work); 78 rt_err_t rt_work_cancel(struct rt_work *work);
|
| /components/legacy/ipc/ |
| A D | workqueue_legacy.c | 13 void rt_delayed_work_init(struct rt_delayed_work *work, in rt_delayed_work_init() argument 14 void (*work_func)(struct rt_work *work, in rt_delayed_work_init() argument 17 rt_work_init(&work->work, work_func, work_data); in rt_delayed_work_init()
|
| A D | workqueue_legacy.h | 18 struct rt_work work; member 21 void rt_delayed_work_init(struct rt_delayed_work *work, 22 void (*work_func)(struct rt_work *work,
|
| /components/libc/compilers/common/ |
| A D | ctime.c | 158 int work; in gmtime_r() local 169 r->tm_sec = work % 60; in gmtime_r() 170 work /= 60; in gmtime_r() 178 if (work >= k) in gmtime_r() 179 work -= k; in gmtime_r() 184 r->tm_yday = work; in gmtime_r() 189 if (work == 59) in gmtime_r() 191 work -= 1; in gmtime_r() 995 work = ¶m->work; in timer_create() 997 if (!work) in timer_create() [all …]
|
| /components/lwp/ |
| A D | lwp_runtime.c | 117 static void _teardown_entry(struct rt_work *work, void *work_data) in _teardown_entry() argument 142 struct rt_work *work; in lwp_teardown() local 150 work = &_teardown_work; in lwp_teardown() 151 rt_work_init(work, _teardown_entry, cb); in lwp_teardown() 154 rt_work_submit(work, SOME_DELAY); in lwp_teardown()
|
| /components/drivers/wlan/ |
| A D | dev_wlan_workqueue.c | 24 struct rt_work work; member 31 static void rt_wlan_workqueue_fun(struct rt_work *work, void *work_data) in rt_wlan_workqueue_fun() argument 70 rt_work_init(&wlan_work->work, rt_wlan_workqueue_fun, wlan_work); in rt_wlan_workqueue_dowork() 71 err = rt_workqueue_dowork(wlan_workqueue, &wlan_work->work); in rt_wlan_workqueue_dowork()
|
| A D | dev_wlan_lwip.c | 51 struct rt_work work; member 54 static void netif_is_ready(struct rt_work *work, void *parameter) in netif_is_ready() argument 116 if (work) in netif_is_ready() 118 rt_memset(work, 0, sizeof(struct rt_work)); in netif_is_ready() 129 struct rt_work *work; in timer_callback() local 135 work = &lwip_prot->work; in timer_callback() 140 rt_work_init(work, netif_is_ready, parameter); in timer_callback() 142 if (rt_workqueue_dowork(workqueue, work) != RT_EOK) in timer_callback() 145 rt_memset(work, 0, sizeof(struct rt_work)); in timer_callback()
|
| A D | Kconfig | 108 bool "WLAN work queue thread Enable" 113 string "WLAN work queue thread name" 117 int "WLAN work queue thread size" 121 int "WLAN work queue thread priority"
|
| A D | dev_wlan_mgnt.c | 342 static void rt_wlan_auto_connect_run(struct rt_work *work, void *parameter) in rt_wlan_auto_connect_run() argument 381 rt_memset(work, 0, sizeof(struct rt_work)); in rt_wlan_auto_connect_run() 387 static struct rt_work work; in rt_wlan_cyclic_check() local 390 if ((_is_do_connect() == RT_TRUE) && (work.work_func == RT_NULL)) in rt_wlan_cyclic_check() 393 rt_work_init(&work, rt_wlan_auto_connect_run, RT_NULL); in rt_wlan_cyclic_check() 395 if(rt_work_submit(&work,RT_TICK_PER_SECOND) != RT_EOK) in rt_wlan_cyclic_check() 398 rt_memset(&work, 0, sizeof(struct rt_work)); in rt_wlan_cyclic_check()
|
| /components/libc/posix/io/aio/ |
| A D | aio.c | 119 static void aio_fync_work(struct rt_work* work, void* work_data) in aio_fync_work() argument 176 static void aio_read_work(struct rt_work* work, void* work_data) in aio_read_work() argument 327 static void aio_write_work(struct rt_work* work, void* work_data) in aio_write_work() argument
|
| /components/dfs/dfs_v1/filesystems/elmfat/ |
| A D | dfs_elm.c | 206 BYTE *work; in dfs_elm_mkfs() local 213 work = rt_malloc(FF_MAX_SS); in dfs_elm_mkfs() 214 if(RT_NULL == work) { in dfs_elm_mkfs() 220 rt_free(work); /* release memory */ in dfs_elm_mkfs() 238 rt_free(work); /* release memory */ in dfs_elm_mkfs() 246 rt_free(work); /* release memory */ in dfs_elm_mkfs() 277 result = f_mkfs(logic_nbr, &opt, work, FF_MAX_SS); in dfs_elm_mkfs() 278 rt_free(work); work = RT_NULL; in dfs_elm_mkfs()
|
| A D | ff.h | 333 FRESULT f_mkfs (const TCHAR* path, const MKFS_PARM* opt, void* work, UINT len); /* Create a FAT vol… 334 FRESULT f_fdisk (BYTE pdrv, const LBA_t ptbl[], void* work); /* Divide a physical drive into some …
|
| /components/drivers/usb/cherryusb/ |
| A D | LICENSE | 35 "Work" shall mean the work of authorship, whether in Source or 37 copyright notice that is included in or attached to the work 40 "Derivative Works" shall mean any work, whether in Source or Object 43 represent, as a whole, an original work of authorship. For the purposes 48 "Contribution" shall mean any work of authorship, including 161 work stoppage, computer failure or malfunction, or any and all 178 APPENDIX: How to apply the Apache License to your work. 180 To apply the Apache License to your work, attach the following
|
| /components/dfs/dfs_v2/filesystems/elmfat/ |
| A D | dfs_elm.c | 245 BYTE *work; in dfs_elm_mkfs() local 252 work = rt_malloc(FF_MAX_SS); in dfs_elm_mkfs() 253 if(RT_NULL == work) { in dfs_elm_mkfs() 259 rt_free(work); /* release memory */ in dfs_elm_mkfs() 277 rt_free(work); /* release memory */ in dfs_elm_mkfs() 285 rt_free(work); /* release memory */ in dfs_elm_mkfs() 316 result = f_mkfs(logic_nbr, &opt, work, FF_MAX_SS); in dfs_elm_mkfs() 317 rt_free(work); work = RT_NULL; in dfs_elm_mkfs()
|
| A D | ff.h | 333 FRESULT f_mkfs (const TCHAR* path, const MKFS_PARM* opt, void* work, UINT len); /* Create a FAT vol… 334 FRESULT f_fdisk (BYTE pdrv, const LBA_t ptbl[], void* work); /* Divide a physical drive into some …
|
| /components/dfs/dfs_v2/src/ |
| A D | dfs_pcache.c | 314 struct dfs_pcache_mq_obj work; in dfs_pcache_thread() local 318 if (rt_mq_recv(__pcache.mqueue, &work, sizeof(work), RT_WAITING_FOREVER) == sizeof(work)) in dfs_pcache_thread() 320 if (work.cmd == PCACHE_MQ_GC) in dfs_pcache_thread() 324 else if (work.cmd == PCACHE_MQ_WB) in dfs_pcache_thread() 472 struct dfs_pcache_mq_obj work = { 0 }; in dfs_pcache_mq_work() local 474 work.cmd = cmd; in dfs_pcache_mq_work() 476 … err = rt_mq_send_wait(__pcache.mqueue, (const void *)&work, sizeof(struct dfs_pcache_mq_obj), 0); in dfs_pcache_mq_work()
|
| /components/drivers/include/drivers/ |
| A D | serial_bypass.h | 48 struct rt_work work; member
|
| /components/drivers/rtc/ |
| A D | dev_soft_rtc.c | 266 static void rtc_sync_work_func(struct rt_work *work, void *work_data) in rtc_sync_work_func() argument 269 rt_work_submit(work, rt_tick_from_millisecond(RTC_AUTO_SYNC_PERIOD * 1000)); in rtc_sync_work_func()
|
| /components/net/lwip/lwip-2.1.2/src/netif/ |
| A D | FILES | 17 protocol. It requires a sio (serial I/O) module to work.
|
| /components/net/lwip/lwip-2.0.3/src/netif/ |
| A D | FILES | 18 protocol. It requires a sio (serial I/O) module to work.
|
| /components/net/lwip/lwip-1.4.1/ |
| A D | UPGRADING | 3 application written for an older version of lwIP to correctly work 108 * added autoip_set_struct() and dhcp_set_struct() to let autoip and dhcp work 131 * Use macros defined in ip_addr.h to work with IP addresses
|
| /components/net/lwip/lwip-1.4.1/src/netif/ |
| A D | FILES | 23 protocol. It requires a sio (serial I/O) module to work.
|
| /components/drivers/serial/ |
| A D | bypass.c | 220 static void rt_lower_work(struct rt_work* work, void* work_data) in rt_lower_work() argument 238 rt_work_init(&serial->bypass->work, rt_lower_work, (void*)serial); in rt_bypass_lower_register()
|
| /components/net/lwip/lwip-2.0.3/ |
| A D | UPGRADING | 3 application written for an older version of lwIP to correctly work 207 * added autoip_set_struct() and dhcp_set_struct() to let autoip and dhcp work 230 * Use macros defined in ip_addr.h to work with IP addresses
|