Home
last modified time | relevance | path

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

12

/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Dqdf_debugfs.c160 void qdf_debugfs_printf(qdf_debugfs_file_t file, const char *f, ...) in qdf_debugfs_printf() argument
165 seq_vprintf(file, f, args); in qdf_debugfs_printf()
173 void qdf_debugfs_hexdump(qdf_debugfs_file_t file, const uint8_t *buf, in qdf_debugfs_hexdump() argument
176 seq_hex_dump(file, "", DUMP_PREFIX_OFFSET, rowsize, groupsize, buf, len, in qdf_debugfs_hexdump()
183 void qdf_debugfs_hexdump(qdf_debugfs_file_t file, const uint8_t *buf, in qdf_debugfs_hexdump() argument
191 while (remaining > 0 && (file->size > file->count)) { in qdf_debugfs_hexdump()
192 seq_printf(file, "%.8x: ", prefix); in qdf_debugfs_hexdump()
195 dstlen = seq_get_buf(file, &dst); in qdf_debugfs_hexdump()
199 seq_commit(file, commitlen); in qdf_debugfs_hexdump()
200 seq_putc(file, '\n'); in qdf_debugfs_hexdump()
[all …]
Dqdf_streamfs.c75 qdf_dentry_t file = NULL; in qdf_streamfs_create_file() local
80 file = debugfs_create_file(name, mode, in qdf_streamfs_create_file()
84 return file; in qdf_streamfs_create_file()
Dqdf_trace.c2160 qdf_dpt_display_credit_record_debugfs(qdf_debugfs_file_t file, in qdf_dpt_display_credit_record_debugfs() argument
2172 qdf_debugfs_printf(file, "%s [%s] [T: %d G0: %d G1: %d]\n", in qdf_dpt_display_credit_record_debugfs()
2178 qdf_debugfs_printf(file, in qdf_dpt_display_credit_record_debugfs()
2716 static void qdf_dpt_dump_hex_trace_debugfs(qdf_debugfs_file_t file, 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()
2743 static void qdf_dpt_display_proto_pkt_debugfs(qdf_debugfs_file_t file, in qdf_dpt_display_proto_pkt_debugfs() argument
2754 qdf_debugfs_printf(file, "%s [%d] [%s] SA: " in qdf_dpt_display_proto_pkt_debugfs()
2763 qdf_debugfs_printf(file, "\n"); in qdf_dpt_display_proto_pkt_debugfs()
2774 static void qdf_dpt_display_mgmt_pkt_debugfs(qdf_debugfs_file_t file, in qdf_dpt_display_mgmt_pkt_debugfs() argument
2787 qdf_debugfs_printf(file, "%s [%d] [%s %s]\n", in qdf_dpt_display_mgmt_pkt_debugfs()
[all …]
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_debugfs_config.c95 static ssize_t __wlan_hdd_read_config_debugfs(struct file *file, in __wlan_hdd_read_config_debugfs() argument
102 ini_config = (struct ini_config_buf *)file->private_data; in __wlan_hdd_read_config_debugfs()
120 static ssize_t wlan_hdd_read_config_debugfs(struct file *file, in wlan_hdd_read_config_debugfs() argument
124 struct hdd_context *hdd_ctx = file_inode(file)->i_private; in wlan_hdd_read_config_debugfs()
137 err_size = __wlan_hdd_read_config_debugfs(file, buf, count, pos); in wlan_hdd_read_config_debugfs()
152 struct file *file) in __wlan_hdd_open_config_debugfs() argument
154 struct hdd_context *hdd_ctx = file_inode(file)->i_private; in __wlan_hdd_open_config_debugfs()
172 file->private_data = buf; in __wlan_hdd_open_config_debugfs()
183 static int wlan_hdd_open_config_debugfs(struct inode *inode, struct file *file) in wlan_hdd_open_config_debugfs() argument
185 struct hdd_context *hdd_ctx = file_inode(file)->i_private; in wlan_hdd_open_config_debugfs()
[all …]
Dwlan_hdd_debugfs_coex.c123 qdf_debugfs_file_t file) in __hdd_debugfs_mws_coex_state_read() argument
148 if (file->index > 0) in __hdd_debugfs_mws_coex_state_read()
171 qdf_debugfs_printf(file, "Timedout while retrieving MWS coex state"); in __hdd_debugfs_mws_coex_state_read()
179 qdf_debugfs_printf(file, "vdev_id = %u\n" in __hdd_debugfs_mws_coex_state_read()
201 static QDF_STATUS hdd_debugfs_mws_coex_state_read(qdf_debugfs_file_t file, in hdd_debugfs_mws_coex_state_read() argument
213 status = __hdd_debugfs_mws_coex_state_read(hdd_ctx, file); in hdd_debugfs_mws_coex_state_read()
220 qdf_debugfs_file_t file) in __hdd_debugfs_mws_coex_dpwb_read() argument
245 if (file->index > 0) in __hdd_debugfs_mws_coex_dpwb_read()
268 qdf_debugfs_printf(file, "Timedout while retrieving MWS coex dpwb state"); in __hdd_debugfs_mws_coex_dpwb_read()
275 qdf_debugfs_printf(file, "vdev_id = %u\n" in __hdd_debugfs_mws_coex_dpwb_read()
[all …]
Dwlan_hdd_debugfs_csr.c154 wlan_hdd_read_debugfs_csr(struct file *file, char __user *buf, in wlan_hdd_read_debugfs_csr() argument
157 struct wlan_hdd_debugfs_buffer_info *info = file->private_data; in wlan_hdd_read_debugfs_csr()
182 struct file *file) in __wlan_hdd_open_debugfs_csr() argument
219 file->private_data = info; in __wlan_hdd_open_debugfs_csr()
233 static int wlan_hdd_open_debugfs_csr(struct inode *inode, struct file *file) in wlan_hdd_open_debugfs_csr() argument
246 errno = __wlan_hdd_open_debugfs_csr(adapter, csr, file); in wlan_hdd_open_debugfs_csr()
263 __wlan_hdd_release_debugfs_csr(struct file *file) in __wlan_hdd_release_debugfs_csr() argument
265 struct wlan_hdd_debugfs_buffer_info *info = file->private_data; in __wlan_hdd_release_debugfs_csr()
269 file->private_data = NULL; in __wlan_hdd_release_debugfs_csr()
286 static int wlan_hdd_release_debugfs_csr(struct inode *inode, struct file *file) in wlan_hdd_release_debugfs_csr() argument
[all …]
Dwlan_hdd_memdump.c59 static void *memdump_get_file_data(struct file *file) in memdump_get_file_data() argument
63 hdd_ctx = pde_data(file_inode(file)); in memdump_get_file_data()
96 static ssize_t __hdd_driver_memdump_read(struct file *file, char __user *buf, in __hdd_driver_memdump_read() argument
104 hdd_ctx = memdump_get_file_data(file); in __hdd_driver_memdump_read()
189 static ssize_t hdd_driver_memdump_read(struct file *file, char __user *buf, in hdd_driver_memdump_read() argument
199 err_size = __hdd_driver_memdump_read(file, buf, count, pos); in hdd_driver_memdump_read()
Dwlan_hdd_debugfs_mibstat.c184 struct file *file) in wlan_hdd_release_mib_stats_debugfs() argument
186 struct net_device *net_dev = file_inode(file)->i_private; in wlan_hdd_release_mib_stats_debugfs()
258 static ssize_t wlan_hdd_read_mib_stats_debugfs(struct file *file, in wlan_hdd_read_mib_stats_debugfs() argument
262 struct net_device *net_dev = file_inode(file)->i_private; in wlan_hdd_read_mib_stats_debugfs()
319 struct file *file) in wlan_hdd_open_mib_stats_debugfs() argument
Dwlan_hdd_debugfs.c197 static ssize_t wcnss_wowpattern_write(struct file *file, in wcnss_wowpattern_write() argument
201 struct net_device *net_dev = file_inode(file)->i_private; in wcnss_wowpattern_write()
434 static ssize_t wcnss_patterngen_write(struct file *file, in wcnss_patterngen_write() argument
438 struct net_device *net_dev = file_inode(file)->i_private; in wcnss_patterngen_write()
487 static int wcnss_debugfs_open(struct inode *inode, struct file *file) in wcnss_debugfs_open() argument
Dwlan_hdd_debugfs_unit_test.c97 struct file *file, in wlan_hdd_write_unit_test_host_debugfs() argument
101 struct hdd_context *hdd_ctx = file_inode(file)->i_private; in wlan_hdd_write_unit_test_host_debugfs()
Dwlan_hdd_debugfs_llstat.c438 static ssize_t wlan_hdd_read_ll_stats_debugfs(struct file *file, in wlan_hdd_read_ll_stats_debugfs() argument
442 struct net_device *net_dev = file_inode(file)->i_private; in wlan_hdd_read_ll_stats_debugfs()
511 struct file *file) in wlan_hdd_open_ll_stats_debugfs() argument
537 struct file *file) in wlan_hdd_release_ll_stats_debugfs() argument
/wlan-driver/qca-wifi-host-cmn/hif/src/
Dath_procfs.c79 static void *get_hif_hdl_from_file(struct file *file) in get_hif_hdl_from_file() argument
83 scn = (struct hif_opaque_softc *)pde_data(file_inode(file)); in get_hif_hdl_from_file()
87 static ssize_t ath_procfs_diag_read_legacy(struct file *file, in ath_procfs_diag_read_legacy() argument
98 hif_hdl = get_hif_hdl_from_file(file); in ath_procfs_diag_read_legacy()
167 static ssize_t ath_procfs_diag_write_legacy(struct file *file, in ath_procfs_diag_write_legacy() argument
178 hif_hdl = get_hif_hdl_from_file(file); in ath_procfs_diag_write_legacy()
335 static ssize_t ath_procfs_diag_read_ext(struct file *file, char __user *buf, in ath_procfs_diag_read_ext() argument
341 hif_handle_t hif_hdl = get_hif_hdl_from_file(file); in ath_procfs_diag_read_ext()
402 static ssize_t ath_procfs_diag_write_ext(struct file *file, in ath_procfs_diag_write_ext() argument
409 hif_handle_t hif_hdl = get_hif_hdl_from_file(file); in ath_procfs_diag_write_ext()
[all …]
/wlan-driver/qca-wifi-host-cmn/wmi/inc/
Dwmi_filtered_logging.h128 ssize_t debug_filtered_wmi_cmds_write(struct file *file,
142 ssize_t debug_filtered_wmi_evts_write(struct file *file,
157 ssize_t debug_wmi_filtered_command_log_write(struct file *file,
171 ssize_t debug_wmi_filtered_event_log_write(struct file *file,
/wlan-driver/platform/cnss2/
Ddebug.c63 static int cnss_pin_connect_open(struct inode *inode, struct file *file) in cnss_pin_connect_open() argument
65 return single_open(file, cnss_pin_connect_show, inode->i_private); in cnss_pin_connect_open()
219 static int cnss_stats_open(struct inode *inode, struct file *file) in cnss_stats_open() argument
221 return single_open(file, cnss_stats_show, inode->i_private); in cnss_stats_open()
232 static ssize_t cnss_dev_boot_debug_write(struct file *fp, in cnss_dev_boot_debug_write()
348 static int cnss_dev_boot_debug_open(struct inode *inode, struct file *file) in cnss_dev_boot_debug_open() argument
350 return single_open(file, cnss_dev_boot_debug_show, inode->i_private); in cnss_dev_boot_debug_open()
393 static ssize_t cnss_reg_read_debug_write(struct file *fp, in cnss_reg_read_debug_write()
487 static int cnss_reg_read_debug_open(struct inode *inode, struct file *file) in cnss_reg_read_debug_open() argument
489 return single_open(file, cnss_reg_read_debug_show, inode->i_private); in cnss_reg_read_debug_open()
[all …]
Dqmi.h48 enum wlfw_tme_lite_file_type_v01 file);
91 enum wlfw_tme_lite_file_type_v01 file);
303 enum wlfw_tme_lite_file_type_v01 file) in cnss_wlfw_tme_opt_file_dnld_send_sync() argument
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
Dqdf_debugfs.h61 QDF_STATUS(*show)(qdf_debugfs_file_t file, void *arg);
111 void qdf_debugfs_printf(qdf_debugfs_file_t file, const char *f, ...);
122 void qdf_debugfs_hexdump(qdf_debugfs_file_t file, const uint8_t *buf,
132 bool qdf_debugfs_overflow(qdf_debugfs_file_t file);
141 void qdf_debugfs_write(qdf_debugfs_file_t file, const uint8_t *buf,
334 static inline void qdf_debugfs_printf(qdf_debugfs_file_t file, const char *f, in qdf_debugfs_printf() argument
339 static inline void qdf_debugfs_hexdump(qdf_debugfs_file_t file, in qdf_debugfs_hexdump() argument
345 static inline bool qdf_debugfs_overflow(qdf_debugfs_file_t file) in qdf_debugfs_overflow() argument
350 static inline void qdf_debugfs_write(qdf_debugfs_file_t file, in qdf_debugfs_write() argument
Dqdf_perf.h37 typedef int (*proc_write_t)(struct file *file, const char *buf,
/wlan-driver/qca-wifi-host-cmn/wbuff/src/
Dwbuff.c154 static void wbuff_debugfs_print(qdf_debugfs_file_t file, const char *fmt, ...) in wbuff_debugfs_print() argument
159 seq_vprintf(file, fmt, args); in wbuff_debugfs_print()
163 static int wbuff_stats_debugfs_show(qdf_debugfs_file_t file, void *data) in wbuff_stats_debugfs_show() argument
169 wbuff_debugfs_print(file, "WBUFF POOL STATS:\n"); in wbuff_stats_debugfs_show()
170 wbuff_debugfs_print(file, "=================\n"); in wbuff_stats_debugfs_show()
178 wbuff_debugfs_print(file, "Module (%d) : %s\n", i, in wbuff_stats_debugfs_show()
181 wbuff_debugfs_print(file, "%s %25s %20s %20s\n", "Pool ID", in wbuff_stats_debugfs_show()
192 wbuff_debugfs_print(file, "%d %30llu %20llu %20llu\n", in wbuff_stats_debugfs_show()
197 wbuff_debugfs_print(file, "\n"); in wbuff_stats_debugfs_show()
203 static int wbuff_stats_debugfs_open(struct inode *inode, struct file *file) in wbuff_stats_debugfs_open() argument
[all …]
/wlan-driver/qca-wifi-host-cmn/wmi/src/
Dwmi_filtered_logging.c383 ssize_t debug_filtered_wmi_cmds_write(struct file *file, in debug_filtered_wmi_cmds_write() argument
388 ((struct seq_file *)file->private_data)->private; in debug_filtered_wmi_cmds_write()
420 ssize_t debug_filtered_wmi_evts_write(struct file *file, in debug_filtered_wmi_evts_write() argument
425 ((struct seq_file *)file->private_data)->private; in debug_filtered_wmi_evts_write()
457 ssize_t debug_wmi_filtered_command_log_write(struct file *file, in debug_wmi_filtered_command_log_write() argument
462 ((struct seq_file *)file->private_data)->private; in debug_wmi_filtered_command_log_write()
486 ssize_t debug_wmi_filtered_event_log_write(struct file *file, in debug_wmi_filtered_event_log_write() argument
491 ((struct seq_file *)file->private_data)->private; in debug_wmi_filtered_event_log_write()
/wlan-driver/platform/icnss2/
Ddebug.c21 static ssize_t icnss_regwrite_write(struct file *fp, in icnss_regwrite_write()
93 static int icnss_regwrite_open(struct inode *inode, struct file *file) in icnss_regwrite_open() argument
95 return single_open(file, icnss_regwrite_show, inode->i_private); in icnss_regwrite_open()
136 static int icnss_regread_open(struct inode *inode, struct file *file) in icnss_regread_open() argument
138 return single_open(file, icnss_regread_show, inode->i_private); in icnss_regread_open()
193 static ssize_t icnss_regread_write(struct file *fp, const char __user *user_buf, in icnss_regread_write()
247 static ssize_t icnss_stats_write(struct file *fp, const char __user *buf, in icnss_stats_write()
530 static int icnss_stats_open(struct inode *inode, struct file *file) in icnss_stats_open() argument
532 return single_open(file, icnss_stats_show, inode->i_private); in icnss_stats_open()
664 static ssize_t icnss_fw_debug_write(struct file *fp, in icnss_fw_debug_write()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/utf/inc/
Dwlan_cm_utf.h178 ssize_t wlan_cm_utf_cm_test_id_write(struct file *file,
191 ssize_t wlan_cm_utf_scan_db_update_write(struct file *file,
/wlan-driver/qcacld-3.0/
DAndroid.mk150 $(call symlink-file,,$(TARGET_MAC_BIN_PATH)/wlan_mac.bin,$(TARGET_FW_PATH)/wlan_mac.bin)
157 $(call symlink-file,,$(TARGET_COPY_OUT_VENDOR)/lib/modules/$(WLAN_CHIPSET)/$(LOCAL_MODULE),$(TARGET…
161 $(call symlink-file,,/system/lib/modules/$(WLAN_CHIPSET)/$(LOCAL_MODULE),$(TARGET_OUT)/lib/modules/…
168 $(call symlink-file,,$(TARGET_CFG_PATH)/WCNSS_qcom_cfg.ini,$(TARGET_FW_PATH)/WCNSS_qcom_cfg.ini)
173 $(call symlink-file,,$(TARGET_CFG_PATH)/WCNSS_qcom_cfg.ini,$(TARGET_FW_PATH)/WCNSS_qcom_cfg.ini)
344 $(call symlink-file,,$(TARGET_MAC_BIN_PATH)/wlan_mac.bin,$(TARGET_FW_PATH)/wlan_mac.bin)
351 $(call symlink-file,,$(TARGET_COPY_OUT_VENDOR)/lib/modules/$(WLAN_CHIPSET)/$(LOCAL_MODULE),$(TARGET…
355 $(call symlink-file,,/system/lib/modules/$(WLAN_CHIPSET)/$(LOCAL_MODULE),$(TARGET_OUT)/lib/modules/…
362 $(call symlink-file,,$(TARGET_CFG_PATH)/WCNSS_qcom_cfg.ini,$(TARGET_FW_PATH)/WCNSS_qcom_cfg.ini)
367 $(call symlink-file,,$(TARGET_CFG_PATH)/WCNSS_qcom_cfg.ini,$(TARGET_FW_PATH)/WCNSS_qcom_cfg.ini)
/wlan-driver/qca-wifi-host-cmn/utils/pktlog/
Dlinux_ac.c83 static int pktlog_open(struct inode *i, struct file *f);
84 static int pktlog_release(struct inode *i, struct file *f);
85 static ssize_t pktlog_read(struct file *file, char *buf, size_t nbytes,
553 static int __pktlog_open(struct inode *i, struct file *f) in __pktlog_open()
623 static int pktlog_open(struct inode *i, struct file *f) in pktlog_open()
639 static int __pktlog_release(struct inode *i, struct file *f) in __pktlog_release()
701 static int pktlog_release(struct inode *i, struct file *f) in pktlog_release()
877 __pktlog_read(struct file *file, char *buf, size_t nbytes, loff_t *ppos) in __pktlog_read() argument
887 pl_info = pde_data(file->f_path.dentry->d_inode); in __pktlog_read()
1028 pktlog_read(struct file *file, char *buf, size_t nbytes, loff_t *ppos) in pktlog_read() argument
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/utf/src/
Dwlan_cm_utf_scan.c142 ssize_t wlan_cm_utf_scan_db_update_write(struct file *file, in wlan_cm_utf_scan_db_update_write() argument
147 ((struct seq_file *)file->private_data)->private; in wlan_cm_utf_scan_db_update_write()
/wlan-driver/qca-wifi-host-cmn/iot_sim/core/
Diot_sim_common.c1178 iot_sim_debug_content_change_write(struct file *file, in iot_sim_debug_content_change_write() argument
1189 ((struct seq_file *)file->private_data)->private; in iot_sim_debug_content_change_write()
1372 iot_sim_debug_delay_write(struct file *file, in iot_sim_debug_delay_write() argument
1383 ((struct seq_file *)file->private_data)->private; in iot_sim_debug_delay_write()
1562 iot_sim_debug_drop_write(struct file *file, in iot_sim_debug_drop_write() argument
1573 ((struct seq_file *)file->private_data)->private; in iot_sim_debug_drop_write()
1671 struct file *file) \
1673 return single_open(file, iot_sim_debug_##func_base##_show, \

12