Searched refs:target_mem (Results 1 – 2 of 2) sorted by relevance
225 static uint32_t target_mem[CONFIG_ESPI_FLASH_BUFFER_SIZE >> 2]; variable614 ESPI_FC_REGS->MEM_ADDR_LSW = (uint32_t)&target_mem[0]; in espi_xec_flash_read()632 memcpy(pckt->buf, target_mem, pckt->len); in espi_xec_flash_read()650 if (sizeof(target_mem) < pckt->len) { in espi_xec_flash_write()665 memcpy(target_mem, pckt->buf, pckt->len); in espi_xec_flash_write()670 ESPI_FC_REGS->MEM_ADDR_LSW = (uint32_t)&target_mem[0]; in espi_xec_flash_write()
155 static uint32_t target_mem[CONFIG_ESPI_FLASH_BUFFER_SIZE >> 2]; variable490 regs->FCBA[0] = (uint32_t)&target_mem[0]; in espi_xec_flash_read()508 memcpy(pckt->buf, target_mem, pckt->len); in espi_xec_flash_read()527 if (sizeof(target_mem) < pckt->len) { in espi_xec_flash_write()542 memcpy(target_mem, pckt->buf, pckt->len); in espi_xec_flash_write()547 regs->FCBA[0] = (uint32_t)&target_mem[0]; in espi_xec_flash_write()