Home
last modified time | relevance | path

Searched refs:mb (Results 1 – 5 of 5) sorted by relevance

/bsp/allwinner/libraries/sunxi-hal/hal/source/msgbox/msgbox_sx/
A Dhal_msgbox_sx.c80 struct messagebox *mb = ch->mb; in msgbox_rev_handler() local
83 while (mb->channel_fifo_len(mb, channel) > 0) { in msgbox_rev_handler()
84 mb->channel_read(mb, channel, &data); in msgbox_rev_handler()
97 struct messagebox *mb = ch->mb; in msgbox_send_handler() local
112 mb->channel_write(mb, channel, data); in msgbox_send_handler()
119 mb->channel_irq_set(mb, channel, false); in msgbox_send_handler()
144 ch->mb = mb; in msgbox_alloc_channel_sx()
160 mb->channel_irq_set(mb, channel, true); in msgbox_alloc_channel_sx()
171 mb->channel_irq_set(mb, ch->channel, false); in msgbox_free_channel_sx()
182 struct messagebox *mb = ch->mb; in msgbox_channel_send_data_sx() local
[all …]
A Dmsgbox_sx.c19 int user = mb->this_user; in msg_queue_t_set()
42 int user = mb->this_user; in msg_queue_r_set()
65 int user = mb->this_user; in msg_queue_irq_t()
82 int user = mb->this_user; in msg_queue_irq_r()
153 int user = mb->this_user; in msg_irq_enable_get()
161 int user = mb->this_user; in msg_irq_status()
172 int user = mb->this_user; in msg_irq_clear()
186 struct messagebox *mb = d; in msg_irq_handler_sx() local
201 msg_irq_clear(mb, status & enable); in msg_irq_handler_sx()
224 ch = &mb->msg_handler[channel]; in msg_channel_irq_set_sx()
[all …]
A Dmsgbox_sx.h22 struct messagebox *mb; member
61 struct msg_channel *msgbox_alloc_channel_sx(struct messagebox *mb, int channel,
66 void msgbox_free_channel_sx(struct messagebox *mb, struct msg_channel *ch);
76 int msg_ops_init_sx(struct messagebox *mb);
77 int msg_irq_handler_sx(int i, void *mb);
/bsp/simulator/drivers/
A Dsdl_fb.c349 SDL_MouseButtonEvent *mb; local
360 mb = (SDL_MouseButtonEvent *)&event;
362 x = mb->x;
363 y = mb->y;
374 if (mb->button & (1 << (SDL_BUTTON_LEFT - 1)))
378 else if (mb->button & (1 << (SDL_BUTTON_RIGHT - 1)))
382 else if (mb->button & (1 << (SDL_BUTTON_MIDDLE - 1)))
387 if (mb->type == SDL_MOUSEBUTTONDOWN)
/bsp/k210/board/
A Dcpuport_smp.c59 mb(); in rt_hw_secondary_cpu_up()

Completed in 9 milliseconds