Searched refs:g_cmac_shm (Results 1 – 4 of 4) sorted by relevance
70 struct cmac_shm g_cmac_shm; variable99 g_cmac_shm.config = CMAC_CODE_PTR(CMAC_IMG_HDR->shm_config); in resolve_shm_ptrs()100 g_cmac_shm.ctrl = CMAC_SHARED_PTR(CMAC_IMG_HDR->shm_ctrl); in resolve_shm_ptrs()101 g_cmac_shm.mbox_s2c = CMAC_SHARED_PTR(CMAC_IMG_HDR->shm_mbox_s2c); in resolve_shm_ptrs()102 g_cmac_shm.mbox_c2s = CMAC_SHARED_PTR(CMAC_IMG_HDR->shm_mbox_c2s); in resolve_shm_ptrs()103 g_cmac_shm.trim = CMAC_SHARED_PTR(CMAC_IMG_HDR->shm_trim); in resolve_shm_ptrs()104 g_cmac_shm.rand = CMAC_SHARED_PTR(CMAC_IMG_HDR->shm_rand); in resolve_shm_ptrs()105 g_cmac_shm.dcdc = CMAC_SHARED_PTR(CMAC_IMG_HDR->shm_dcdc); in resolve_shm_ptrs()106 g_cmac_shm.crashinfo = CMAC_SHARED_PTR(CMAC_IMG_HDR->shm_crashinfo); in resolve_shm_ptrs()107 g_cmac_shm.debugdata = CMAC_SHARED_PTR(CMAC_IMG_HDR->shm_debugdata); in resolve_shm_ptrs()[all …]
29 return g_cmac_shm.rand->cmr_active; in cmac_rand_is_active()39 if (next == g_cmac_shm.rand->cmr_out) { in cmac_rand_is_full()53 next = g_cmac_shm.rand->cmr_in + 1; in cmac_rand_get_next()54 if (next == g_cmac_shm.config->rand_size) { in cmac_rand_get_next()70 next = g_cmac_shm.rand->cmr_in; in cmac_rand_fill()72 g_cmac_shm.rand->cmr_buf[next] = buf[0]; in cmac_rand_fill()74 g_cmac_shm.rand->cmr_in = next; in cmac_rand_fill()76 if (next == g_cmac_shm.rand->cmr_out) { in cmac_rand_fill()
31 *size = g_cmac_shm.config->mbox_c2s_size; in mbox_src_get()33 return g_cmac_shm.mbox_c2s; in mbox_src_get()39 *size = g_cmac_shm.config->mbox_s2c_size; in mbox_dst_get()41 return g_cmac_shm.mbox_s2c; in mbox_dst_get()
130 extern struct cmac_shm g_cmac_shm;