| /bsp/microchip/samd51-adafruit-metro-m4/bsp/hal/utils/include/ |
| A D | utils_repeat_macro.h | 61 #define REPEAT1(macro, arg, n) macro(arg, n) argument 62 #define REPEAT2(macro, arg, n) macro(arg, n) REPEAT1(macro, arg, INC_VALUE(n)) argument 63 #define REPEAT3(macro, arg, n) macro(arg, n) REPEAT2(macro, arg, INC_VALUE(n)) argument 64 #define REPEAT4(macro, arg, n) macro(arg, n) REPEAT3(macro, arg, INC_VALUE(n)) argument 65 #define REPEAT5(macro, arg, n) macro(arg, n) REPEAT4(macro, arg, INC_VALUE(n)) argument 66 #define REPEAT6(macro, arg, n) macro(arg, n) REPEAT5(macro, arg, INC_VALUE(n)) argument 67 #define REPEAT7(macro, arg, n) macro(arg, n) REPEAT6(macro, arg, INC_VALUE(n)) argument 68 #define REPEAT8(macro, arg, n) macro(arg, n) REPEAT7(macro, arg, INC_VALUE(n)) argument 69 #define REPEAT9(macro, arg, n) macro(arg, n) REPEAT8(macro, arg, INC_VALUE(n)) argument 70 #define REPEAT10(macro, arg, n) macro(arg, n) REPEAT9(macro, arg, INC_VALUE(n)) argument [all …]
|
| /bsp/microchip/samc21/bsp/hal/utils/include/ |
| A D | utils_repeat_macro.h | 61 #define REPEAT1(macro, arg, n) macro(arg, n) argument 62 #define REPEAT2(macro, arg, n) macro(arg, n) REPEAT1(macro, arg, INC_VALUE(n)) argument 63 #define REPEAT3(macro, arg, n) macro(arg, n) REPEAT2(macro, arg, INC_VALUE(n)) argument 64 #define REPEAT4(macro, arg, n) macro(arg, n) REPEAT3(macro, arg, INC_VALUE(n)) argument 65 #define REPEAT5(macro, arg, n) macro(arg, n) REPEAT4(macro, arg, INC_VALUE(n)) argument 66 #define REPEAT6(macro, arg, n) macro(arg, n) REPEAT5(macro, arg, INC_VALUE(n)) argument 67 #define REPEAT7(macro, arg, n) macro(arg, n) REPEAT6(macro, arg, INC_VALUE(n)) argument 68 #define REPEAT8(macro, arg, n) macro(arg, n) REPEAT7(macro, arg, INC_VALUE(n)) argument 69 #define REPEAT9(macro, arg, n) macro(arg, n) REPEAT8(macro, arg, INC_VALUE(n)) argument 70 #define REPEAT10(macro, arg, n) macro(arg, n) REPEAT9(macro, arg, INC_VALUE(n)) argument [all …]
|
| /bsp/microchip/samd51-seeed-wio-terminal/bsp/hal/utils/include/ |
| A D | utils_repeat_macro.h | 61 #define REPEAT1(macro, arg, n) macro(arg, n) argument 62 #define REPEAT2(macro, arg, n) macro(arg, n) REPEAT1(macro, arg, INC_VALUE(n)) argument 63 #define REPEAT3(macro, arg, n) macro(arg, n) REPEAT2(macro, arg, INC_VALUE(n)) argument 64 #define REPEAT4(macro, arg, n) macro(arg, n) REPEAT3(macro, arg, INC_VALUE(n)) argument 65 #define REPEAT5(macro, arg, n) macro(arg, n) REPEAT4(macro, arg, INC_VALUE(n)) argument 66 #define REPEAT6(macro, arg, n) macro(arg, n) REPEAT5(macro, arg, INC_VALUE(n)) argument 67 #define REPEAT7(macro, arg, n) macro(arg, n) REPEAT6(macro, arg, INC_VALUE(n)) argument 68 #define REPEAT8(macro, arg, n) macro(arg, n) REPEAT7(macro, arg, INC_VALUE(n)) argument 69 #define REPEAT9(macro, arg, n) macro(arg, n) REPEAT8(macro, arg, INC_VALUE(n)) argument 70 #define REPEAT10(macro, arg, n) macro(arg, n) REPEAT9(macro, arg, INC_VALUE(n)) argument [all …]
|
| /bsp/microchip/saml10/bsp/hal/utils/include/ |
| A D | utils_repeat_macro.h | 61 #define REPEAT1(macro, arg, n) macro(arg, n) argument 62 #define REPEAT2(macro, arg, n) macro(arg, n) REPEAT1(macro, arg, INC_VALUE(n)) argument 63 #define REPEAT3(macro, arg, n) macro(arg, n) REPEAT2(macro, arg, INC_VALUE(n)) argument 64 #define REPEAT4(macro, arg, n) macro(arg, n) REPEAT3(macro, arg, INC_VALUE(n)) argument 65 #define REPEAT5(macro, arg, n) macro(arg, n) REPEAT4(macro, arg, INC_VALUE(n)) argument 66 #define REPEAT6(macro, arg, n) macro(arg, n) REPEAT5(macro, arg, INC_VALUE(n)) argument 67 #define REPEAT7(macro, arg, n) macro(arg, n) REPEAT6(macro, arg, INC_VALUE(n)) argument 68 #define REPEAT8(macro, arg, n) macro(arg, n) REPEAT7(macro, arg, INC_VALUE(n)) argument 69 #define REPEAT9(macro, arg, n) macro(arg, n) REPEAT8(macro, arg, INC_VALUE(n)) argument 70 #define REPEAT10(macro, arg, n) macro(arg, n) REPEAT9(macro, arg, INC_VALUE(n)) argument [all …]
|
| /bsp/microchip/same70/bsp/hal/utils/include/ |
| A D | utils_repeat_macro.h | 61 #define REPEAT1(macro, arg, n) macro(arg, n) argument 62 #define REPEAT2(macro, arg, n) macro(arg, n) REPEAT1(macro, arg, INC_VALUE(n)) argument 63 #define REPEAT3(macro, arg, n) macro(arg, n) REPEAT2(macro, arg, INC_VALUE(n)) argument 64 #define REPEAT4(macro, arg, n) macro(arg, n) REPEAT3(macro, arg, INC_VALUE(n)) argument 65 #define REPEAT5(macro, arg, n) macro(arg, n) REPEAT4(macro, arg, INC_VALUE(n)) argument 66 #define REPEAT6(macro, arg, n) macro(arg, n) REPEAT5(macro, arg, INC_VALUE(n)) argument 67 #define REPEAT7(macro, arg, n) macro(arg, n) REPEAT6(macro, arg, INC_VALUE(n)) argument 68 #define REPEAT8(macro, arg, n) macro(arg, n) REPEAT7(macro, arg, INC_VALUE(n)) argument 69 #define REPEAT9(macro, arg, n) macro(arg, n) REPEAT8(macro, arg, INC_VALUE(n)) argument 70 #define REPEAT10(macro, arg, n) macro(arg, n) REPEAT9(macro, arg, INC_VALUE(n)) argument [all …]
|
| /bsp/microchip/same54/bsp/hal/utils/include/ |
| A D | utils_repeat_macro.h | 61 #define REPEAT1(macro, arg, n) macro(arg, n) argument 62 #define REPEAT2(macro, arg, n) macro(arg, n) REPEAT1(macro, arg, INC_VALUE(n)) argument 63 #define REPEAT3(macro, arg, n) macro(arg, n) REPEAT2(macro, arg, INC_VALUE(n)) argument 64 #define REPEAT4(macro, arg, n) macro(arg, n) REPEAT3(macro, arg, INC_VALUE(n)) argument 65 #define REPEAT5(macro, arg, n) macro(arg, n) REPEAT4(macro, arg, INC_VALUE(n)) argument 66 #define REPEAT6(macro, arg, n) macro(arg, n) REPEAT5(macro, arg, INC_VALUE(n)) argument 67 #define REPEAT7(macro, arg, n) macro(arg, n) REPEAT6(macro, arg, INC_VALUE(n)) argument 68 #define REPEAT8(macro, arg, n) macro(arg, n) REPEAT7(macro, arg, INC_VALUE(n)) argument 69 #define REPEAT9(macro, arg, n) macro(arg, n) REPEAT8(macro, arg, INC_VALUE(n)) argument 70 #define REPEAT10(macro, arg, n) macro(arg, n) REPEAT9(macro, arg, INC_VALUE(n)) argument [all …]
|
| /bsp/allwinner/libraries/sunxi-hal/include/hal/sdmmc/hal/ |
| A D | hal_debug.h | 54 #define HAL_LOG(flags, fmt, arg...) \ argument 57 HAL_SYSLOG(fmt, ##arg); \ 61 #define HAL_DBG(fmt, arg...) HAL_LOG(HAL_DBG_ON, "[HAL] "fmt, ##arg) argument 63 #define HAL_TIMER_DBG(fmt, arg...) \ argument 66 #define HAL_WDG_DBG(fmt, arg...) \ argument 69 #define HAL_MBOX_DBG(fmt, arg...) \ argument 72 #define HAL_I2C_DBG(fmt, arg...) \ argument 75 #define HAL_WRN(fmt, arg...) HAL_LOG(HAL_WRN_ON, "[HAL WRN] "fmt, ##arg) argument 103 #define HAL_IT_DBG(fmt, arg...) HAL_IT_LOG(HAL_DBG_ON, "[HAL] "fmt, ##arg) argument 105 #define HAL_IT_MBOX_DBG(fmt, arg...) \ argument [all …]
|
| A D | rom_debug.h | 85 ROM_SYSLOG(expand fmt, ##arg); \ 89 #define ROM_DBG(level, fmt, arg...) ROM_LOG(level, ROM_DBG_MASK, "[DBG]", fmt, ##arg) argument 91 #define ROM_DBG(level, fmt, arg...) argument 95 #define ROM_INF(level, fmt, arg...) ROM_LOG(level, ROM_INF_MASK, "", fmt, ##arg) argument 97 #define ROM_INF(level, fmt, arg...) argument 101 #define ROM_WRN(level, fmt, arg...) ROM_LOG(level, ROM_WRN_MASK, "[WRN] ", fmt, ##arg) argument 103 #define ROM_WRN(level, fmt, arg...) argument 110 ROM_SYSLOG("[ERR] "fmt, ##arg); \ 116 #define ROM_ERR(level, fmt, arg...) argument 126 #define ROM_ANY(level, fmt, arg...) argument [all …]
|
| /bsp/allwinner/libraries/sunxi-hal/include/hal/sdmmc/sys/ |
| A D | sys_debug.h | 92 #define R_DEBUG_PRINT(msg, arg...) printf(msg, ##arg) argument 117 R_DEBUG_PRINT(msg, ##arg); \ 136 R_DEBUG_PRINT(msg, ##arg); \ 263 #define R_DEBUG_PRINT(msg, arg...) argument 277 #define R_ERROR(module, expand, msg, arg...) argument 279 #define R_ALERT(module, expand, msg, arg...) argument 281 #define R_CRIT(module, expand, msg, arg...) argument 283 #define R_EMERG(module, expand, msg, arg...) argument 285 #define R_WARN(module, expand, msg, arg...) argument 289 #define R_INFO(module, expand, msg, arg...) argument [all …]
|
| /bsp/rockchip/common/rk_hal/lib/hal/inc/ |
| A D | hal_debug.h | 40 #define HAL_DBG(fmt, arg...) HAL_SYSLOG("[HAL INFO] " fmt, ##arg) argument 42 #define HAL_DBG(fmt, arg...) do { if (0) HAL_SYSLOG("[HAL INFO] " fmt, ##arg); } while (0) argument 46 #define HAL_DBG_WRN(fmt, arg...) HAL_SYSLOG("[HAL WARNING] " fmt, ##arg) argument 48 #define HAL_DBG_WRN(fmt, arg...) do { if (0) HAL_SYSLOG("[HAL WARNING] " fmt, ##arg); } while (0) argument 52 #define HAL_DBG_ERR(fmt, arg...) HAL_SYSLOG("[HAL ERROR] " fmt, ##arg) argument 54 #define HAL_DBG_ERR(fmt, arg...) do { if (0) HAL_SYSLOG("[HAL ERROR] " fmt, ##arg); } while (0) argument
|
| /bsp/allwinner/libraries/sunxi-hal/include/hal/sdmmc/cmd/ |
| A D | cmd_debug.h | 45 #define CMD_LOG(flags, fmt, arg...) \ argument 48 CMD_SYSLOG(fmt, ##arg); \ 51 #define CMD_DBG(fmt, arg...) \ argument 52 CMD_LOG(CMD_DBG_ON, "[cmd] "fmt, ##arg) 54 #define CMD_WRN(fmt, arg...) \ argument 55 CMD_LOG(CMD_WRN_ON, "[cmd WRN] "fmt, ##arg) 57 #define CMD_ERR(fmt, arg...) \ argument 58 CMD_LOG(CMD_ERR_ON, "[cmd ERR] %s():%d, "fmt, __func__, __LINE__, ##arg)
|
| /bsp/rockchip/rk3500/driver/uart8250/ |
| A D | serial_dm.h | 23 #define serial_for_each_args(arg, args) \ argument 24 for (char *context = (arg = (typeof(arg))args, (void *)RT_NULL), \ 26 (arg = strtok_r(arg, ",", &context)) && arg < context_end; \ 27 arg = RT_NULL)
|
| /bsp/nuvoton/libraries/n9h30/rtt_port/ |
| A D | drv_vpost.c | 407 rt_uint32_t index, len, arg[4]; in vpost_set_osd_colkey() local 409 rt_memset(arg, 0, sizeof(arg)); in vpost_set_osd_colkey() 418 vpostOSDSetColKey(arg[0], arg[1], arg[2]); in vpost_set_osd_colkey() 430 rt_uint32_t index, len, arg[2]; in vpost_show_layer() local 433 rt_memset(arg, 0, sizeof(arg)); in vpost_show_layer() 440 psVpostLayer = &nu_fbdev[arg[0]]; in vpost_show_layer() 449 rt_uint32_t index, len, arg[2]; in vpost_hide_layer() local 452 rt_memset(arg, 0, sizeof(arg)); in vpost_hide_layer() 468 rt_uint32_t index, len, arg[5]; in vpost_fill_color() local 471 rt_memset(arg, 0, sizeof(arg)); in vpost_fill_color() [all …]
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/sdmmc/osal/os/RT-Thread/ |
| A D | os_debug.h | 70 #define OS_LOG(flags, fmt, arg...) \ argument 73 OS_SYSLOG(fmt, ##arg); \ 76 #define OS_DBG(fmt, arg...) OS_LOG(OS_DBG_ON, "[os] "fmt, ##arg) argument 77 #define OS_WRN(fmt, arg...) OS_LOG(OS_WRN_ON, "[os W] "fmt, ##arg) argument 78 #define OS_ERR(fmt, arg...) \ argument 81 __func__, __LINE__, ##arg); \
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/sdmmc/osal/os/FreeRTOS/ |
| A D | os_debug.h | 71 #define OS_LOG(flags, fmt, arg...) \ argument 74 OS_SYSLOG(fmt, ##arg); \ 77 #define OS_DBG(fmt, arg...) OS_LOG(OS_DBG_ON, "[os] "fmt, ##arg) argument 78 #define OS_WRN(fmt, arg...) OS_LOG(OS_WRN_ON, "[os W] "fmt, ##arg) argument 79 #define OS_ERR(fmt, arg...) \ argument 82 __func__, __LINE__, ##arg); \
|
| /bsp/allwinner/libraries/drivers/ |
| A D | drv_wdt.c | 30 static rt_err_t wdg_control(rt_watchdog_t *wdt, int cmd, void *arg) in wdg_control() argument 35 if (arg) in wdg_control() 37 wdg_timeout = *(rt_uint32_t *)arg; in wdg_control() 46 if (arg) in wdg_control() 48 *((rt_uint32_t *)arg) = wdg_timeout; in wdg_control() 58 if (arg) in wdg_control() 60 *((rt_uint32_t *)arg) = 0; in wdg_control()
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/src/ |
| A D | bflb_sec_irq.c | 5 void (*handler)(void *arg); 6 void *arg; member 19 void sec_eng_isr(int irq, void *arg) in sec_eng_isr() argument 26 …c_eng_callback[BFLB_SEC_ENG_IRQ_TYPE_AES].handler(sec_eng_callback[BFLB_SEC_ENG_IRQ_TYPE_AES].arg); in sec_eng_isr() 35 …c_eng_callback[BFLB_SEC_ENG_IRQ_TYPE_SHA].handler(sec_eng_callback[BFLB_SEC_ENG_IRQ_TYPE_SHA].arg); in sec_eng_isr() 44 …c_eng_callback[BFLB_SEC_ENG_IRQ_TYPE_PKA].handler(sec_eng_callback[BFLB_SEC_ENG_IRQ_TYPE_PKA].arg); in sec_eng_isr() 53 …eng_callback[BFLB_SEC_ENG_IRQ_TYPE_TRNG].handler(sec_eng_callback[BFLB_SEC_ENG_IRQ_TYPE_TRNG].arg); in sec_eng_isr() 62 …eng_callback[BFLB_SEC_ENG_IRQ_TYPE_GMAC].handler(sec_eng_callback[BFLB_SEC_ENG_IRQ_TYPE_GMAC].arg); in sec_eng_isr() 132 void bflb_sec_irq_attach(uint8_t sec_type, void (*callback)(void *arg), void *arg) in bflb_sec_irq_attach() argument 135 sec_eng_callback[sec_type].arg = arg; in bflb_sec_irq_attach() [all …]
|
| A D | bflb_uart.c | 453 if (arg) { in bflb_uart_feature_control() 512 if (arg) { in bflb_uart_feature_control() 523 if (arg) { in bflb_uart_feature_control() 534 if (arg) { in bflb_uart_feature_control() 546 if (arg) { in bflb_uart_feature_control() 558 if (arg) { in bflb_uart_feature_control() 576 if (arg) { in bflb_uart_feature_control() 586 if (arg) { in bflb_uart_feature_control() 636 if (arg) { in bflb_uart_feature_control() 647 if (arg) { in bflb_uart_feature_control() [all …]
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/eise/ |
| A D | hal_eise.c | 29 #define eise_err(x, arg...) printf("[EISE_ERR] (%s, %d)"x"\n", __func__, __LINE__, ##arg) argument 30 #define eise_warn(x, arg...) printf("[EISE_WARN] (%s, %d)"x"\n", __func__, __LINE__, ##arg) argument 31 #define eise_print(x, arg...) printf("[EISE] (%s, %d)"x"\n", __func__, __LINE__, ##arg) argument 32 #define eise_debug(x, arg...) printf("[EISE_DEBUG] (%s, %d)"x"\n", __func__, __LINE__, ##arg) argument 121 static int32_t eise_hal_ctl(int32_t dev, uint32_t cmd, void* arg) in eise_hal_ctl() argument 128 memcpy(®, arg, sizeof(struct eise_register)); in eise_hal_ctl()
|
| /bsp/nuvoton/libraries/m2354/rtt_port/ |
| A D | drv_rtc.c | 291 rt_uint32_t index, len, arg[3]; in msh_rtc_set_date() local 293 rt_memset(arg, 0, sizeof(arg)); in msh_rtc_set_date() 300 arg[index] = atol(argv[index + 1]); in msh_rtc_set_date() 303 return set_date(arg[0], arg[1], arg[2]); in msh_rtc_set_date() 314 rt_uint32_t index, len, arg[3]; in msh_rtc_set_time() local 316 rt_memset(arg, 0, sizeof(arg)); in msh_rtc_set_time() 323 arg[index] = atol(argv[index + 1]); in msh_rtc_set_time() 326 return set_time(arg[0], arg[1], arg[2]); in msh_rtc_set_time()
|
| /bsp/nuvoton/libraries/m031/rtt_port/ |
| A D | drv_rtc.c | 288 rt_uint32_t index, len, arg[3]; in msh_rtc_set_date() local 290 rt_memset(arg, 0, sizeof(arg)); in msh_rtc_set_date() 297 arg[index] = atol(argv[index + 1]); in msh_rtc_set_date() 300 return set_date(arg[0], arg[1], arg[2]); in msh_rtc_set_date() 311 rt_uint32_t index, len, arg[3]; in msh_rtc_set_time() local 313 rt_memset(arg, 0, sizeof(arg)); in msh_rtc_set_time() 320 arg[index] = atol(argv[index + 1]); in msh_rtc_set_time() 323 return set_time(arg[0], arg[1], arg[2]); in msh_rtc_set_time()
|
| /bsp/nuvoton/libraries/nuc980/rtt_port/ |
| A D | drv_rtc.c | 292 rt_uint32_t index, len, arg[3]; in msh_rtc_set_date() local 294 rt_memset(arg, 0, sizeof(arg)); in msh_rtc_set_date() 301 arg[index] = atol(argv[index + 1]); in msh_rtc_set_date() 304 return set_date(arg[0], arg[1], arg[2]); in msh_rtc_set_date() 315 rt_uint32_t index, len, arg[3]; in msh_rtc_set_time() local 317 rt_memset(arg, 0, sizeof(arg)); in msh_rtc_set_time() 324 arg[index] = atol(argv[index + 1]); in msh_rtc_set_time() 327 return set_time(arg[0], arg[1], arg[2]); in msh_rtc_set_time()
|
| /bsp/nuvoton/libraries/m460/rtt_port/ |
| A D | drv_rtc.c | 290 rt_uint32_t index, len, arg[3]; in msh_rtc_set_date() local 292 rt_memset(arg, 0, sizeof(arg)); in msh_rtc_set_date() 299 arg[index] = atol(argv[index + 1]); in msh_rtc_set_date() 302 return set_date(arg[0], arg[1], arg[2]); in msh_rtc_set_date() 313 rt_uint32_t index, len, arg[3]; in msh_rtc_set_time() local 315 rt_memset(arg, 0, sizeof(arg)); in msh_rtc_set_time() 322 arg[index] = atol(argv[index + 1]); in msh_rtc_set_time() 325 return set_time(arg[0], arg[1], arg[2]); in msh_rtc_set_time()
|
| /bsp/nuvoton/libraries/m480/rtt_port/ |
| A D | drv_rtc.c | 290 rt_uint32_t index, len, arg[3]; in msh_rtc_set_date() local 292 rt_memset(arg, 0, sizeof(arg)); in msh_rtc_set_date() 299 arg[index] = atol(argv[index + 1]); in msh_rtc_set_date() 302 return set_date(arg[0], arg[1], arg[2]); in msh_rtc_set_date() 313 rt_uint32_t index, len, arg[3]; in msh_rtc_set_time() local 315 rt_memset(arg, 0, sizeof(arg)); in msh_rtc_set_time() 322 arg[index] = atol(argv[index + 1]); in msh_rtc_set_time() 325 return set_time(arg[0], arg[1], arg[2]); in msh_rtc_set_time()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/test/disp2/ |
| A D | disp_lbc_test.c | 34 extern int disp_ioctl(int cmd, void *arg); 65 unsigned long arg[6]; in lbc_test() local 125 arg[0] = test_cfg->mem_id; in lbc_test() 126 arg[1] = 0; in lbc_test() 127 arg[2] = 0; in lbc_test() 128 arg[3] = 0; in lbc_test() 139 arg[0] = test_cfg->screen_id; in lbc_test() 140 arg[1] = (unsigned long)&test_cfg->layer_cfg; in lbc_test() 141 arg[2] = 1; in lbc_test() 142 arg[3] = 0; in lbc_test() [all …]
|