| /bsp/rv32m1_vega/rv32m1_sdk_riscv/sdmmc_2.1.2/src/ |
| A D | fsl_sdmmc.c | 53 content.command = &command; in SDMMC_SelectCard() 75 content.command = &command; in SDMMC_SendApplicationCommand() 101 content.command = &command; in SDMMC_SetBlockCount() 120 content.command = &command; in SDMMC_GoIdle() 141 content.command = &command; in SDMMC_SetBlockSize() 159 command.argument = 0U; in SDMMC_SetCardInactive() 162 content.command = &command; in SDMMC_SetCardInactive() 180 command.argument = 0U; in SDMMC_SwitchVoltage() 183 content.command = &command; in SDMMC_SwitchVoltage() 232 command.argument = 0U; in SDMMC_ExecuteTuning() [all …]
|
| A D | fsl_sd.c | 441 content.command = &command; in SD_StopTransmission() 462 content.command = &command; in SD_SendRca() 492 content.command = &command; in SD_SwitchFunction() 587 content.command = &command; in SD_SendScr() 755 content.command = &command; in SD_SetDataBusWidth() 878 content.command = &command; in SD_SendCsd() 928 content.command = &command; in SD_AllSendCid() 1004 content.command = &command; in SD_SendInterfaceCondition() 1221 content.command = &command; in SD_Read() 1290 content.command = &command; in SD_Write() [all …]
|
| /bsp/apm32/libraries/APM32F0xx_Library/USB_Device_Lib/Core_Device/Class/MSC/src/ |
| A D | usbd_msc_scsi.c | 152 switch (command[0]) in SCSI_CmdHandler() 159 ret = SCSI_Inquiry(lun, command); in SCSI_CmdHandler() 175 ret = SCSI_Read10(lun, command); in SCSI_CmdHandler() 274 if (command[1] & 0x01) in SCSI_Inquiry() 449 (uint32_t)command[5]; in SCSI_Read10() 451 s_blkLen = ((uint16_t)command[7] << 8 | (uint8_t)command[8]); in SCSI_Read10() 522 (uint32_t)command[5]; in SCSI_Write10() 524 s_blkLen = ((uint16_t)command[7] << 8 | (uint8_t)command[8]); in SCSI_Write10() 567 if (command[1] & 0x02) in SCSI_Verify10() 578 (uint32_t)command[5]; in SCSI_Verify10() [all …]
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/disp2/disp/lcd/ |
| A D | lcd_source.c | 207 command, para, in sunxi_lcd_dsi_dcs_write() 222 sunxi_lcd_dsi_dcs_write(screen_id, command, tmp, 0); in sunxi_lcd_dsi_dcs_write_0para() 238 sunxi_lcd_dsi_dcs_write(screen_id, command, tmp, 1); in sunxi_lcd_dsi_dcs_write_1para() 249 sunxi_lcd_dsi_dcs_write(screen_id, command, tmp, 2); in sunxi_lcd_dsi_dcs_write_2para() 262 sunxi_lcd_dsi_dcs_write(screen_id, command, tmp, 3); in sunxi_lcd_dsi_dcs_write_3para() 276 sunxi_lcd_dsi_dcs_write(screen_id, command, tmp, 4); in sunxi_lcd_dsi_dcs_write_4para() 291 sunxi_lcd_dsi_dcs_write(screen_id, command, tmp, 5); in sunxi_lcd_dsi_dcs_write_5para() 307 sunxi_lcd_dsi_dcs_write(screen_id, command, tmp, 6); in sunxi_lcd_dsi_dcs_write_6para() 323 command, para, in sunxi_lcd_dsi_gen_write() 338 sunxi_lcd_dsi_gen_write(screen_id, command, tmp, 0); in sunxi_lcd_dsi_gen_write_0para() [all …]
|
| A D | lcd_source.h | 124 s32 sunxi_lcd_dsi_dcs_write(u32 scree_id, u8 command, u8 *para, u32 para_num); 132 s32 sunxi_lcd_dsi_dcs_write_0para(u32 scree_id, u8 command); 133 s32 sunxi_lcd_dsi_dcs_write_1para(u32 scree_id, u8 command, u8 para1); 134 s32 sunxi_lcd_dsi_dcs_write_2para(u32 scree_id, u8 command, u8 para1, u8 para2); 135 s32 sunxi_lcd_dsi_dcs_write_3para(u32 scree_id, u8 command, u8 para1, u8 para2, 137 s32 sunxi_lcd_dsi_dcs_write_4para(u32 scree_id, u8 command, u8 para1, u8 para2, 139 s32 sunxi_lcd_dsi_dcs_write_5para(u32 scree_id, u8 command, u8 para1, u8 para2, 163 s32 sunxi_lcd_dsi_gen_write(u32 scree_id, u8 command, u8 *para, u32 para_num); 180 s32 sunxi_lcd_dsi_gen_write_0para(u32 scree_id, u8 command); 181 s32 sunxi_lcd_dsi_gen_write_1para(u32 scree_id, u8 command, u8 para1); [all …]
|
| /bsp/rv32m1_vega/rv32m1_sdk_riscv/devices/RV32M1/drivers/ |
| A D | fsl_usdhc.c | 229 assert(NULL != command); in USDHC_SetTransferConfig() 237 switch (command->responseType) in USDHC_SetTransferConfig() 251 command->flags |= in USDHC_SetTransferConfig() 339 command->response[i - 1U] |= ((command->response[i - 2U] & 0xFF000000U) >> 24U); in USDHC_ReceiveCommandResponse() 349 if (((command->responseErrorFlags) & (command->response[0U])) != 0U) in USDHC_ReceiveCommandResponse() 595 assert(NULL != command); in USDHC_SendCommand() 625 assert(NULL != command); in USDHC_WaitCommandDone() 1134 usdhc_command_t *command = transfer->command; in USDHC_TransferBlocking() local 1224 usdhc_command_t *command = transfer->command; in USDHC_TransferNonBlocking() local 1258 handle->command = command; in USDHC_TransferNonBlocking() [all …]
|
| /bsp/nxp/lpc/lpc55sxx/Libraries/drivers/ |
| A D | drv_st7796.c | 194 rt_uint8_t command = 0x2C; /* Memory Write */ in st7796_lcd_load() local 217 rt_uint8_t command = sleep_mode ? 0x10 : 0x11; in st7796_lcd_sleep() local 224 rt_uint8_t command = display_on ? 0x29 : 0x28; in st7796_lcd_display() local 249 command[0] = 0x3A; in st7796_lcd_config() 250 command[1] = config->pix_fmt; in st7796_lcd_config() 257 command[0] = 0x36; in st7796_lcd_config() 258 command[1] = config->direction; in st7796_lcd_config() 261 command[1] &= ~0x08U; in st7796_lcd_config() 269 command[1] ^= 0x80U; in st7796_lcd_config() 273 command[1] ^= 0x40U; in st7796_lcd_config() [all …]
|
| /bsp/efm32/ |
| A D | dev_sflash.c | 264 enum sflash_inst_type_t command, in efm_spiFlash_cmd() argument 276 sflash_debug("SFLASH: Inst %x\n", sflash_inst_code_tbl[command]); in efm_spiFlash_cmd() 277 if (sflash_data_len_tbl[command] && !size) in efm_spiFlash_cmd() 283 data_len = (sflash_data_len_tbl[command] < size)? \ in efm_spiFlash_cmd() 284 sflash_data_len_tbl[command] : size; in efm_spiFlash_cmd() 292 if (sflash_read_inst_tbl[command]) in efm_spiFlash_cmd() 306 inst->code = sflash_inst_code_tbl[command]; in efm_spiFlash_cmd() 307 if (command >= sflash_inst_wrlr) in efm_spiFlash_cmd() 313 if (command >= sflash_inst_read_f) in efm_spiFlash_cmd() 330 if (sflash_read_inst_tbl[command]) in efm_spiFlash_cmd() [all …]
|
| /bsp/hpmicro/libraries/hpm_sdk/components/smbus/ |
| A D | hpm_smbus.c | 44 …s_master_write_byte_in_command(I2C_Type *ptr, uint8_t slave_address, uint8_t command, uint8_t data) in hpm_smbus_master_write_byte_in_command() argument 50 buf[1] = command; in hpm_smbus_master_write_byte_in_command() 57 …_master_write_word_in_command(I2C_Type *ptr, uint8_t slave_address, uint8_t command, uint16_t data) in hpm_smbus_master_write_word_in_command() argument 63 buf[1] = command; in hpm_smbus_master_write_word_in_command() 70 …s_master_read_byte_in_command(I2C_Type *ptr, uint8_t slave_address, uint8_t command, uint8_t *data) in hpm_smbus_master_read_byte_in_command() argument 77 buf[1] = command; in hpm_smbus_master_read_byte_in_command() 79 …stat = i2c_master_seq_transmit(ptr, (const uint16_t)slave_address, &command, sizeof(uint8_t), i2c_… in hpm_smbus_master_read_byte_in_command() 106 buf[1] = command; in hpm_smbus_master_read_word_in_command() 108 …stat = i2c_master_seq_transmit(ptr, (const uint16_t)slave_address, &command, sizeof(uint8_t), i2c_… in hpm_smbus_master_read_word_in_command() 137 buf[1] = command; in hpm_smbus_master_write_block_in_command() [all …]
|
| A D | hpm_smbus.h | 58 uint8_t command, uint8_t data); 72 uint8_t command, uint16_t data); 86 uint8_t command, uint8_t *data); 100 uint8_t command, uint16_t *data); 116 uint8_t command, uint8_t *data, uint32_t size); 132 uint8_t command, uint8_t *data, uint32_t size);
|
| /bsp/frdm-k64f/device/MK64F12/ |
| A D | fsl_sdhc.c | 282 switch (command->responseType) in SDHC_StartTransfer() 316 if (command->type == kCARD_CommandTypeAbort) in SDHC_StartTransfer() 379 command->response[i - 1U] |= ((command->response[i - 2U] & 0xFF000000U) >> 24U); in SDHC_ReceiveCommandResponse() 385 if ((command->responseErrorFlags != 0U) && in SDHC_ReceiveCommandResponse() 386 …((command->responseType == kCARD_ResponseTypeR1) || (command->responseType == kCARD_ResponseTypeR1… in SDHC_ReceiveCommandResponse() 387 …(command->responseType == kCARD_ResponseTypeR6) || (command->responseType == kCARD_ResponseTypeR5)… in SDHC_ReceiveCommandResponse() 389 if (((command->responseErrorFlags) & (command->response[0U])) != 0U) in SDHC_ReceiveCommandResponse() 707 assert(handle->command); in SDHC_TransferHandleCommand() 1232 sdhc_command_t *command = transfer->command; in SDHC_TransferBlocking() local 1325 sdhc_command_t *command = transfer->command; in SDHC_TransferNonBlocking() local [all …]
|
| A D | fsl_dspi.h | 368 volatile uint32_t command; /*!< The desired data command. */ member 874 static inline void DSPI_MasterWriteData(SPI_Type *base, dspi_command_data_config_t *command, uint16… in DSPI_MasterWriteData() argument 876 base->PUSHR = SPI_PUSHR_CONT(command->isPcsContinuous) | SPI_PUSHR_CTAS(command->whichCtar) | in DSPI_MasterWriteData() 877 SPI_PUSHR_PCS(command->whichPcs) | SPI_PUSHR_EOQ(command->isEndOfQueue) | in DSPI_MasterWriteData() 878 SPI_PUSHR_CTCNT(command->clearTransferCount) | SPI_PUSHR_TXDATA(data); in DSPI_MasterWriteData() 894 void DSPI_GetDefaultDataCommandConfig(dspi_command_data_config_t *command); 923 void DSPI_MasterWriteDataBlocking(SPI_Type *base, dspi_command_data_config_t *command, uint16_t dat… 941 static inline uint32_t DSPI_MasterGetFormattedCommand(dspi_command_data_config_t *command) in DSPI_MasterGetFormattedCommand() argument 944 … return (uint32_t)(SPI_PUSHR_CONT(command->isPcsContinuous) | SPI_PUSHR_CTAS(command->whichCtar) | in DSPI_MasterGetFormattedCommand() 945 SPI_PUSHR_PCS(command->whichPcs) | SPI_PUSHR_EOQ(command->isEndOfQueue) | in DSPI_MasterGetFormattedCommand() [all …]
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/host/ |
| A D | ehci-timer.c | 22 ehci->command |= bit; in ehci_set_command_bit() 23 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_set_command_bit() 26 ehci_readl(ehci, &ehci->regs->command); in ehci_set_command_bit() 32 ehci->command &= ~bit; in ehci_clear_command_bit() 33 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_clear_command_bit() 36 ehci_readl(ehci, &ehci->regs->command); in ehci_clear_command_bit() 135 want = (ehci->command & CMD_ASE) ? STS_ASS : 0; in ehci_poll_ASS() 157 int cmd = ehci_readl(ehci, &ehci->regs->command) | CMD_ASE; in ehci_poll_ASS() 158 ehci_writel(ehci, cmd, &ehci->regs->command); in ehci_poll_ASS() 193 want = (ehci->command & CMD_PSE) ? STS_PSS : 0; in ehci_poll_PSS() [all …]
|
| A D | ehci-hcd.c | 193 ehci->command &= ~CMD_RUN; in ehci_halt() 228 u32 command = ehci_readl(ehci, &ehci->regs->command); in ehci_reset() local 230 command |= CMD_RESET; in ehci_reset() 232 ehci_writel(ehci, command, &ehci->regs->command); in ehci_reset() 273 ehci->command &= ~(CMD_ASE | CMD_PSE); in ehci_quiesce() 274 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_quiesce() 570 ehci->command = temp; in ehci_init() 626 ehci->command |= CMD_RUN; in ehci_run() 627 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_run() 856 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_irq_handler() [all …]
|
| /bsp/Infineon/psoc6-cy8ckit-062-WIFI-BT/libs/TARGET_CY8CKIT-062-WIFI-BT/config/GeneratedSource/ |
| A D | cycfg_qspi_memslot.c | 32 .command = 0xECU, 70 .command = 0x06U, 108 .command = 0x04U, 146 .command = 0xDCU, 184 .command = 0x60U, 222 .command = 0x34U, 260 .command = 0x35U, 298 .command = 0x05U, 336 .command = 0x01U,
|
| /bsp/Infineon/psoc6-cy8ckit-062S2-43012/libs/TARGET_CY8CKIT-062S2-43012/config/GeneratedSource/ |
| A D | cycfg_qspi_memslot.c | 32 .command = 0xECU, 70 .command = 0x06U, 108 .command = 0x04U, 146 .command = 0xDCU, 184 .command = 0x60U, 222 .command = 0x34U, 260 .command = 0x35U, 298 .command = 0x05U, 336 .command = 0x01U,
|
| /bsp/Infineon/psoc6-cy8ckit-062s4/libs/TARGET_CY8CKIT-062S4/config/GeneratedSource/ |
| A D | cycfg_qspi_memslot.c | 32 .command = 0xECU, 70 .command = 0x06U, 108 .command = 0x04U, 146 .command = 0xDCU, 184 .command = 0x60U, 222 .command = 0x34U, 260 .command = 0x35U, 298 .command = 0x05U, 336 .command = 0x01U,
|
| /bsp/Infineon/psoc6-evaluationkit-062S2/libs/TARGET_RTT-062S2/config/GeneratedSource/ |
| A D | cycfg_qspi_memslot.c | 32 .command = 0xECU, 70 .command = 0x06U, 108 .command = 0x04U, 146 .command = 0xDCU, 184 .command = 0x60U, 222 .command = 0x34U, 260 .command = 0x35U, 298 .command = 0x05U, 336 .command = 0x01U,
|
| /bsp/Infineon/libraries/templates/XMC7200D/libs/TARGET_APP_KIT_XMC72_EVK/config/GeneratedSource/ |
| A D | cycfg_qspi_memslot.c | 32 .command = 0xECU, 70 .command = 0x06U, 108 .command = 0x04U, 146 .command = 0xDCU, 184 .command = 0x60U, 222 .command = 0x34U, 260 .command = 0x35U, 298 .command = 0x05U, 336 .command = 0x01U,
|
| /bsp/Infineon/libraries/templates/PSOC62/libs/TARGET_CY8CKIT-062S2-43012/config/GeneratedSource/ |
| A D | cycfg_qspi_memslot.c | 32 .command = 0xECU, 70 .command = 0x06U, 108 .command = 0x04U, 146 .command = 0xDCU, 184 .command = 0x60U, 222 .command = 0x34U, 260 .command = 0x35U, 298 .command = 0x05U, 336 .command = 0x01U,
|
| /bsp/Infineon/psoc6-cy8ckit-062-BLE/libs/TARGET_CY8CKIT-062-BLE/config/GeneratedSource/ |
| A D | cycfg_qspi_memslot.c | 32 .command = 0xECU, 70 .command = 0x06U, 108 .command = 0x04U, 146 .command = 0xDCU, 184 .command = 0x60U, 222 .command = 0x34U, 260 .command = 0x35U, 298 .command = 0x05U, 336 .command = 0x01U,
|
| /bsp/Infineon/psoc6-cy8cproto-062S3-4343W/libs/TARGET_CY8CPROTO-062S3-4343W/config/GeneratedSource/ |
| A D | cycfg_qspi_memslot.c | 32 .command = 0xECU, 70 .command = 0x06U, 108 .command = 0x04U, 146 .command = 0xDCU, 184 .command = 0x60U, 222 .command = 0x34U, 260 .command = 0x35U, 298 .command = 0x05U, 336 .command = 0x01U,
|
| /bsp/Infineon/xmc7100d-f144k4160aa/libs/TARGET_APP_KIT_XMC71_EVK_LITE_V2/config/GeneratedSource/ |
| A D | cycfg_qspi_memslot.c | 32 .command = 0xECU, 70 .command = 0x06U, 108 .command = 0x04U, 146 .command = 0xDCU, 184 .command = 0x60U, 222 .command = 0x12U, 260 .command = 0x35U, 298 .command = 0x05U, 336 .command = 0x01U,
|
| /bsp/Infineon/xmc7200-kit_xmc7200_evk/libs/TARGET_APP_KIT_XMC72_EVK/config/GeneratedSource/ |
| A D | cycfg_qspi_memslot.c | 32 .command = 0xECU, 70 .command = 0x06U, 108 .command = 0x04U, 146 .command = 0xDCU, 184 .command = 0x60U, 222 .command = 0x34U, 260 .command = 0x35U, 298 .command = 0x05U, 336 .command = 0x01U,
|
| /bsp/k230/drivers/interdrv/sdio/ |
| A D | drv_sdhci.c | 334 if (command->responseType == card_response_type_r2) in sdhci_receive_command_response() 344 command->response[0] = sdhci_readl(sdhci_host, SDHCI_RESPONSE); in sdhci_receive_command_response() 347 …command->responseErrorFlags != 0U) && ((command->responseType == card_response_type_r1) || (comman… in sdhci_receive_command_response() 349 if (((command->responseErrorFlags) & (command->response[0U])) != 0U) in sdhci_receive_command_response() 358 RT_ASSERT(RT_NULL != command); in sdhci_send_command() 363 cmd_r = SDHCI_MAKE_CMD(command->index, command->flags); in sdhci_send_command() 374 command->flags2 |= sdhci_enable_dma_flag; in sdhci_send_command() 381 xfer_mode = command->flags2 & 0x1ff; in sdhci_send_command() 383 sdhci_writel(sdhci_host, command->argument, SDHCI_ARGUMENT); in sdhci_send_command() 389 RT_ASSERT(RT_NULL != command); in sdhci_wait_command_done() [all …]
|