Lines Matching refs:user_buf
56 char __user *user_buf, in iwl_dbgfs_sram_read() argument
140 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_sram_read()
146 const char __user *user_buf, in iwl_dbgfs_sram_write() argument
156 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_sram_write()
174 char __user *user_buf, in iwl_dbgfs_wowlan_sram_read() argument
183 return simple_read_from_buffer(user_buf, count, ppos, in iwl_dbgfs_wowlan_sram_read()
187 static ssize_t iwl_dbgfs_stations_read(struct file *file, char __user *user_buf, in iwl_dbgfs_stations_read() argument
238 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_stations_read()
244 char __user *user_buf, in iwl_dbgfs_nvm_read() argument
277 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_nvm_read()
282 static ssize_t iwl_dbgfs_channels_read(struct file *file, char __user *user_buf, in iwl_dbgfs_channels_read() argument
342 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_channels_read()
348 char __user *user_buf, in iwl_dbgfs_status_read() argument
378 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_status_read()
382 char __user *user_buf, in iwl_dbgfs_rx_handlers_read() argument
405 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_rx_handlers_read()
411 const char __user *user_buf, in iwl_dbgfs_rx_handlers_write() argument
422 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_rx_handlers_write()
433 static ssize_t iwl_dbgfs_qos_read(struct file *file, char __user *user_buf, in iwl_dbgfs_qos_read() argument
457 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_qos_read()
461 char __user *user_buf, in iwl_dbgfs_thermal_throttling_read() argument
489 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_thermal_throttling_read()
493 const char __user *user_buf, in iwl_dbgfs_disable_ht40_write() argument
503 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_disable_ht40_write()
516 char __user *user_buf, in iwl_dbgfs_disable_ht40_read() argument
527 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_disable_ht40_read()
531 char __user *user_buf, in iwl_dbgfs_temperature_read() argument
540 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_temperature_read()
545 const char __user *user_buf, in iwl_dbgfs_sleep_level_override_write() argument
555 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_sleep_level_override_write()
587 char __user *user_buf, in iwl_dbgfs_sleep_level_override_read() argument
601 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_sleep_level_override_read()
605 char __user *user_buf, in iwl_dbgfs_current_sleep_command_read() argument
625 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_current_sleep_command_read()
671 char __user *user_buf, in iwl_dbgfs_ucode_rx_stats_read() argument
1098 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_rx_stats_read()
1104 char __user *user_buf, in iwl_dbgfs_ucode_tx_stats_read() argument
1295 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_tx_stats_read()
1301 char __user *user_buf, in iwl_dbgfs_ucode_general_stats_read() argument
1415 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_general_stats_read()
1421 char __user *user_buf, in iwl_dbgfs_ucode_bt_stats_read() argument
1503 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_bt_stats_read()
1509 char __user *user_buf, in iwl_dbgfs_reply_tx_error_read() argument
1645 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_reply_tx_error_read()
1651 char __user *user_buf, in iwl_dbgfs_sensitivity_read() argument
1723 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_sensitivity_read()
1730 char __user *user_buf, in iwl_dbgfs_chain_noise_read() argument
1780 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_chain_noise_read()
1786 char __user *user_buf, in iwl_dbgfs_power_save_status_read() argument
1805 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_power_save_status_read()
1809 const char __user *user_buf, in iwl_dbgfs_clear_ucode_statistics_write() argument
1819 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_clear_ucode_statistics_write()
1833 char __user *user_buf, in iwl_dbgfs_ucode_tracing_read() argument
1850 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_tracing_read()
1854 const char __user *user_buf, in iwl_dbgfs_ucode_tracing_write() argument
1864 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_ucode_tracing_write()
1884 char __user *user_buf, in iwl_dbgfs_rxon_flags_read() argument
1893 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in iwl_dbgfs_rxon_flags_read()
1897 char __user *user_buf, in iwl_dbgfs_rxon_filter_flags_read() argument
1906 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in iwl_dbgfs_rxon_filter_flags_read()
1910 char __user *user_buf, in iwl_dbgfs_missed_beacon_read() argument
1921 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_missed_beacon_read()
1925 const char __user *user_buf, in iwl_dbgfs_missed_beacon_write() argument
1935 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_missed_beacon_write()
1951 char __user *user_buf, in iwl_dbgfs_plcp_delta_read() argument
1962 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_plcp_delta_read()
1966 const char __user *user_buf, in iwl_dbgfs_plcp_delta_write() argument
1976 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_plcp_delta_write()
1990 char __user *user_buf, in iwl_dbgfs_rf_reset_read() argument
2011 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_rf_reset_read()
2015 const char __user *user_buf, in iwl_dbgfs_rf_reset_write() argument
2026 const char __user *user_buf, in iwl_dbgfs_txfifo_flush_write() argument
2036 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_txfifo_flush_write()
2050 char __user *user_buf, in iwl_dbgfs_bt_traffic_read() argument
2060 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_bt_traffic_read()
2091 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_bt_traffic_read()
2095 char __user *user_buf, in iwl_dbgfs_protection_mode_read() argument
2112 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_protection_mode_read()
2116 const char __user *user_buf, in iwl_dbgfs_protection_mode_write() argument
2129 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_protection_mode_write()
2157 const char __user *user_buf, in iwl_dbgfs_echo_test_write() argument
2166 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_echo_test_write()
2175 char __user *user_buf, in iwl_dbgfs_log_event_read() argument
2184 ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret); in iwl_dbgfs_log_event_read()
2190 const char __user *user_buf, in iwl_dbgfs_log_event_write() argument
2204 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_log_event_write()
2216 char __user *user_buf, in iwl_dbgfs_calib_disabled_read() argument
2240 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_calib_disabled_read()
2244 const char __user *user_buf, in iwl_dbgfs_calib_disabled_write() argument
2254 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_calib_disabled_write()
2265 const char __user *user_buf, in iwl_dbgfs_fw_restart_write() argument