/wlan-driver/qca-wifi-host-cmn/hif/src/ |
D | ath_procfs.c | 89 size_t count, loff_t *pos) in ath_procfs_diag_read_legacy() argument 101 read_buffer = qdf_mem_malloc(count); in ath_procfs_diag_read_legacy() 106 read_buffer, count, (int)*pos, buf); in ath_procfs_diag_read_legacy() 136 offset, memtype, count); in ath_procfs_diag_read_legacy() 138 offset, memtype, count, in ath_procfs_diag_read_legacy() 143 if ((count == 4) && ((((uint32_t) (*pos)) & 3) == 0)) { in ath_procfs_diag_read_legacy() 149 (uint8_t *)read_buffer, count); in ath_procfs_diag_read_legacy() 158 if (copy_to_user(buf, read_buffer, count)) { in ath_procfs_diag_read_legacy() 164 return count; in ath_procfs_diag_read_legacy() 169 size_t count, loff_t *pos) in ath_procfs_diag_write_legacy() argument [all …]
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
D | wlan_hdd_sysfs_dl_modes.c | 53 char const *buf, size_t count) in __hdd_sysfs_dl_loglevel_store() argument 74 buf, count); in __hdd_sysfs_dl_loglevel_store() 83 count, buf_local, net_dev->name); in __hdd_sysfs_dl_loglevel_store() 99 return count; in __hdd_sysfs_dl_loglevel_store() 105 char const *buf, size_t count) in hdd_sysfs_dl_loglevel_store() argument 115 errno_size = __hdd_sysfs_dl_loglevel_store(net_dev, buf, count); in hdd_sysfs_dl_loglevel_store() 124 char const *buf, size_t count) in __hdd_sysfs_dl_mod_loglevel_store() argument 145 buf, count); in __hdd_sysfs_dl_mod_loglevel_store() 154 count, buf_local, net_dev->name); in __hdd_sysfs_dl_mod_loglevel_store() 170 return count; in __hdd_sysfs_dl_mod_loglevel_store() [all …]
|
D | wlan_hdd_debugfs_unit_test.c | 52 const char __user *buf, size_t count, in __wlan_hdd_write_unit_test_host_debugfs() argument 58 if (count < MIN_USER_COMMAND_SIZE_UNIT_TEST_HOST || in __wlan_hdd_write_unit_test_host_debugfs() 59 count > MAX_USER_COMMAND_SIZE_UNIT_TEST_HOST) { in __wlan_hdd_write_unit_test_host_debugfs() 61 count, in __wlan_hdd_write_unit_test_host_debugfs() 68 if (copy_from_user(name, buf, count)) in __wlan_hdd_write_unit_test_host_debugfs() 71 if (name[count - 1] == '\n') in __wlan_hdd_write_unit_test_host_debugfs() 72 name[count - 1] = '\0'; in __wlan_hdd_write_unit_test_host_debugfs() 74 name[count] = '\0'; in __wlan_hdd_write_unit_test_host_debugfs() 76 hdd_nofl_info("unit_test: count %zu name: %s", count, name); in __wlan_hdd_write_unit_test_host_debugfs() 82 return count; in __wlan_hdd_write_unit_test_host_debugfs() [all …]
|
D | wlan_hdd_debugfs.c | 68 int count = MAX_DEBUGFS_WAIT_ITERATIONS; in hdd_wait_for_debugfs_threads_completion() local 71 while (count) { in hdd_wait_for_debugfs_threads_completion() 76 if (--count) { in hdd_wait_for_debugfs_threads_completion() 83 if (!count) { in hdd_wait_for_debugfs_threads_completion() 101 const char __user *buf, size_t count, in __wcnss_wowpattern_write() argument 134 if (count > MAX_USER_COMMAND_SIZE_WOWL_PATTERN) { in __wcnss_wowpattern_write() 141 if (copy_from_user(cmd, buf, count)) in __wcnss_wowpattern_write() 143 cmd[count] = '\0'; in __wcnss_wowpattern_write() 161 return count; in __wcnss_wowpattern_write() 185 return count; in __wcnss_wowpattern_write() [all …]
|
D | wlan_hdd_sysfs_motion_detection.c | 39 char const *buf, size_t count) in __hdd_sysfs_mt_bl_config_store() argument 61 buf, count); in __hdd_sysfs_mt_bl_config_store() 70 count, buf_local, net_dev->name); in __hdd_sysfs_mt_bl_config_store() 108 return count; in __hdd_sysfs_mt_bl_config_store() 114 char const *buf, size_t count) in hdd_sysfs_mt_bl_config_store() argument 124 errno_size = __hdd_sysfs_mt_bl_config_store(net_dev, buf, count); in hdd_sysfs_mt_bl_config_store() 133 char const *buf, size_t count) in __hdd_sysfs_mt_bl_start_store() argument 156 buf, count); in __hdd_sysfs_mt_bl_start_store() 171 count, buf_local, net_dev->name); in __hdd_sysfs_mt_bl_start_store() 193 return count; in __hdd_sysfs_mt_bl_start_store() [all …]
|
D | wlan_hdd_sysfs_dp_trace.c | 37 size_t count) in __hdd_sysfs_dp_trace_store() argument 49 buf, count); in __hdd_sysfs_dp_trace_store() 58 count, buf_local); in __hdd_sysfs_dp_trace_store() 83 return count; in __hdd_sysfs_dp_trace_store() 90 size_t count) in hdd_sysfs_dp_trace_store() argument 107 buf, count); in hdd_sysfs_dp_trace_store() 123 char const *buf, size_t count) in __hdd_sysfs_dump_dp_trace_store() argument 133 buf, count); in __hdd_sysfs_dump_dp_trace_store() 167 return count; in __hdd_sysfs_dump_dp_trace_store() 172 char const *buf, size_t count) in hdd_sysfs_dump_dp_trace_store() argument [all …]
|
D | wlan_hdd_sysfs_wowl_del_ptrn.c | 33 size_t count) in __hdd_sysfs_wowl_del_ptrn_store() argument 51 if (count > MAX_CMD_INPUT) in __hdd_sysfs_wowl_del_ptrn_store() 54 buf_local = (char *)qdf_mem_malloc(sizeof(char) * count); in __hdd_sysfs_wowl_del_ptrn_store() 58 strlcpy(buf_local, buf, count); in __hdd_sysfs_wowl_del_ptrn_store() 60 buf_local[count - 1] = '\0'; in __hdd_sysfs_wowl_del_ptrn_store() 63 count, buf_local); in __hdd_sysfs_wowl_del_ptrn_store() 72 return count; in __hdd_sysfs_wowl_del_ptrn_store() 78 char const *buf, size_t count) in hdd_sysfs_wowl_del_ptrn_store() argument 88 err_size = __hdd_sysfs_wowl_del_ptrn_store(net_dev, buf, count); in hdd_sysfs_wowl_del_ptrn_store()
|
D | wlan_hdd_sysfs_wowl_add_ptrn.c | 35 size_t count) in __hdd_sysfs_wowl_add_ptrn_store() argument 53 if (count > MAX_CMD_INPUT) in __hdd_sysfs_wowl_add_ptrn_store() 56 buf_local = (char *)qdf_mem_malloc(sizeof(char) * count); in __hdd_sysfs_wowl_add_ptrn_store() 60 strlcpy(buf_local, buf, count); in __hdd_sysfs_wowl_add_ptrn_store() 62 buf_local[count - 1] = '\0'; in __hdd_sysfs_wowl_add_ptrn_store() 65 count, buf_local); in __hdd_sysfs_wowl_add_ptrn_store() 74 return count; in __hdd_sysfs_wowl_add_ptrn_store() 80 char const *buf, size_t count) in hdd_sysfs_wowl_add_ptrn_store() argument 90 err_size = __hdd_sysfs_wowl_add_ptrn_store(net_dev, buf, count); in hdd_sysfs_wowl_add_ptrn_store()
|
D | wlan_hdd_sysfs_suspend_resume.c | 31 const char *buf, size_t count) in __hdd_sysfs_suspend_store() argument 51 buf, count); in __hdd_sysfs_suspend_store() 58 count, buf_local, net_dev->name); in __hdd_sysfs_suspend_store() 84 return count; in __hdd_sysfs_suspend_store() 89 char const *buf, size_t count) in hdd_sysfs_suspend_store() argument 100 net_dev, buf, count); in hdd_sysfs_suspend_store() 130 const char *buf, size_t count) in __hdd_sysfs_resume_store() argument 153 return count; in __hdd_sysfs_resume_store() 158 char const *buf, size_t count) in hdd_sysfs_resume_store() argument 169 net_dev, buf, count); in hdd_sysfs_resume_store()
|
D | wlan_hdd_sysfs_scan_disable.c | 33 const char *buf, size_t count) in __hdd_sysfs_scan_disable_store() argument 47 buf, count); in __hdd_sysfs_scan_disable_store() 55 count, buf_local); in __hdd_sysfs_scan_disable_store() 71 return count; in __hdd_sysfs_scan_disable_store() 77 const char *buf, size_t count) in hdd_sysfs_scan_disable_store() argument 94 buf, count); in hdd_sysfs_scan_disable_store()
|
D | wlan_hdd_sysfs_wow_ito.c | 35 const char *buf, size_t count) in __hdd_sysfs_wow_ito_store() argument 49 buf, count); in __hdd_sysfs_wow_ito_store() 57 count, buf_local); in __hdd_sysfs_wow_ito_store() 73 return count; in __hdd_sysfs_wow_ito_store() 79 const char *buf, size_t count) in hdd_sysfs_wow_ito_store() argument 95 errno_size = __hdd_sysfs_wow_ito_store(hdd_ctx, attr, buf, count); in hdd_sysfs_wow_ito_store()
|
D | wlan_hdd_sysfs_monitor_mode_channel.c | 32 char const *buf, size_t count) in __hdd_sysfs_monitor_mode_channel_store() argument 53 buf, count); in __hdd_sysfs_monitor_mode_channel_store() 62 count, buf_local, net_dev->name); in __hdd_sysfs_monitor_mode_channel_store() 86 return count; in __hdd_sysfs_monitor_mode_channel_store() 92 char const *buf, size_t count) in hdd_sysfs_monitor_mode_channel_store() argument 103 buf, count); in hdd_sysfs_monitor_mode_channel_store()
|
D | wlan_hdd_sysfs_wlan_dbg.c | 31 const char *buf, size_t count) in __hdd_sysfs_wlan_dbg_store() argument 42 buf, count); in __hdd_sysfs_wlan_dbg_store() 50 count, buf_local); in __hdd_sysfs_wlan_dbg_store() 75 return count; in __hdd_sysfs_wlan_dbg_store() 81 const char *buf, size_t count) in hdd_sysfs_wlan_dbg_store() argument 98 buf, count); in hdd_sysfs_wlan_dbg_store()
|
D | wlan_hdd_sysfs_crash_inject.c | 30 const char *buf, size_t count) in __hdd_sysfs_crash_inject_store() argument 51 buf, count); in __hdd_sysfs_crash_inject_store() 58 count, buf_local, net_dev->name); in __hdd_sysfs_crash_inject_store() 81 return count; in __hdd_sysfs_crash_inject_store() 86 char const *buf, size_t count) in hdd_sysfs_crash_inject_store() argument 97 net_dev, buf, count); in hdd_sysfs_crash_inject_store()
|
D | wlan_hdd_sysfs_radar.c | 32 char const *buf, size_t count) in __hdd_sysfs_radar_store() argument 56 buf, count); in __hdd_sysfs_radar_store() 65 count, buf_local, net_dev->name); in __hdd_sysfs_radar_store() 90 return count; in __hdd_sysfs_radar_store() 96 char const *buf, size_t count) in hdd_sysfs_radar_store() argument 106 errno_size = __hdd_sysfs_radar_store(net_dev, buf, count); in hdd_sysfs_radar_store()
|
D | wlan_hdd_debugfs_config.c | 55 static ssize_t wlan_hdd_config_update(char __user *buf, size_t count, in wlan_hdd_config_update() argument 61 ret_cnt = simple_read_from_buffer(buf, count, pos, ini_config->result, in wlan_hdd_config_update() 63 hdd_debug("ini config read req: count: %zu, pos: %lld", count, *pos); in wlan_hdd_config_update() 96 char __user *buf, size_t count, in __wlan_hdd_read_config_debugfs() argument 106 err_size = wlan_hdd_config_update(buf, count, pos, ini_config); in __wlan_hdd_read_config_debugfs() 121 char __user *buf, size_t count, in wlan_hdd_read_config_debugfs() argument 137 err_size = __wlan_hdd_read_config_debugfs(file, buf, count, pos); in wlan_hdd_read_config_debugfs()
|
/wlan-driver/qca-wifi-host-cmn/htc/ |
D | htc_credit_history.c | 128 void htc_print_credit_history(HTC_HANDLE htc, uint32_t count, in htc_print_credit_history() argument 133 print(print_priv, "HTC Credit History (count %u)", count); in htc_print_credit_history() 136 if (count > HTC_CREDIT_HISTORY_MAX) in htc_print_credit_history() 137 count = HTC_CREDIT_HISTORY_MAX; in htc_print_credit_history() 138 if (count > g_htc_credit_history_length) in htc_print_credit_history() 139 count = g_htc_credit_history_length; in htc_print_credit_history() 142 idx = HTC_CREDIT_HISTORY_MAX + g_htc_credit_history_idx - count; in htc_print_credit_history() 147 while (count) { in htc_print_credit_history() 160 --count; in htc_print_credit_history() 175 uint32_t count = NUM_HANG_CREDIT_HISTORY, idx, total_len; in htc_log_hang_credit_history() local [all …]
|
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/ |
D | qdf_list.c | 38 list->count++; in qdf_list_insert_before() 48 list->count++; in qdf_list_insert_after() 64 list->count++; in qdf_list_insert_front() 79 list->count++; in qdf_list_insert_back() 97 list->count++; in qdf_list_insert_back_size() 98 *p_size = list->count; in qdf_list_insert_back_size() 120 list->count--; in qdf_list_remove_front() 143 list->count--; in qdf_list_remove_back() 179 list->count--; in qdf_list_remove_node() 277 new->count = new_list_count; in qdf_list_split() [all …]
|
/wlan-driver/qca-wifi-host-cmn/qdf/test/ |
D | qdf_hashtable_test.c | 36 int i, count; in qdf_ht_test_single() local 47 count = 0; in qdf_ht_test_single() 50 count++; in qdf_ht_test_single() 52 QDF_BUG(count == 1); in qdf_ht_test_single() 54 count = 0; in qdf_ht_test_single() 57 count++; in qdf_ht_test_single() 59 QDF_BUG(count == 1); in qdf_ht_test_single() 61 count = 0; in qdf_ht_test_single() 64 count++; in qdf_ht_test_single() 66 QDF_BUG(count == 1); in qdf_ht_test_single()
|
D | qdf_periodic_work_test.c | 28 uint32_t count; member 36 if (ut_ctx->count + 1 == pwork_iterations) in __qdf_pwork_inside_cb() 39 ut_ctx->count++; in __qdf_pwork_inside_cb() 44 struct qdf_pwork_ut_ctx ut_ctx = { .count = 0 }; in qdf_pwork_stop_inside_cb() 53 while (ut_ctx.count < pwork_iterations) in qdf_pwork_stop_inside_cb() 57 QDF_BUG(ut_ctx.count == pwork_iterations); in qdf_pwork_stop_inside_cb() 68 ut_ctx->count++; in __qdf_pwork_outside_cb() 73 struct qdf_pwork_ut_ctx ut_ctx = { .count = 0 }; in qdf_pwork_stop_outside_cb() 82 while (ut_ctx.count < pwork_iterations) in qdf_pwork_stop_outside_cb() 86 QDF_BUG(ut_ctx.count >= pwork_iterations); in qdf_pwork_stop_outside_cb()
|
D | qdf_ptr_hash_test.c | 110 int count; in __qdf_ptr_hash_test_for_each() local 119 count = 0; in __qdf_ptr_hash_test_for_each() 122 count++; in __qdf_ptr_hash_test_for_each() 124 QDF_BUG(count == qdf_ptr_hash_entry_count); in __qdf_ptr_hash_test_for_each() 127 count = 0; in __qdf_ptr_hash_test_for_each() 131 count++; in __qdf_ptr_hash_test_for_each() 134 QDF_BUG(count >= qdf_ptr_hash_entry_count); in __qdf_ptr_hash_test_for_each() 138 count = 0; in __qdf_ptr_hash_test_for_each() 141 count++; in __qdf_ptr_hash_test_for_each() 143 QDF_BUG(count == 1); in __qdf_ptr_hash_test_for_each()
|
/wlan-driver/qca-wifi-host-cmn/wmi/src/ |
D | wmi_filtered_logging.c | 385 size_t count, loff_t *ppos) in debug_filtered_wmi_cmds_write() argument 393 if ((!buf) || (count > 8 || count <= 0)) in debug_filtered_wmi_cmds_write() 399 if (copy_from_user(locbuf, buf, count)) in debug_filtered_wmi_cmds_write() 409 return count; in debug_filtered_wmi_cmds_write() 417 return count; in debug_filtered_wmi_cmds_write() 422 size_t count, loff_t *ppos) in debug_filtered_wmi_evts_write() argument 430 if ((!buf) || (count > 8 || count <= 0)) in debug_filtered_wmi_evts_write() 436 if (copy_from_user(locbuf, buf, count)) in debug_filtered_wmi_evts_write() 446 return count; in debug_filtered_wmi_evts_write() 454 return count; in debug_filtered_wmi_evts_write() [all …]
|
/wlan-driver/qca-wifi-host-cmn/utils/pktlog/ |
D | linux_ac.c | 742 size_t count = 0, ret_val = 0; in pktlog_read_proc_entry() local 768 count = 0; in pktlog_read_proc_entry() 771 count = MIN((bufhdr_size - *ppos), rem_len); in pktlog_read_proc_entry() 773 count); in pktlog_read_proc_entry() 774 rem_len -= count; in pktlog_read_proc_entry() 775 ret_val += count; in pktlog_read_proc_entry() 817 count = MIN(rem_len, (end_offset - ppos_data + 1)); in pktlog_read_proc_entry() 820 count); in pktlog_read_proc_entry() 821 ret_val += count; in pktlog_read_proc_entry() 822 rem_len -= count; in pktlog_read_proc_entry() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/core/src/ |
D | reg_callbacks.c | 400 uint32_t count; in reg_register_chan_change_callback() local 409 for (count = 0; count < REG_MAX_CHAN_CHANGE_CBKS; count++) in reg_register_chan_change_callback() 410 if (!psoc_priv_obj->cbk_list[count].cbk) { in reg_register_chan_change_callback() 411 psoc_priv_obj->cbk_list[count].cbk = cbk; in reg_register_chan_change_callback() 412 psoc_priv_obj->cbk_list[count].arg = arg; in reg_register_chan_change_callback() 418 if (count == REG_MAX_CHAN_CHANGE_CBKS) in reg_register_chan_change_callback() 443 uint32_t count; in reg_unregister_chan_change_callback() local 452 for (count = 0; count < REG_MAX_CHAN_CHANGE_CBKS; count++) in reg_unregister_chan_change_callback() 453 if (psoc_priv_obj->cbk_list[count].cbk == cbk) { in reg_unregister_chan_change_callback() 454 psoc_priv_obj->cbk_list[count].cbk = NULL; in reg_unregister_chan_change_callback() [all …]
|
/wlan-driver/qcacld-3.0/components/pmo/core/inc/ |
D | wlan_pmo_wow.h | 125 uint8_t count; in pmo_get_and_increment_wow_default_ptrn() local 129 count = vdev_ctx->num_wow_default_patterns++; in pmo_get_and_increment_wow_default_ptrn() 133 count = vdev_ctx->pmo_psoc_ctx->wow.ptrn_id_def++; in pmo_get_and_increment_wow_default_ptrn() 137 return count; in pmo_get_and_increment_wow_default_ptrn() 195 uint8_t count; in pmo_get_wow_default_ptrn() local 199 count = vdev_ctx->num_wow_default_patterns; in pmo_get_wow_default_ptrn() 203 count = vdev_ctx->pmo_psoc_ctx->wow.ptrn_id_def; in pmo_get_wow_default_ptrn() 207 return count; in pmo_get_wow_default_ptrn() 288 uint8_t count; in pmo_get_wow_user_ptrn() local 292 count = vdev_ctx->num_wow_user_patterns; in pmo_get_wow_user_ptrn() [all …]
|