Home
last modified time | relevance | path

Searched refs:MXC_UART_GET_IDX (Results 1 – 25 of 33) sorted by relevance

12

/hal_adi-latest/MAX/Libraries/PeriphDrivers/Source/UART/
Duart_me10.c79 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Init()
98 rx_states[MXC_UART_GET_IDX(uart)] = NULL; in MXC_UART_Init()
99 tx_states[MXC_UART_GET_IDX(uart)] = NULL; in MXC_UART_Init()
108 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Shutdown()
168 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
218 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_ReadCharacter()
228 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_WriteCharacter()
270 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_ReadRXFIFODMA()
290 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_GetRXFIFOAvailable()
308 switch ((MXC_UART_GET_IDX(uart))) { in MXC_UART_WriteTXFIFODMA()
[all …]
Duart_me21.c37 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_SetPinMapping()
41 uart_pin_mapping[MXC_UART_GET_IDX(uart)] = pin_mapping; in MXC_UART_SetPinMapping()
47 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_GetPinMapping()
51 return uart_pin_mapping[MXC_UART_GET_IDX(uart)]; in MXC_UART_GetPinMapping()
110 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Init()
155 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Shutdown()
193 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_SetFrequency()
276 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_GetFrequency()
319 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
340 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
[all …]
Duart_me55.c67 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Init()
97 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Shutdown()
134 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_SetFrequency()
151 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_GetFrequency()
176 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
197 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
277 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_ReadRXFIFODMA()
320 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_WriteTXFIFODMA()
Duart_me12.c94 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Shutdown()
121 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_SetFrequency()
138 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_GetFrequency()
163 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
176 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
248 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_ReadRXFIFODMA()
281 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_WriteTXFIFODMA()
Duart_me16.c80 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Init()
105 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Shutdown()
135 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_SetFrequency()
199 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_GetFrequency()
240 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
253 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
325 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_ReadRXFIFODMA()
360 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_WriteTXFIFODMA()
Duart_me17.c71 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Init()
102 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Shutdown()
141 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_SetFrequency()
211 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_GetFrequency()
250 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
267 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
343 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_ReadRXFIFODMA()
386 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_WriteTXFIFODMA()
Duart_ai85.c68 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Init()
98 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Shutdown()
134 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_SetFrequency()
192 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_GetFrequency()
230 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
239 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
307 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_ReadRXFIFODMA()
350 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_WriteTXFIFODMA()
Duart_ai87.c68 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Init()
98 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Shutdown()
135 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_SetFrequency()
195 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_GetFrequency()
233 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
250 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
326 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_ReadRXFIFODMA()
365 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_WriteTXFIFODMA()
Duart_revb.c62 MXC_ASSERT(MXC_UART_GET_IDX((mxc_uart_regs_t *)uart) >= 0) in MXC_UART_RevB_Init()
90 unsigned int i = MXC_UART_GET_IDX((mxc_uart_regs_t *)uart); in MXC_UART_RevB_Init()
102 if (AsyncTxRequests[MXC_UART_GET_IDX((mxc_uart_regs_t *)uart)] != NULL) { in MXC_UART_RevB_ReadyForSleep()
106 if (AsyncRxRequests[MXC_UART_GET_IDX((mxc_uart_regs_t *)uart)] != NULL) { in MXC_UART_RevB_ReadyForSleep()
321 int uart_num = MXC_UART_GET_IDX((mxc_uart_regs_t *)uart); in MXC_UART_RevB_AbortTransmission()
549 if (MXC_UART_GET_IDX((mxc_uart_regs_t *)(req->uart)) < 0) { in MXC_UART_RevB_Transaction()
613 int uart_num = MXC_UART_GET_IDX((mxc_uart_regs_t *)(req->uart)); in MXC_UART_RevB_TransactionAsync()
637 AsyncTxRequests[MXC_UART_GET_IDX((mxc_uart_regs_t *)(req->uart))] = (void *)req; in MXC_UART_RevB_TransactionAsync()
661 AsyncRxRequests[MXC_UART_GET_IDX((mxc_uart_regs_t *)(req->uart))] = (void *)req; in MXC_UART_RevB_TransactionAsync()
679 int uart_num = MXC_UART_GET_IDX((mxc_uart_regs_t *)uart); in MXC_UART_RevB_AsyncTxCallback()
[all …]
Duart_reva.c64 MXC_ASSERT(MXC_UART_GET_IDX((mxc_uart_regs_t *)uart) >= 0) in MXC_UART_RevA_Init()
96 unsigned int i = MXC_UART_GET_IDX((mxc_uart_regs_t *)uart); in MXC_UART_RevA_Init()
108 if (TxAsyncRequests[MXC_UART_GET_IDX((mxc_uart_regs_t *)uart)] != NULL) { in MXC_UART_RevA_ReadyForSleep()
555 int uart_num = MXC_UART_GET_IDX((mxc_uart_regs_t *)uart); in MXC_UART_RevA_ReadRXFIFODMA()
627 int n = MXC_UART_GET_IDX((mxc_uart_regs_t *)uart); in MXC_UART_RevA_SetAutoDMAHandlers()
636 int n = MXC_UART_GET_IDX((mxc_uart_regs_t *)uart); in MXC_UART_RevA_SetTXDMAChannel()
645 int n = MXC_UART_GET_IDX((mxc_uart_regs_t *)uart); in MXC_UART_RevA_GetTXDMAChannel()
652 int n = MXC_UART_GET_IDX((mxc_uart_regs_t *)uart); in MXC_UART_RevA_SetRXDMAChannel()
661 int n = MXC_UART_GET_IDX((mxc_uart_regs_t *)uart); in MXC_UART_RevA_GetRXDMAChannel()
674 int uart_num = MXC_UART_GET_IDX((mxc_uart_regs_t *)uart); in MXC_UART_RevA_WriteTXFIFODMA()
[all …]
Duart_me18.c73 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Init()
104 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Shutdown()
143 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_SetFrequency()
234 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_GetFrequency()
282 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
303 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
383 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_ReadRXFIFODMA()
426 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_WriteTXFIFODMA()
Duart_me15.c85 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Init()
118 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Shutdown()
160 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_SetFrequency()
237 if (MXC_UART_GET_IDX(uart) < 0) { in MXC_UART_GetFrequency()
280 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
301 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
381 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_ReadRXFIFODMA()
420 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_WriteTXFIFODMA()
Duart_revc.c59 MXC_ASSERT(MXC_UART_GET_IDX((mxc_uart_regs_t *)uart) >= 0) in MXC_UART_RevC_Init()
89 if (AsyncRequests[MXC_UART_GET_IDX((mxc_uart_regs_t *)uart)] != NULL) { in MXC_UART_RevC_ReadyForSleep()
296 int uart_num = MXC_UART_GET_IDX((mxc_uart_regs_t *)uart); in MXC_UART_RevC_ReadRXFIFODMA()
352 int uart_num = MXC_UART_GET_IDX((mxc_uart_regs_t *)uart); in MXC_UART_RevC_WriteTXFIFODMA()
457 if (MXC_UART_GET_IDX((mxc_uart_regs_t *)(req->uart)) < 0) { in MXC_UART_RevC_Transaction()
527 if (MXC_UART_GET_IDX((mxc_uart_regs_t *)(req->uart)) < 0) { in MXC_UART_RevC_TransactionAsync()
556 MXC_ASSERT(AsyncRequests[MXC_UART_GET_IDX((mxc_uart_regs_t *)(req->uart))] == NULL); in MXC_UART_RevC_TransactionAsync()
557 AsyncRequests[MXC_UART_GET_IDX((mxc_uart_regs_t *)(req->uart))] = (void *)req; in MXC_UART_RevC_TransactionAsync()
592 int uart_num = MXC_UART_GET_IDX((mxc_uart_regs_t *)(req->uart)); in MXC_UART_RevC_TransactionDMA()
667 (mxc_uart_revc_req_t *)AsyncRequests[MXC_UART_GET_IDX((mxc_uart_regs_t *)uart)]; in MXC_UART_RevC_AsyncCallback()
[all …]
Duart_es17.c55 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Init()
72 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Shutdown()
166 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_ReadRXFIFODMA()
196 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_WriteTXFIFODMA()
Duart_me11.c75 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Init()
109 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Shutdown()
160 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
238 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_ReadRXFIFODMA()
274 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_WriteTXFIFODMA()
Duart_me13.c74 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Init()
115 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Shutdown()
186 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
280 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_ReadRXFIFODMA()
320 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_WriteTXFIFODMA()
Duart_me14.c75 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Init()
112 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_Shutdown()
165 switch (MXC_UART_GET_IDX(uart)) { in MXC_UART_SetFlowCtrl()
263 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_ReadRXFIFODMA()
305 int uart_num = MXC_UART_GET_IDX(uart); in MXC_UART_WriteTXFIFODMA()
/hal_adi-latest/MAX/Libraries/PeriphDrivers/Source/AFE/
Dhart_uart.c192 switch (MXC_UART_GET_IDX(uart)) { in hart_uart_init()
256 MXC_NVIC_SetVector(MXC_UART_GET_IRQ(MXC_UART_GET_IDX(uart)), hart_uart_irq_handler); in hart_uart_init()
257 NVIC_EnableIRQ(MXC_UART_GET_IRQ(MXC_UART_GET_IDX(uart))); in hart_uart_init()
/hal_adi-latest/MAX/Libraries/CMSIS/Device/Maxim/MAX32660/Include/
Dmax32660.h314 #define MXC_UART_GET_IDX(p) ((p) == MXC_UART0 ? 0 : (p) == MXC_UART1 ? 1 : -1) macro
/hal_adi-latest/MAX/Libraries/CMSIS/Device/Maxim/MAX32520/Include/
Dmax32520.h343 #define MXC_UART_GET_IDX(p) ((p) == MXC_UART0 ? 0 : -1) macro
/hal_adi-latest/MAX/Libraries/CMSIS/Device/Maxim/MAX32662/Include/
Dmax32662.h444 #define MXC_UART_GET_IDX(p) ((p) == MXC_UART0 ? 0 : (p) == MXC_UART1 ? 1 : -1) macro
/hal_adi-latest/MAX/Libraries/CMSIS/Device/Maxim/MAX32670/Include/
Dmax32670.h466 #define MXC_UART_GET_IDX(p) \ macro
/hal_adi-latest/MAX/Libraries/CMSIS/Device/Maxim/MAX32672/Include/
Dmax32672.h502 #define MXC_UART_GET_IDX(p) \ macro
/hal_adi-latest/MAX/Libraries/CMSIS/Device/Maxim/MAX32675/Include/
Dmax32675.h465 #define MXC_UART_GET_IDX(p) \ macro
/hal_adi-latest/MAX/Libraries/CMSIS/Device/Maxim/MAX78002/Include/
Dmax78002.h601 #define MXC_UART_GET_IDX(p) \ macro

12