Lines Matching +full:read +full:- +full:cmd
4 * SPDX-License-Identifier: Apache-2.0
33 * @retval -EBUSY: card is busy with another request
34 * @retval -ETIMEDOUT: card write timed out
35 * @retval -EIO: I/O error
41 * @brief Read block from MMC card to buffer
45 * @param card MMC card to read from
46 * @param rbuf read buffer
47 * @param start_block first block to read from
48 * @param num_blocks number of blocks to read
49 * @retval 0 read succeeded
50 * @retval -EBUSY: card is busy with another request
51 * @retval -ETIMEDOUT: card read timed out
52 * @retval -EIO: I/O error
62 * @param cmd I/O control command
67 * @retval -ENOTSUP: IOCTL command not supported
68 * @retval -EIO: I/O failure
70 int mmc_ioctl(struct sd_card *card, uint8_t cmd, void *buf);