/AliOS-Things-master/components/ble_host/bt_host/port/core/ |
A D | mbox.c | 45 mbox->first = mbox->last = 0; in k_mbox_new() 51 *mb = mbox; in k_mbox_new() 93 mbox = mb; in k_mbox_post() 107 mbox->msgs[mbox->last % K_MBOX_SIZE] = msg; in k_mbox_post() 109 if (mbox->last == mbox->first) { in k_mbox_post() 150 mbox->msgs[mbox->last % K_MBOX_SIZE] = msg; in k_mbox_trypost() 152 if (mbox->last == mbox->first) { in k_mbox_trypost() 203 while (mbox->first == mbox->last) { in k_mbox_fetch() 223 *msg = mbox->msgs[mbox->first % K_MBOX_SIZE]; in k_mbox_fetch() 258 if (mbox->first == mbox->last) { in k_mbox_tryfetch() [all …]
|
A D | timer.c | 124 void mtimer_mbox_fetch(k_mbox_t *mbox, void **msg) in mtimer_mbox_fetch() argument 134 time_needed = k_mbox_fetch(mbox, msg, 0); in mtimer_mbox_fetch() 137 time_needed = k_mbox_fetch(mbox, msg, g_timer_list->time); in mtimer_mbox_fetch()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/port/ |
A D | sys_arch.c | 169 mbox->first = mbox->last = 0; in sys_mbox_new() 175 *mb = mbox; in sys_mbox_new() 211 mbox = *mb; in sys_mbox_post() 225 mbox->msgs[mbox->last % SYS_MBOX_SIZE] = msg; in sys_mbox_post() 227 if (mbox->last == mbox->first) { in sys_mbox_post() 264 mbox->msgs[mbox->last % SYS_MBOX_SIZE] = msg; in sys_mbox_trypost() 266 if (mbox->last == mbox->first) { in sys_mbox_trypost() 309 while (mbox->first == mbox->last) { in sys_arch_mbox_fetch() 329 *msg = mbox->msgs[mbox->first % SYS_MBOX_SIZE]; in sys_arch_mbox_fetch() 359 if (mbox->first == mbox->last) { in sys_arch_mbox_tryfetch() [all …]
|
/AliOS-Things-master/components/littlevgl/src/lv_objx/ |
A D | lv_mbox.c | 151 lv_mbox_set_style(mbox, LV_MBOX_STYLE_BTN_BG, th->style.mbox.btn.bg); in lv_mbox_add_btns() 152 lv_mbox_set_style(mbox, LV_MBOX_STYLE_BTN_REL, th->style.mbox.btn.rel); in lv_mbox_add_btns() 153 lv_mbox_set_style(mbox, LV_MBOX_STYLE_BTN_PR, th->style.mbox.btn.pr); in lv_mbox_add_btns() 163 mbox_realign(mbox); in lv_mbox_add_btns() 180 mbox_realign(mbox); in lv_mbox_set_text() 195 (void)mbox; in lv_mbox_set_anim_time() 251 lv_obj_del(mbox); in lv_mbox_start_auto_close() 264 (void)mbox; /*Unused*/ in lv_mbox_stop_auto_close() 288 mbox_realign(mbox); in lv_mbox_set_style() 360 (void)mbox; in lv_mbox_get_anim_time() [all …]
|
A D | lv_mbox.h | 108 void lv_mbox_set_text(lv_obj_t * mbox, const char * txt); 115 void lv_mbox_set_anim_time(lv_obj_t * mbox, uint16_t anim_time); 122 void lv_mbox_start_auto_close(lv_obj_t * mbox, uint16_t delay); 128 void lv_mbox_stop_auto_close(lv_obj_t * mbox); 143 void lv_mbox_set_recolor(lv_obj_t * mbox, bool en); 154 const char * lv_mbox_get_text(const lv_obj_t * mbox); 162 uint16_t lv_mbox_get_active_btn(lv_obj_t * mbox); 170 const char * lv_mbox_get_active_btn_text(lv_obj_t * mbox); 177 uint16_t lv_mbox_get_anim_time(const lv_obj_t * mbox); 192 bool lv_mbox_get_recolor(const lv_obj_t * mbox); [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/ |
A D | sys.h | 281 err_t sys_mbox_new(sys_mbox_t *mbox, int size); 289 void sys_mbox_post(sys_mbox_t *mbox, void *msg); 296 err_t sys_mbox_trypost(sys_mbox_t *mbox, void *msg); 318 u32_t sys_arch_mbox_tryfetch(sys_mbox_t *mbox, void **msg); 323 #define sys_mbox_tryfetch(mbox, msg) sys_arch_mbox_tryfetch(mbox, msg) 329 void sys_mbox_free(sys_mbox_t *mbox); 330 #define sys_mbox_fetch(mbox, msg) sys_arch_mbox_fetch(mbox, msg, 0) 336 int sys_mbox_valid(sys_mbox_t *mbox); 343 void sys_mbox_set_invalid(sys_mbox_t *mbox); 349 #define sys_mbox_valid_val(mbox) sys_mbox_valid(&(mbox)) [all …]
|
A D | timeouts.h | 111 void sys_timeouts_mbox_fetch(sys_mbox_t *mbox, void **msg);
|
A D | stats.h | 120 struct stats_syselem mbox; member
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/ |
A D | sys.h | 281 err_t sys_mbox_new(sys_mbox_t *mbox, int size); 289 void sys_mbox_post(sys_mbox_t *mbox, void *msg); 296 err_t sys_mbox_trypost(sys_mbox_t *mbox, void *msg); 318 u32_t sys_arch_mbox_tryfetch(sys_mbox_t *mbox, void **msg); 323 #define sys_mbox_tryfetch(mbox, msg) sys_arch_mbox_tryfetch(mbox, msg) 329 void sys_mbox_free(sys_mbox_t *mbox); 330 #define sys_mbox_fetch(mbox, msg) sys_arch_mbox_fetch(mbox, msg, 0) 336 int sys_mbox_valid(sys_mbox_t *mbox); 343 void sys_mbox_set_invalid(sys_mbox_t *mbox); 349 #define sys_mbox_valid_val(mbox) sys_mbox_valid(&(mbox)) [all …]
|
A D | timeouts.h | 111 void sys_timeouts_mbox_fetch(sys_mbox_t *mbox, void **msg);
|
/AliOS-Things-master/components/csi/csi2/include/drv/ |
A D | mbox.h | 31 …void (*callback)(csi_mbox_t *mbox, csi_mbox_event_t event, uint32_t channel_id, uint32_t received_… 43 csi_error_t csi_mbox_init(csi_mbox_t *mbox, uint32_t idx); 49 void csi_mbox_uninit(csi_mbox_t *mbox); 59 int32_t csi_mbox_send(csi_mbox_t *mbox, uint32_t channel_id, const void *data, uint32_t size); 69 int32_t csi_mbox_receive(csi_mbox_t *mbox, uint32_t channel_id, void *data, uint32_t size); 78 csi_error_t csi_mbox_attach_callback(csi_mbox_t *mbox, void *callback, void *arg); 84 void csi_mbox_detach_callback(csi_mbox_t *mbox);
|
/AliOS-Things-master/components/lwip/lwip2.0.0/port/include/arch/ |
A D | sys_arch.h | 70 #define sys_mbox_valid(mbox) #error TODO:impl argument 71 #define sys_mbox_set_invalid(mbox) #error TODO:impl argument 74 #define sys_mbox_valid(mbox) aos_queue_is_valid(mbox) argument 75 #define sys_mbox_set_invalid(mbox) do { if(mbox != NULL) { *mbox = NULL; }}while(0) argument
|
/AliOS-Things-master/components/lwip/lwip2.0.0/api/ |
A D | tcpip.c | 64 static sys_mbox_t mbox; variable 73 #define TCPIP_MBOX_FETCH(mbox, msg) sys_timeouts_mbox_fetch(mbox, msg) argument 76 #define TCPIP_MBOX_FETCH(mbox, msg) sys_mbox_fetch(mbox, msg) argument 104 TCPIP_MBOX_FETCH(&mbox, (void **)&msg); in tcpip_thread() 195 if (sys_mbox_trypost(&mbox, msg) != ERR_OK) { in tcpip_signal_netif_event() 234 if (sys_mbox_trypost(&mbox, msg) != ERR_OK) { in tcpip_inpkt() 300 sys_mbox_post(&mbox, msg); in tcpip_callback_with_block() 335 sys_mbox_post(&mbox, msg); in tcpip_timeout() 361 sys_mbox_post(&mbox, msg); in tcpip_untimeout() 398 sys_mbox_post(&mbox, &TCPIP_MSG_VAR_REF(msg)); in tcpip_send_msg_wait_sem() [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/core/ |
A D | stats.c | 136 LWIP_PLATFORM_DIAG(("mbox.used: %"U32_F"\n\t", (u32_t)sys->mbox.used)); in stats_display_sys() 137 LWIP_PLATFORM_DIAG(("mbox.max: %"U32_F"\n\t", (u32_t)sys->mbox.max)); in stats_display_sys() 138 LWIP_PLATFORM_DIAG(("mbox.err: %"U32_F"\n\t", (u32_t)sys->mbox.err)); in stats_display_sys()
|
A D | timeouts.c | 405 sys_timeouts_mbox_fetch(sys_mbox_t *mbox, void **msg) in sys_timeouts_mbox_fetch() argument 411 sys_arch_mbox_fetch(mbox, msg, 0); in sys_timeouts_mbox_fetch() 416 if (sleeptime == 0 || sys_arch_mbox_fetch(mbox, msg, sleeptime) == SYS_ARCH_TIMEOUT) { in sys_timeouts_mbox_fetch()
|
/AliOS-Things-master/components/ble_host/bt_host/port/include/port/ |
A D | timer.h | 38 void mtimer_mbox_fetch(k_mbox_t *mbox, void **msg);
|
/AliOS-Things-master/components/littlevgl/src/lv_themes/ |
A D | lv_theme_templ.c | 248 theme.style.mbox.bg = &def; in mbox_init() 249 theme.style.mbox.btn.bg = &def; in mbox_init() 250 theme.style.mbox.btn.rel = &def; in mbox_init() 251 theme.style.mbox.btn.pr = &def; in mbox_init()
|
A D | lv_theme_default.c | 259 theme.style.mbox.bg = &lv_style_pretty; in mbox_init() 260 theme.style.mbox.btn.bg = &lv_style_transp; in mbox_init() 261 theme.style.mbox.btn.rel = &lv_style_btn_rel; in mbox_init() 262 theme.style.mbox.btn.pr = &lv_style_btn_tgl_pr; in mbox_init()
|
A D | lv_theme_mono.c | 311 theme.style.mbox.bg = &dark_frame; in mbox_init() 312 theme.style.mbox.btn.bg = &lv_style_transp_fit; in mbox_init() 313 theme.style.mbox.btn.rel = &light_frame; in mbox_init() 314 theme.style.mbox.btn.pr = &dark_frame; in mbox_init()
|
A D | lv_theme.h | 217 } mbox; member
|
A D | lv_theme_nemo.c | 575 theme.style.mbox.bg = &mbox_bg; in mbox_init() 576 theme.style.mbox.btn.bg = &lv_style_transp; in mbox_init() 577 theme.style.mbox.btn.rel = &btn_trel; in mbox_init() 578 theme.style.mbox.btn.pr = &btn_tpr; in mbox_init()
|
A D | lv_theme_night.c | 517 theme.style.mbox.bg = &mbox_bg; in mbox_init() 518 theme.style.mbox.btn.bg = &lv_style_transp; in mbox_init() 519 theme.style.mbox.btn.rel = theme.style.btn.rel; in mbox_init() 520 theme.style.mbox.btn.pr = theme.style.btn.pr; in mbox_init()
|
A D | lv_theme_zen.c | 544 theme.style.mbox.bg = &bg; in mbox_init() 545 theme.style.mbox.btn.bg = &lv_style_transp; in mbox_init() 546 theme.style.mbox.btn.rel = &rel; in mbox_init() 547 theme.style.mbox.btn.pr = ≺ in mbox_init()
|
A D | lv_theme_alien.c | 597 theme.style.mbox.bg = &mbox_bg; in mbox_init() 598 theme.style.mbox.btn.bg = &lv_style_transp; in mbox_init() 599 theme.style.mbox.btn.rel = &btn_trel; in mbox_init() 600 theme.style.mbox.btn.pr = &btn_tpr; in mbox_init()
|
A D | lv_theme_material.c | 519 theme.style.mbox.bg = theme.style.panel; in mbox_init() 520 theme.style.mbox.btn.bg = &lv_style_transp; in mbox_init() 521 theme.style.mbox.btn.rel = &rel; in mbox_init() 522 theme.style.mbox.btn.pr = ≺ in mbox_init()
|