Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 237) sorted by relevance

12345678910

/hal_nxp-latest/mcux/mcux-sdk/drivers/iap/
Dfsl_iap.c104 uint32_t command[5] = {0x00U}; in IAP_ReadPartID() local
107 command[0] = (uint32_t)kIapCmd_IAP_ReadPartId; in IAP_ReadPartID()
108 iap_entry(command, result); in IAP_ReadPartID()
127 uint32_t command[5] = {0x00U}; in IAP_ReadBootCodeVersion() local
130 command[0] = (uint32_t)kIapCmd_IAP_Read_BootromVersion; in IAP_ReadBootCodeVersion()
131 iap_entry(command, result); in IAP_ReadBootCodeVersion()
155 uint32_t command[5] = {0x00U}; in IAP_ReinvokeISP() local
159 command[0] = (uint32_t)kIapCmd_IAP_ReinvokeISP; in IAP_ReinvokeISP()
176 command[1] = (uint32_t)ispParameterArray; in IAP_ReinvokeISP()
177 iap_entry_no_disable_irq(command, result); in IAP_ReinvokeISP()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/drivers/flashiap/
Dfsl_flashiap.c57 uint32_t command[5] = {0x00U}; in FLASHIAP_PrepareSectorForWrite() local
60 command[0] = (uint32_t)kIapCmd_FLASHIAP_PrepareSectorforWrite; in FLASHIAP_PrepareSectorForWrite()
61 command[1] = startSector; in FLASHIAP_PrepareSectorForWrite()
62 command[2] = endSector; in FLASHIAP_PrepareSectorForWrite()
63 iap_entry(command, result); in FLASHIAP_PrepareSectorForWrite()
96 uint32_t command[5] = {0x00U}; in FLASHIAP_CopyRamToFlash() local
99 command[0] = (uint32_t)kIapCmd_FLASHIAP_CopyRamToFlash; in FLASHIAP_CopyRamToFlash()
100 command[1] = dstAddr; in FLASHIAP_CopyRamToFlash()
101 command[2] = (uint32_t)srcAddr; in FLASHIAP_CopyRamToFlash()
102 command[3] = numOfBytes; in FLASHIAP_CopyRamToFlash()
[all …]
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/class/
Dusb_device_video.c502 uint32_t command = 0U; in USB_DeviceVideoVcPowerModeControl() local
508 command = USB_DEVICE_VIDEO_SET_CUR_VC_POWER_MODE_CONTROL; in USB_DeviceVideoVcPowerModeControl()
511 command = USB_DEVICE_VIDEO_GET_CUR_VC_POWER_MODE_CONTROL; in USB_DeviceVideoVcPowerModeControl()
514 command = USB_DEVICE_VIDEO_GET_INFO_VC_POWER_MODE_CONTROL; in USB_DeviceVideoVcPowerModeControl()
520 …if ((0U != command) && (NULL != videoHandle->configStruct) && (NULL != videoHandle->configStruct->… in USB_DeviceVideoVcPowerModeControl()
524 …status = videoHandle->configStruct->classCallback((class_handle_t)videoHandle, command, controlReq… in USB_DeviceVideoVcPowerModeControl()
780 uint32_t command = 0U; in USB_DeviceVideoVsProbeRequest() local
786 command = USB_DEVICE_VIDEO_SET_CUR_VS_PROBE_CONTROL; in USB_DeviceVideoVsProbeRequest()
789 command = USB_DEVICE_VIDEO_GET_CUR_VS_PROBE_CONTROL; in USB_DeviceVideoVsProbeRequest()
792 command = USB_DEVICE_VIDEO_GET_MIN_VS_PROBE_CONTROL; in USB_DeviceVideoVsProbeRequest()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/drivers/sdhc/
Dfsl_sdhc.c57 static void SDHC_StartTransfer(SDHC_Type *base, sdhc_command_t *command, sdhc_data_t *data, sdhc_dm…
65 static status_t SDHC_ReceiveCommandResponse(SDHC_Type *base, sdhc_command_t *command);
115 static status_t SDHC_SendCommandBlocking(SDHC_Type *base, sdhc_command_t *command);
233 static void SDHC_StartTransfer(SDHC_Type *base, sdhc_command_t *command, sdhc_data_t *data, sdhc_dm… in SDHC_StartTransfer() argument
239 if (command->responseType == kCARD_ResponseTypeR1) /* Response 1 */ in SDHC_StartTransfer()
244 else if (command->responseType == kCARD_ResponseTypeR1b) /* Response 1 with busy */ in SDHC_StartTransfer()
249 else if (command->responseType == kCARD_ResponseTypeR2) /* Response 2 */ in SDHC_StartTransfer()
253 else if (command->responseType == kCARD_ResponseTypeR3) /* Response 3 */ in SDHC_StartTransfer()
257 else if (command->responseType == kCARD_ResponseTypeR4) /* Response 4 */ in SDHC_StartTransfer()
261 else if (command->responseType == kCARD_ResponseTypeR5) /* Response 5 */ in SDHC_StartTransfer()
[all …]
/hal_nxp-latest/mcux/middleware/wifi_nxp/cli/
Dwifi_shell.c23 int cli_register_command(const struct cli_command *command) in cli_register_command() argument
26 if (command->name == NULL || command->function == NULL) in cli_register_command()
38 if (cli.commands[i] == command) in cli_register_command()
43 cli.commands[cli.num_commands++] = command; in cli_register_command()
50 int cli_unregister_command(const struct cli_command *command) in cli_unregister_command() argument
53 if (command->name == NULL || command->function == NULL) in cli_unregister_command()
60 if (cli.commands[i] == command) in cli_unregister_command()
164 const struct cli_command *command = NULL; in nxp_wifi_request() local
188 command = lookup_command(nxp_wifi_cmd_name, strlen(nxp_wifi_cmd_name)); in nxp_wifi_request()
189 if (command != NULL) in nxp_wifi_request()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/drivers/sdif/
Dfsl_sdif.c76 static status_t SDIF_WaitCommandDone(SDIF_Type *base, sdif_command_t *command);
91 static status_t SDIF_ReadCommandResponse(SDIF_Type *base, sdif_command_t *command);
233 sdif_command_t *command = transfer->command; in SDIF_TransferConfig() local
236 if ((command == NULL) || ((data != NULL) && (data->blockSize > SDIF_BLKSIZ_BLOCK_SIZE_MASK))) in SDIF_TransferConfig()
249 command->flags |= (uint32_t)kSDIF_DataExpect; /* need transfer data flag */ in SDIF_TransferConfig()
253 command->flags |= (uint32_t)kSDIF_DataWriteToCard; /* data transfer direction */ in SDIF_TransferConfig()
270 command->flags |= in SDIF_TransferConfig()
277 command->flags |= (uint32_t)kSDIF_DataTransferAutoStop; in SDIF_TransferConfig()
281 if (command->responseType == (uint32_t)kCARD_ResponseTypeR2) in SDIF_TransferConfig()
283command->flags |= ((uint32_t)kSDIF_CmdCheckResponseCRC | (uint32_t)kSDIF_CmdResponseLengthLong | in SDIF_TransferConfig()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/drivers/usdhc/
Dfsl_usdhc.c86 static status_t USDHC_ReceiveCommandResponse(USDHC_Type *base, usdhc_command_t *command);
147 static status_t USDHC_WaitCommandDone(USDHC_Type *base, usdhc_command_t *command, bool pollingCmdDo…
361 static status_t USDHC_ReceiveCommandResponse(USDHC_Type *base, usdhc_command_t *command) in USDHC_ReceiveCommandResponse() argument
363 assert(command != NULL); in USDHC_ReceiveCommandResponse()
369 if (command->responseType != kCARD_ResponseTypeNone) in USDHC_ReceiveCommandResponse()
371 command->response[0U] = response0; in USDHC_ReceiveCommandResponse()
372 if (command->responseType == kCARD_ResponseTypeR2) in USDHC_ReceiveCommandResponse()
376 command->response[0U] <<= 8U; in USDHC_ReceiveCommandResponse()
377 command->response[1U] = (response1 << 8U) | ((response0 & 0xFF000000U) >> 24U); in USDHC_ReceiveCommandResponse()
378 command->response[2U] = (response2 << 8U) | ((response1 & 0xFF000000U) >> 24U); in USDHC_ReceiveCommandResponse()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/video/display/dbi/flexio/
Dfsl_dbi_flexio_edma.c75 status_t DBI_FLEXIO_EDMA_WriteCommand(void *dbiXferHandle, uint32_t command) in DBI_FLEXIO_EDMA_WriteCommand() argument
82 FLEXIO_MCULCD_WriteCommandBlocking(flexioLCD, command); in DBI_FLEXIO_EDMA_WriteCommand()
101 status_t DBI_FLEXIO_EDMA_WriteMemory(void *dbiXferHandle, uint32_t command, const void *data, uint3… in DBI_FLEXIO_EDMA_WriteMemory() argument
116 xfer.command = command; in DBI_FLEXIO_EDMA_WriteMemory()
128 FLEXIO_MCULCD_WriteCommandBlocking(flexioLCD, command); in DBI_FLEXIO_EDMA_WriteMemory()
140 status_t DBI_FLEXIO_EDMA_ReadMemory(void *dbiXferHandle, uint32_t command, void *data, uint32_t len… in DBI_FLEXIO_EDMA_ReadMemory() argument
155 xfer.command = command; in DBI_FLEXIO_EDMA_ReadMemory()
167 FLEXIO_MCULCD_WriteCommandBlocking(flexioLCD, command); in DBI_FLEXIO_EDMA_ReadMemory()
Dfsl_dbi_flexio_smartdma.c75 status_t DBI_FLEXIO_SMARTDMA_WriteCommand(void *dbiXferHandle, uint32_t command) in DBI_FLEXIO_SMARTDMA_WriteCommand() argument
82 FLEXIO_MCULCD_WriteCommandBlocking(flexioLCD, command); in DBI_FLEXIO_SMARTDMA_WriteCommand()
101 status_t DBI_FLEXIO_SMARTDMA_WriteMemory(void *dbiXferHandle, uint32_t command, const void *data, u… in DBI_FLEXIO_SMARTDMA_WriteMemory() argument
112 xfer.command = command; in DBI_FLEXIO_SMARTDMA_WriteMemory()
121 status_t DBI_FLEXIO_SMARTDMA_ReadMemory(void *dbiXferHandle, uint32_t command, void *data, uint32_t… in DBI_FLEXIO_SMARTDMA_ReadMemory() argument
/hal_nxp-latest/mcux/mcux-sdk/drivers/dspi/
Dfsl_dspi.h385 volatile uint32_t command; /*!< The desired data command. */ member
911 static inline void DSPI_MasterWriteData(SPI_Type *base, dspi_command_data_config_t *command, uint16… in DSPI_MasterWriteData() argument
913 base->PUSHR = SPI_PUSHR_CONT(command->isPcsContinuous) | SPI_PUSHR_CTAS(command->whichCtar) | in DSPI_MasterWriteData()
914 SPI_PUSHR_PCS(command->whichPcs) | SPI_PUSHR_EOQ(command->isEndOfQueue) | in DSPI_MasterWriteData()
915 SPI_PUSHR_CTCNT(command->clearTransferCount) | SPI_PUSHR_TXDATA(data); in DSPI_MasterWriteData()
930 void DSPI_GetDefaultDataCommandConfig(dspi_command_data_config_t *command);
959 void DSPI_MasterWriteDataBlocking(SPI_Type *base, dspi_command_data_config_t *command, uint16_t dat…
977 static inline uint32_t DSPI_MasterGetFormattedCommand(dspi_command_data_config_t *command) in DSPI_MasterGetFormattedCommand() argument
980 … return (uint32_t)(SPI_PUSHR_CONT(command->isPcsContinuous) | SPI_PUSHR_CTAS(command->whichCtar) | in DSPI_MasterGetFormattedCommand()
981 SPI_PUSHR_PCS(command->whichPcs) | SPI_PUSHR_EOQ(command->isEndOfQueue) | in DSPI_MasterGetFormattedCommand()
[all …]
Dfsl_dspi.c677 void DSPI_GetDefaultDataCommandConfig(dspi_command_data_config_t *command) in DSPI_GetDefaultDataCommandConfig() argument
679 assert(NULL != command); in DSPI_GetDefaultDataCommandConfig()
682 (void)memset(command, 0, sizeof(*command)); in DSPI_GetDefaultDataCommandConfig()
684 command->isPcsContinuous = false; in DSPI_GetDefaultDataCommandConfig()
685 command->whichCtar = (uint8_t)kDSPI_Ctar0; in DSPI_GetDefaultDataCommandConfig()
686 command->whichPcs = (uint8_t)kDSPI_Pcs0; in DSPI_GetDefaultDataCommandConfig()
687 command->isEndOfQueue = false; in DSPI_GetDefaultDataCommandConfig()
688 command->clearTransferCount = false; in DSPI_GetDefaultDataCommandConfig()
718 void DSPI_MasterWriteDataBlocking(SPI_Type *base, dspi_command_data_config_t *command, uint16_t dat… in DSPI_MasterWriteDataBlocking() argument
720 assert(NULL != command); in DSPI_MasterWriteDataBlocking()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/srtm/srtm/
Dsrtm_message.c94 uint8_t command, in SRTM_CommMessage_Create() argument
114 head->command = command; in SRTM_CommMessage_Create()
195 … srtm_channel_t channel, uint8_t category, uint16_t version, uint8_t command, uint16_t payloadLen) in SRTM_Request_Create() argument
197 …mMessage_Create(SRTM_MessageTypeRequest, SRTM_MessageDirectTx, channel, category, version, command, in SRTM_Request_Create()
214 … srtm_channel_t channel, uint8_t category, uint16_t version, uint8_t command, uint16_t payloadLen) in SRTM_Response_Create() argument
216 …Message_Create(SRTM_MessageTypeResponse, SRTM_MessageDirectTx, channel, category, version, command, in SRTM_Response_Create()
226 … srtm_channel_t channel, uint8_t category, uint16_t version, uint8_t command, uint16_t payloadLen) in SRTM_Notification_Create() argument
229 command, payloadLen); in SRTM_Notification_Create()
283 return head->command; in SRTM_CommMessage_GetCommand()
/hal_nxp-latest/mcux/mcux-sdk/components/flash/mflash/lpc54s018m/
Dmflash_drv.c24 static spifi_command_t command[COMMAND_NUM] = { variable
44 SPIFI_SetCommand(MFLASH_SPIFI, &command[GET_STATUS]); in mflash_drv_check_if_finish()
56 SPIFI_SetMemoryCommand(MFLASH_SPIFI, &command[READ]); in mflash_drv_read_mode()
138 SPIFI_SetCommand(MFLASH_SPIFI, &command[WRITE_ENABLE]); in mflash_drv_sector_erase_internal()
142 SPIFI_SetCommand(MFLASH_SPIFI, &command[ERASE_SECTOR]); in mflash_drv_sector_erase_internal()
174 SPIFI_SetCommand(MFLASH_SPIFI, &command[WRITE_ENABLE]); in mflash_drv_page_program_internal()
176 SPIFI_SetCommand(MFLASH_SPIFI, &command[PROGRAM_PAGE]); in mflash_drv_page_program_internal()
/hal_nxp-latest/mcux/mcux-sdk/components/video/display/dbi/
Dfsl_dbi.h111 … status_t (*writeCommand)(void *dbiXferHandle, uint32_t command); /*!< Write command. */
114 uint32_t command,
118 uint32_t command,
122 uint32_t command,
152 uint8_t command,
158 uint8_t command,
165 uint8_t command,
/hal_nxp-latest/mcux/mcux-sdk/components/flash/mflash/lpc54xxx/
Dmflash_drv.c24 static spifi_command_t command[COMMAND_NUM] = { variable
44 SPIFI_SetCommand(MFLASH_SPIFI, &command[GET_STATUS]); in mflash_drv_check_if_finish()
56 SPIFI_SetMemoryCommand(MFLASH_SPIFI, &command[READ]); in mflash_drv_read_mode()
138 SPIFI_SetCommand(MFLASH_SPIFI, &command[WRITE_ENABLE]); in mflash_drv_sector_erase_internal()
142 SPIFI_SetCommand(MFLASH_SPIFI, &command[ERASE_SECTOR]); in mflash_drv_sector_erase_internal()
174 SPIFI_SetCommand(MFLASH_SPIFI, &command[WRITE_ENABLE]); in mflash_drv_page_program_internal()
176 SPIFI_SetCommand(MFLASH_SPIFI, &command[PROGRAM_PAGE]); in mflash_drv_page_program_internal()
/hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/
Dmlan_sta_cmd.c61 cmd->command = wlan_cpu_to_le16(HostCmd_CMD_MFG_COMMAND); in wlan_cmd_mfg_tx_cont()
99 cmd->command = wlan_cpu_to_le16(HostCmd_CMD_MFG_COMMAND); in wlan_cmd_mfg_tx_frame()
142 cmd->command = wlan_cpu_to_le16(HostCmd_CMD_MFG_COMMAND); in wlan_cmd_mfg_he_tb_tx()
180 cmd->command = wlan_cpu_to_le16(HostCmd_CMD_MFG_COMMAND); in wlan_cmd_mfg_otp_mac_add()
214 cmd->command = wlan_cpu_to_le16(HostCmd_CMD_MFG_COMMAND); in wlan_cmd_mfg_otp_cal_data()
251 cmd->command = wlan_cpu_to_le16(HostCmd_CMD_MFG_COMMAND); in wlan_cmd_mfg_config_trigger_frame()
332 cmd->command = wlan_cpu_to_le16(HostCmd_CMD_MFG_COMMAND); in wlan_cmd_mfg()
362 pcmd->command = wlan_cpu_to_le16(HostCmd_CMD_RSSI_INFO); in wlan_cmd_802_11_rssi_info()
409 pcmd->command = wlan_cpu_to_le16(HostCmd_CMD_MAC_CONTROL); in wlan_cmd_mac_control()
436 cmd->command = wlan_cpu_to_le16(HostCmd_CMD_802_11_SNMP_MIB); in wlan_cmd_802_11_snmp_mib()
[all …]
Dwifi-imu.c162 …wcmdr_d("DNLD_CMD: 0x%x, act 0x%x, len %d, seqno 0x%x", cmd->command, *(t_u16 *)((t_u8 *)cmd + S_D… in wifi_send_fw_cmd()
413 cmdtype = cmdresp->command & HostCmd_CMD_ID_MASK; in wlan_handle_cmd_resp_packet()
425 if ((cmdresp->command & 0xf000) != 0x8000) in wlan_handle_cmd_resp_packet()
427 wifi_io_d("cmdresp->command = (0x%x)", cmdresp->command); in wlan_handle_cmd_resp_packet()
437 if ((cmdresp->command & 0x00ff) == HostCmd_CMD_FUNC_SHUTDOWN) in wlan_handle_cmd_resp_packet()
440 if ((cmdresp->command & 0x0fff) != last_cmd_sent) in wlan_handle_cmd_resp_packet()
442 … wifi_io_d("cmdresp->command = (0x%x) last_cmd_sent = (0x%x)", cmdresp->command, last_cmd_sent); in wlan_handle_cmd_resp_packet()
540 …wcmdr_d("CMD_RESP: 0x%x, result %d, len %d, seqno 0x%x", imupkt->hostcmd.command, imupkt->hostcmd.… in wlan_decode_rx_packet()
563 … if (upld_type == MLAN_TYPE_EVENT && (wlan_le16_to_cpu(imupkt->hostcmd.command) == EVENT_VDLL_IND)) in wlan_decode_rx_packet()
598 (upld_type == MLAN_TYPE_CMD) ? imupkt->hostcmd.command : event_cause); in wlan_decode_rx_packet()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/video/display/dbi/lcdic/
Dfsl_dbi_lcdic_dma.c91 status_t DBI_LCDIC_DMA_WriteCommandData(dbi_iface_t *dbiIface, uint8_t command, const void *data, u… in DBI_LCDIC_DMA_WriteCommandData() argument
101 status = LCDIC_SendCommandBlocking(lcdic, command); in DBI_LCDIC_DMA_WriteCommandData()
105 xfer.cmd = command; in DBI_LCDIC_DMA_WriteCommandData()
119 status_t DBI_LCDIC_DMA_ReadData(dbi_iface_t *dbiIface, uint8_t command, void *data, uint32_t len_by… in DBI_LCDIC_DMA_ReadData() argument
126 xfer.cmd = command; in DBI_LCDIC_DMA_ReadData()
137 status_t DBI_LCDIC_DMA_WriteMemory(dbi_iface_t *dbiIface, uint8_t command, const void *data, uint32… in DBI_LCDIC_DMA_WriteMemory() argument
147 txXfer.cmd = command; in DBI_LCDIC_DMA_WriteMemory()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8QX3/utilities/
Dfsl_shell.h137 #define SHELL_COMMAND_DEFINE(command, descriptor, callback, paramCount) \ argument
139 shell_command_t g_shellCommand##command = { \
140 (#command), (descriptor), (callback), (paramCount), {0}, \
152 #define SHELL_COMMAND(command) &g_shellCommand##command argument
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8DX4/utilities/
Dfsl_shell.h137 #define SHELL_COMMAND_DEFINE(command, descriptor, callback, paramCount) \ argument
139 shell_command_t g_shellCommand##command = { \
140 (#command), (descriptor), (callback), (paramCount), {0}, \
152 #define SHELL_COMMAND(command) &g_shellCommand##command argument
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54113/utilities/
Dfsl_shell.h137 #define SHELL_COMMAND_DEFINE(command, descriptor, callback, paramCount) \ argument
139 shell_command_t g_shellCommand##command = { \
140 (#command), (descriptor), (callback), (paramCount), {0}, \
152 #define SHELL_COMMAND(command) &g_shellCommand##command argument
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8QX1/utilities/
Dfsl_shell.h137 #define SHELL_COMMAND_DEFINE(command, descriptor, callback, paramCount) \ argument
139 shell_command_t g_shellCommand##command = { \
140 (#command), (descriptor), (callback), (paramCount), {0}, \
152 #define SHELL_COMMAND(command) &g_shellCommand##command argument
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8DX5/utilities/
Dfsl_shell.h137 #define SHELL_COMMAND_DEFINE(command, descriptor, callback, paramCount) \ argument
139 shell_command_t g_shellCommand##command = { \
140 (#command), (descriptor), (callback), (paramCount), {0}, \
152 #define SHELL_COMMAND(command) &g_shellCommand##command argument
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC5534/utilities/
Dfsl_shell.h137 #define SHELL_COMMAND_DEFINE(command, descriptor, callback, paramCount) \ argument
139 shell_command_t g_shellCommand##command = { \
140 (#command), (descriptor), (callback), (paramCount), {0}, \
152 #define SHELL_COMMAND(command) &g_shellCommand##command argument
/hal_nxp-latest/mcux/mcux-sdk/devices/MKE18F16/utilities/
Dfsl_shell.h137 #define SHELL_COMMAND_DEFINE(command, descriptor, callback, paramCount) \ argument
139 shell_command_t g_shellCommand##command = { \
140 (#command), (descriptor), (callback), (paramCount), {0}, \
152 #define SHELL_COMMAND(command) &g_shellCommand##command argument

12345678910