Lines Matching refs:user_buf
52 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, count, ppos, buf, pos); in iwl_dbgfs_nvm_read()
278 static ssize_t iwl_dbgfs_channels_read(struct file *file, char __user *user_buf, in iwl_dbgfs_channels_read() argument
338 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_channels_read()
344 char __user *user_buf, in iwl_dbgfs_status_read() argument
374 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_status_read()
378 char __user *user_buf, in iwl_dbgfs_rx_handlers_read() argument
401 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_rx_handlers_read()
407 const char __user *user_buf, in iwl_dbgfs_rx_handlers_write() argument
418 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_rx_handlers_write()
429 static ssize_t iwl_dbgfs_qos_read(struct file *file, char __user *user_buf, in iwl_dbgfs_qos_read() argument
453 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_qos_read()
457 char __user *user_buf, in iwl_dbgfs_thermal_throttling_read() argument
485 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_thermal_throttling_read()
489 const char __user *user_buf, in iwl_dbgfs_disable_ht40_write() argument
499 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_disable_ht40_write()
512 char __user *user_buf, in iwl_dbgfs_disable_ht40_read() argument
523 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_disable_ht40_read()
527 char __user *user_buf, in iwl_dbgfs_temperature_read() argument
536 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_temperature_read()
541 const char __user *user_buf, in iwl_dbgfs_sleep_level_override_write() argument
551 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_sleep_level_override_write()
583 char __user *user_buf, in iwl_dbgfs_sleep_level_override_read() argument
597 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_sleep_level_override_read()
601 char __user *user_buf, in iwl_dbgfs_current_sleep_command_read() argument
621 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_current_sleep_command_read()
667 char __user *user_buf, in iwl_dbgfs_ucode_rx_stats_read() argument
1094 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_rx_stats_read()
1100 char __user *user_buf, in iwl_dbgfs_ucode_tx_stats_read() argument
1291 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_tx_stats_read()
1297 char __user *user_buf, in iwl_dbgfs_ucode_general_stats_read() argument
1411 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_general_stats_read()
1417 char __user *user_buf, in iwl_dbgfs_ucode_bt_stats_read() argument
1499 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_bt_stats_read()
1505 char __user *user_buf, in iwl_dbgfs_reply_tx_error_read() argument
1641 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_reply_tx_error_read()
1647 char __user *user_buf, in iwl_dbgfs_sensitivity_read() argument
1719 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_sensitivity_read()
1726 char __user *user_buf, in iwl_dbgfs_chain_noise_read() argument
1776 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_chain_noise_read()
1782 char __user *user_buf, in iwl_dbgfs_power_save_status_read() argument
1801 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_power_save_status_read()
1805 const char __user *user_buf, in iwl_dbgfs_clear_ucode_statistics_write() argument
1815 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_clear_ucode_statistics_write()
1829 char __user *user_buf, in iwl_dbgfs_ucode_tracing_read() argument
1846 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_tracing_read()
1850 const char __user *user_buf, in iwl_dbgfs_ucode_tracing_write() argument
1860 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_ucode_tracing_write()
1880 char __user *user_buf, in iwl_dbgfs_rxon_flags_read() argument
1889 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in iwl_dbgfs_rxon_flags_read()
1893 char __user *user_buf, in iwl_dbgfs_rxon_filter_flags_read() argument
1902 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in iwl_dbgfs_rxon_filter_flags_read()
1906 char __user *user_buf, in iwl_dbgfs_missed_beacon_read() argument
1917 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_missed_beacon_read()
1921 const char __user *user_buf, in iwl_dbgfs_missed_beacon_write() argument
1931 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_missed_beacon_write()
1947 char __user *user_buf, in iwl_dbgfs_plcp_delta_read() argument
1958 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_plcp_delta_read()
1962 const char __user *user_buf, in iwl_dbgfs_plcp_delta_write() argument
1972 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_plcp_delta_write()
1986 char __user *user_buf, in iwl_dbgfs_rf_reset_read() argument
2007 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_rf_reset_read()
2011 const char __user *user_buf, in iwl_dbgfs_rf_reset_write() argument
2022 const char __user *user_buf, in iwl_dbgfs_txfifo_flush_write() argument
2032 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_txfifo_flush_write()
2046 char __user *user_buf, in iwl_dbgfs_bt_traffic_read() argument
2056 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_bt_traffic_read()
2087 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_bt_traffic_read()
2091 char __user *user_buf, in iwl_dbgfs_protection_mode_read() argument
2108 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_protection_mode_read()
2112 const char __user *user_buf, in iwl_dbgfs_protection_mode_write() argument
2125 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_protection_mode_write()
2153 const char __user *user_buf, in iwl_dbgfs_echo_test_write() argument
2162 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_echo_test_write()
2171 char __user *user_buf, in iwl_dbgfs_log_event_read() argument
2180 ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret); in iwl_dbgfs_log_event_read()
2186 const char __user *user_buf, in iwl_dbgfs_log_event_write() argument
2200 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_log_event_write()
2212 char __user *user_buf, in iwl_dbgfs_calib_disabled_read() argument
2236 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_calib_disabled_read()
2240 const char __user *user_buf, in iwl_dbgfs_calib_disabled_write() argument
2250 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_calib_disabled_write()
2261 const char __user *user_buf, in iwl_dbgfs_fw_restart_write() argument