| /bsp/synwit/libraries/SWM341_CSL/SWM341_UsbHost_Lib/MSC/ |
| A D | usbh_msc_bot.c | 74 USBH_Resp resp; in USBH_MSC_BOT_Process() local 89 resp = USBH_State(); in USBH_MSC_BOT_Process() 90 if(resp == USBR_ACK) in USBH_MSC_BOT_Process() 115 else if(resp == USBR_NAK) in USBH_MSC_BOT_Process() 139 resp = USBH_State(); in USBH_MSC_BOT_Process() 140 if(resp == USBR_ACK) in USBH_MSC_BOT_Process() 162 else if(resp == USBR_NAK) in USBH_MSC_BOT_Process() 186 resp = USBH_State(); in USBH_MSC_BOT_Process() 187 if(resp == USBR_ACK) in USBH_MSC_BOT_Process() 228 resp = USBH_State(); in USBH_MSC_BOT_Process() [all …]
|
| /bsp/nuvoton/libraries/nu_packages/Demo/ |
| A D | wormhole_demo.c | 80 static rt_err_t proc_msg(whc_mem_t req, whc_mem_t resp) in proc_msg() argument 86 resp->msg.u32Size = req->msg.u32Size; in proc_msg() 92 resp->msg.u32Addr0 = (uint32_t)req->msg.u32Addr0; in proc_msg() 94 resp->msg.u32Size = 0; in proc_msg() 102 resp->msg.u32Size = req->msg.u32Size; in proc_msg() 110 resp->msg.u32Size = req->msg.u32Size; in proc_msg() 117 resp->msg.u32Addr0 = 0; in proc_msg() 118 resp->msg.u32Addr1 = 0; in proc_msg() 119 resp->msg.u32Size = sizeof(uint32_t); in proc_msg() 125 resp->msg.u32Addr1 = 0; in proc_msg() [all …]
|
| /bsp/synwit/libraries/SWM341_CSL/SWM341_StdPeriph_Driver/ |
| A D | SWM341_sdio.c | 37 uint32_t resp, resps[4]; in SDIO_Init() local 145 uint32_t addr, resp; in SDIO_BlockWrite() local 177 uint32_t addr, resp; in SDIO_MultiBlockWrite() local 212 uint32_t addr, resp; in SDIO_DMABlockWrite() local 240 uint32_t addr, resp; in SDIO_BlockRead() local 272 uint32_t addr, resp; in SDIO_MultiBlockRead() local 307 uint32_t addr, resp; in SDIO_DMABlockRead() local 667 uint32_t arg, resp; in SDIO_IO_ByteWrite() local 694 uint32_t arg, resp; in SDIO_IO_ByteRead() local 724 uint32_t arg, resp; in SDIO_IO_BlockWrite() local [all …]
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/sdmmc/ |
| A D | sd.c | 106 *rocr = cmd.resp[0]; in mmc_send_app_op_cond() 269 uint32_t *resp = raw_csd; in mmc_decode_csd() local 282 m = UNSTUFF_BITS(resp, 99, 4); in mmc_decode_csd() 283 e = UNSTUFF_BITS(resp, 96, 3); in mmc_decode_csd() 287 m = UNSTUFF_BITS(resp, 80, 4); in mmc_decode_csd() 290 e = UNSTUFF_BITS(resp, 47, 3); in mmc_decode_csd() 322 m = UNSTUFF_BITS(resp, 99, 4); in mmc_decode_csd() 323 e = UNSTUFF_BITS(resp, 96, 3); in mmc_decode_csd() 586 uint32_t resp[4]; in mmc_decode_scr() local 588 resp[3] = raw_scr[1]; in mmc_decode_scr() [all …]
|
| /bsp/synwit/libraries/SWM320_CSL/SWM320_StdPeriph_Driver/ |
| A D | SWM320_sdio.c | 38 uint32_t resp, resps[4]; in SDIO_Init() local 79 res = SDIO_SendCmd(SD_CMD_APP_CMD, 0x00, SD_RESP_32b, &resp); in SDIO_Init() 83 if(resp != 0x120) return SD_RES_ERR; //不是SD卡,可能是MMC卡 in SDIO_Init() 89 } while(((resp >> 31) & 0x01) == 0); //上电没完成时resp[31] == 0 in SDIO_Init() 101 SD_cardInfo.RCA = resp >> 16; in SDIO_Init() 146 uint32_t addr, resp; in SDIO_BlockWrite() local 178 uint32_t addr, resp; in SDIO_MultiBlockWrite() local 213 uint32_t addr, resp; in SDIO_DMABlockWrite() local 241 uint32_t addr, resp; in SDIO_BlockRead() local 273 uint32_t addr, resp; in SDIO_MultiBlockRead() local [all …]
|
| /bsp/synwit/libraries/SWM341_CSL/SWM341_UsbHost_Lib/ |
| A D | usbh_core.c | 376 USBH_Resp resp; in USBH_HandleControl() local 388 resp = USBH_State(); in USBH_HandleControl() 389 if(resp == USBR_ACK) in USBH_HandleControl() 432 resp = USBH_State(); in USBH_HandleControl() 433 if(resp == USBR_ACK) in USBH_HandleControl() 482 resp = USBH_State(); in USBH_HandleControl() 483 if(resp == USBR_ACK) in USBH_HandleControl() 523 resp = USBH_State(); in USBH_HandleControl() 524 if(resp == USBR_ACK) in USBH_HandleControl() 555 resp = USBH_State(); in USBH_HandleControl() [all …]
|
| /bsp/raspberry-pi/raspi3-32/driver/ |
| A D | drv_sdio.c | 169 rt_uint32_t resp[4]; in raspi_transfer_command() local 176 cmd->response[0] = resp[3]<<8 |((resp[2]>>24)&0xff); in raspi_transfer_command() 177 cmd->response[1] = resp[2]<<8 |((resp[1]>>24)&0xff); in raspi_transfer_command() 178 cmd->response[2] = resp[1]<<8 |((resp[0]>>24)&0xff); in raspi_transfer_command() 183 cmd->response[0] = resp[0]; in raspi_transfer_command() 184 cmd->response[1] = resp[1]; in raspi_transfer_command() 185 cmd->response[2] = resp[2]; in raspi_transfer_command() 324 req->cmd->resp[3] = cmd.response[3]; in mmc_request_send() 325 req->cmd->resp[2] = cmd.response[2]; in mmc_request_send() 326 req->cmd->resp[1] = cmd.response[1]; in mmc_request_send() [all …]
|
| /bsp/raspberry-pi/raspi3-64/driver/ |
| A D | drv_sdio.c | 172 rt_uint32_t resp[4]; in raspi_transfer_command() local 179 cmd->response[0] = resp[3]<<8 |((resp[2]>>24)&0xff); in raspi_transfer_command() 180 cmd->response[1] = resp[2]<<8 |((resp[1]>>24)&0xff); in raspi_transfer_command() 181 cmd->response[2] = resp[1]<<8 |((resp[0]>>24)&0xff); in raspi_transfer_command() 186 cmd->response[0] = resp[0]; in raspi_transfer_command() 187 cmd->response[1] = resp[1]; in raspi_transfer_command() 188 cmd->response[2] = resp[2]; in raspi_transfer_command() 325 req->cmd->resp[3] = cmd.response[3]; in mmc_request_send() 326 req->cmd->resp[2] = cmd.response[2]; in mmc_request_send() 327 req->cmd->resp[1] = cmd.response[1]; in mmc_request_send() [all …]
|
| /bsp/nxp/mcx/mcxn/Libraries/drivers/ |
| A D | drv_sdio.c | 227 cmd->resp[3] = fsl_command.response[0]; in mcx_sdmmc_request() 228 cmd->resp[2] = fsl_command.response[1]; in mcx_sdmmc_request() 229 cmd->resp[1] = fsl_command.response[2]; in mcx_sdmmc_request() 230 cmd->resp[0] = fsl_command.response[3]; in mcx_sdmmc_request() 232 cmd->resp[0], cmd->resp[1], cmd->resp[2], cmd->resp[3]); in mcx_sdmmc_request() 236 cmd->resp[0] = fsl_command.response[0]; in mcx_sdmmc_request() 237 MMCSD_DGB(" resp 0x%08X\n", cmd->resp[0]); in mcx_sdmmc_request()
|
| /bsp/raspberry-pi/raspi4-64/drivers/ |
| A D | drv_sdio.c | 173 rt_uint32_t resp[4]; in raspi_transfer_command() local 180 cmd->response[0] = resp[3]<<8 |((resp[2]>>24)&0xff); in raspi_transfer_command() 181 cmd->response[1] = resp[2]<<8 |((resp[1]>>24)&0xff); in raspi_transfer_command() 182 cmd->response[2] = resp[1]<<8 |((resp[0]>>24)&0xff); in raspi_transfer_command() 187 cmd->response[0] = resp[0]; in raspi_transfer_command() 188 cmd->response[1] = resp[1]; in raspi_transfer_command() 189 cmd->response[2] = resp[2]; in raspi_transfer_command() 327 req->cmd->resp[3] = cmd.response[3]; in mmc_request_send() 328 req->cmd->resp[2] = cmd.response[2]; in mmc_request_send() 329 req->cmd->resp[1] = cmd.response[1]; in mmc_request_send() [all …]
|
| /bsp/raspberry-pi/raspi4-32/driver/ |
| A D | drv_sdio.c | 173 rt_uint32_t resp[4]; in raspi_transfer_command() local 180 cmd->response[0] = resp[3]<<8 |((resp[2]>>24)&0xff); in raspi_transfer_command() 181 cmd->response[1] = resp[2]<<8 |((resp[1]>>24)&0xff); in raspi_transfer_command() 182 cmd->response[2] = resp[1]<<8 |((resp[0]>>24)&0xff); in raspi_transfer_command() 187 cmd->response[0] = resp[0]; in raspi_transfer_command() 188 cmd->response[1] = resp[1]; in raspi_transfer_command() 189 cmd->response[2] = resp[2]; in raspi_transfer_command() 327 req->cmd->resp[3] = cmd.response[3]; in mmc_request_send() 328 req->cmd->resp[2] = cmd.response[2]; in mmc_request_send() 329 req->cmd->resp[1] = cmd.response[1]; in mmc_request_send() [all …]
|
| /bsp/hpmicro/libraries/hpm_sdk/drivers/src/ |
| A D | hpm_tsw_drv.c | 119 uint32_t resp; in tsw_send() local 140 resp = ptr->MM2S_RESP; in tsw_send() 142 if (TSW_MM2S_RESP_ID_GET(resp) == id) { in tsw_send() 146 if (TSW_MM2S_RESP_DECERR_GET(resp)) { in tsw_send() 151 if (TSW_MM2S_RESP_SLVERR_GET(resp)) { in tsw_send() 181 uint32_t resp; in tsw_recv() local 191 resp = ptr->S2MM_RESP; in tsw_recv() 193 if (TSW_S2MM_RESP_ID_GET(resp) == id) { in tsw_recv() 196 if (TSW_S2MM_RESP_DECERR_GET(resp)) { in tsw_recv() 201 if (TSW_S2MM_RESP_SLVERR_GET(resp)) { in tsw_recv()
|
| /bsp/bouffalo_lab/libraries/rt_drivers/ |
| A D | drv_sdh.c | 371 cmd->resp[0] = SDH_CMD_Cfg_TypeInstance.response[0]; in rt_hw_sdh_data_transfer() 372 LOG_D("resp[0]: %08x", cmd->resp[0]); in rt_hw_sdh_data_transfer() 426 memset(cmd->resp, 0, sizeof(cmd->resp)); in rt_hw_sdh_cmd_transfer() 434 cmd->resp[0] = ((SDH_CMD_Cfg_TypeInstance.response[3] << 8) & ~0xff); in rt_hw_sdh_cmd_transfer() 435 cmd->resp[0] |= ((SDH_CMD_Cfg_TypeInstance.response[2] >> 24) & 0xff); in rt_hw_sdh_cmd_transfer() 436 cmd->resp[1] = ((SDH_CMD_Cfg_TypeInstance.response[2] << 8) & ~0xff); in rt_hw_sdh_cmd_transfer() 438 cmd->resp[2] = ((SDH_CMD_Cfg_TypeInstance.response[1] << 8) & ~0xff); in rt_hw_sdh_cmd_transfer() 440 cmd->resp[3] = ((SDH_CMD_Cfg_TypeInstance.response[3] << 8) & ~0xff); in rt_hw_sdh_cmd_transfer() 442 … LOG_D("resp[0]: %08x %08x %08x %08x", cmd->resp[0], cmd->resp[1], cmd->resp[2], cmd->resp[3]); in rt_hw_sdh_cmd_transfer() 446 cmd->resp[0] = SDH_CMD_Cfg_TypeInstance.response[0]; in rt_hw_sdh_cmd_transfer() [all …]
|
| /bsp/mm32/libraries/MM32F3270_HAL/MM32F3270_HAL_Driver/Src/ |
| A D | hal_sdio.c | 223 void SDIO_RequestResp(SDIO_Type * SDIOx, SDIO_RespType_Type type, uint32_t *resp) in SDIO_RequestResp() argument 240 *resp = (SDIOx->CMDBUF[3] << 24) in SDIO_RequestResp() 247 resp++; in SDIO_RequestResp() 248 *resp = (SDIOx->CMDBUF[7] << 24) in SDIO_RequestResp() 252 resp++; in SDIO_RequestResp() 253 *resp = (SDIOx->CMDBUF[11] << 24) in SDIO_RequestResp() 257 resp++; in SDIO_RequestResp() 258 *resp = (SDIOx->CMDBUF[15] << 24) in SDIO_RequestResp()
|
| /bsp/stm32/stm32mp157a-st-discovery/board/ports/ |
| A D | drv_sdio.c | 155 cmd->resp[0] = hw_sdio->resp1; in rthw_sdio_wait_completed() 156 cmd->resp[1] = hw_sdio->resp2; in rthw_sdio_wait_completed() 157 cmd->resp[2] = hw_sdio->resp3; in rthw_sdio_wait_completed() 158 cmd->resp[3] = hw_sdio->resp4; in rthw_sdio_wait_completed() 188 …G_D("sta:0x%08X [%08X %08X %08X %08X]", status, cmd->resp[0], cmd->resp[1], cmd->resp[2], cmd->res… in rthw_sdio_wait_completed() 213 …G_D("sta:0x%08X [%08X %08X %08X %08X]", status, cmd->resp[0], cmd->resp[1], cmd->resp[2], cmd->res… in rthw_sdio_wait_completed()
|
| /bsp/stm32/stm32mp157a-st-ev1/board/ports/ |
| A D | drv_emmc.c | 176 cmd->resp[0] = hw_sdio->resp1; in rthw_sdio_wait_completed() 177 cmd->resp[1] = hw_sdio->resp2; in rthw_sdio_wait_completed() 178 cmd->resp[2] = hw_sdio->resp3; in rthw_sdio_wait_completed() 179 cmd->resp[3] = hw_sdio->resp4; in rthw_sdio_wait_completed() 209 …G_D("sta:0x%08X [%08X %08X %08X %08X]", status, cmd->resp[0], cmd->resp[1], cmd->resp[2], cmd->res… in rthw_sdio_wait_completed() 234 …G_D("sta:0x%08X [%08X %08X %08X %08X]", status, cmd->resp[0], cmd->resp[1], cmd->resp[2], cmd->res… in rthw_sdio_wait_completed()
|
| /bsp/nxp/imx/imxrt/libraries/drivers/ |
| A D | drv_sdio.c | 314 cmd->resp[3] = fsl_command.response[0]; in _mmc_request() 315 cmd->resp[2] = fsl_command.response[1]; in _mmc_request() 316 cmd->resp[1] = fsl_command.response[2]; in _mmc_request() 317 cmd->resp[0] = fsl_command.response[3]; in _mmc_request() 319 cmd->resp[0], cmd->resp[1], cmd->resp[2], cmd->resp[3]); in _mmc_request() 323 cmd->resp[0] = fsl_command.response[0]; in _mmc_request() 324 MMCSD_DGB(" resp 0x%08X\n", cmd->resp[0]); in _mmc_request()
|
| /bsp/synwit/libraries/SWM341_CSL/SWM341_UsbHost_Lib/CDC/ |
| A D | usbh_cdc_core.c | 184 USBH_Resp resp; in USBH_CDC_Process() local 208 resp = USBH_State(); in USBH_CDC_Process() 209 if(resp != USBR_NO) in USBH_CDC_Process() 211 if(resp == USBR_ACK) in USBH_CDC_Process() 241 resp = USBH_State(); in USBH_CDC_Process() 242 if(resp != USBR_NO) in USBH_CDC_Process() 244 if(resp == USBR_ACK) in USBH_CDC_Process()
|
| /bsp/synwit/libraries/SWM341_CSL/SWM341_UsbHost_Lib/HID/ |
| A D | usbh_hid_core.c | 161 USBH_Resp resp; in USBH_HID_Process() local 192 resp = USBH_State(); in USBH_HID_Process() 193 if(resp == USBR_ACK) in USBH_HID_Process() 202 else if(resp == USBR_NAK) in USBH_HID_Process() 206 else if(resp == USBR_STALL) in USBH_HID_Process() 210 else if(resp == USBR_ERROR) in USBH_HID_Process()
|
| /bsp/synwit/libraries/SWM320_drivers/ |
| A D | drv_sdio.c | 95 cmd->resp[0] = (swm_sdio->RESP[3] << 8) + ((swm_sdio->RESP[2] >> 24) & 0xFF); 96 cmd->resp[1] = (swm_sdio->RESP[2] << 8) + ((swm_sdio->RESP[1] >> 24) & 0xFF); 97 cmd->resp[2] = (swm_sdio->RESP[1] << 8) + ((swm_sdio->RESP[0] >> 24) & 0xFF); 98 cmd->resp[3] = (swm_sdio->RESP[0] << 8) + 0x00; 102 cmd->resp[0] = swm_sdio->RESP[0]; 142 …G_D("sta:0x%08X [%08X %08X %08X %08X]", status, cmd->resp[0], cmd->resp[1], cmd->resp[2], cmd->res… 163 …G_D("sta:0x%08X [%08X %08X %08X %08X]", status, cmd->resp[0], cmd->resp[1], cmd->resp[2], cmd->res…
|
| /bsp/synwit/libraries/SWM341_drivers/ |
| A D | drv_sdio.c | 95 cmd->resp[0] = (swm_sdio->RESP[3] << 8) + ((swm_sdio->RESP[2] >> 24) & 0xFF); 96 cmd->resp[1] = (swm_sdio->RESP[2] << 8) + ((swm_sdio->RESP[1] >> 24) & 0xFF); 97 cmd->resp[2] = (swm_sdio->RESP[1] << 8) + ((swm_sdio->RESP[0] >> 24) & 0xFF); 98 cmd->resp[3] = (swm_sdio->RESP[0] << 8) + 0x00; 102 cmd->resp[0] = swm_sdio->RESP[0]; 142 …G_D("sta:0x%08X [%08X %08X %08X %08X]", status, cmd->resp[0], cmd->resp[1], cmd->resp[2], cmd->res… 163 …G_D("sta:0x%08X [%08X %08X %08X %08X]", status, cmd->resp[0], cmd->resp[1], cmd->resp[2], cmd->res…
|
| /bsp/stm32/stm32h743-atk-apollo/board/ports/ |
| A D | drv_sdio.c | 128 cmd->resp[0] = hw_sdio->resp1; in rthw_sdio_wait_completed() 131 cmd->resp[1] = hw_sdio->resp2; in rthw_sdio_wait_completed() 132 cmd->resp[2] = hw_sdio->resp3; in rthw_sdio_wait_completed() 133 cmd->resp[3] = hw_sdio->resp4; in rthw_sdio_wait_completed() 150 …G_D("sta:0x%08X [%08X %08X %08X %08X]", status, cmd->resp[0], cmd->resp[1], cmd->resp[2], cmd->res… in rthw_sdio_wait_completed()
|
| /bsp/stm32/stm32h743-openmv-h7plus/board/ports/ |
| A D | drv_sdio.c | 129 cmd->resp[0] = hw_sdio->resp1; in rthw_sdio_wait_completed() 132 cmd->resp[1] = hw_sdio->resp2; in rthw_sdio_wait_completed() 133 cmd->resp[2] = hw_sdio->resp3; in rthw_sdio_wait_completed() 134 cmd->resp[3] = hw_sdio->resp4; in rthw_sdio_wait_completed() 151 …G_D("sta:0x%08X [%08X %08X %08X %08X]", status, cmd->resp[0], cmd->resp[1], cmd->resp[2], cmd->res… in rthw_sdio_wait_completed()
|
| /bsp/stm32/stm32h750-artpi/board/port/ |
| A D | drv_sdio.c | 150 cmd->resp[0] = hw_sdio->resp1; in rthw_sdio_wait_completed() 154 cmd->resp[1] = hw_sdio->resp2; in rthw_sdio_wait_completed() 155 cmd->resp[2] = hw_sdio->resp3; in rthw_sdio_wait_completed() 156 cmd->resp[3] = hw_sdio->resp4; in rthw_sdio_wait_completed() 178 …G_D("sta:0x%08X [%08X %08X %08X %08X]", status, cmd->resp[0], cmd->resp[1], cmd->resp[2], cmd->res… in rthw_sdio_wait_completed()
|
| /bsp/at32/libraries/rt_drivers/ |
| A D | drv_sdio.c | 145 cmd->resp[0] = hw_sdio->resp1; in rt_hw_sdio_wait_completed() 146 cmd->resp[1] = hw_sdio->resp2; in rt_hw_sdio_wait_completed() 147 cmd->resp[2] = hw_sdio->resp3; in rt_hw_sdio_wait_completed() 148 cmd->resp[3] = hw_sdio->resp4; in rt_hw_sdio_wait_completed() 178 …G_D("sta:0x%08X [%08X %08X %08X %08X]", status, cmd->resp[0], cmd->resp[1], cmd->resp[2], cmd->res… in rt_hw_sdio_wait_completed() 202 …G_D("sta:0x%08X [%08X %08X %08X %08X]", status, cmd->resp[0], cmd->resp[1], cmd->resp[2], cmd->res… in rt_hw_sdio_wait_completed()
|