Home
last modified time | relevance | path

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

12

/wlan-driver/qca-wifi-host-cmn/qdf/test/
Dqdf_types_test.c27 #define ut_bool_pass(str, exp) __ut_bool(str, QDF_STATUS_SUCCESS, exp) argument
28 #define ut_bool_fail(str) __ut_bool(str, QDF_STATUS_E_FAILURE, false) argument
31 __ut_bool(const char *str, QDF_STATUS exp_status, bool exp_value) in __ut_bool() argument
34 QDF_STATUS status = qdf_bool_parse(str, &value); in __ut_bool()
38 str, status, exp_status); in __ut_bool()
47 str, value ? "true" : "false", in __ut_bool()
74 #define ut_int32_pass(str, exp) __ut_int32(str, QDF_STATUS_SUCCESS, exp) argument
75 #define ut_int32_fail(str, exp_status) __ut_int32(str, exp_status, 0) argument
78 __ut_int32(const char *str, QDF_STATUS exp_status, int32_t exp_value) in __ut_int32() argument
81 QDF_STATUS status = qdf_int32_parse(str, &value); in __ut_int32()
[all …]
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
Dqdf_str.h105 static inline const char *qdf_str_left_trim(const char *str) in qdf_str_left_trim() argument
107 return __qdf_str_left_trim(str); in qdf_str_left_trim()
116 static inline qdf_size_t qdf_str_len(const char *str) in qdf_str_len() argument
118 return __qdf_str_len(str); in qdf_str_len()
130 void qdf_str_right_trim(char *str);
141 static inline char *qdf_str_trim(char *str) in qdf_str_trim() argument
143 return __qdf_str_trim(str); in qdf_str_trim()
153 static inline qdf_size_t qdf_str_nlen(const char *str, qdf_size_t limit) in qdf_str_nlen() argument
155 return __qdf_str_nlen(str, limit); in qdf_str_nlen()
181 static inline char *qdf_str_sep(char **str, char *delim) in qdf_str_sep() argument
[all …]
Dqdf_debugfs.h216 qdf_dentry_t parent, char *str);
391 qdf_dentry_t parent, char *str) in debugfs_create_string() argument
Dqdf_trace.h229 #define CASE_RETURN_STRING(str) case ((str)): return (uint8_t *)(# str); argument
/wlan-driver/qca-wifi-host-cmn/qdf/src/
Dqdf_types.c69 static QDF_STATUS qdf_consume_char(const char **str, char c) in qdf_consume_char() argument
71 if ((*str)[0] != c) in qdf_consume_char()
74 (*str)++; in qdf_consume_char()
79 static QDF_STATUS qdf_consume_dec(const char **str, uint8_t *out_digit) in qdf_consume_dec() argument
81 uint8_t c = (*str)[0]; in qdf_consume_dec()
88 (*str)++; in qdf_consume_dec()
93 static QDF_STATUS qdf_consume_hex(const char **str, uint8_t *out_nibble) in qdf_consume_hex() argument
95 uint8_t c = (*str)[0]; in qdf_consume_hex()
106 (*str)++; in qdf_consume_hex()
111 static QDF_STATUS qdf_consume_octet_dec(const char **str, uint8_t *out_octet) in qdf_consume_octet_dec() argument
[all …]
Dqdf_str.c48 void qdf_str_right_trim(char *str) in qdf_str_right_trim() argument
50 char *end = str + qdf_str_len(str) - 1; in qdf_str_right_trim()
52 while (end >= str && qdf_is_space(*end)) in qdf_str_right_trim()
60 qdf_str_copy_all_before_char(char *str, uint32_t str_len, in qdf_str_copy_all_before_char() argument
65 if (!str) in qdf_str_copy_all_before_char()
69 (*str != '\0') && (*str != c)) { in qdf_str_copy_all_before_char()
70 *dst++ = *str++; in qdf_str_copy_all_before_char()
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Di_qdf_str.h32 #define __qdf_str_left_trim(str) skip_spaces(str) argument
33 #define __qdf_str_len(str) strlen(str) argument
34 #define __qdf_str_trim(str) strim(str) argument
35 #define __qdf_str_nlen(str, limit) strnlen(str, limit) argument
Dqdf_debugfs.c425 char *str = seq->private; in qdf_debugfs_string_show() local
427 seq_puts(seq, str); in qdf_debugfs_string_show()
447 qdf_dentry_t parent, char *str) in qdf_debugfs_create_string() argument
458 return debugfs_create_file(name, filemode, parent, str, in qdf_debugfs_create_string()
Dqdf_trace.c2717 char *str, uint8_t *buf, uint8_t buf_len) in qdf_dpt_dump_hex_trace_debugfs() argument
2731 qdf_debugfs_printf(file, "%s %s\n", str, linebuf); in qdf_dpt_dump_hex_trace_debugfs()
3495 #define print_to_console(str) argument
3738 static QDF_MODULE_ID find_qdf_module_from_string(char *str) in find_qdf_module_from_string() argument
3743 if (strcasecmp(str, in find_qdf_module_from_string()
4010 const char *str) in qdf_module_param_handler()
4021 status = qdf_mem_debug_disabled_config_set(str); in qdf_module_param_handler()
4024 status = qdf_int32_parse(str, &qdf_dbg_mask); in qdf_module_param_handler()
4027 status = qdf_prealloc_disabled_config_set(str); in qdf_module_param_handler()
4030 status = qdf_bool_parse(str, &dump_flag); in qdf_module_param_handler()
[all …]
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_sysfs_add_timestamp.c35 char *str, *token, *substr, *subtoken; in hdd_set_dp_pkt_add_ts_info() local
40 str = in_str; in hdd_set_dp_pkt_add_ts_info()
42 token = strsep(&str, ","); in hdd_set_dp_pkt_add_ts_info()
104 char *str; in __hdd_sysfs_dp_pkt_add_ts_store() local
117 str = skip_spaces(buf_local); in __hdd_sysfs_dp_pkt_add_ts_store()
118 if (strlen(str) == 0) { in __hdd_sysfs_dp_pkt_add_ts_store()
124 ret = hdd_set_dp_pkt_add_ts_info(str); in __hdd_sysfs_dp_pkt_add_ts_store()
Dwlan_hdd_cfg.c69 static char *get_next_line(char *str) in get_next_line() argument
73 if (!str || *str == '\0') in get_next_line()
76 c = *str; in get_next_line()
78 str = str + 1; in get_next_line()
79 c = *str; in get_next_line()
85 *str = '\0'; in get_next_line()
86 return str + 1; in get_next_line()
105 static char *i_trim(char *str) in i_trim() argument
109 if (*str == '\0') in i_trim()
110 return str; in i_trim()
[all …]
Dwlan_hdd_debugfs_roam.c295 char *str; in hdd_roam_scan_trigger() local
306 str = hdd_roam_scan_trigger_value(scan->trigger_id, in hdd_roam_scan_trigger()
308 if (!print_trigger_value || !str) in hdd_roam_scan_trigger()
319 scan->trigger_value, str); in hdd_roam_scan_trigger()
/wlan-driver/qca-wifi-host-cmn/utils/epping/src/
Depping_helper.c128 void epping_hex_dump(void *data, int buf_len, const char *str) in epping_hex_dump() argument
130 EPPING_LOG(QDF_TRACE_LEVEL_FATAL, "%s: E, %s", __func__, str); in epping_hex_dump()
134 EPPING_LOG(QDF_TRACE_LEVEL_FATAL, "%s: X %s", __func__, str); in epping_hex_dump()
146 EPPING_HEADER *eppingHdr, int ret, const char *str) in epping_log_packet() argument
153 str, eppingHdr->Cmd_h, eppingHdr->SeqNo, in epping_log_packet()
164 void epping_log_stats(epping_adapter_t *adapter, const char *str) in epping_log_stats() argument
169 str, in epping_log_stats()
/wlan-driver/qca-wifi-host-cmn/utils/epping/inc/
Depping_internal.h149 void epping_hex_dump(void *data, int buf_len, const char *str);
152 EPPING_HEADER *eppingHdr, int ret, const char *str);
153 void epping_log_stats(epping_adapter_t *adapter, const char *str);
/wlan-driver/qca-wifi-host-cmn/qal/inc/
Dqal_vbus_dev.h242 qal_vbus_get_irq(struct qdf_pfm_hndl *pfhndl, const char *str, int *irq);
408 qal_vbus_get_irq(struct qdf_pfm_hndl *pfhndl, const char *str, int *irq) in qal_vbus_get_irq() argument
410 return __qal_vbus_get_irq(pfhndl, str, irq); in qal_vbus_get_irq()
/wlan-driver/qca-wifi-host-cmn/wbuff/src/
Dwbuff.c137 char *str; in wbuff_get_mod_name() local
141 str = "WBUFF_MODULE_WMI_TX"; in wbuff_get_mod_name()
144 str = "WBUFF_MODULE_CE_RX"; in wbuff_get_mod_name()
147 str = "Invalid Module ID"; in wbuff_get_mod_name()
151 return str; in wbuff_get_mod_name()
/wlan-driver/qcacld-3.0/components/action_oui/core/src/
Dwlan_action_oui_main.c221 uint8_t *str; in action_oui_parse_config() local
239 str = psoc_priv->action_oui_str[id]; in action_oui_parse_config()
240 if (!qdf_str_len(str)) in action_oui_parse_config()
243 status = action_oui_parse_string(psoc, str, id); in action_oui_parse_config()
/wlan-driver/qcacld-3.0/components/dsc/src/
D__wlan_dsc.h52 #define dsc_enter_str(str) dsc_enter_exit("enter(\"%s\")", str) argument
/wlan-driver/qca-wifi-host-cmn/qal/linux/src/
Di_qal_vbus_dev.h338 __qal_vbus_get_irq(struct qdf_pfm_hndl *pfhndl, const char *str, int *irq) in __qal_vbus_get_irq() argument
340 *irq = platform_get_irq_byname((struct platform_device *)pfhndl, str); in __qal_vbus_get_irq()
/wlan-driver/qcacld-3.0/components/fw_offload/core/src/
Dwlan_fw_offload_main.c321 char *str; in fwol_parse_probe_req_ouis() local
329 str = probe_req_ouis; in fwol_parse_probe_req_ouis()
332 if (!qdf_str_len(str)) { in fwol_parse_probe_req_ouis()
337 token = strsep(&str, " "); in fwol_parse_probe_req_ouis()
350 token = strsep(&str, " "); in fwol_parse_probe_req_ouis()
/wlan-driver/qcacld-3.0/core/hdd/inc/
Dwlan_hdd_cfg.h253 QDF_STATUS hdd_string_to_u8_array(char *str, uint8_t *array,
256 QDF_STATUS hdd_hex_string_to_u16_array(char *str, uint16_t *int_array,
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/serialization/src/
Dwlan_serialization_utf.c48 WLAN_SER_DATA_STR(data->str, wlan_vdev_get_id(vdev), cmd_id); in wlan_ser_utf_data_alloc()
66 cmd->cmd_type, SER_UTF_BLOCK_STR(cmd->is_blocking), data->str, in wlan_ser_utf_add_cmd()
320 SER_UTF_BLOCK_STR(cmd->is_blocking), data->str); in wlan_ser_utf_cb()
325 SER_UTF_BLOCK_STR(cmd->is_blocking), data->str); in wlan_ser_utf_cb()
330 SER_UTF_BLOCK_STR(cmd->is_blocking), data->str); in wlan_ser_utf_cb()
338 SER_UTF_BLOCK_STR(cmd->is_blocking), data->str); in wlan_ser_utf_cb()
Dwlan_serialization_utf_i.h152 char str[WLAN_SER_UTF_STR_SIZE + 1]; member
/wlan-driver/qca-wifi-host-cmn/wmi/src/
Dwmi_unified.c722 char str[128]; in wmi_print_cmd_log_buffer() local
743 len += scnprintf(str + len, sizeof(str) - len, in wmi_print_cmd_log_buffer()
748 len += scnprintf(str + len, sizeof(str) - len, in wmi_print_cmd_log_buffer()
752 print(print_priv, str); in wmi_print_cmd_log_buffer()
823 char str[128]; in wmi_print_cmd_cmp_log_buffer() local
844 len += scnprintf(str + len, sizeof(str) - len, in wmi_print_cmd_cmp_log_buffer()
849 len += scnprintf(str + len, sizeof(str) - len, in wmi_print_cmd_cmp_log_buffer()
853 print(print_priv, str); in wmi_print_cmd_cmp_log_buffer()
877 char str[128]; in wmi_print_event_log_buffer() local
898 len += scnprintf(str + len, sizeof(str) - len, in wmi_print_event_log_buffer()
[all …]
/wlan-driver/qcacld-3.0/components/dp/core/src/
Dwlan_dp_main.c340 static QDF_STATUS dp_convert_string_to_array(char *str, uint8_t *array, in dp_convert_string_to_array() argument
345 char *format, *s = str; in dp_convert_string_to_array()
347 if (!str || !array || !len) in dp_convert_string_to_array()
382 QDF_STATUS dp_string_to_u8_array(char *str, uint8_t *array, in dp_string_to_u8_array() argument
385 return dp_convert_string_to_array(str, array, len, in dp_string_to_u8_array()
1525 dp_hex_string_to_u16_array(char *str, uint16_t *int_array, uint8_t *len, in dp_hex_string_to_u16_array() argument
1528 char *s = str; in dp_hex_string_to_u16_array()
1531 if (!str || !int_array || !len) in dp_hex_string_to_u16_array()

12