Searched refs:mbox (Results 1 – 2 of 2) sorted by relevance
47 volatile struct cmac_shm_mbox *mbox; in cmac_mbox_has_data() local50 mbox = mbox_src_get(&mbox_size); in cmac_mbox_has_data()52 return mbox->rd_off != mbox->wr_off; in cmac_mbox_has_data()58 volatile struct cmac_shm_mbox *mbox; in cmac_mbox_read() local66 mbox = mbox_src_get(&mbox_size); in cmac_mbox_read()68 mbox_buf = (void *)mbox->data; in cmac_mbox_read()73 rd_off = mbox->rd_off; in cmac_mbox_read()74 wr_off = mbox->wr_off; in cmac_mbox_read()90 mbox->rd_off = rd_off == mbox_size ? 0 : rd_off; in cmac_mbox_read()91 } while ((mbox->rd_off != mbox->wr_off) && (rem_len > 0)); in cmac_mbox_read()[all …]
4 mbox.c