Home
last modified time | relevance | path

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

/hal_microchip-latest/mec5/drivers/
Dmec_espi_fc.c267 struct mec_espi_fc_xfr *pxfr, in mec_hal_espi_fc_xfr_start() argument
272 if (!iobase || !pxfr || !pxfr->byte_len || !pxfr->buf_addr in mec_hal_espi_fc_xfr_start()
273 || (pxfr->operation >= MEC_ESPI_FC_OP_MAX)) { in mec_hal_espi_fc_xfr_start()
277 if (!MEC_IS_PTR_ALIGNED32(pxfr->buf_addr)) { in mec_hal_espi_fc_xfr_start()
289 switch (pxfr->operation) { in mec_hal_espi_fc_xfr_start()
300 xfr_len = pxfr->byte_len; in mec_hal_espi_fc_xfr_start()
304 xfr_len = pxfr->byte_len; in mec_hal_espi_fc_xfr_start()
310 iobase->FCFA = pxfr->flash_addr; in mec_hal_espi_fc_xfr_start()
311 iobase->FCBA = pxfr->buf_addr; in mec_hal_espi_fc_xfr_start()
317 iobase->FCCTL = ((((uint32_t)pxfr->tag << MEC_ESPI_IO_FCCTL_TAG_Pos) in mec_hal_espi_fc_xfr_start()
Dmec_espi_fc.h87 int mec_hal_espi_fc_xfr_start(struct mec_espi_io_regs *iobase, struct mec_espi_fc_xfr *pxfr,