Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 58) sorted by relevance

123

/hal_ti-latest/simplelink_lpf3/source/ti/drivers/rcl/
DRCL.c86 void phyHook(RCL *rclState, RCL_Handle client, RCL_Command *cmd);
96 void scheduleHook(RCL_SchedulerState *rclSchedulerState, RCL_Handle client, RCL_Command *cmd);
101 RCL_Command *cmd = rclSchedulerState.currCmd; in rclCommandHwi() local
103 RCL_Debug_assert(NULL != cmd); in rclCommandHwi()
106 if (NULL == cmd || cmd->status >= RCL_CommandStatus_Finished) in rclCommandHwi()
111 RCL_Client *client = cmd->runtime.client; in rclCommandHwi()
153 if (cmd->status == RCL_CommandStatus_Scheduled) in rclCommandHwi()
168 cmd->status = RCL_Scheduler_findStopStatus(RCL_StopType_DescheduleOnly); in rclCommandHwi()
196 LRF_SetupResult result = LRF_setupRadio(rclState.lrfConfig, cmd->phyFeatures, lrfState); in rclCommandHwi()
200 cmd->status = RCL_CommandStatus_Error_Setup; in rclCommandHwi()
[all …]
DRCL_Scheduler.c139 RCL_CommandStatus RCL_Scheduler_setStartStopTime(const RCL_Command *cmd) in RCL_Scheduler_setStartStopTime() argument
144 RCL_Debug_assert(cmd != NULL); in RCL_Scheduler_setStartStopTime()
146 if (cmd->scheduling == RCL_Schedule_AbsTime) in RCL_Scheduler_setStartStopTime()
148 … startType = cmd->allowDelay ? SchedulerStartAbsTimeAllowDelay : SchedulerStartAbsTimeNoDelay; in RCL_Scheduler_setStartStopTime()
149 startTime = cmd->timing.absStartTime; in RCL_Scheduler_setStartStopTime()
158 return rclSchedulerProcessCmdStartStopTime(&cmd->timing, startTime, startType); in RCL_Scheduler_setStartStopTime()
164 RCL_CommandStatus RCL_Scheduler_setStartStopTimeEarliestStart(const RCL_Command *cmd, uint32_t earl… in RCL_Scheduler_setStartStopTimeEarliestStart() argument
169 RCL_Debug_assert(cmd != NULL); in RCL_Scheduler_setStartStopTimeEarliestStart()
171 if (cmd->scheduling == RCL_Schedule_AbsTime) in RCL_Scheduler_setStartStopTimeEarliestStart()
173 … startType = cmd->allowDelay ? SchedulerStartAbsTimeAllowDelay : SchedulerStartAbsTimeNoDelay; in RCL_Scheduler_setStartStopTimeEarliestStart()
[all …]
DRCL_Scheduler.h132 RCL_CommandStatus RCL_Scheduler_setStartStopTime(const RCL_Command *cmd);
147 RCL_CommandStatus RCL_Scheduler_setStartStopTimeEarliestStart(const RCL_Command *cmd, uint32_t earl…
196 RCL_CommandStatus RCL_Scheduler_setCmdStopTimeNoStartTrigger(const RCL_Command *cmd);
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/rcl/handlers/
Dgeneric.h40 RCL_Events RCL_Handler_Generic_Fs(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn);
41 RCL_Events RCL_Handler_Generic_FsOff(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn…
42 RCL_Events RCL_Handler_Generic_Tx(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn);
43 RCL_Events RCL_Handler_Generic_TxRepeat(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEvent…
44 RCL_Events RCL_Handler_Generic_TxTest(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsI…
45 RCL_Events RCL_Handler_Generic_Rx(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn);
46 RCL_Events RCL_Handler_Generic_PbeOperation(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclE…
47 RCL_Events RCL_Handler_Nesb_Ptx(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn);
48 RCL_Events RCL_Handler_Nesb_Prx(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn);
Dble5.h43 RCL_Events RCL_Handler_BLE5_adv(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn);
44 RCL_Events RCL_Handler_BLE5_scan_init(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsI…
45 RCL_Events RCL_Handler_BLE5_conn(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn);
46 RCL_Events RCL_Handler_BLE5_dtmTx(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn);
47 RCL_Events RCL_Handler_BLE5_genericRx(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsI…
48 RCL_Events RCL_Handler_BLE5_genericTx(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsI…
49 RCL_Events RCL_Handler_Ble5_txTest(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn);
50 RCL_Events RCL_Handler_BLE5_aux_adv(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn);
51 RCL_Events RCL_Handler_BLE5_periodicAdv(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEvent…
52 RCL_Events RCL_Handler_BLE5_periodicScan(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEven…
Dieee.h43 RCL_Events RCL_Handler_Ieee_RxTx(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn);
44 RCL_Events RCL_Handler_Ieee_TxTest(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn);
102 RCL_IEEE_UpdateResult RCL_IEEE_updateSourceMatchingTableExt(RCL_CmdIeeeRxTx *cmd, RCL_CmdIeee_PanCo…
116 RCL_IEEE_AckEntryResult RCL_IEEE_enterAck(RCL_CmdIeeeRxTx *cmd, RCL_Buffer_DataEntry *ackEntry);
127 RCL_CommandStatus RCL_IEEE_Tx_submit(RCL_CmdIeeeRxTx *cmd, RCL_CmdIeee_TxAction *txAction);
141 RCL_CommandStatus RCL_IEEE_Tx_stop(RCL_CmdIeeeRxTx *cmd, RCL_StopType stopType);
156 RCL_CommandStatus RCL_IEEE_Tx_pend(RCL_CmdIeeeRxTx *cmd);
Dgeneric.c136 RCL_Events RCL_Handler_Generic_Fs(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn) in RCL_Handler_Generic_Fs() argument
138 RCL_CmdGenericFs *fsCmd = (RCL_CmdGenericFs *) cmd; in RCL_Handler_Generic_Fs()
155 cmd->status = RCL_CommandStatus_Active; in RCL_Handler_Generic_Fs()
160 …RCL_CommandStatus startTimeStatus = RCL_Scheduler_setStartStopTimeEarliestStart(cmd, earliestStart… in RCL_Handler_Generic_Fs()
163 cmd->status = startTimeStatus; in RCL_Handler_Generic_Fs()
178 if (cmd->status == RCL_CommandStatus_Active) in RCL_Handler_Generic_Fs()
186 cmd->status = genericHandlerState.common.endStatus; in RCL_Handler_Generic_Fs()
203cmd->status = RCL_Handler_Generic_findPbeErrorEndStatus(HWREGH_READ_LRF(LRFD_BUFRAM_BASE + PBE_COM… in RCL_Handler_Generic_Fs()
207 cmd->status = endStatus; in RCL_Handler_Generic_Fs()
227 RCL_Events RCL_Handler_Generic_FsOff(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn) in RCL_Handler_Generic_FsOff() argument
[all …]
Dadc_noise.c80 RCL_Events RCL_Handler_ADC_Noise_getNoise(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEve… in RCL_Handler_ADC_Noise_getNoise() argument
82 RCL_CmdAdcNoiseGet *adcCmd = (RCL_CmdAdcNoiseGet *)cmd; in RCL_Handler_ADC_Noise_getNoise()
95 cmd->status = RCL_CommandStatus_Error_Param; in RCL_Handler_ADC_Noise_getNoise()
104 startTimeStatus = RCL_Scheduler_setStartStopTimeEarliestStart(cmd, earliestStartTime); in RCL_Handler_ADC_Noise_getNoise()
108 cmd->status = startTimeStatus; in RCL_Handler_ADC_Noise_getNoise()
119 cmd->status = RCL_CommandStatus_Active; in RCL_Handler_ADC_Noise_getNoise()
125 if (cmd->status == RCL_CommandStatus_Active) in RCL_Handler_ADC_Noise_getNoise()
167 cmd->status = RCL_CommandStatus_Finished; in RCL_Handler_ADC_Noise_getNoise()
206 cmd->status = startTimeStatus; in RCL_Handler_ADC_Noise_getNoise()
Dieee.c163 RCL_Events RCL_Handler_Ieee_RxTx(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn) in RCL_Handler_Ieee_RxTx() argument
165 RCL_CmdIeeeRxTx *ieeeCmd = (RCL_CmdIeeeRxTx *) cmd; in RCL_Handler_Ieee_RxTx()
194 cmd->status = RCL_CommandStatus_Error_Param; in RCL_Handler_Ieee_RxTx()
206 cmd->status = RCL_CommandStatus_Error_Param; in RCL_Handler_Ieee_RxTx()
216 cmd->status = RCL_CommandStatus_Error_Param; in RCL_Handler_Ieee_RxTx()
224 cmd->status = RCL_CommandStatus_Error_Param; in RCL_Handler_Ieee_RxTx()
235 …uint32_t cmdTime = (cmd->scheduling == RCL_Schedule_AbsTime) ? cmd->timing.absStartTime : RCL_Sche… in RCL_Handler_Ieee_RxTx()
278 cmd->status = RCL_CommandStatus_Error_Param; in RCL_Handler_Ieee_RxTx()
294 RCL_CommandTiming timing = cmd->timing; in RCL_Handler_Ieee_RxTx()
302 … startTimeStatus = RCL_Scheduler_setStartStopTimeEarliestStart(cmd, earliestStartTime); in RCL_Handler_Ieee_RxTx()
[all …]
Dble5.c437 RCL_Events RCL_Handler_BLE5_adv(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn) in RCL_Handler_BLE5_adv() argument
440 RCL_CmdBle5Advertiser *advCmd = (RCL_CmdBle5Advertiser *) cmd; in RCL_Handler_BLE5_adv()
468 RCL_CommandStatus status = RCL_Handler_BLE5_setPhy(cmd->phyFeatures); in RCL_Handler_BLE5_adv()
546 … if ((cmd->phyFeatures & 0x03) != ble5HandlerState.common.auxPtrInfo.auxPhy) in RCL_Handler_BLE5_adv()
720 cmd->status = status; in RCL_Handler_BLE5_adv()
732 if (cmd->status == RCL_CommandStatus_Active) in RCL_Handler_BLE5_adv()
865 …rState.requestedPhyFeatures = ble5HandlerState.common.auxPtrInfo.auxPhy | (cmd->phyFeatures & 0x04… in RCL_Handler_BLE5_adv()
890 cmd->status = ble5HandlerState.common.endStatus; in RCL_Handler_BLE5_adv()
902cmd->status = RCL_Handler_BLE5_findPbeErrorEndStatus(HWREGH_READ_LRF(LRFD_BUFRAM_BASE + PBE_COMMON… in RCL_Handler_BLE5_adv()
906 cmd->status = endStatus; in RCL_Handler_BLE5_adv()
[all …]
Dble_cs.h41 RCL_Events RCL_Handler_BLE_CS(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn);
42 RCL_Events RCL_Handler_BLE_CS_Precal(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEventsIn…
/hal_ti-latest/simplelink_lpf3/source/ti/devices/cc23x0r5/driverlib/
Di2c.h191 __STATIC_INLINE void I2CControllerCommand(uint32_t base, uint32_t cmd) in I2CControllerCommand() argument
195 ASSERT((cmd == I2C_CONTROLLER_CMD_SINGLE_SEND) || in I2CControllerCommand()
197 … (cmd == I2C_CONTROLLER_CMD_BURST_SEND_START) || (cmd == I2C_CONTROLLER_CMD_BURST_SEND_CONT) || in I2CControllerCommand()
198 …(cmd == I2C_CONTROLLER_CMD_BURST_SEND_FINISH) || (cmd == I2C_CONTROLLER_CMD_BURST_SEND_ERROR_STOP)… in I2CControllerCommand()
199 …(cmd == I2C_CONTROLLER_CMD_BURST_RECEIVE_START) || (cmd == I2C_CONTROLLER_CMD_BURST_RECEIVE_CONT) … in I2CControllerCommand()
200 …(cmd == I2C_CONTROLLER_CMD_BURST_RECEIVE_FINISH) || (cmd == I2C_CONTROLLER_CMD_BURST_RECEIVE_ERROR… in I2CControllerCommand()
203 HWREG(base + I2C_O_CCTL) = cmd; in I2CControllerCommand()
/hal_ti-latest/simplelink/source/ti/devices/cc13x2x7_cc26x2x7/driverlib/
Drf_mailbox.h300 #define SW_REG_OVERRIDE(cmd, field, val) (3 | ((_POSITION_##cmd##_##field) << 4) | ((uint32_t)(val)… argument
302 #define SW_REG_IND_OVERRIDE(cmd, field, offset, val) (3 | \ argument
303 (((_POSITION_##cmd##_##field) + ((offset) << 1)) << 4) | ((uint32_t)(val) << 16))
305 #define SW_REG_BYTE_OVERRIDE(cmd, field, val) (0x8003 | ((_POSITION_##cmd##_##field) << 4) | \ argument
308 #define SW_REG_2BYTE_OVERRIDE(cmd, field, val0, val1) (3 | (((_POSITION_##cmd##_##field) & 0xFFFE) … argument
310 #define SW_REG_MASK_OVERRIDE(cmd, field, offset, mask, val) (0x8003 | \ argument
311 ((_POSITION_##cmd##_##field + (offset)) << 4) | (((uint32_t)(val) & 0xFF) << 16) | (((uint32_t)(mas…
321 #define SW_ARRAY_OVERRIDE(cmd, firstfield, length) (1 | (((_POSITION_##cmd##_##firstfield)) << 2) |… argument
/hal_ti-latest/simplelink/source/ti/devices/cc13x2_cc26x2/driverlib/
Drf_mailbox.h300 #define SW_REG_OVERRIDE(cmd, field, val) (3 | ((_POSITION_##cmd##_##field) << 4) | ((uint32_t)(val)… argument
302 #define SW_REG_IND_OVERRIDE(cmd, field, offset, val) (3 | \ argument
303 (((_POSITION_##cmd##_##field) + ((offset) << 1)) << 4) | ((uint32_t)(val) << 16))
305 #define SW_REG_BYTE_OVERRIDE(cmd, field, val) (0x8003 | ((_POSITION_##cmd##_##field) << 4) | \ argument
308 #define SW_REG_2BYTE_OVERRIDE(cmd, field, val0, val1) (3 | (((_POSITION_##cmd##_##field) & 0xFFFE) … argument
310 #define SW_REG_MASK_OVERRIDE(cmd, field, offset, mask, val) (0x8003 | \ argument
311 ((_POSITION_##cmd##_##field + (offset)) << 4) | (((uint32_t)(val) & 0xFF) << 16) | (((uint32_t)(mas…
321 #define SW_ARRAY_OVERRIDE(cmd, firstfield, length) (1 | (((_POSITION_##cmd##_##firstfield)) << 2) |… argument
/hal_ti-latest/simplelink_lpf3/source/ti/drivers/rcl/wrappers/
DRCL_AdcNoise.c75 static void adcNoiseCallback(RCL_Command *cmd, LRF_Events lrfEvents, RCL_Events rclEvents) in adcNoiseCallback() argument
77 RCL_CmdAdcNoiseGet *adcCmd = (RCL_CmdAdcNoiseGet *)cmd; in adcNoiseCallback()
81 callback(adcCmd->output, adcCmd->numWords, RCL_STATUS_TO_WRAPPER_STATUS(cmd->status)); in adcNoiseCallback()
84 RCL_close(cmd->runtime.client); in adcNoiseCallback()
/hal_ti-latest/simplelink/source/ti/drivers/nvs/
DNVSSPI25X.c169 int_fast16_t NVSSPI25X_control(NVS_Handle handle, uint_fast16_t cmd, uintptr_t arg) in NVSSPI25X_control() argument
174 if (cmd != NVSSPI25X_CMD_MASS_ERASE) return (NVS_STATUS_UNDEFINEDCMD); in NVSSPI25X_control()
737 uint8_t cmd; in extFlashPowerDown() local
740 cmd = SPIFLASH_DP; in extFlashPowerDown()
742 status = extFlashSpiWrite(&cmd,sizeof(cmd)); in extFlashPowerDown()
754 uint8_t cmd; in extFlashPowerStandby() local
757 cmd = SPIFLASH_RDP; in extFlashPowerStandby()
759 status = extFlashSpiWrite(&cmd, sizeof(cmd)); in extFlashPowerStandby()
775 uint8_t cmd; in extFlashMassErase() local
783 cmd = SPIFLASH_MASS_ERASE; in extFlashMassErase()
[all …]
/hal_ti-latest/simplelink/source/ti/drivers/sd/
DSDSPI.c73 int_fast16_t SDSPI_control(SD_Handle handle, uint_fast16_t cmd,
88 static uint8_t sendCmd(SPI_Handle handle, uint8_t cmd, uint32_t arg);
132 int_fast16_t SDSPI_control(SD_Handle handle, uint_fast16_t cmd, void *arg) in SDSPI_control() argument
645 static uint8_t sendCmd(SPI_Handle handle, uint8_t cmd, uint32_t arg) in sendCmd() argument
652 if ((cmd != CMD0) && !waitUntilReady(handle)) { in sendCmd()
657 txBuf[0] = cmd; /* Command */ in sendCmd()
663 if (cmd == CMD0) { in sendCmd()
667 else if (cmd == CMD8) { in sendCmd()
687 if ((cmd == CMD12) && in sendCmd()
/hal_ti-latest/simplelink/source/ti/drivers/
DADC.h282 typedef int_fast16_t (*ADC_ControlFxn) (ADC_Handle handle, uint_fast16_t cmd,
389 extern int_fast16_t ADC_control(ADC_Handle handle, uint_fast16_t cmd,
DCapture.c62 int_fast16_t Capture_control(Capture_Handle handle, uint_fast16_t cmd, in Capture_control() argument
65 return (handle->fxnTablePtr->controlFxn(handle, cmd, arg)); in Capture_control()
DADC.c65 int_fast16_t ADC_control(ADC_Handle handle, uint_fast16_t cmd, void *arg) in ADC_control() argument
67 return (((ADC_FxnTable *)handle->fxnTablePtr)->controlFxn(handle, cmd, arg)); in ADC_control()
DCamera.c76 int_fast16_t Camera_control(Camera_Handle handle, uint_fast16_t cmd, void *arg) in Camera_control() argument
78 return (handle->fxnTablePtr->controlFxn(handle, cmd, arg)); in Camera_control()
DCapture.h276 uint_fast16_t cmd, void *arg);
382 extern int_fast16_t Capture_control(Capture_Handle handle, uint_fast16_t cmd,
DSPI.c72 int_fast16_t SPI_control(SPI_Handle handle, uint_fast16_t cmd, void *controlArg) in SPI_control() argument
74 return (handle->fxnTablePtr->controlFxn(handle, cmd, controlArg)); in SPI_control()
DWatchdog.c75 int_fast16_t Watchdog_control(Watchdog_Handle handle, uint_fast16_t cmd, in Watchdog_control() argument
78 return (handle->fxnTablePtr->watchdogControl(handle, cmd, arg)); in Watchdog_control()
DWatchdog.h327 uint_fast16_t cmd,
457 uint_fast16_t cmd,

123