Lines Matching refs:user_buf
96 char __user *user_buf, in iwl_dbgfs_sram_read() argument
180 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_sram_read()
186 const char __user *user_buf, in iwl_dbgfs_sram_write() argument
196 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_sram_write()
214 char __user *user_buf, in iwl_dbgfs_wowlan_sram_read() argument
223 return simple_read_from_buffer(user_buf, count, ppos, in iwl_dbgfs_wowlan_sram_read()
227 static ssize_t iwl_dbgfs_stations_read(struct file *file, char __user *user_buf, in iwl_dbgfs_stations_read() argument
278 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_stations_read()
284 char __user *user_buf, in iwl_dbgfs_nvm_read() argument
317 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_nvm_read()
322 static ssize_t iwl_dbgfs_channels_read(struct file *file, char __user *user_buf, in iwl_dbgfs_channels_read() argument
382 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_channels_read()
388 char __user *user_buf, in iwl_dbgfs_status_read() argument
418 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_status_read()
422 char __user *user_buf, in iwl_dbgfs_rx_handlers_read() argument
445 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_rx_handlers_read()
451 const char __user *user_buf, in iwl_dbgfs_rx_handlers_write() argument
462 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_rx_handlers_write()
473 static ssize_t iwl_dbgfs_qos_read(struct file *file, char __user *user_buf, in iwl_dbgfs_qos_read() argument
497 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_qos_read()
501 char __user *user_buf, in iwl_dbgfs_thermal_throttling_read() argument
529 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_thermal_throttling_read()
533 const char __user *user_buf, in iwl_dbgfs_disable_ht40_write() argument
543 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_disable_ht40_write()
556 char __user *user_buf, in iwl_dbgfs_disable_ht40_read() argument
567 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_disable_ht40_read()
571 char __user *user_buf, in iwl_dbgfs_temperature_read() argument
580 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_temperature_read()
585 const char __user *user_buf, in iwl_dbgfs_sleep_level_override_write() argument
595 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_sleep_level_override_write()
627 char __user *user_buf, in iwl_dbgfs_sleep_level_override_read() argument
641 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_sleep_level_override_read()
645 char __user *user_buf, in iwl_dbgfs_current_sleep_command_read() argument
665 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_current_sleep_command_read()
711 char __user *user_buf, in iwl_dbgfs_ucode_rx_stats_read() argument
1138 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_rx_stats_read()
1144 char __user *user_buf, in iwl_dbgfs_ucode_tx_stats_read() argument
1335 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_tx_stats_read()
1341 char __user *user_buf, in iwl_dbgfs_ucode_general_stats_read() argument
1455 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_general_stats_read()
1461 char __user *user_buf, in iwl_dbgfs_ucode_bt_stats_read() argument
1543 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_bt_stats_read()
1549 char __user *user_buf, in iwl_dbgfs_reply_tx_error_read() argument
1685 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_reply_tx_error_read()
1691 char __user *user_buf, in iwl_dbgfs_sensitivity_read() argument
1763 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_sensitivity_read()
1770 char __user *user_buf, in iwl_dbgfs_chain_noise_read() argument
1820 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_chain_noise_read()
1826 char __user *user_buf, in iwl_dbgfs_power_save_status_read() argument
1845 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_power_save_status_read()
1849 const char __user *user_buf, in iwl_dbgfs_clear_ucode_statistics_write() argument
1859 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_clear_ucode_statistics_write()
1873 char __user *user_buf, in iwl_dbgfs_ucode_tracing_read() argument
1890 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_ucode_tracing_read()
1894 const char __user *user_buf, in iwl_dbgfs_ucode_tracing_write() argument
1904 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_ucode_tracing_write()
1924 char __user *user_buf, in iwl_dbgfs_rxon_flags_read() argument
1933 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in iwl_dbgfs_rxon_flags_read()
1937 char __user *user_buf, in iwl_dbgfs_rxon_filter_flags_read() argument
1946 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in iwl_dbgfs_rxon_filter_flags_read()
1950 char __user *user_buf, in iwl_dbgfs_missed_beacon_read() argument
1961 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_missed_beacon_read()
1965 const char __user *user_buf, in iwl_dbgfs_missed_beacon_write() argument
1975 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_missed_beacon_write()
1991 char __user *user_buf, in iwl_dbgfs_plcp_delta_read() argument
2002 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_plcp_delta_read()
2006 const char __user *user_buf, in iwl_dbgfs_plcp_delta_write() argument
2016 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_plcp_delta_write()
2030 char __user *user_buf, in iwl_dbgfs_rf_reset_read() argument
2051 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_rf_reset_read()
2055 const char __user *user_buf, in iwl_dbgfs_rf_reset_write() argument
2066 const char __user *user_buf, in iwl_dbgfs_txfifo_flush_write() argument
2076 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_txfifo_flush_write()
2090 char __user *user_buf, in iwl_dbgfs_bt_traffic_read() argument
2100 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_bt_traffic_read()
2131 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_bt_traffic_read()
2135 char __user *user_buf, in iwl_dbgfs_protection_mode_read() argument
2152 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_protection_mode_read()
2156 const char __user *user_buf, in iwl_dbgfs_protection_mode_write() argument
2169 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_protection_mode_write()
2197 const char __user *user_buf, in iwl_dbgfs_echo_test_write() argument
2206 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_echo_test_write()
2215 char __user *user_buf, in iwl_dbgfs_log_event_read() argument
2224 ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret); in iwl_dbgfs_log_event_read()
2230 const char __user *user_buf, in iwl_dbgfs_log_event_write() argument
2244 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_log_event_write()
2256 char __user *user_buf, in iwl_dbgfs_calib_disabled_read() argument
2280 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_calib_disabled_read()
2284 const char __user *user_buf, in iwl_dbgfs_calib_disabled_write() argument
2294 if (copy_from_user(buf, user_buf, buf_size)) in iwl_dbgfs_calib_disabled_write()
2305 const char __user *user_buf, in iwl_dbgfs_fw_restart_write() argument