/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/ |
D | hal_trace.h | 88 #define TR_DUMMY(attr, str, ...) hal_trace_dummy(str, ##__VA_ARGS__) argument 98 #define REL_LOG(attr, str, ...) hal_trace_printf(((attr) & ~TR_ATTR_ARG_NUM_MASK) | \ argument 100 TRC_STR(str), ##__VA_ARGS__) 101 #define REL_LOG_RAW_OUTPUT(str, len) hal_raw_trace_output(str, len) argument 104 #define REL_DUMP8(str, buf, cnt) hal_trace_dump(str, sizeof(uint8_t), cnt, buf) argument 105 #define REL_DUMP16(str, buf, cnt) hal_trace_dump(str, sizeof(uint16_t), cnt, buf) argument 106 #define REL_DUMP32(str, buf, cnt) hal_trace_dump(str, sizeof(uint32_t), cnt, buf) argument 108 #define REL_LOG(attr, str, ...) hal_trace_dummy(str, ##__VA_ARGS__) argument 109 #define REL_LOG_RAW_OUTPUT(str, len) hal_trace_dummy((const char *)str, len) argument 112 #define REL_DUMP8(str, buf, cnt) hal_dump_dummy(str, buf, cnt) argument [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/modules/sensor/nvp6324/i2c/ |
D | strfunc.c | 20 static int atoul(char *str, unsigned int *pulValue); 21 static int atoulx(char *str, unsigned int pulValue); 23 int StrToNumber(char *str, unsigned int *pulValue) in StrToNumber() argument 25 if (*str == '0' && (*(str+1) == 'x' || *(str+1) == 'X')) { in StrToNumber() 26 if (*(str+2) == '\0') { in StrToNumber() 29 return atoulx(str+2, pulValue); in StrToNumber() 32 return atoulx(str, pulValue); in StrToNumber() 36 static int atoul(char *str, unsigned int *pulValue) in atoul() argument 40 while (*str) { in atoul() 41 if (isdigit((int)*str)) { in atoul() [all …]
|
/device/soc/rockchip/rk3568/hardware/omx_il/osal/ |
D | Rockchip_OSAL_Log.c | 52 char str[MPP_LOG_MAX_LEN] = {0}; in _Rockchip_OSAL_Log() local 53 if (vsnprintf_s(str, sizeof(str), sizeof(str), msg, ap) <= 0) { in _Rockchip_OSAL_Log() 62 fwrite(str, strlen(str), 1, fp); in _Rockchip_OSAL_Log() 65 HDF_LOGD("%{public}s %{public}s", tag, str); in _Rockchip_OSAL_Log() 72 fwrite(str, strlen(str), 1, fp); in _Rockchip_OSAL_Log() 75 HDF_LOGD("%{public}s %{public}s", tag, str); in _Rockchip_OSAL_Log() 82 fwrite(str, strlen(str), 1, fp); in _Rockchip_OSAL_Log() 85 HDF_LOGI("%{public}s %{public}s", tag, str); in _Rockchip_OSAL_Log() 91 fwrite(str, strlen(str), 1, fp); in _Rockchip_OSAL_Log() 94 HDF_LOGW("%{public}s %{public}s", tag, str); in _Rockchip_OSAL_Log() [all …]
|
/device/soc/goodix/gr551x/sdk_liteos/platform/system/ |
D | system.c | 65 const char *_parse_integer_fixup_radix(const char *str, unsigned int *base) in _parse_integer_fixup_radix() argument 67 const char *s = str; in _parse_integer_fixup_radix() 86 unsigned int _parse_integer(const char *str, unsigned int base, unsigned long long *p) in _parse_integer() argument 91 const char *s = str; in _parse_integer() 138 char* skip_spaces(const char * str) in skip_spaces() argument 140 const char* str_temp = str; in skip_spaces() 210 const char *str = __s; in pre_vsscanf() local 220 while (*fmt && *str) { in pre_vsscanf() 228 str = skip_spaces(str); in pre_vsscanf() 233 if (*fmt++ != *str++) { in pre_vsscanf() [all …]
|
/device/soc/rockchip/rk2206/sdk_liteos/platform/system/ |
D | system.c | 68 const char *_parse_integer_fixup_radix(const char *str, unsigned int *base) in _parse_integer_fixup_radix() argument 70 const char *s = str; in _parse_integer_fixup_radix() 89 unsigned int _parse_integer(const char *str, unsigned int base, unsigned long long *p) in _parse_integer() argument 94 const char *s = str; in _parse_integer() 141 char* skip_spaces(const char * str) in skip_spaces() argument 143 const char* str_temp = str; in skip_spaces() 213 const char *str = __s; in pre_vsscanf() local 223 while (*fmt && *str) { in pre_vsscanf() 231 str = skip_spaces(str); in pre_vsscanf() 236 if (*fmt++ != *str++) { in pre_vsscanf() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/ |
D | drv_hdmi_debug.c | 312 static hdmi_debug_base debug_base_get(const hi_char *str) in debug_base_get() argument 314 if (str[0] == '0') { in debug_base_get() 315 if (tolower((hi_u32)str[1]) == 'x') { in debug_base_get() 323 static hi_u32 debug_str_to_u32(const hi_char *str, hi_char **end, hdmi_debug_base base) in debug_str_to_u32() argument 327 debug_null_check_return(str); in debug_str_to_u32() 330 base = debug_base_get(str); in debug_str_to_u32() 333 if (base == HDMI_DEBUG_BASE_HEX && str[0] == '0' && tolower((hi_u8)str[1]) == 'x') { in debug_str_to_u32() 334 str += 2; /* str + 2, mean 16 hex value addr */ in debug_str_to_u32() 337 while (*str) { in debug_str_to_u32() 340 value = ((*str >= '0') && (*str <= '9')) ? in debug_str_to_u32() [all …]
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/services/nv_section/ |
D | nv_section_dbg.h | 26 #define LOG_V(str, ...) TR_VERBOSE(TR_MOD(NV_SEC), str, ##__VA_ARGS__) argument 27 #define LOG_D(str, ...) TR_DEBUG(TR_MOD(NV_SEC), str, ##__VA_ARGS__) argument 28 #define LOG_I(str, ...) TR_INFO(TR_MOD(NV_SEC), str, ##__VA_ARGS__) argument 29 #define LOG_W(str, ...) TR_WARN(TR_MOD(NV_SEC), str, ##__VA_ARGS__) argument 30 #define LOG_E(str, ...) TR_ERROR(TR_MOD(NV_SEC), str, ##__VA_ARGS__) argument
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/services/ota/ |
D | ota_dbg.h | 26 #define LOG_V(str, ...) TR_VERBOSE(TR_MOD(OTA), str, ##__VA_ARGS__) argument 27 #define LOG_D(str, ...) TR_DEBUG(TR_MOD(OTA), str, ##__VA_ARGS__) argument 28 #define LOG_I(str, ...) TR_INFO(TR_MOD(OTA), str, ##__VA_ARGS__) argument 29 #define LOG_W(str, ...) TR_WARN(TR_MOD(OTA), str, ##__VA_ARGS__) argument 30 #define LOG_E(str, ...) TR_ERROR(TR_MOD(OTA), str, ##__VA_ARGS__) argument
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/utils/ |
D | config_parser.c | 32 const char *str; in get_config_int() local 39 str = strstr(configs, need); in get_config_int() 40 if (str != NULL) { in get_config_int() 41 if (str > configs && str[-1] != ';') { in get_config_int() 51 str += strlen(need); in get_config_int() 52 if (str[0] != ':' || str[1] == '\0') in get_config_int() 54 ret = sscanf(str, ":%d", &lval); in get_config_int()
|
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/uart/ |
D | printf.c | 198 #define OUTCHAR(str, len, size, ch) \ argument 201 str[len] = ch; \ 218 int __wrap_vsnprintf(char *str, size_t size, const char *format, va_list args) in __wrap_vsnprintf() argument 250 if (str == NULL && size != 0) in __wrap_vsnprintf() 259 OUTCHAR(str, len, size, ch); in __wrap_vsnprintf() 416 fmtint(str, &len, size, value, 10, width, in __wrap_vsnprintf() 461 fmtint(str, &len, size, (UINTMAX_T)value, base, width, in __wrap_vsnprintf() 477 fmtflt(str, &len, size, fvalue, width, in __wrap_vsnprintf() 491 fmtflt(str, &len, size, fvalue, width, in __wrap_vsnprintf() 511 fmtflt(str, &len, size, fvalue, width, in __wrap_vsnprintf() [all …]
|
/device/soc/telink/b91/hdf/uart/ |
D | uart_telink.c | 166 static uart_tx_pin_e tx_pin_from_str(const char *str) in tx_pin_from_str() argument 168 if (!strcmp(str, "UART0_TX_PA3")) { in tx_pin_from_str() 170 } else if (!strcmp(str, "UART0_TX_PB2")) { in tx_pin_from_str() 172 } else if (!strcmp(str, "UART0_TX_PD2")) { in tx_pin_from_str() 174 } else if (!strcmp(str, "UART1_TX_PC6")) { in tx_pin_from_str() 176 } else if (!strcmp(str, "UART1_TX_PD6")) { in tx_pin_from_str() 178 } else if (!strcmp(str, "UART1_TX_PE0")) { in tx_pin_from_str() 186 static uart_rx_pin_e rx_pin_from_str(const char *str) in rx_pin_from_str() argument 188 if (!strcmp(str, "UART0_RX_PA4")) { in rx_pin_from_str() 190 } else if (!strcmp(str, "UART0_RX_PB3")) { in rx_pin_from_str() [all …]
|
/device/soc/esp/esp32/components/bootloader_support/src/esp32/ |
D | bootloader_esp32.c | 184 const char *str; in print_flash_info() local 187 str = "40MHz"; in print_flash_info() 190 str = "26.7MHz"; in print_flash_info() 193 str = "20MHz"; in print_flash_info() 196 str = "80MHz"; in print_flash_info() 199 str = "20MHz"; in print_flash_info() 202 ESP_LOGI(TAG, "SPI Speed : %s", str); in print_flash_info() 208 str = "QIO"; in print_flash_info() 210 str = "QOUT"; in print_flash_info() 212 str = "DIO"; in print_flash_info() [all …]
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/services/tota/ |
D | app_tota_cmd_code.h | 29 #define TOTA_LOG_DBG(num,str,...) TRACE(num,LOG_TAG"" str, ##__VA_ARGS__) // DEBUG OU… argument 30 #define TOTA_LOG_MSG(num,str,...) TRACE(num,LOG_TAG"" str, ##__VA_ARGS__) // MESSAGE … argument 31 #define TOTA_LOG_ERR(num,str,...) TRACE(num,LOG_TAG"err:""" str, ##__VA_ARGS__) // ERROR OU… argument 39 #define TOTA_LOG_DBG(str,...) 40 #define TOTA_LOG_MSG(num,str,...) TRACE(num,LOG_TAG"" str, ##__VA_ARGS__) 41 #define TOTA_LOG_ERR(num,str,...) TRACE(num,LOG_TAG"err:""" str, ##__VA_ARGS__)
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/common/codec_mm/configs/ |
D | configs.c | 69 char *str; in configs_parser_first_node() local 74 str = strchr(root_str, '.'); in configs_parser_first_node() 75 if (str != NULL) { in configs_parser_first_node() 76 node_size = str - root_str; in configs_parser_first_node() 79 str = strchr(root_str, '='); in configs_parser_first_node() 80 if (str != NULL) in configs_parser_first_node() 81 node_size = str - root_str; in configs_parser_first_node() 108 char *str; in configs_parser_str_valstr() local 112 str = strchr(root_str, '='); in configs_parser_str_valstr() 113 if (str) in configs_parser_str_valstr() [all …]
|
/device/soc/amlogic/a311d/soc/amlogic/media/common/codec_mm/configs/ |
D | configs.c | 63 char *str; in configs_parser_first_node() local 69 str = strchr(root_str, '.'); in configs_parser_first_node() 70 if (str != NULL) { in configs_parser_first_node() 71 node_size = str - root_str; in configs_parser_first_node() 74 str = strchr(root_str, '='); in configs_parser_first_node() 75 if (str != NULL) { in configs_parser_first_node() 76 node_size = str - root_str; in configs_parser_first_node() 102 char *str; in configs_parser_str_valstr() local 107 str = strchr(root_str, '='); in configs_parser_str_valstr() 108 if (str) { in configs_parser_str_valstr() [all …]
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tests/kutf/ |
D | kutf_helpers.c | 76 if (line->str) { in kutf_helper_input_dequeue() 88 return line->str; in kutf_helper_input_dequeue() 92 const char __user *str, size_t size) in kutf_helper_input_enqueue() argument 100 if (str) { in kutf_helper_input_enqueue() 104 line->str = (void *)(line + 1); in kutf_helper_input_enqueue() 105 bytes_not_copied = copy_from_user(line->str, str, size); in kutf_helper_input_enqueue() 109 line->str[size] = '\0'; in kutf_helper_input_enqueue() 114 line->str = NULL; in kutf_helper_input_enqueue()
|
/device/soc/rockchip/common/sdk_linux/kernel/ |
D | reboot.c | 540 static int __init reboot_setup(char *str) in reboot_setup() argument 552 if (!strncmp(str, "panic_", 6)) { in reboot_setup() 554 str += 6; in reboot_setup() 559 switch (*str) { in reboot_setup() 573 if (isdigit(*(str + 1))) { in reboot_setup() 574 reboot_cpu = simple_strtoul(str + 1, NULL, 0); in reboot_setup() 575 } else if (str[1] == 'm' && str[2] == 'p' && isdigit(*(str + 3))) { in reboot_setup() 576 reboot_cpu = simple_strtoul(str + 3, NULL, 0); in reboot_setup() 599 reboot_type = *str; in reboot_setup() 607 str = strchr(str, ','); in reboot_setup() [all …]
|
/device/board/openvalley/niobeu4/liteos_m/hdf_drivers/pwm/ |
D | pwm_esp32u4.c | 90 static int GetPinIndexFromStr(const char *str) in GetPinIndexFromStr() argument 92 if (str == NULL || strlen(str) < 10) { in GetPinIndexFromStr() 97 char *ptr_nun = &str[9]; in GetPinIndexFromStr() 114 static int GetTimerFromStr(const char *str) in GetTimerFromStr() argument 116 if (!strcmp(str, "LEDC_TIMER_0")) { in GetTimerFromStr() 118 } else if (!strcmp(str, "LEDC_TIMER_1")) { in GetTimerFromStr() 120 } else if (!strcmp(str, "LEDC_TIMER_2")) { in GetTimerFromStr() 122 } else if (!strcmp(str, "LEDC_TIMER_3")) { in GetTimerFromStr() 129 static int GetChannelFromStr(const char *str) in GetChannelFromStr() argument 131 if (!strcmp(str, "LEDC_CHANNEL_0")) { in GetChannelFromStr() [all …]
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/ |
D | at.c | 290 int at_pading(char *str, size_t size, const char *format, ...) in at_pading() argument 296 ret = vsnprintf_s(str, AT_SSID_MAX_LEN * 4 + 1, size, format, ap); /* 4 length */ in at_pading() 299 str[size - 1] = '\0'; in at_pading() 500 size_t at_printf_decode(hi_u8 *buf, size_t maxlen, const char *str) in at_printf_decode() argument 502 const char *pos = str; in at_printf_decode() 528 char *str = NULL; in at_parse_string_normal() local 536 str = at_dup_binstr(value, *len); in at_parse_string_normal() 537 if (str == NULL) { in at_parse_string_normal() 540 return str; in at_parse_string_normal() 547 char *str = NULL; in at_parse_string_with_p() local [all …]
|
/device/board/openvalley/niobeu4/liteos_m/hdf_drivers/gpio/ |
D | gpio_esp32u4.c | 205 static int GetPinIndexFromStr(const char *str) in GetPinIndexFromStr() argument 207 if (str == NULL || strlen(str) < NUM_10) { in GetPinIndexFromStr() 212 char *ptr_nun = &str[9]; in GetPinIndexFromStr() 229 static int GetPullModeFromStr(const char *str) in GetPullModeFromStr() argument 231 if (!strcmp(str, "GPIO_PULLUP_ONLY")) { in GetPullModeFromStr() 233 } else if (!strcmp(str, "GPIO_PULLDOWN_ONLY")) { in GetPullModeFromStr() 235 } else if (!strcmp(str, "GPIO_PULLUP_PULLDOWN")) { in GetPullModeFromStr() 241 static int GetDriveCapabilityFromStr(const char *str) in GetDriveCapabilityFromStr() argument 243 if (!strcmp(str, "GPIO_DRIVE_CAP_0")) { in GetDriveCapabilityFromStr() 245 } else if (!strcmp(str, "GPIO_DRIVE_CAP_1")) { in GetDriveCapabilityFromStr() [all …]
|
/device/soc/esp/esp32/components/bt/host/bluedroid/external/sbc/decoder/include/ |
D | oi_utils.h | 132 OI_BOOL OI_ParseBdAddr(const OI_CHAR *str, 264 OI_INT OI_atoi(const OI_CHAR *str); 280 const OI_CHAR *OI_ScanInt(const OI_CHAR *str, 297 const OI_CHAR *OI_ScanUInt(const OI_CHAR *str, 310 const OI_CHAR *OI_ScanStr(const OI_CHAR *str, 330 const OI_CHAR *OI_ScanAlt(const OI_CHAR *str, 345 const OI_CHAR *OI_ScanBdAddr(const OI_CHAR *str,
|
/device/board/hisilicon/hispark_taurus/uboot/secureboot_release/ddr_init/boot/ |
D | uart.S | 19 str a3, [a4, #48] 22 str a3, [a4, #36] 24 str a3, [a4, #40] 27 str a3, [a4, #44] 30 str a3, [a4, #48] 50 str a3, [a2, #0] 86 str a4, [a2, #0] 115 str a1, [a2, #0]
|
/device/board/hisilicon/hispark_aries/uboot/secureboot_release/ddr_init/boot/ |
D | uart.S | 19 str a3, [a4, #48] 22 str a3, [a4, #36] 24 str a3, [a4, #40] 27 str a3, [a4, #44] 30 str a3, [a4, #48] 50 str a3, [a2, #0] 86 str a4, [a2, #0] 115 str a1, [a2, #0]
|
/device/soc/winnermicro/wm800/board/platform/inc/ |
D | utils.h | 36 int strtodec(int *dec, char *str); 38 int strtohex(u32 *hex, char *str); 39 int strtohexarray(u8 array[], int cnt, char *str); 40 int strtoip(u32 *ipadr, char *str); 41 void iptostr(u32 ip, char *str); 42 void mactostr(u8 mac[], char *str);
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
D | hi_early_debug.h | 21 void edb_put_str_p0(char *str); 22 void edb_put_str_p1(char *str, unsigned int p1); 23 void edb_put_str_p2(char *str, unsigned int p1, unsigned int p2); 24 void edb_put_str_p3(char *str, unsigned int p1, unsigned int p2, unsigned int p3); 25 void edb_put_str_p4(char *str, unsigned int p1, unsigned int p2, unsigned int p3, unsigned int p4);
|