Home
last modified time | relevance | path

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

/trusted-firmware-m-3.7.0/platform/ext/target/arm/rse/rdfremont/bl2/
Dinterrupts_bl2.c49 uint32_t ch, value, mask = 0; in CMU_MHU4_Receiver_Handler() local
52 for (ch = 0; ch < MHU_SCP_RSE_CHANNEL_COUNT; ch++) { in CMU_MHU4_Receiver_Handler()
54 status = mhu_v3_x_doorbell_read(&MHU_V3_SCP_TO_RSE_DEV, ch, &value); in CMU_MHU4_Receiver_Handler()
63 if (mhu_scp_rse_doorbell_vector[ch] == NULL) { in CMU_MHU4_Receiver_Handler()
67 status = mhu_scp_rse_doorbell_vector[ch](value); in CMU_MHU4_Receiver_Handler()
79 mhu_v3_x_doorbell_clear(&MHU_V3_SCP_TO_RSE_DEV, ch, mask); in CMU_MHU4_Receiver_Handler()
Dboot_hal_bl2.c312 uint8_t ch; in initialize_rse_scp_mhu() local
333 for (ch = 0; ch < num_ch; ++ch) { in initialize_rse_scp_mhu()
335 &MHU_V3_RSE_TO_SCP_DEV, ch, MHU_V3_X_CHANNEL_TYPE_DBCH); in initialize_rse_scp_mhu()
365 for (ch = 0; ch < num_ch; ch++) { in initialize_rse_scp_mhu()
366 mhuv3_err = mhu_v3_x_channel_interrupt_enable(&MHU_V3_SCP_TO_RSE_DEV, ch, in initialize_rse_scp_mhu()
373 mhuv3_err = mhu_v3_x_doorbell_mask_clear(&MHU_V3_SCP_TO_RSE_DEV, ch, in initialize_rse_scp_mhu()
/trusted-firmware-m-3.7.0/platform/ext/target/nxp/common/Native_Driver/utilities/debug_console/
Dfsl_debug_console.c279 status_t DbgConsole_ReadOneCharacter(uint8_t *ch);
280 int DbgConsole_SendData(uint8_t *ch, size_t size);
281 int DbgConsole_SendDataReliable(uint8_t *ch, size_t size);
283 int DbgConsole_ReadCharacter(uint8_t *ch);
424 status_t DbgConsole_ReadOneCharacter(uint8_t *ch) in DbgConsole_ReadOneCharacter() argument
438 …ger_ReadNonBlocking(((serial_read_handle_t)&s_debugConsoleState.serialReadHandleBuffer[0]), ch, 1); in DbgConsole_ReadOneCharacter()
440 …anager_ReadBlocking(((serial_read_handle_t)&s_debugConsoleState.serialReadHandleBuffer[0]), ch, 1); in DbgConsole_ReadOneCharacter()
464 static status_t DbgConsole_EchoCharacter(uint8_t *ch, bool isGetChar, int *index) in DbgConsole_EchoCharacter() argument
467 if (((*ch != (uint8_t)'\r') && (*ch != (uint8_t)'\n')) || (isGetChar)) in DbgConsole_EchoCharacter()
470 if (1 != DbgConsole_SendDataReliable(ch, 1U)) in DbgConsole_EchoCharacter()
[all …]
Dfsl_debug_console.h224 int DbgConsole_Putchar(int ch);
304 status_t DbgConsole_TryGetchar(char *ch);
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dretarget.c123 void _ttywrch(int ch);
124 int fputc(int ch, FILE *stream);
132 void SendChar_ToUART(int ch);
133 void SendChar(int ch);
432 void SendChar_ToUART(int ch) in SendChar_ToUART() argument
434 if((char)ch == '\n') in SendChar_ToUART()
441 DEBUG_PORT->DAT = (uint32_t)ch; in SendChar_ToUART()
447 void SendChar_ToUART(int ch) in SendChar_ToUART() argument
455 if(ch) in SendChar_ToUART()
457 if(ch == '\n') in SendChar_ToUART()
[all …]
Dcrypto.c51 static char ch2hex(char ch);
858 static char ch2hex(char ch) in ch2hex() argument
860 if(ch <= '9') in ch2hex()
862 return ch - '0'; in ch2hex()
864 else if((ch <= 'z') && (ch >= 'a')) in ch2hex()
866 return ch - 'a' + 10U; in ch2hex()
870 return ch - 'A' + 10U; in ch2hex()
1032 char ch; in get_nibble_value() local
1036 ch = '0'; in get_nibble_value()
1037 return ((int)c - (int)ch); in get_nibble_value()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/common/
Duart_stdout.c62 int fputc(int ch, FILE *f) in fputc() argument
67 (void)stdio_output_string((const unsigned char *)&ch, 1); in fputc()
70 return ch; in fputc()
82 int putchar(int ch) in putchar() argument
85 (void)stdio_output_string((const unsigned char *)&ch, 1); in putchar()
88 return ch; in putchar()
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Dretarget.c151 void _ttywrch(int ch);
152 int fputc(int ch, FILE *stream);
160 void SendChar_ToUART(int ch);
161 void SendChar(int ch);
522 void SendChar_ToUART(int ch) in SendChar_ToUART() argument
526 if((char)ch == '\n') in SendChar_ToUART()
531 DEBUG_PORT->DAT = (uint32_t)ch; in SendChar_ToUART()
537 void SendChar_ToUART(int ch) in SendChar_ToUART() argument
545 if(ch) in SendChar_ToUART()
548 if(ch == '\n') in SendChar_ToUART()
[all …]
Dcrypto.c52 static char ch2hex(char ch);
800 static char ch2hex(char ch) in ch2hex() argument
802 if(ch <= '9') in ch2hex()
804 return ch - '0'; in ch2hex()
806 else if((ch <= 'z') && (ch >= 'a')) in ch2hex()
808 return ch - 'a' + 10U; in ch2hex()
812 return ch - 'A' + 10U; in ch2hex()
952 char ch; in get_nibble_value() local
956 ch = '0'; in get_nibble_value()
957 return ((int)c - (int)ch); in get_nibble_value()
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/rse/common/native_drivers/
Dmhu_wrapper_v3_x.c195 uint32_t ch; in mhu_init_sender() local
227 for (ch = 0; ch < num_ch; ++ch) { in mhu_init_sender()
229 dev, ch, MHU_V3_X_CHANNEL_TYPE_DBCH); in mhu_init_sender()
242 uint32_t ch; in mhu_init_receiver() local
268 for (ch = 0; ch < (num_ch - 1); ++ch) { in mhu_init_receiver()
269 err = mhu_v3_x_doorbell_mask_set(dev, ch, UINT32_MAX); in mhu_init_receiver()
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/
Dtimer_pwm.h351 #define TPWM_ENABLE_OUTPUT(timer, ch) ((timer)->PWMPOEN = (ch)) argument
368 #define TPWM_SET_OUTPUT_INVERSE(timer, ch) ((timer)->PWMPOLCTL = (ch)) argument
387 #define TPWM_SET_MASK_OUTPUT(timer, ch, level) do {(timer)->PWMMSKEN = (ch); (timer)->PWMMSK = (lev… argument
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Dtimer_pwm.h376 #define TPWM_ENABLE_OUTPUT(timer, ch) \ argument
379 if((ch) == BIT0) \
384 (timer)->PWMPOEN = (ch); \
402 #define TPWM_SET_OUTPUT_INVERSE(timer, ch) \ argument
407 (timer)->PWMPOLCTL = (ch); \
426 #define TPWM_SET_MASK_OUTPUT(timer, ch, level) do {(timer)->PWMMSKEN = (ch); (timer)->PWMMSK = (lev… argument
/trusted-firmware-m-3.7.0/platform/ext/cmsis/CMSIS/Driver/Include/
DDriver_WiFi.h102 …uint8_t ch; ///< WiFi Channel (0 = auto, otherwise = exact cha… member
115 uint8_t ch; ///< WiFi Channel member
126 uint8_t ch; ///< WiFi Channel member
/trusted-firmware-m-3.7.0/platform/ext/cmsis/CMSIS/Core/Include/
Dcore_cm3.h1879 __STATIC_INLINE uint32_t ITM_SendChar (uint32_t ch) in ITM_SendChar() argument
1888 ITM->PORT[0U].u8 = (uint8_t)ch; in ITM_SendChar()
1890 return (ch); in ITM_SendChar()
1902 int32_t ch = -1; /* no character available */ in ITM_ReceiveChar() local
1906 ch = ITM_RxBuffer; in ITM_ReceiveChar()
1910 return (ch); in ITM_ReceiveChar()
Dcore_sc300.h1862 __STATIC_INLINE uint32_t ITM_SendChar (uint32_t ch) in ITM_SendChar() argument
1871 ITM->PORT[0U].u8 = (uint8_t)ch; in ITM_SendChar()
1873 return (ch); in ITM_SendChar()
1885 int32_t ch = -1; /* no character available */ in ITM_ReceiveChar() local
1889 ch = ITM_RxBuffer; in ITM_ReceiveChar()
1893 return (ch); in ITM_ReceiveChar()
Dcore_cm4.h2071 __STATIC_INLINE uint32_t ITM_SendChar (uint32_t ch) in ITM_SendChar() argument
2080 ITM->PORT[0U].u8 = (uint8_t)ch; in ITM_SendChar()
2082 return (ch); in ITM_SendChar()
2094 int32_t ch = -1; /* no character available */ in ITM_ReceiveChar() local
2098 ch = ITM_RxBuffer; in ITM_ReceiveChar()
2102 return (ch); in ITM_ReceiveChar()
Dcore_cm7.h2302 __STATIC_INLINE uint32_t ITM_SendChar (uint32_t ch) in ITM_SendChar() argument
2311 ITM->PORT[0U].u8 = (uint8_t)ch; in ITM_SendChar()
2313 return (ch); in ITM_SendChar()
2325 int32_t ch = -1; /* no character available */ in ITM_ReceiveChar() local
2329 ch = ITM_RxBuffer; in ITM_ReceiveChar()
2333 return (ch); in ITM_ReceiveChar()
Dcore_cm33.h3047 __STATIC_INLINE uint32_t ITM_SendChar (uint32_t ch) in ITM_SendChar() argument
3056 ITM->PORT[0U].u8 = (uint8_t)ch; in ITM_SendChar()
3058 return (ch); in ITM_SendChar()
3070 int32_t ch = -1; /* no character available */ in ITM_ReceiveChar() local
3074 ch = ITM_RxBuffer; in ITM_ReceiveChar()
3078 return (ch); in ITM_ReceiveChar()
Dcore_cm35p.h3047 __STATIC_INLINE uint32_t ITM_SendChar (uint32_t ch) in ITM_SendChar() argument
3056 ITM->PORT[0U].u8 = (uint8_t)ch; in ITM_SendChar()
3058 return (ch); in ITM_SendChar()
3070 int32_t ch = -1; /* no character available */ in ITM_ReceiveChar() local
3074 ch = ITM_RxBuffer; in ITM_ReceiveChar()
3078 return (ch); in ITM_ReceiveChar()
Dcore_starmc1.h3542 __STATIC_INLINE uint32_t ITM_SendChar (uint32_t ch) in ITM_SendChar() argument
3551 ITM->PORT[0U].u8 = (uint8_t)ch; in ITM_SendChar()
3553 return (ch); in ITM_SendChar()
3565 int32_t ch = -1; /* no character available */ in ITM_ReceiveChar() local
3569 ch = ITM_RxBuffer; in ITM_ReceiveChar()
3573 return (ch); in ITM_ReceiveChar()
Dcore_cm52.h4707 __STATIC_INLINE uint32_t ITM_SendChar (uint32_t ch) in ITM_SendChar() argument
4716 ITM->PORT[0U].u8 = (uint8_t)ch; in ITM_SendChar()
4718 return (ch); in ITM_SendChar()
4730 int32_t ch = -1; /* no character available */ in ITM_ReceiveChar() local
4734 ch = ITM_RxBuffer; in ITM_ReceiveChar()
4738 return (ch); in ITM_ReceiveChar()
Dcore_cm55.h4659 __STATIC_INLINE uint32_t ITM_SendChar (uint32_t ch) in ITM_SendChar() argument
4668 ITM->PORT[0U].u8 = (uint8_t)ch; in ITM_SendChar()
4670 return (ch); in ITM_SendChar()
4682 int32_t ch = -1; /* no character available */ in ITM_ReceiveChar() local
4686 ch = ITM_RxBuffer; in ITM_ReceiveChar()
4690 return (ch); in ITM_ReceiveChar()
Dcore_cm85.h4700 __STATIC_INLINE uint32_t ITM_SendChar (uint32_t ch) in ITM_SendChar() argument
4709 ITM->PORT[0U].u8 = (uint8_t)ch; in ITM_SendChar()
4711 return (ch); in ITM_SendChar()
4723 int32_t ch = -1; /* no character available */ in ITM_ReceiveChar() local
4727 ch = ITM_RxBuffer; in ITM_ReceiveChar()
4731 return (ch); in ITM_ReceiveChar()
/trusted-firmware-m-3.7.0/platform/ext/target/nxp/common/Native_Driver/utilities/str/
Dfsl_str.c465 char ch; in PrintFilterLengthFlag() local
469 ch = *++p; in PrintFilterLengthFlag()
470 } while ((ch == 'h') || (ch == 'l')); in PrintFilterLengthFlag()
/trusted-firmware-m-3.7.0/docs/integration_guide/platform/
Dporting_tfm_to_a_new_hardware.rst507 target_cfg.[ch]: