Lines Matching refs:fsp_err
98 fsp_err_t fsp_err; in sdhc_ra_get_card_present() local
103 fsp_err = R_SDHI_StatusGet(&priv->sdmmc_ctrl, &status); in sdhc_ra_get_card_present()
104 ret = err_fsp2zep(fsp_err); in sdhc_ra_get_card_present()
115 fsp_err_t fsp_err; in sdhc_ra_card_busy() local
119 fsp_err = R_SDHI_StatusGet(&priv->sdmmc_ctrl, &status); in sdhc_ra_card_busy()
120 ret = err_fsp2zep(fsp_err); in sdhc_ra_card_busy()
143 int fsp_err = 0; in sdhc_ra_send_cmd() local
146 fsp_err = sdhi_command_send_wait(&priv->sdmmc_ctrl, ra_cmd->opcode, ra_cmd->arg, in sdhc_ra_send_cmd()
148 if (fsp_err != 0) { in sdhc_ra_send_cmd()
154 return err_fsp2zep(fsp_err); in sdhc_ra_send_cmd()
166 fsp_err_t fsp_err = 0; in sdhc_ra_request() local
312 fsp_err = r_sdhi_read_and_block(&priv->sdmmc_ctrl, ra_cmd.opcode, in sdhc_ra_request()
314 ret = err_fsp2zep(fsp_err); in sdhc_ra_request()
327 fsp_err = r_sdhi_read_and_block(&priv->sdmmc_ctrl, ra_cmd.opcode, ra_cmd.arg, in sdhc_ra_request()
330 if (fsp_err != 0) { in sdhc_ra_request()
340 fsp_err = r_sdhi_transfer_read(&priv->sdmmc_ctrl, ra_cmd.sector_count, in sdhc_ra_request()
342 ret = err_fsp2zep(fsp_err); in sdhc_ra_request()
368 fsp_err = r_sdhi_transfer_write(&priv->sdmmc_ctrl, ra_cmd.sector_count, in sdhc_ra_request()
370 ret = err_fsp2zep(fsp_err); in sdhc_ra_request()
451 int fsp_err; in sdhc_ra_set_io() local
489 fsp_err = r_sdhi_max_clock_rate_set(p_ctrl, ios->clock); in sdhc_ra_set_io()
490 ret = err_fsp2zep(fsp_err); in sdhc_ra_set_io()
536 fsp_err_t fsp_err; in sdhc_ra_init() local
558 fsp_err = R_SDHI_Open(&priv->sdmmc_ctrl, &priv->fsp_config); in sdhc_ra_init()
559 ret = err_fsp2zep(fsp_err); in sdhc_ra_init()
562 LOG_INF("R_SDHI_Open error: %d", fsp_err); in sdhc_ra_init()
570 fsp_err = r_sdhi_hw_cfg(&priv->sdmmc_ctrl); in sdhc_ra_init()
571 ret = err_fsp2zep(fsp_err); in sdhc_ra_init()