Lines Matching refs:retVal

272     cy_rslt_t retVal = SDIO_ReserveResources();  in cyhal_sdio_init()  local
275 if (retVal == CY_RSLT_SUCCESS) in cyhal_sdio_init()
277 retVal = _cyhal_sdio_configure_pin(clk, &obj->pin_clk, &_cyhal_sdio_pin_clk_config); in cyhal_sdio_init()
279 if (retVal == CY_RSLT_SUCCESS) in cyhal_sdio_init()
281 retVal = _cyhal_sdio_configure_pin(cmd, &obj->pin_cmd, &_cyhal_sdio_pin_config); in cyhal_sdio_init()
283 if (retVal == CY_RSLT_SUCCESS) in cyhal_sdio_init()
285 retVal = _cyhal_sdio_configure_pin(data0, &obj->pin_data0, &_cyhal_sdio_pin_config); in cyhal_sdio_init()
287 if (retVal == CY_RSLT_SUCCESS) in cyhal_sdio_init()
289 retVal = _cyhal_sdio_configure_pin(data1, &obj->pin_data1, &_cyhal_sdio_pin_config); in cyhal_sdio_init()
291 if (retVal == CY_RSLT_SUCCESS) in cyhal_sdio_init()
293 retVal = _cyhal_sdio_configure_pin(data2, &obj->pin_data2, &_cyhal_sdio_pin_config); in cyhal_sdio_init()
295 if (retVal == CY_RSLT_SUCCESS) in cyhal_sdio_init()
297 retVal = _cyhal_sdio_configure_pin(data3, &obj->pin_data3, &_cyhal_sdio_pin_config); in cyhal_sdio_init()
301 if (retVal == CY_RSLT_SUCCESS) in cyhal_sdio_init()
306 retVal = cyhal_hwmgr_reserve(&udbRsc); in cyhal_sdio_init()
307 if (retVal == CY_RSLT_SUCCESS) in cyhal_sdio_init()
342 if (CY_RSLT_SUCCESS == retVal) in cyhal_sdio_init()
358 if (retVal != CY_RSLT_SUCCESS) in cyhal_sdio_init()
363 return retVal; in cyhal_sdio_init()
426 cy_rslt_t retVal = CYHAL_SDIO_RSLT_CANCELED; in cyhal_sdio_host_send_cmd() local
448retVal = (Ok == SDIO_SendCommandAndWait(&cmd)) ? CY_RSLT_SUCCESS : CYHAL_SDIO_RSLT_ERR_COMMAND_SEN… in cyhal_sdio_host_send_cmd()
460 return retVal; in cyhal_sdio_host_send_cmd()
471 cy_rslt_t retVal = CYHAL_SDIO_RSLT_CANCELED; in cyhal_sdio_host_bulk_transfer() local
506retVal = (Ok == SDIO_SendCommandAndWait(&cmd)) ? CY_RSLT_SUCCESS : CYHAL_SDIO_RSLT_ERR_COMMAND_SEN… in cyhal_sdio_host_bulk_transfer()
517 return retVal; in cyhal_sdio_host_bulk_transfer()