Home
last modified time | relevance | path

Searched refs:user_buf (Results 1 – 25 of 111) sorted by relevance

12345

/linux/drivers/net/wireless/ti/wlcore/
H A Ddebugfs.c124 char __user *user_buf, \
128 return wl1271_format_buffer(user_buf, count, \
134 const char __user *user_buf, \
141 ret = kstrtoul_from_user(user_buf, count, 10, &value); \
175 static ssize_t gpio_power_read(struct file *file, char __user *user_buf, in gpio_power_read() argument
186 return simple_read_from_buffer(user_buf, count, ppos, buf, res); in gpio_power_read()
190 const char __user *user_buf, in gpio_power_write() argument
197 ret = kstrtoul_from_user(user_buf, count, 10, &value); in gpio_power_write()
222 const char __user *user_buf, in start_recovery_write() argument
240 static ssize_t dynamic_ps_timeout_read(struct file *file, char __user *user_buf, in dynamic_ps_timeout_read() argument
251 dynamic_ps_timeout_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) dynamic_ps_timeout_write() argument
305 forced_ps_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) forced_ps_read() argument
316 forced_ps_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) forced_ps_write() argument
375 split_scan_timeout_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) split_scan_timeout_read() argument
386 split_scan_timeout_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) split_scan_timeout_write() argument
417 driver_state_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) driver_state_read() argument
516 vifs_state_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) vifs_state_read() argument
626 dtim_interval_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) dtim_interval_read() argument
642 dtim_interval_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) dtim_interval_write() argument
687 suspend_dtim_interval_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) suspend_dtim_interval_read() argument
703 suspend_dtim_interval_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) suspend_dtim_interval_write() argument
742 beacon_interval_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) beacon_interval_read() argument
758 beacon_interval_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) beacon_interval_write() argument
801 rx_streaming_interval_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) rx_streaming_interval_write() argument
857 rx_streaming_always_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) rx_streaming_always_write() argument
913 beacon_filtering_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) beacon_filtering_write() argument
969 sleep_auth_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) sleep_auth_read() argument
980 sleep_auth_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) sleep_auth_write() argument
1033 dev_mem_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) dev_mem_read() argument
1115 dev_mem_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) dev_mem_write() argument
1205 fw_logger_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) fw_logger_read() argument
1216 fw_logger_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) fw_logger_write() argument
[all...]
/linux/drivers/net/wireless/intel/iwlegacy/
H A Ddebug.c124 char __user *user_buf, \
129 const char __user *user_buf, \
200 il_dbgfs_tx_stats_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_tx_stats_read() argument
234 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_tx_stats_read()
241 const char __user *user_buf, size_t count, in il_dbgfs_clear_traffic_stats_write() argument
251 if (copy_from_user(buf, user_buf, buf_size)) in il_dbgfs_clear_traffic_stats_write()
261 il_dbgfs_rx_stats_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_rx_stats_read() argument
296 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_rx_stats_read()
305 il_dbgfs_sram_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_sram_read() argument
358 ret = simple_read_from_buffer(user_buf, coun in il_dbgfs_sram_read()
364 il_dbgfs_sram_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_sram_write() argument
389 il_dbgfs_stations_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_stations_read() argument
453 il_dbgfs_nvm_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_nvm_read() argument
497 il_dbgfs_channels_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_channels_read() argument
576 il_dbgfs_status_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_status_read() argument
637 il_dbgfs_interrupt_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_interrupt_read() argument
716 il_dbgfs_interrupt_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_interrupt_write() argument
737 il_dbgfs_qos_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_qos_read() argument
762 il_dbgfs_disable_ht40_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_disable_ht40_write() argument
788 il_dbgfs_disable_ht40_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_disable_ht40_read() argument
812 il_dbgfs_tx_queue_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_tx_queue_read() argument
859 il_dbgfs_rx_queue_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_rx_queue_read() argument
888 il_dbgfs_ucode_rx_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_ucode_rx_stats_read() argument
897 il_dbgfs_ucode_tx_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_ucode_tx_stats_read() argument
906 il_dbgfs_ucode_general_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_ucode_general_stats_read() argument
915 il_dbgfs_sensitivity_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_sensitivity_read() argument
1014 il_dbgfs_chain_noise_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_chain_noise_read() argument
1085 il_dbgfs_power_save_status_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_power_save_status_read() argument
1110 il_dbgfs_clear_ucode_stats_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_clear_ucode_stats_write() argument
1134 il_dbgfs_rxon_flags_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_rxon_flags_read() argument
1147 il_dbgfs_rxon_filter_flags_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_rxon_filter_flags_read() argument
1161 il_dbgfs_fh_reg_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_fh_reg_read() argument
1183 il_dbgfs_missed_beacon_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_missed_beacon_read() argument
1200 il_dbgfs_missed_beacon_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_missed_beacon_write() argument
1225 il_dbgfs_force_reset_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_force_reset_read() argument
1256 il_dbgfs_force_reset_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_force_reset_write() argument
1269 il_dbgfs_wd_timeout_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) il_dbgfs_wd_timeout_write() argument
[all...]
/linux/samples/hung_task/
H A Dhung_task_tests.c37 static ssize_t read_dummy_mutex(struct file *file, char __user *user_buf, in read_dummy_mutex() argument
50 return simple_read_from_buffer(user_buf, count, ppos, dummy_string, in read_dummy_mutex()
55 static ssize_t read_dummy_semaphore(struct file *file, char __user *user_buf, in read_dummy_semaphore() argument
70 return simple_read_from_buffer(user_buf, count, ppos, dummy_string, in read_dummy_semaphore()
75 static ssize_t read_dummy_rwsem_read(struct file *file, char __user *user_buf, in read_dummy_rwsem_read() argument
90 return simple_read_from_buffer(user_buf, count, ppos, dummy_string, in read_dummy_rwsem_read()
95 static ssize_t read_dummy_rwsem_write(struct file *file, char __user *user_buf, in read_dummy_rwsem_write() argument
110 return simple_read_from_buffer(user_buf, count, ppos, dummy_string, in read_dummy_rwsem_write()
/linux/net/mac80211/
H A Ddebugfs.c75 char __user *user_buf, in aqm_read() argument
111 return simple_read_from_buffer(user_buf, count, ppos, in aqm_read()
116 const char __user *user_buf, in aqm_write() argument
126 if (copy_from_user(buf, user_buf, count)) in aqm_write()
151 char __user *user_buf, in airtime_flags_read() argument
167 return simple_read_from_buffer(user_buf, count, ppos, buf, in airtime_flags_read()
172 const char __user *user_buf, in airtime_flags_write() argument
181 if (copy_from_user(buf, user_buf, count)) in airtime_flags_write()
202 char __user *user_buf, in aql_pending_read() argument
221 return simple_read_from_buffer(user_buf, coun in aql_pending_read()
231 aql_txq_limit_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) aql_txq_limit_read() argument
258 aql_txq_limit_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) aql_txq_limit_write() argument
310 aql_enable_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) aql_enable_read() argument
322 aql_enable_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) aql_enable_write() argument
360 force_tx_status_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) force_tx_status_read() argument
375 force_tx_status_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) force_tx_status_write() argument
410 reset_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) reset_write() argument
498 hwflags_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) hwflags_read() argument
527 hwflags_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) hwflags_write() argument
567 misc_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) misc_read() argument
599 queues_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) queues_read() argument
[all...]
/linux/drivers/net/wireless/ath/ath6kl/
H A Ddebug.c300 static ssize_t read_file_war_stats(struct file *file, char __user *user_buf, in read_file_war_stats() argument
323 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_war_stats()
398 static ssize_t ath6kl_fwlog_read(struct file *file, char __user *user_buf, in ath6kl_fwlog_read() argument
434 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath6kl_fwlog_read()
450 char __user *user_buf, in ath6kl_fwlog_block_read() argument
501 not_copied = copy_to_user(user_buf, buf, len); in ath6kl_fwlog_block_read()
525 static ssize_t ath6kl_fwlog_mask_read(struct file *file, char __user *user_buf, in ath6kl_fwlog_mask_read() argument
534 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath6kl_fwlog_mask_read()
538 const char __user *user_buf, in ath6kl_fwlog_mask_write() argument
544 ret = kstrtou32_from_user(user_buf, coun in ath6kl_fwlog_mask_write()
565 read_file_tgt_stats(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) read_file_tgt_stats() argument
704 read_file_credit_dist_stats(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) read_file_credit_dist_stats() argument
782 ath6kl_endpoint_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath6kl_endpoint_stats_read() argument
837 ath6kl_endpoint_stats_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath6kl_endpoint_stats_write() argument
892 ath6kl_regread_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath6kl_regread_read() argument
910 ath6kl_regread_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath6kl_regread_write() argument
1003 ath6kl_regdump_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath6kl_regdump_read() argument
1025 ath6kl_lrssi_roam_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath6kl_lrssi_roam_write() argument
1045 ath6kl_lrssi_roam_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath6kl_lrssi_roam_read() argument
1066 ath6kl_regwrite_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath6kl_regwrite_read() argument
1080 ath6kl_regwrite_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath6kl_regwrite_write() argument
1160 ath6kl_roam_table_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath6kl_roam_table_read() argument
1232 ath6kl_force_roam_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath6kl_force_roam_write() argument
1264 ath6kl_roam_mode_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath6kl_roam_mode_write() argument
1308 ath6kl_keepalive_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath6kl_keepalive_read() argument
1321 ath6kl_keepalive_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath6kl_keepalive_write() argument
1353 ath6kl_disconnect_timeout_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath6kl_disconnect_timeout_read() argument
1366 ath6kl_disconnect_timeout_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath6kl_disconnect_timeout_write() argument
1393 ath6kl_create_qos_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath6kl_create_qos_write() argument
1571 ath6kl_delete_qos_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath6kl_delete_qos_write() argument
1618 ath6kl_bgscan_int_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath6kl_bgscan_int_write() argument
1658 ath6kl_listen_int_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath6kl_listen_int_write() argument
1690 ath6kl_listen_int_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath6kl_listen_int_read() argument
1716 ath6kl_power_params_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath6kl_power_params_write() argument
[all...]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Ddebugfs.c52 char __user *user_buf, in iwl_dbgfs_sram_read() argument
136 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_sram_read()
142 const char __user *user_buf, in iwl_dbgfs_sram_write() argument
152 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_sram_write()
170 char __user *user_buf, in iwl_dbgfs_wowlan_sram_read() argument
179 return simple_read_from_buffer(user_buf, count, ppos, in iwl_dbgfs_wowlan_sram_read()
183 static ssize_t iwl_dbgfs_stations_read(struct file *file, char __user *user_buf, in iwl_dbgfs_stations_read() argument
234 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_stations_read()
240 char __user *user_buf, in iwl_dbgfs_nvm_read() argument
273 ret = simple_read_from_buffer(user_buf, coun in iwl_dbgfs_nvm_read()
278 iwl_dbgfs_channels_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_channels_read() argument
344 iwl_dbgfs_status_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_status_read() argument
378 iwl_dbgfs_rx_handlers_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_rx_handlers_read() argument
407 iwl_dbgfs_rx_handlers_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_rx_handlers_write() argument
429 iwl_dbgfs_qos_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_qos_read() argument
457 iwl_dbgfs_thermal_throttling_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_thermal_throttling_read() argument
489 iwl_dbgfs_disable_ht40_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_disable_ht40_write() argument
512 iwl_dbgfs_disable_ht40_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_disable_ht40_read() argument
527 iwl_dbgfs_temperature_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_temperature_read() argument
541 iwl_dbgfs_sleep_level_override_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_sleep_level_override_write() argument
583 iwl_dbgfs_sleep_level_override_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_sleep_level_override_read() argument
601 iwl_dbgfs_current_sleep_command_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_current_sleep_command_read() argument
667 iwl_dbgfs_ucode_rx_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_ucode_rx_stats_read() argument
1100 iwl_dbgfs_ucode_tx_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_ucode_tx_stats_read() argument
1297 iwl_dbgfs_ucode_general_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_ucode_general_stats_read() argument
1417 iwl_dbgfs_ucode_bt_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_ucode_bt_stats_read() argument
1505 iwl_dbgfs_reply_tx_error_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_reply_tx_error_read() argument
1647 iwl_dbgfs_sensitivity_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_sensitivity_read() argument
1726 iwl_dbgfs_chain_noise_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_chain_noise_read() argument
1782 iwl_dbgfs_power_save_status_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_power_save_status_read() argument
1805 iwl_dbgfs_clear_ucode_statistics_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_clear_ucode_statistics_write() argument
1829 iwl_dbgfs_ucode_tracing_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_ucode_tracing_read() argument
1850 iwl_dbgfs_ucode_tracing_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_ucode_tracing_write() argument
1880 iwl_dbgfs_rxon_flags_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_rxon_flags_read() argument
1893 iwl_dbgfs_rxon_filter_flags_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_rxon_filter_flags_read() argument
1906 iwl_dbgfs_missed_beacon_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_missed_beacon_read() argument
1921 iwl_dbgfs_missed_beacon_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_missed_beacon_write() argument
1947 iwl_dbgfs_plcp_delta_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_plcp_delta_read() argument
1962 iwl_dbgfs_plcp_delta_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_plcp_delta_write() argument
1986 iwl_dbgfs_rf_reset_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_rf_reset_read() argument
2011 iwl_dbgfs_rf_reset_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_rf_reset_write() argument
2022 iwl_dbgfs_txfifo_flush_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_txfifo_flush_write() argument
2046 iwl_dbgfs_bt_traffic_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_bt_traffic_read() argument
2091 iwl_dbgfs_protection_mode_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_protection_mode_read() argument
2113 iwl_dbgfs_protection_mode_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_protection_mode_write() argument
2155 iwl_dbgfs_echo_test_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_echo_test_write() argument
2173 iwl_dbgfs_log_event_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_log_event_read() argument
2188 iwl_dbgfs_log_event_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_log_event_write() argument
2214 iwl_dbgfs_calib_disabled_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_calib_disabled_read() argument
2242 iwl_dbgfs_calib_disabled_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_calib_disabled_write() argument
2263 iwl_dbgfs_fw_restart_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_fw_restart_write() argument
[all...]
/linux/drivers/net/wireless/ath/ath10k/
H A Ddebug.c154 char __user *user_buf, in ath10k_read_wmi_services() argument
191 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_read_wmi_services()
447 static ssize_t ath10k_fw_stats_read(struct file *file, char __user *user_buf, in ath10k_fw_stats_read() argument
453 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_fw_stats_read()
465 char __user *user_buf, in ath10k_debug_fw_reset_stats_read() argument
490 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_debug_fw_reset_stats_read()
525 char __user *user_buf, in ath10k_read_simulate_fw_crash() argument
535 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in ath10k_read_simulate_fw_crash()
546 const char __user *user_buf, in ath10k_write_simulate_fw_crash() argument
558 rc = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, coun in ath10k_write_simulate_fw_crash()
617 ath10k_read_chip_id(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_read_chip_id() argument
637 ath10k_reg_addr_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_reg_addr_read() argument
655 ath10k_reg_addr_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath10k_reg_addr_write() argument
685 ath10k_reg_value_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_reg_value_read() argument
716 ath10k_reg_value_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath10k_reg_value_write() argument
756 ath10k_mem_value_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_mem_value_read() argument
808 ath10k_mem_value_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath10k_mem_value_write() argument
908 ath10k_read_htt_stats_mask(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_read_htt_stats_mask() argument
921 ath10k_write_htt_stats_mask(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath10k_write_htt_stats_mask() argument
961 ath10k_read_htt_max_amsdu_ampdu(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_read_htt_max_amsdu_ampdu() argument
981 ath10k_write_htt_max_amsdu_ampdu(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath10k_write_htt_max_amsdu_ampdu() argument
1023 ath10k_read_fw_dbglog(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_read_fw_dbglog() argument
1037 ath10k_write_fw_dbglog(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath10k_write_fw_dbglog() argument
1304 ath10k_debug_cal_data_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_debug_cal_data_read() argument
1321 ath10k_write_ani_enable(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath10k_write_ani_enable() argument
1354 ath10k_read_ani_enable(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_read_ani_enable() argument
1382 ath10k_read_nf_cal_period(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_read_nf_cal_period() argument
1395 ath10k_write_nf_cal_period(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath10k_write_nf_cal_period() argument
1678 ath10k_tpc_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_tpc_stats_read() argument
1765 ath10k_write_simulate_radar(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath10k_write_simulate_radar() argument
1799 ath10k_read_dfs_stats(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_read_dfs_stats() argument
2160 ath10k_debug_fw_checksums_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_debug_fw_checksums_read() argument
2215 ath10k_sta_tid_stats_mask_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_sta_tid_stats_mask_read() argument
2227 ath10k_sta_tid_stats_mask_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath10k_sta_tid_stats_mask_write() argument
2323 ath10k_tpc_stats_final_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_tpc_stats_final_read() argument
2341 ath10k_write_warm_hw_reset(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath10k_write_warm_hw_reset() argument
2395 ath10k_write_ps_state_enable(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath10k_write_ps_state_enable() argument
2439 ath10k_read_ps_state_enable(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_read_ps_state_enable() argument
2463 ath10k_write_reset_htt_stats(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath10k_write_reset_htt_stats() argument
[all...]
H A Ddebugfs_sta.c178 char __user *user_buf, in ath10k_dbg_sta_read_aggr_mode() argument
193 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath10k_dbg_sta_read_aggr_mode()
197 const char __user *user_buf, in ath10k_dbg_sta_write_aggr_mode() argument
206 if (kstrtouint_from_user(user_buf, count, 0, &aggr_mode)) in ath10k_dbg_sta_write_aggr_mode()
240 const char __user *user_buf, in ath10k_dbg_sta_write_addba() argument
251 user_buf, count); in ath10k_dbg_sta_write_addba()
291 const char __user *user_buf, in ath10k_dbg_sta_write_addba_resp() argument
302 user_buf, count); in ath10k_dbg_sta_write_addba_resp()
341 const char __user *user_buf, in ath10k_dbg_sta_write_delba() argument
352 user_buf, coun in ath10k_dbg_sta_write_delba()
392 ath10k_dbg_sta_read_peer_debug_trigger(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_dbg_sta_read_peer_debug_trigger() argument
412 ath10k_dbg_sta_write_peer_debug_trigger(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath10k_dbg_sta_write_peer_debug_trigger() argument
455 ath10k_dbg_sta_read_peer_ps_state(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_dbg_sta_read_peer_ps_state() argument
565 ath10k_dbg_sta_read_tid_stats(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_dbg_sta_read_tid_stats() argument
648 ath10k_dbg_sta_dump_tx_stats(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath10k_dbg_sta_dump_tx_stats() argument
[all...]
H A Dspectral.c273 static ssize_t read_file_spec_scan_ctl(struct file *file, char __user *user_buf, in read_file_spec_scan_ctl() argument
298 return simple_read_from_buffer(user_buf, count, ppos, mode, len); in read_file_spec_scan_ctl()
302 const char __user *user_buf, in write_file_spec_scan_ctl() argument
311 if (copy_from_user(buf, user_buf, len)) in write_file_spec_scan_ctl()
365 char __user *user_buf, in read_file_spectral_count() argument
378 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_spectral_count()
382 const char __user *user_buf, in write_file_spectral_count() argument
389 ret = kstrtoul_from_user(user_buf, count, 0, &val); in write_file_spectral_count()
412 char __user *user_buf, in read_file_spectral_bins() argument
429 return simple_read_from_buffer(user_buf, coun in read_file_spectral_bins()
433 write_file_spectral_bins(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) write_file_spectral_bins() argument
[all...]
/linux/drivers/net/wireless/ath/wcn36xx/
H A Ddebug.c28 static ssize_t read_file_bool_bmps(struct file *file, char __user *user_buf, in read_file_bool_bmps() argument
49 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in read_file_bool_bmps()
53 const char __user *user_buf, in write_file_bool_bmps() argument
64 if (copy_from_user(buf, user_buf, buf_size)) in write_file_bool_bmps()
100 const char __user *user_buf, in write_file_dump() argument
113 if (copy_from_user(buf, user_buf, buf_size)) in write_file_dump()
141 char __user *user_buf, in read_file_firmware_feature_caps() argument
165 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_firmware_feature_caps()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Ddebugfs.h36 char __user *user_buf, \
50 return simple_read_from_buffer(user_buf, count, ppos, \
102 const char __user *user_buf, \
111 user_buf, count, \
147 const char __user *user_buf, \
155 user_buf, count, \
163 char __user *user_buf, \
173 user_buf, count, ppos, \
180 return simple_read_from_buffer(user_buf, count, ppos, \
219 const char __user *user_buf, \
[all...]
/linux/drivers/net/wireless/ath/ath9k/
H A Dhtc_drv_debug.c19 static ssize_t read_file_tgt_int_stats(struct file *file, char __user *user_buf, in read_file_tgt_int_stats() argument
67 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_tgt_int_stats()
77 static ssize_t read_file_tgt_tx_stats(struct file *file, char __user *user_buf, in read_file_tgt_tx_stats() argument
137 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_tgt_tx_stats()
147 static ssize_t read_file_tgt_rx_stats(struct file *file, char __user *user_buf, in read_file_tgt_rx_stats() argument
183 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_tgt_rx_stats()
193 static ssize_t read_file_xmit(struct file *file, char __user *user_buf, in read_file_xmit() argument
235 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_xmit()
251 static ssize_t read_file_skb_rx(struct file *file, char __user *user_buf, in read_file_skb_rx() argument
276 retval = simple_read_from_buffer(user_buf, coun in read_file_skb_rx()
289 read_file_slot(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) read_file_slot() argument
313 read_file_queue(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) read_file_queue() argument
360 read_file_debug(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) read_file_debug() argument
372 write_file_debug(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) write_file_debug() argument
[all...]
H A Ddebug.c71 static ssize_t ath9k_debugfs_read_buf(struct file *file, char __user *user_buf, in ath9k_debugfs_read_buf() argument
75 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in ath9k_debugfs_read_buf()
86 static ssize_t read_file_debug(struct file *file, char __user *user_buf, in read_file_debug() argument
95 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_debug()
98 static ssize_t write_file_debug(struct file *file, const char __user *user_buf, in write_file_debug() argument
106 ret = kstrtoul_from_user(user_buf, count, 0, &mask); in write_file_debug()
127 static ssize_t read_file_ani(struct file *file, char __user *user_buf, in read_file_ani() argument
176 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_ani()
183 const char __user *user_buf, in write_file_ani() argument
191 ret = kstrtoul_from_user(user_buf, coun in write_file_ani()
221 read_file_bt_ant_diversity(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) read_file_bt_ant_diversity() argument
234 write_file_bt_ant_diversity(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) write_file_bt_ant_diversity() argument
285 read_file_antenna_diversity(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) read_file_antenna_diversity() argument
774 write_file_reset(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) write_file_reset() argument
854 read_file_regidx(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) read_file_regidx() argument
865 write_file_regidx(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) write_file_regidx() argument
888 read_file_regval(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) read_file_regval() argument
904 write_file_regval(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) write_file_regval() argument
1014 read_file_btcoex(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) read_file_btcoex() argument
1049 read_file_ackto(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) read_file_ackto() argument
1073 read_file_wow(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) read_file_wow() argument
1097 write_file_wow(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) write_file_wow() argument
1129 read_file_tpc(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) read_file_tpc() argument
1154 write_file_tpc(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) write_file_tpc() argument
1192 read_file_nf_override(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) read_file_nf_override() argument
1209 write_file_nf_override(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) write_file_nf_override() argument
[all...]
H A Dtx99.c159 static ssize_t read_file_tx99(struct file *file, char __user *user_buf, in read_file_tx99() argument
167 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_tx99()
170 static ssize_t write_file_tx99(struct file *file, const char __user *user_buf, in write_file_tx99() argument
185 ret = kstrtobool_from_user(user_buf, count, &start); in write_file_tx99()
222 char __user *user_buf, in read_file_tx99_power() argument
233 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_tx99_power()
237 const char __user *user_buf, in write_file_tx99_power() argument
244 r = kstrtou8_from_user(user_buf, count, 0, &tx_power); in write_file_tx99_power()
H A Dcommon-debug.c20 static ssize_t read_file_modal_eeprom(struct file *file, char __user *user_buf, in read_file_modal_eeprom() argument
34 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_modal_eeprom()
56 static ssize_t read_file_base_eeprom(struct file *file, char __user *user_buf, in read_file_base_eeprom() argument
70 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_base_eeprom()
124 static ssize_t read_file_recv(struct file *file, char __user *user_buf, in read_file_recv() argument
166 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_recv()
188 static ssize_t read_file_phy_err(struct file *file, char __user *user_buf, in read_file_phy_err() argument
242 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_phy_err()
H A Ddfs_debug.c34 static ssize_t read_file_dfs(struct file *file, char __user *user_buf, in read_file_dfs() argument
89 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_dfs()
97 static ssize_t write_file_dfs(struct file *file, const char __user *user_buf, in write_file_dfs() argument
104 ret = kstrtoul_from_user(user_buf, count, 0, &val); in write_file_dfs()
114 const char __user *user_buf, in write_file_simulate_radar() argument
/linux/arch/mips/mm/
H A Dsc-debugfs.c13 static ssize_t sc_prefetch_read(struct file *file, char __user *user_buf, in sc_prefetch_read() argument
23 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in sc_prefetch_read()
27 const char __user *user_buf, in sc_prefetch_write() argument
33 err = kstrtobool_from_user(user_buf, count, &enabled); in sc_prefetch_write()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_heartbeat_dbgfs.c44 static ssize_t adf_hb_status_read(struct file *file, char __user *user_buf, in adf_hb_status_read() argument
66 return simple_read_from_buffer(user_buf, count, ppos, ret_str, len + 1); in adf_hb_status_read()
75 static ssize_t adf_hb_cfg_read(struct file *file, char __user *user_buf, in adf_hb_cfg_read() argument
90 return simple_read_from_buffer(user_buf, count, ppos, timer_str, in adf_hb_cfg_read()
94 static ssize_t adf_hb_cfg_write(struct file *file, const char __user *user_buf, in adf_hb_cfg_write() argument
111 ppos, user_buf, count); in adf_hb_cfg_write()
159 const char __user *user_buf, in adf_hb_error_inject_write() argument
170 if (copy_from_user(buf, user_buf, count)) in adf_hb_error_inject_write()
/linux/net/bluetooth/
H A Dhci_debugfs.c35 char __user *user_buf, \
44 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); \
48 const char __user *user_buf, \
58 err = kstrtobool_from_user(user_buf, count, &enable); \
276 static ssize_t use_debug_keys_read(struct file *file, char __user *user_buf, in use_debug_keys_read() argument
285 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in use_debug_keys_read()
294 static ssize_t sc_only_mode_read(struct file *file, char __user *user_buf, in sc_only_mode_read() argument
303 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in sc_only_mode_read()
430 static ssize_t ssp_debug_mode_read(struct file *file, char __user *user_buf, in ssp_debug_mode_read() argument
439 return simple_read_from_buffer(user_buf, coun in ssp_debug_mode_read()
503 force_bredr_smp_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) force_bredr_smp_read() argument
516 force_bredr_smp_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) force_bredr_smp_write() argument
748 force_static_address_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) force_static_address_read() argument
761 force_static_address_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) force_static_address_write() argument
1150 force_no_mitm_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) force_no_mitm_read() argument
1163 force_no_mitm_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) force_no_mitm_write() argument
1275 dut_mode_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) dut_mode_read() argument
1287 dut_mode_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) dut_mode_write() argument
1331 vendor_diag_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) vendor_diag_read() argument
1343 vendor_diag_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) vendor_diag_write() argument
[all...]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Ddebugfs.c24 char __user *user_buf, in iwl_dbgfs_ctdp_budget_read() argument
47 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ctdp_budget_read()
155 static ssize_t iwl_dbgfs_sram_read(struct file *file, char __user *user_buf, in iwl_dbgfs_sram_read() argument
183 ret = simple_read_from_buffer(user_buf, count, ppos, ptr, len); in iwl_dbgfs_sram_read()
222 char __user *user_buf, in iwl_dbgfs_set_nic_temperature_read() argument
234 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_set_nic_temperature_read()
289 char __user *user_buf, in iwl_dbgfs_nic_temp_read() argument
309 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_nic_temp_read()
314 char __user *user_buf, in iwl_dbgfs_sar_geo_profile_read() argument
352 return simple_read_from_buffer(user_buf, coun in iwl_dbgfs_sar_geo_profile_read()
356 iwl_dbgfs_wifi_6e_enable_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_wifi_6e_enable_read() argument
374 iwl_dbgfs_stations_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_stations_read() argument
407 iwl_dbgfs_rs_data_read(struct ieee80211_link_sta * link_sta,struct iwl_mvm_sta * mvmsta,struct iwl_mvm * mvm,struct iwl_mvm_link_sta * mvm_link_sta,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_rs_data_read() argument
482 iwl_dbgfs_amsdu_len_read(struct ieee80211_link_sta * link_sta,struct iwl_mvm_sta * mvmsta,struct iwl_mvm * mvm,struct iwl_mvm_link_sta * mvm_link_sta,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_amsdu_len_read() argument
497 iwl_dbgfs_disable_power_off_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_disable_power_off_read() argument
541 iwl_dbgfs_tas_get_status_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_tas_get_status_read() argument
728 iwl_dbgfs_phy_integration_ver_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_phy_integration_ver_read() argument
757 iwl_dbgfs_fw_rx_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_fw_rx_stats_read() argument
954 iwl_dbgfs_fw_system_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_fw_system_stats_read() argument
1049 iwl_dbgfs_frame_stats_read(struct iwl_mvm * mvm,char __user * user_buf,size_t count,loff_t * ppos,struct iwl_mvm_frame_stats * stats) iwl_dbgfs_frame_stats_read() argument
1116 iwl_dbgfs_drv_rx_stats_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_drv_rx_stats_read() argument
1168 iwl_dbgfs_scan_ant_rxchain_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_scan_ant_rxchain_read() argument
1425 iwl_dbgfs_fw_dbg_conf_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_fw_dbg_conf_read() argument
1557 _iwl_dbgfs_link_sta_wrap_read(ssize_t (* real)(struct ieee80211_link_sta *,struct iwl_mvm_sta *,struct iwl_mvm *,struct iwl_mvm_link_sta *,char __user *,size_t,loff_t *),struct file * file,char __user * user_buf,size_t count,loff_t * ppos) _iwl_dbgfs_link_sta_wrap_read() argument
1641 iwl_dbgfs_prph_reg_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_prph_reg_read() argument
1774 iwl_dbgfs_he_sniffer_params_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_he_sniffer_params_read() argument
1791 iwl_dbgfs_uapsd_noagg_bssids_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_uapsd_noagg_bssids_read() argument
1873 iwl_dbgfs_rfi_freq_table_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_rfi_freq_table_read() argument
1955 iwl_dbgfs_mem_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_mem_read() argument
2016 iwl_dbgfs_mem_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_mem_write() argument
[all...]
H A Ddebugfs-vif.c136 char __user *user_buf, in iwl_dbgfs_tx_pwr_lmt_read() argument
147 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_tx_pwr_lmt_read()
151 char __user *user_buf, in iwl_dbgfs_pm_params_read() argument
163 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_pm_params_read()
167 char __user *user_buf, in iwl_dbgfs_mac_params_read() argument
247 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_mac_params_read()
393 char __user *user_buf, in iwl_dbgfs_bf_params_read() argument
438 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_bf_params_read()
442 char __user *user_buf, in iwl_dbgfs_os_device_timediff_read() argument
463 return simple_read_from_buffer(user_buf, coun in iwl_dbgfs_os_device_timediff_read()
490 iwl_dbgfs_low_latency_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_low_latency_write() argument
540 iwl_dbgfs_low_latency_force_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_low_latency_force_write() argument
555 iwl_dbgfs_low_latency_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_low_latency_read() argument
583 iwl_dbgfs_uapsd_misbehaving_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_uapsd_misbehaving_read() argument
662 iwl_dbgfs_rx_phyinfo_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_rx_phyinfo_read() argument
716 iwl_dbgfs_quota_min_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_quota_min_read() argument
749 iwl_dbgfs_max_tx_op_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_max_tx_op_read() argument
796 iwl_dbgfs_esr_disable_reason_read(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) iwl_dbgfs_esr_disable_reason_read() argument
[all...]
/linux/drivers/misc/lkdtm/
H A Dcore.c34 static ssize_t lkdtm_debugfs_read(struct file *f, char __user *user_buf,
36 static ssize_t direct_entry(struct file *f, const char __user *user_buf,
42 const char __user *user_buf,
228 const char __user *user_buf, in lkdtm_debugfs_entry() argument
242 if (copy_from_user(buf, user_buf, count)) { in lkdtm_debugfs_entry()
267 static ssize_t lkdtm_debugfs_read(struct file *f, char __user *user_buf, in lkdtm_debugfs_read() argument
291 out = simple_read_from_buffer(user_buf, count, off, in lkdtm_debugfs_read()
304 static ssize_t direct_entry(struct file *f, const char __user *user_buf, in direct_entry() argument
319 if (copy_from_user(buf, user_buf, count)) { in direct_entry()
/linux/kernel/trace/rv/
H A Drv.c241 static ssize_t monitor_enable_read_data(struct file *filp, char __user *user_buf, size_t count, in monitor_enable_read_data() argument
249 return simple_read_from_buffer(user_buf, count, ppos, buff, strlen(buff)+1); in monitor_enable_read_data()
367 static ssize_t monitor_enable_write_data(struct file *filp, const char __user *user_buf, in monitor_enable_write_data() argument
374 retval = kstrtobool_from_user(user_buf, count, &val); in monitor_enable_write_data()
399 static ssize_t monitor_desc_read_data(struct file *filp, char __user *user_buf, size_t count, in monitor_desc_read_data() argument
409 return simple_read_from_buffer(user_buf, count, ppos, buff, strlen(buff) + 1); in monitor_desc_read_data()
596 static ssize_t enabled_monitors_write(struct file *filp, const char __user *user_buf, in enabled_monitors_write() argument
611 retval = simple_write_to_buffer(buff, sizeof(buff) - 1, ppos, user_buf, count); in enabled_monitors_write()
683 static ssize_t monitoring_on_read_data(struct file *filp, char __user *user_buf, in monitoring_on_read_data() argument
690 return simple_read_from_buffer(user_buf, coun in monitoring_on_read_data()
730 monitoring_on_write_data(struct file * filp,const char __user * user_buf,size_t count,loff_t * ppos) monitoring_on_write_data() argument
[all...]
/linux/drivers/bluetooth/
H A Dhci_vhci.c112 static ssize_t force_suspend_read(struct file *file, char __user *user_buf, in force_suspend_read() argument
121 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in force_suspend_read()
136 const char __user *user_buf, in force_suspend_write() argument
143 err = kstrtobool_from_user(user_buf, count, &enable); in force_suspend_write()
164 static ssize_t force_wakeup_read(struct file *file, char __user *user_buf, in force_wakeup_read() argument
173 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); in force_wakeup_read()
177 const char __user *user_buf, size_t count, in force_wakeup_write() argument
184 err = kstrtobool_from_user(user_buf, count, &enable); in force_wakeup_write()
230 static ssize_t aosp_capable_read(struct file *file, char __user *user_buf, in aosp_capable_read() argument
239 return simple_read_from_buffer(user_buf, coun in aosp_capable_read()
243 aosp_capable_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) aosp_capable_write() argument
323 force_devcd_write(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) force_devcd_write() argument
[all...]
/linux/drivers/net/wireless/ath/ath11k/
H A Ddebugfs_sta.c137 char __user *user_buf, in ath11k_dbg_sta_dump_tx_stats() argument
229 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_dbg_sta_dump_tx_stats()
244 char __user *user_buf, in ath11k_dbg_sta_dump_rx_stats() argument
327 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_dbg_sta_dump_rx_stats()
393 char __user *user_buf, in ath11k_dbg_sta_read_htt_peer_stats() argument
402 return simple_read_from_buffer(user_buf, count, ppos, buf, length); in ath11k_dbg_sta_read_htt_peer_stats()
481 const char __user *user_buf, in ath11k_dbg_sta_write_delba() argument
492 user_buf, count); in ath11k_dbg_sta_write_delba()
532 const char __user *user_buf, in ath11k_dbg_sta_write_addba_resp() argument
543 user_buf, coun in ath11k_dbg_sta_write_addba_resp()
582 ath11k_dbg_sta_write_addba(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath11k_dbg_sta_write_addba() argument
633 ath11k_dbg_sta_read_aggr_mode(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath11k_dbg_sta_read_aggr_mode() argument
653 ath11k_dbg_sta_write_aggr_mode(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath11k_dbg_sta_write_aggr_mode() argument
698 ath11k_write_htt_peer_stats_reset(struct file * file,const char __user * user_buf,size_t count,loff_t * ppos) ath11k_write_htt_peer_stats_reset() argument
757 ath11k_dbg_sta_read_peer_ps_state(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath11k_dbg_sta_read_peer_ps_state() argument
783 ath11k_dbg_sta_read_current_ps_duration(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath11k_dbg_sta_read_current_ps_duration() argument
818 ath11k_dbg_sta_read_total_ps_duration(struct file * file,char __user * user_buf,size_t count,loff_t * ppos) ath11k_dbg_sta_read_total_ps_duration() argument
[all...]

12345