Searched refs:nbytes (Results 1 – 7 of 7) sorted by relevance
/hal_microchip-latest/mec5/drivers/ |
D | mec_eeprom.c | 218 int mec_hal_eeprom_buffer_rd(struct mec_eeprom_ctrl_regs *regs, uint8_t *dest, uint32_t nbytes) in mec_hal_eeprom_buffer_rd() argument 226 if (!dest || !nbytes || (nbytes > MEC_HAL_EEPROM_MAX_XFR_LEN)) { in mec_hal_eeprom_buffer_rd() 232 for (uint32_t n = 0; n < nbytes; n++) { in mec_hal_eeprom_buffer_rd() 241 uint32_t nbytes) in mec_hal_eeprom_buffer_wr() argument 249 if (!src || !nbytes || (nbytes > MEC_HAL_EEPROM_MAX_XFR_LEN)) { in mec_hal_eeprom_buffer_wr() 254 for (uint32_t n = 0; n < nbytes; n++) { in mec_hal_eeprom_buffer_wr() 275 uint32_t offset, uint32_t nbytes) in mec_hal_eeprom_xfr_start() argument 286 if (!nbytes) { in mec_hal_eeprom_xfr_start() 290 if (nbytes < MEC_HAL_EEPROM_MAX_XFR_LEN) { in mec_hal_eeprom_xfr_start() 291 xfrsz = (uint8_t)nbytes; in mec_hal_eeprom_xfr_start() [all …]
|
D | mec_eeprom_api.h | 79 int mec_hal_eeprom_buffer_rd(struct mec_eeprom_ctrl_regs *regs, uint8_t *dest, uint32_t nbytes); 81 uint32_t nbytes); 84 uint32_t offset, uint32_t nbytes);
|
D | mec_dmac_api.h | 91 size_t nbytes; member 147 int mec_hal_dma_chan_mem_set(enum mec_dmac_channel chan, uintptr_t maddr, size_t nbytes); 154 size_t nbytes);
|
D | mec_dmac.c | 496 int mec_hal_dma_chan_mem_set(enum mec_dmac_channel chan, uintptr_t maddr, size_t nbytes) in mec_hal_dma_chan_mem_set() argument 507 regs->MEND = maddr + nbytes; in mec_hal_dma_chan_mem_set() 560 size_t nbytes) in mec_hal_dma_chan_reload() argument 576 regs->MEND = src + nbytes; in mec_hal_dma_chan_reload() 580 regs->MEND = dest + nbytes; in mec_hal_dma_chan_reload() 630 regs->MEND = cfg->src_addr + cfg->nbytes; in mec_hal_dma_chan_cfg() 640 regs->MEND = cfg->dst_addr + cfg->nbytes; in mec_hal_dma_chan_cfg() 701 cfg->nbytes = 0u; in mec_hal_dma_chan_cfg_get() 706 cfg->nbytes = mend - mstart; in mec_hal_dma_chan_cfg_get()
|
D | mec_qspi.c | 955 uint32_t nbytes = lenb; in mec_hal_qspi_ldma() local 989 while (nbytes && (didx < MEC5_QSPI_NUM_DESCRS)) { in mec_hal_qspi_ldma() 991 nu = nbytes; in mec_hal_qspi_ldma() 1008 nbytes -= (nu << shift); in mec_hal_qspi_ldma() 1018 if (nbytes) { in mec_hal_qspi_ldma() 1136 int mec_hal_qspi_ldma_cfg1(struct mec_qspi_regs *regs, uintptr_t buf_addr, uint32_t nbytes, in mec_hal_qspi_ldma_cfg1() argument 1147 if (!nbytes) { in mec_hal_qspi_ldma_cfg1() 1165 ldma_regs->LEN = nbytes; in mec_hal_qspi_ldma_cfg1() 1173 if (!((buf_addr | nbytes) & 0x3u)) { in mec_hal_qspi_ldma_cfg1() 1192 uint32_t mec_hal_qspi_descrs_cfg1(struct mec_qspi_context *ctx, uint32_t nbytes, uint32_t flags) in mec_hal_qspi_descrs_cfg1() argument [all …]
|
D | mec_qspi_api.h | 296 uint32_t mec_hal_qspi_descrs_cfg1(struct mec_qspi_context *ctx, uint32_t nbytes, uint32_t flags); 302 uint32_t nbytes, uint32_t ldflags);
|
D | mec_rom_rng.c | 87 typedef int (*rom_ndrng_read_bytes_nh_td)(uint8_t *dest, int nbytes);
|