Lines Matching refs:Mode

509     assert_param(IS_I3C_MODE(hi3c->Mode));  in HAL_I3C_Init()
562 if (hi3c->Mode == HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Init()
658 hi3c->Mode = HAL_I3C_MODE_NONE; in HAL_I3C_DeInit()
1152 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_ActivateNotification()
1153 assert_param(IS_I3C_INTERRUPTMASK(hi3c->Mode, interruptMask)); in HAL_I3C_ActivateNotification()
1157 ((hi3c->Mode != HAL_I3C_MODE_CONTROLLER) && (hi3c->Mode != HAL_I3C_MODE_TARGET))) in HAL_I3C_ActivateNotification()
1163 else if ((hi3c->Mode == HAL_I3C_MODE_TARGET) && in HAL_I3C_ActivateNotification()
1173 if (hi3c->Mode == HAL_I3C_MODE_TARGET) in HAL_I3C_ActivateNotification()
1563 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_BusCharacteristicConfig()
1572 else if ((hi3c->State != HAL_I3C_STATE_READY) || (hi3c->Mode != HAL_I3C_MODE_CONTROLLER)) in HAL_I3C_Ctrl_BusCharacteristicConfig()
1641 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Tgt_BusCharacteristicConfig()
1644 if ((hi3c->State != HAL_I3C_STATE_READY) || (hi3c->Mode != HAL_I3C_MODE_TARGET)) in HAL_I3C_Tgt_BusCharacteristicConfig()
1703 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_SetConfigFifo()
1714 if (hi3c->Mode == HAL_I3C_MODE_CONTROLLER) in HAL_I3C_SetConfigFifo()
1756 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_Config()
1765 else if ((hi3c->State == HAL_I3C_STATE_RESET) || (hi3c->Mode != HAL_I3C_MODE_CONTROLLER)) in HAL_I3C_Ctrl_Config()
1841 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Tgt_Config()
1850 else if ((hi3c->State == HAL_I3C_STATE_RESET) || (hi3c->Mode != HAL_I3C_MODE_TARGET)) in HAL_I3C_Tgt_Config()
1966 else if ((hi3c->State == HAL_I3C_STATE_RESET) || (hi3c->Mode != HAL_I3C_MODE_CONTROLLER)) in HAL_I3C_Ctrl_ConfigBusDevices()
1975 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_ConfigBusDevices()
2157 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_FlushAllFifo()
2171 if (hi3c->Mode == HAL_I3C_MODE_CONTROLLER) in HAL_I3C_FlushAllFifo()
2204 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_FlushTxFifo()
2242 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_FlushRxFifo()
2279 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_FlushControlFifo()
2282 if ((hi3c->State == HAL_I3C_STATE_RESET) || (hi3c->Mode != HAL_I3C_MODE_CONTROLLER)) in HAL_I3C_FlushControlFifo()
2316 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_FlushStatusFifo()
2319 if ((hi3c->State == HAL_I3C_STATE_RESET) || (hi3c->Mode != HAL_I3C_MODE_CONTROLLER)) in HAL_I3C_FlushStatusFifo()
2355 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_ClearConfigFifo()
2370 if (hi3c->Mode == HAL_I3C_MODE_CONTROLLER) in HAL_I3C_ClearConfigFifo()
2405 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_GetConfigFifo()
2515 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_TransmitCCC()
2528 else if (hi3c->Mode != HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Ctrl_TransmitCCC()
2675 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_TransmitCCC_IT()
2688 else if (hi3c->Mode != HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Ctrl_TransmitCCC_IT()
2763 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_TransmitCCC_DMA()
2782 else if (hi3c->Mode != HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Ctrl_TransmitCCC_DMA()
2956 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_ReceiveCCC()
2970 else if (hi3c->Mode != HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Ctrl_ReceiveCCC()
3139 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_ReceiveCCC_IT()
3153 else if (hi3c->Mode != HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Ctrl_ReceiveCCC_IT()
3245 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_ReceiveCCC_DMA()
3270 else if (hi3c->Mode != HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Ctrl_ReceiveCCC_DMA()
3502 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_Transmit()
3515 else if (hi3c->Mode != HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Ctrl_Transmit()
3663 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_Transmit_IT()
3676 else if (hi3c->Mode != HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Ctrl_Transmit_IT()
3753 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_Transmit_DMA()
3772 else if (hi3c->Mode != HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Ctrl_Transmit_DMA()
3946 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_Receive()
3958 else if (hi3c->Mode != HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Ctrl_Receive()
4104 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_Receive_IT()
4116 else if (hi3c->Mode != HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Ctrl_Receive_IT()
4191 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_Receive_DMA()
4209 else if (hi3c->Mode != HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Ctrl_Receive_DMA()
4384 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_MultipleTransfer_IT()
4398 else if (hi3c->Mode != HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Ctrl_MultipleTransfer_IT()
4489 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_MultipleTransfer_DMA()
4509 else if (hi3c->Mode != HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Ctrl_MultipleTransfer_DMA()
4750 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_DynAddrAssign()
4761 else if (hi3c->Mode != HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Ctrl_DynAddrAssign()
4915 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_DynAddrAssign_IT()
4921 if (hi3c->Mode != HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Ctrl_DynAddrAssign_IT()
5023 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_IsDeviceI3C_Ready()
5064 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Ctrl_IsDeviceI2C_Ready()
5138 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Tgt_Transmit()
5152 else if (hi3c->Mode != HAL_I3C_MODE_TARGET) in HAL_I3C_Tgt_Transmit()
5280 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Tgt_Transmit_IT()
5294 else if (hi3c->Mode != HAL_I3C_MODE_TARGET) in HAL_I3C_Tgt_Transmit_IT()
5381 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Tgt_Transmit_DMA()
5401 else if (hi3c->Mode != HAL_I3C_MODE_TARGET) in HAL_I3C_Tgt_Transmit_DMA()
5542 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Tgt_Receive()
5556 else if (hi3c->Mode != HAL_I3C_MODE_TARGET) in HAL_I3C_Tgt_Receive()
5683 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Tgt_Receive_IT()
5697 else if (hi3c->Mode != HAL_I3C_MODE_TARGET) in HAL_I3C_Tgt_Receive_IT()
5780 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Tgt_Receive_DMA()
5803 else if (hi3c->Mode != HAL_I3C_MODE_TARGET) in HAL_I3C_Tgt_Receive_DMA()
5935 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Tgt_ControlRoleReq()
5941 if (hi3c->Mode != HAL_I3C_MODE_TARGET) in HAL_I3C_Tgt_ControlRoleReq()
6032 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Tgt_ControlRoleReq_IT()
6038 if (hi3c->Mode != HAL_I3C_MODE_TARGET) in HAL_I3C_Tgt_ControlRoleReq_IT()
6106 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Tgt_HotJoinReq()
6118 else if (hi3c->Mode != HAL_I3C_MODE_TARGET) in HAL_I3C_Tgt_HotJoinReq()
6218 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Tgt_HotJoinReq_IT()
6224 if (hi3c->Mode != HAL_I3C_MODE_TARGET) in HAL_I3C_Tgt_HotJoinReq_IT()
6283 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Tgt_IBIReq()
6289 if (hi3c->Mode != HAL_I3C_MODE_TARGET) in HAL_I3C_Tgt_IBIReq()
6412 assert_param(IS_I3C_MODE(hi3c->Mode)); in HAL_I3C_Tgt_IBIReq_IT()
6418 if (hi3c->Mode != HAL_I3C_MODE_TARGET) in HAL_I3C_Tgt_IBIReq_IT()
6544 if (hi3c->Mode == HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Abort_IT()
6559 if (hi3c->Mode == HAL_I3C_MODE_CONTROLLER) in HAL_I3C_Abort_IT()
6602 return hi3c->Mode; in HAL_I3C_GetMode()
8266 if (hi3c->Mode == HAL_I3C_MODE_TARGET) in I3C_StateUpdate()
8296 switch (hi3c->Mode) in I3C_GetErrorSources()
8788 if (hi3c->Mode != HAL_I3C_MODE_CONTROLLER) in I3C_Ctrl_IsDevice_Ready()
9114 if (hi3c->Mode == HAL_I3C_MODE_CONTROLLER) in I3C_ErrorTreatment()