Searched refs:messagebox (Results 1 – 4 of 4) sorted by relevance
| /bsp/allwinner/libraries/sunxi-hal/hal/source/msgbox/msgbox_sx/ |
| A D | msgbox_sx.h | 19 struct messagebox; 22 struct messagebox *mb; 38 struct messagebox { struct 42 int (*channel_set_direction)(struct messagebox *, int channel, argument 45 int (*channel_irq_set)(struct messagebox *, int channel, int enable); argument 47 int (*channel_read)(struct messagebox *, int channel, argument 49 int (*channel_write)(struct messagebox *, int channel, argument 51 int (*channel_fifo_len)(struct messagebox *, int channel); argument 56 extern struct messagebox *msgbox_dsp; argument 57 extern struct messagebox *msgbox_cpu; [all …]
|
| A D | msgbox_sx.c | 17 static int msg_queue_t_set(struct messagebox *mb, int queue) in msg_queue_t_set() 40 static int msg_queue_r_set(struct messagebox *mb, int queue) in msg_queue_r_set() 63 static int msg_queue_irq_t(struct messagebox *mb, int queue, int en) in msg_queue_irq_t() 80 static int msg_queue_irq_r(struct messagebox *mb, int queue, int en) in msg_queue_irq_r() 122 static int msg_queue_msg_cnt_sx(struct messagebox *mb, int queue) in msg_queue_msg_cnt_sx() 141 static int msg_queue_write_sx(struct messagebox *mb, int queue, in msg_queue_write_sx() 151 static inline unsigned long msg_irq_enable_get(struct messagebox *mb) in msg_irq_enable_get() 159 static inline unsigned long msg_irq_status(struct messagebox *mb) in msg_irq_status() 186 struct messagebox *mb = d; in msg_irq_handler_sx() 207 msg_channel_set_direction_sx(struct messagebox *mb, int channel, in msg_channel_set_direction_sx() [all …]
|
| A D | hal_msgbox_sx.c | 10 struct messagebox *msgbox_dsp; 11 struct messagebox *msgbox_cpu; 33 struct messagebox *msgbox_init_sx(enum msgbox_direction dir) in msgbox_init_sx() 35 struct messagebox *mb = pvPortMalloc(sizeof(struct messagebox) + in msgbox_init_sx() 45 sizeof(struct messagebox) + in msgbox_init_sx() 68 void msgbox_uninit_sx(struct messagebox *mb) in msgbox_uninit_sx() 80 struct messagebox *mb = ch->mb; in msgbox_rev_handler() 97 struct messagebox *mb = ch->mb; in msgbox_send_handler() 132 struct msg_channel *msgbox_alloc_channel_sx(struct messagebox *mb, int channel, in msgbox_alloc_channel_sx() 166 void msgbox_free_channel_sx(struct messagebox *mb, struct msg_channel *ch) in msgbox_free_channel_sx() [all …]
|
| A D | msgbox_adapt.c | 7 struct messagebox *msgbox; 44 struct messagebox *msg; in hal_msgbox_alloc_channel()
|
Completed in 10 milliseconds