Home
last modified time | relevance | path

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

/linux/drivers/remoteproc/
H A Dstm32_rproc.c100 struct stm32_rproc_mem *p_mem; in stm32_rproc_pa_to_da() local
103 p_mem = &ddata->rmems[i]; in stm32_rproc_pa_to_da()
105 if (pa < p_mem->bus_addr || in stm32_rproc_pa_to_da()
106 pa >= p_mem->bus_addr + p_mem->size) in stm32_rproc_pa_to_da()
108 *da = pa - p_mem->bus_addr + p_mem->dev_addr; in stm32_rproc_pa_to_da()
596 struct stm32_rproc_mem *p_mem; in stm32_rproc_da_to_pa() local
600 p_mem = &ddata->rmems[i]; in stm32_rproc_da_to_pa()
602 if (da < p_mem->dev_addr || in stm32_rproc_da_to_pa()
603 da >= p_mem->dev_addr + p_mem->size) in stm32_rproc_da_to_pa()
606 *pa = da - p_mem->dev_addr + p_mem->bus_addr; in stm32_rproc_da_to_pa()
/linux/drivers/firmware/
H A Dstratix10-svc.c958 struct stratix10_svc_data_mem *p_mem; in stratix10_svc_send() local
996 list_for_each_entry(p_mem, &svc_data_mem, node) in stratix10_svc_send()
997 if (p_mem->vaddr == p_msg->payload) { in stratix10_svc_send()
998 p_data->paddr = p_mem->paddr; in stratix10_svc_send()
1003 list_for_each_entry(p_mem, &svc_data_mem, node) in stratix10_svc_send()
1004 if (p_mem->vaddr == p_msg->payload_output) { in stratix10_svc_send()
1006 p_mem->paddr; in stratix10_svc_send()