Searched refs:cmdparams (Results 1 – 1 of 1) sorted by relevance
198 uint8_t *cmdparams, size_t cmdparamsz, uint8_t *data, size_t datasz) in spi_flash_fd_wr_cpd() argument204 if (!dev || !spi_cfg || (!cmdparams && cmdparamsz) || (!data && datasz)) { in spi_flash_fd_wr_cpd()211 if (cmdparams && cmdparamsz) { in spi_flash_fd_wr_cpd()212 tx_spi_buffers[bufidx].buf = cmdparams; in spi_flash_fd_wr_cpd()338 uint8_t cmdparams[4] = {0}; in spi_flash_erase_region() local345 cmdparams, sizeof(cmdparams)); in spi_flash_erase_region()350 err = spi_flash_fd_wr_cpd(dev, spi_cfg, erase_opcode, cmdparams, in spi_flash_erase_region()