Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/espi/
Despi_mchp_xec.c225 static uint32_t target_mem[CONFIG_ESPI_FLASH_BUFFER_SIZE >> 2]; variable
614 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()
Despi_mchp_xec_v2.c155 static uint32_t target_mem[CONFIG_ESPI_FLASH_BUFFER_SIZE >> 2]; variable
490 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()