/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | debug.c | 71 static ssize_t ath9k_debugfs_read_buf(struct file *file, char __user *user_buf, argument 75 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); 86 static ssize_t read_file_debug(struct file *file, char __user *user_buf, argument 95 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 98 static ssize_t write_file_debug(struct file *file, const char __user *user_buf, argument 106 ret = kstrtoul_from_user(user_buf, count, 0, &mask); 127 static ssize_t read_file_ani(struct file *file, char __user *user_buf, argument 176 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); 183 const char __user *user_buf, 191 ret = kstrtoul_from_user(user_buf, coun 182 write_file_ani(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 220 read_file_bt_ant_diversity(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 233 write_file_bt_ant_diversity(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 284 read_file_antenna_diversity(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 772 write_file_reset(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 853 read_file_regidx(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 864 write_file_regidx(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 887 read_file_regval(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 903 write_file_regval(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1013 read_file_btcoex(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1048 read_file_ackto(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1072 read_file_wow(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1096 write_file_wow(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1128 read_file_tpc(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1153 write_file_tpc(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1190 read_file_nf_override(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1207 write_file_nf_override(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument [all...] |
H A D | common-spectral.c | 689 static ssize_t read_file_spec_scan_ctl(struct file *file, char __user *user_buf, argument 711 return simple_read_from_buffer(user_buf, count, ppos, mode, len); 790 const char __user *user_buf, 802 if (copy_from_user(buf, user_buf, len)) 841 char __user *user_buf, 849 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 853 const char __user *user_buf, 860 ret = kstrtoul_from_user(user_buf, count, 0, &val); 884 char __user *user_buf, 892 return simple_read_from_buffer(user_buf, coun 789 write_file_spec_scan_ctl(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 840 read_file_spectral_short_repeat(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 852 write_file_spectral_short_repeat(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 883 read_file_spectral_count(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 895 write_file_spectral_count(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 925 read_file_spectral_period(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 937 write_file_spectral_period(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 968 read_file_spectral_fft_period(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 980 write_file_spectral_fft_period(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument [all...] |
H A D | debug_sta.c | 23 static ssize_t read_file_node_aggr(struct file *file, char __user *user_buf, argument 74 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); 168 static ssize_t read_file_node_recv(struct file *file, char __user *user_buf, argument 229 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
|
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | debugfs.c | 23 char __user *user_buf, 46 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); 185 static ssize_t iwl_dbgfs_sram_read(struct file *file, char __user *user_buf, argument 213 ret = simple_read_from_buffer(user_buf, count, ppos, ptr, len); 252 char __user *user_buf, 264 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); 319 char __user *user_buf, 339 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); 344 char __user *user_buf, 382 return simple_read_from_buffer(user_buf, coun 22 iwl_dbgfs_ctdp_budget_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 251 iwl_dbgfs_set_nic_temperature_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 318 iwl_dbgfs_nic_temp_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 343 iwl_dbgfs_sar_geo_profile_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 385 iwl_dbgfs_wifi_6e_enable_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 404 iwl_dbgfs_stations_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 433 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) argument 509 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) argument 527 iwl_dbgfs_disable_power_off_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 631 iwl_dbgfs_bt_notif_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 675 iwl_dbgfs_bt_cmd_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 751 iwl_dbgfs_fw_ver_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 782 iwl_dbgfs_tas_get_status_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 966 iwl_dbgfs_phy_integration_ver_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 995 iwl_dbgfs_fw_rx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1192 iwl_dbgfs_fw_system_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1287 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) argument 1354 iwl_dbgfs_drv_rx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1408 iwl_dbgfs_scan_ant_rxchain_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1656 iwl_dbgfs_fw_dbg_conf_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1791 _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) argument 1881 iwl_dbgfs_prph_reg_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 2015 iwl_dbgfs_he_sniffer_params_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 2032 iwl_dbgfs_uapsd_noagg_bssids_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 2113 iwl_dbgfs_rfi_freq_table_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 2203 iwl_dbgfs_mem_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 2263 iwl_dbgfs_mem_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument [all...] |
H A D | debugfs-vif.c | 136 char __user *user_buf, 147 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); 151 char __user *user_buf, 163 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); 167 char __user *user_buf, 247 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); 393 char __user *user_buf, 438 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); 442 char __user *user_buf, 463 return simple_read_from_buffer(user_buf, coun 135 iwl_dbgfs_tx_pwr_lmt_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 150 iwl_dbgfs_pm_params_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 166 iwl_dbgfs_mac_params_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 392 iwl_dbgfs_bf_params_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 441 iwl_dbgfs_os_device_timediff_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 520 iwl_dbgfs_low_latency_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 548 iwl_dbgfs_uapsd_misbehaving_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 627 iwl_dbgfs_rx_phyinfo_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 681 iwl_dbgfs_quota_min_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 725 iwl_dbgfs_esr_disable_reason_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument [all...] |
/linux-master/net/bluetooth/ |
H A D | hci_debugfs.c | 36 char __user *user_buf, \ 45 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); \ 49 const char __user *user_buf, \ 59 err = kstrtobool_from_user(user_buf, count, &enable); \ 277 static ssize_t use_debug_keys_read(struct file *file, char __user *user_buf, argument 286 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); 295 static ssize_t sc_only_mode_read(struct file *file, char __user *user_buf, argument 304 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); 431 static ssize_t ssp_debug_mode_read(struct file *file, char __user *user_buf, argument 440 return simple_read_from_buffer(user_buf, coun 503 force_bredr_smp_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 516 force_bredr_smp_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 748 force_static_address_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 761 force_static_address_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1150 force_no_mitm_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1163 force_no_mitm_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1276 dut_mode_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1288 dut_mode_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1332 vendor_diag_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1344 vendor_diag_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | debugfs.c | 52 char __user *user_buf, 136 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); 142 const char __user *user_buf, 152 if (copy_from_user(buf, user_buf, buf_size)) 170 char __user *user_buf, 179 return simple_read_from_buffer(user_buf, count, ppos, 183 static ssize_t iwl_dbgfs_stations_read(struct file *file, char __user *user_buf, argument 234 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); 240 char __user *user_buf, 273 ret = simple_read_from_buffer(user_buf, coun 51 iwl_dbgfs_sram_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 141 iwl_dbgfs_sram_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 169 iwl_dbgfs_wowlan_sram_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 239 iwl_dbgfs_nvm_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 278 iwl_dbgfs_channels_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 343 iwl_dbgfs_status_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 377 iwl_dbgfs_rx_handlers_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 406 iwl_dbgfs_rx_handlers_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 429 iwl_dbgfs_qos_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 456 iwl_dbgfs_thermal_throttling_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 488 iwl_dbgfs_disable_ht40_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 511 iwl_dbgfs_disable_ht40_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 526 iwl_dbgfs_temperature_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 540 iwl_dbgfs_sleep_level_override_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 582 iwl_dbgfs_sleep_level_override_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 600 iwl_dbgfs_current_sleep_command_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 666 iwl_dbgfs_ucode_rx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1099 iwl_dbgfs_ucode_tx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1296 iwl_dbgfs_ucode_general_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1416 iwl_dbgfs_ucode_bt_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1504 iwl_dbgfs_reply_tx_error_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1646 iwl_dbgfs_sensitivity_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1725 iwl_dbgfs_chain_noise_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1781 iwl_dbgfs_power_save_status_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1804 iwl_dbgfs_clear_ucode_statistics_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1828 iwl_dbgfs_ucode_tracing_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1849 iwl_dbgfs_ucode_tracing_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1879 iwl_dbgfs_rxon_flags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1892 iwl_dbgfs_rxon_filter_flags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1905 iwl_dbgfs_missed_beacon_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1920 iwl_dbgfs_missed_beacon_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1946 iwl_dbgfs_plcp_delta_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1961 iwl_dbgfs_plcp_delta_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1985 iwl_dbgfs_rf_reset_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 2010 iwl_dbgfs_rf_reset_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 2021 iwl_dbgfs_txfifo_flush_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 2045 iwl_dbgfs_bt_traffic_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 2090 iwl_dbgfs_protection_mode_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 2111 iwl_dbgfs_protection_mode_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 2152 iwl_dbgfs_echo_test_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 2170 iwl_dbgfs_log_event_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 2185 iwl_dbgfs_log_event_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 2211 iwl_dbgfs_calib_disabled_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 2239 iwl_dbgfs_calib_disabled_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 2260 iwl_dbgfs_fw_restart_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument [all...] |
/linux-master/drivers/bluetooth/ |
H A D | hci_vhci.c | 112 static ssize_t force_suspend_read(struct file *file, char __user *user_buf, argument 121 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); 136 const char __user *user_buf, 143 err = kstrtobool_from_user(user_buf, count, &enable); 164 static ssize_t force_wakeup_read(struct file *file, char __user *user_buf, argument 173 return simple_read_from_buffer(user_buf, count, ppos, buf, 2); 177 const char __user *user_buf, size_t count, 184 err = kstrtobool_from_user(user_buf, count, &enable); 230 static ssize_t aosp_capable_read(struct file *file, char __user *user_buf, argument 239 return simple_read_from_buffer(user_buf, coun 135 force_suspend_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 176 force_wakeup_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 242 aosp_capable_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 323 force_devcd_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument [all...] |
/linux-master/drivers/net/wireless/ath/ath10k/ |
H A D | debugfs_sta.c | 177 char __user *user_buf, 192 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 196 const char __user *user_buf, 205 if (kstrtouint_from_user(user_buf, count, 0, &aggr_mode)) 239 const char __user *user_buf, 250 user_buf, count); 290 const char __user *user_buf, 301 user_buf, count); 340 const char __user *user_buf, 351 user_buf, coun 176 ath10k_dbg_sta_read_aggr_mode(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 195 ath10k_dbg_sta_write_aggr_mode(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 238 ath10k_dbg_sta_write_addba(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 289 ath10k_dbg_sta_write_addba_resp(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 339 ath10k_dbg_sta_write_delba(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 390 ath10k_dbg_sta_read_peer_debug_trigger(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 410 ath10k_dbg_sta_write_peer_debug_trigger(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 453 ath10k_dbg_sta_read_peer_ps_state(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 563 ath10k_dbg_sta_read_tid_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 646 ath10k_dbg_sta_dump_tx_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument [all...] |
/linux-master/drivers/net/wireless/silabs/wfx/ |
H A D | debug.c | 205 static ssize_t wfx_send_pds_write(struct file *file, const char __user *user_buf, argument 216 buf = memdup_user(user_buf, count); 239 static ssize_t wfx_send_hif_msg_write(struct file *file, const char __user *user_buf, argument 258 request = memdup_user(user_buf, count); 272 static ssize_t wfx_send_hif_msg_read(struct file *file, char __user *user_buf, argument 286 if (copy_to_user(user_buf, context->reply, count))
|
/linux-master/kernel/trace/rv/ |
H A D | rv_reactors.c | 187 monitor_reactors_write(struct file *file, const char __user *user_buf, argument 204 retval = simple_write_to_buffer(buff, sizeof(buff) - 1, ppos, user_buf, count); 375 char __user *user_buf, 382 return simple_read_from_buffer(user_buf, count, ppos, buff, strlen(buff)+1); 399 static ssize_t reacting_on_write_data(struct file *filp, const char __user *user_buf, argument 405 retval = kstrtobool_from_user(user_buf, count, &val); 374 reacting_on_read_data(struct file *filp, char __user *user_buf, size_t count, loff_t *ppos) argument
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | debugfs_sta.c | 136 char __user *user_buf, 228 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); 243 char __user *user_buf, 326 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len); 392 char __user *user_buf, 401 return simple_read_from_buffer(user_buf, count, ppos, buf, length); 480 const char __user *user_buf, 491 user_buf, count); 531 const char __user *user_buf, 542 user_buf, coun 135 ath11k_dbg_sta_dump_tx_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 242 ath11k_dbg_sta_dump_rx_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 391 ath11k_dbg_sta_read_htt_peer_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 479 ath11k_dbg_sta_write_delba(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 530 ath11k_dbg_sta_write_addba_resp(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 580 ath11k_dbg_sta_write_addba(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 631 ath11k_dbg_sta_read_aggr_mode(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 651 ath11k_dbg_sta_write_aggr_mode(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 696 ath11k_write_htt_peer_stats_reset(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 755 ath11k_dbg_sta_read_peer_ps_state(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 781 ath11k_dbg_sta_read_current_ps_duration(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 816 ath11k_dbg_sta_read_total_ps_duration(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument [all...] |
H A D | debugfs.c | 300 char __user *user_buf, 306 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 371 char __user *user_buf, 377 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 455 char __user *user_buf, 461 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 473 char __user *user_buf, 481 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); 492 const char __user *user_buf, 514 rc = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, coun 299 ath11k_read_pdev_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 370 ath11k_read_vdev_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 454 ath11k_read_bcn_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 472 ath11k_read_simulate_fw_crash(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 491 ath11k_write_simulate_fw_crash(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 778 ath11k_debugfs_dump_soc_dp_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 855 ath11k_write_fw_dbglog(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 943 ath11k_read_sram_dump(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1223 ath11k_write_simulate_radar(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1242 ath11k_debug_dump_dbr_entries(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1405 ath11k_write_ps_timekeeper_enable(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1436 ath11k_read_ps_timekeeper_enable(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 1470 ath11k_write_reset_ps_duration(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1523 ath11k_write_ps_state_enable(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1569 ath11k_read_ps_state_enable(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument [all...] |
/linux-master/drivers/thunderbolt/ |
H A D | debugfs.c | 59 static void *validate_and_copy_from_user(const void __user *user_buf, argument 68 if (!access_ok(user_buf, *count)) 76 if (copy_from_user(buf, user_buf, nbytes)) { 128 const char __user *user_buf, size_t count, 136 buf = validate_and_copy_from_user(user_buf, &count); 170 static ssize_t port_regs_write(struct file *file, const char __user *user_buf, argument 176 return regs_write(port->sw, port, user_buf, count, ppos); 179 static ssize_t switch_regs_write(struct file *file, const char __user *user_buf, argument 185 return regs_write(sw, NULL, user_buf, count, ppos); 262 margining_ber_level_write(struct file *file, const char __user *user_buf, argument 127 regs_write(struct tb_switch *sw, struct tb_port *port, const char __user *user_buf, size_t count, loff_t *ppos) argument 407 margining_lanes_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 479 margining_mode_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 630 margining_results_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 743 margining_test_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 802 margining_margin_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 1046 counters_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument [all...] |
/linux-master/drivers/platform/chrome/wilco_ec/ |
H A D | debugfs.c | 96 static ssize_t raw_write(struct file *file, const char __user *user_buf, argument 109 user_buf, count); 136 static ssize_t raw_read(struct file *file, char __user *user_buf, size_t count, argument 151 return simple_read_from_buffer(user_buf, count, ppos,
|
/linux-master/drivers/net/wireless/ti/wl18xx/ |
H A D | debugfs.c | 178 static ssize_t conf_read(struct file *file, char __user *user_buf, argument 208 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); 221 const char __user *user_buf, 249 const char __user *user_buf, 256 ret = kstrtou8_from_user(user_buf, count, 10, &channel); 289 const char __user *user_buf, 296 ret = kstrtoul_from_user(user_buf, count, 0, &value); 340 const char __user *user_buf, 348 ret = kstrtoul_from_user(user_buf, count, 10, &value); 220 clear_fw_stats_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 248 radar_detection_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 288 dynamic_fw_traces_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 339 radar_debug_mode_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
|
/linux-master/drivers/remoteproc/ |
H A D | remoteproc_debugfs.c | 72 const char __user *user_buf, size_t count, 82 ret = copy_from_user(buf, user_buf, count); 209 rproc_recovery_write(struct file *filp, const char __user *user_buf, argument 219 ret = copy_from_user(buf, user_buf, count); 252 rproc_crash_write(struct file *filp, const char __user *user_buf, argument 259 ret = kstrtouint_from_user(user_buf, count, 0, &type); 71 rproc_coredump_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *ppos) argument
|
/linux-master/include/linux/ |
H A D | debugfs.h | 165 ssize_t debugfs_read_file_bool(struct file *file, char __user *user_buf, 168 ssize_t debugfs_write_file_bool(struct file *file, const char __user *user_buf, 171 ssize_t debugfs_read_file_str(struct file *file, char __user *user_buf, 380 char __user *user_buf, 387 const char __user *user_buf, 394 char __user *user_buf, 379 debugfs_read_file_bool(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 386 debugfs_write_file_bool(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument 393 debugfs_read_file_str(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
|
/linux-master/arch/s390/kernel/ |
H A D | debug.c | 69 static ssize_t debug_output(struct file *file, char __user *user_buf, 71 static ssize_t debug_input(struct file *file, const char __user *user_buf, 82 struct file *file, const char __user *user_buf, 87 struct file *file, const char __user *user_buf, 90 struct file *file, const char __user *user_buf, 456 char __user *user_buf, /* user buffer */ 481 if (copy_to_user(user_buf + count, p_info->temp_buf 505 static ssize_t debug_input(struct file *file, const char __user *user_buf, argument 515 p_info->view, file, user_buf, 1255 static inline char *debug_get_user_string(const char __user *user_buf, argument 455 debug_output(struct file *file, char __user *user_buf, size_t len, loff_t *offset) argument 1305 debug_input_pages_fn(debug_info_t *id, struct debug_view *view, struct file *file, const char __user *user_buf, size_t user_len, loff_t *offset) argument 1359 debug_input_level_fn(debug_info_t *id, struct debug_view *view, struct file *file, const char __user *user_buf, size_t user_len, loff_t *offset) argument 1429 debug_input_flush_fn(debug_info_t *id, struct debug_view *view, struct file *file, const char __user *user_buf, size_t user_len, loff_t *offset) argument [all...] |
/linux-master/arch/x86/kernel/ |
H A D | kdebugfs.c | 29 static ssize_t setup_data_read(struct file *file, char __user *user_buf, argument 57 remain = copy_to_user(user_buf, p, count);
|
/linux-master/drivers/misc/mei/ |
H A D | debugfs.c | 137 const char __user *user_buf, 146 ret = debugfs_write_file_bool(file, user_buf, count, ppos); 136 mei_dbgfs_write_allow_fa(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
|
/linux-master/drivers/mtd/ubi/ |
H A D | debug.c | 328 static ssize_t dfs_file_read(struct file *file, char __user *user_buf, argument 357 count = simple_read_from_buffer(user_buf, count, ppos, 362 count = simple_read_from_buffer(user_buf, count, ppos, 367 count = simple_read_from_buffer(user_buf, count, ppos, 372 count = simple_read_from_buffer(user_buf, count, ppos, 387 count = simple_read_from_buffer(user_buf, count, ppos, buf, 2); 395 static ssize_t dfs_file_write(struct file *file, const char __user *user_buf, argument 412 if (copy_from_user(buf, user_buf, buf_size)) {
|
/linux-master/sound/soc/intel/skylake/ |
H A D | skl-debug.c | 67 static ssize_t module_read(struct file *file, char __user *user_buf, argument 152 ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret); 173 static ssize_t fw_softreg_read(struct file *file, char __user *user_buf, argument 206 ret = simple_read_from_buffer(user_buf, count, ppos, tmp, ret);
|
/linux-master/drivers/net/wireless/ath/ath5k/ |
H A D | debug.c | 175 static ssize_t read_file_beacon(struct file *file, char __user *user_buf, argument 220 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 296 static ssize_t read_file_debug(struct file *file, char __user *user_buf, argument 321 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 358 static ssize_t read_file_antenna(struct file *file, char __user *user_buf, argument 426 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 471 static ssize_t read_file_misc(struct file *file, char __user *user_buf, argument 514 return simple_read_from_buffer(user_buf, count, ppos, buf, len); 526 static ssize_t read_file_frameerrors(struct file *file, char __user *user_buf, argument 599 return simple_read_from_buffer(user_buf, coun 644 read_file_ani(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 809 read_file_queue(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument 951 read_file_eeprom(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument [all...] |
/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | debugfs.c | 11 const char __user *user_buf, 10 ath12k_write_simulate_radar(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
|