Searched refs:shm_buf (Results 1 – 2 of 2) sorted by relevance
145 u8 *shm_buf; in stm32_bsec_optee_ta_read() local186 shm_buf = tee_shm_get_va(shm, 0); in stm32_bsec_optee_ta_read()187 if (IS_ERR(shm_buf)) { in stm32_bsec_optee_ta_read()188 ret = PTR_ERR(shm_buf); in stm32_bsec_optee_ta_read()192 memcpy(buf, &shm_buf[offset % 4], bytes); in stm32_bsec_optee_ta_read()210 u8 *shm_buf; in stm32_bsec_optee_ta_write() local243 shm_buf = tee_shm_get_va(shm, 0); in stm32_bsec_optee_ta_write()244 if (IS_ERR(shm_buf)) { in stm32_bsec_optee_ta_write()245 ret = PTR_ERR(shm_buf); in stm32_bsec_optee_ta_write()252 memcpy(shm_buf, buf, bytes); in stm32_bsec_optee_ta_write()[all …]
145 u8 shm_buf[32]; in mana_smc_setup_hwc() local182 memset(shm_buf, 0, sizeof(shm_buf)); in mana_smc_setup_hwc()183 ptr = shm_buf; in mana_smc_setup_hwc()237 dword = (u32 *)shm_buf; in mana_smc_setup_hwc()