Home
last modified time | relevance | path

Searched refs:shm_buf (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/nvmem/
H A Dstm32-bsec-optee-ta.c145 u8 *shm_buf; in stm32_bsec_optee_ta_read() local
186 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() local
243 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 …]
/openbmc/linux/drivers/net/ethernet/microsoft/mana/
H A Dshm_channel.c145 u8 shm_buf[32]; in mana_smc_setup_hwc() local
182 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()