Lines Matching refs:user_buf
155 char __user *user_buf, \
160 const char __user *user_buf, \
231 il_dbgfs_tx_stats_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_tx_stats_read() argument
265 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_tx_stats_read()
272 const char __user *user_buf, size_t count, in il_dbgfs_clear_traffic_stats_write() argument
282 if (copy_from_user(buf, user_buf, buf_size)) in il_dbgfs_clear_traffic_stats_write()
292 il_dbgfs_rx_stats_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_rx_stats_read() argument
327 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_rx_stats_read()
336 il_dbgfs_sram_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_sram_read() argument
389 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_sram_read()
395 il_dbgfs_sram_write(struct file *file, const char __user *user_buf, in il_dbgfs_sram_write() argument
405 if (copy_from_user(buf, user_buf, buf_size)) in il_dbgfs_sram_write()
420 il_dbgfs_stations_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_stations_read() argument
478 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_stations_read()
484 il_dbgfs_nvm_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_nvm_read() argument
522 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_nvm_read()
528 il_dbgfs_channels_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_channels_read() argument
601 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_channels_read()
607 il_dbgfs_status_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_status_read() argument
664 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_status_read()
668 il_dbgfs_interrupt_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_interrupt_read() argument
741 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_interrupt_read()
747 il_dbgfs_interrupt_write(struct file *file, const char __user *user_buf, in il_dbgfs_interrupt_write() argument
757 if (copy_from_user(buf, user_buf, buf_size)) in il_dbgfs_interrupt_write()
768 il_dbgfs_qos_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_qos_read() argument
789 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_qos_read()
793 il_dbgfs_disable_ht40_write(struct file *file, const char __user *user_buf, in il_dbgfs_disable_ht40_write() argument
803 if (copy_from_user(buf, user_buf, buf_size)) in il_dbgfs_disable_ht40_write()
819 il_dbgfs_disable_ht40_read(struct file *file, char __user *user_buf, in il_dbgfs_disable_ht40_read() argument
830 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_disable_ht40_read()
843 il_dbgfs_tx_queue_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_tx_queue_read() argument
884 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_tx_queue_read()
890 il_dbgfs_rx_queue_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_rx_queue_read() argument
915 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_rx_queue_read()
919 il_dbgfs_ucode_rx_stats_read(struct file *file, char __user *user_buf, in il_dbgfs_ucode_rx_stats_read() argument
924 return il->debugfs_ops->rx_stats_read(file, user_buf, count, ppos); in il_dbgfs_ucode_rx_stats_read()
928 il_dbgfs_ucode_tx_stats_read(struct file *file, char __user *user_buf, in il_dbgfs_ucode_tx_stats_read() argument
933 return il->debugfs_ops->tx_stats_read(file, user_buf, count, ppos); in il_dbgfs_ucode_tx_stats_read()
937 il_dbgfs_ucode_general_stats_read(struct file *file, char __user *user_buf, in il_dbgfs_ucode_general_stats_read() argument
942 return il->debugfs_ops->general_stats_read(file, user_buf, count, ppos); in il_dbgfs_ucode_general_stats_read()
946 il_dbgfs_sensitivity_read(struct file *file, char __user *user_buf, in il_dbgfs_sensitivity_read() argument
1039 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_sensitivity_read()
1045 il_dbgfs_chain_noise_read(struct file *file, char __user *user_buf, in il_dbgfs_chain_noise_read() argument
1110 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_chain_noise_read()
1116 il_dbgfs_power_save_status_read(struct file *file, char __user *user_buf, in il_dbgfs_power_save_status_read() argument
1136 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_power_save_status_read()
1141 const char __user *user_buf, size_t count, in il_dbgfs_clear_ucode_stats_write() argument
1151 if (copy_from_user(buf, user_buf, buf_size)) in il_dbgfs_clear_ucode_stats_write()
1165 il_dbgfs_rxon_flags_read(struct file *file, char __user *user_buf, in il_dbgfs_rxon_flags_read() argument
1174 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in il_dbgfs_rxon_flags_read()
1178 il_dbgfs_rxon_filter_flags_read(struct file *file, char __user *user_buf, in il_dbgfs_rxon_filter_flags_read() argument
1188 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in il_dbgfs_rxon_filter_flags_read()
1192 il_dbgfs_fh_reg_read(struct file *file, char __user *user_buf, size_t count, in il_dbgfs_fh_reg_read() argument
1204 simple_read_from_buffer(user_buf, count, ppos, buf, in il_dbgfs_fh_reg_read()
1214 il_dbgfs_missed_beacon_read(struct file *file, char __user *user_buf, in il_dbgfs_missed_beacon_read() argument
1227 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_missed_beacon_read()
1231 il_dbgfs_missed_beacon_write(struct file *file, const char __user *user_buf, in il_dbgfs_missed_beacon_write() argument
1241 if (copy_from_user(buf, user_buf, buf_size)) in il_dbgfs_missed_beacon_write()
1256 il_dbgfs_force_reset_read(struct file *file, char __user *user_buf, in il_dbgfs_force_reset_read() argument
1283 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in il_dbgfs_force_reset_read()
1287 il_dbgfs_force_reset_write(struct file *file, const char __user *user_buf, in il_dbgfs_force_reset_write() argument
1300 il_dbgfs_wd_timeout_write(struct file *file, const char __user *user_buf, in il_dbgfs_wd_timeout_write() argument
1311 if (copy_from_user(buf, user_buf, buf_size)) in il_dbgfs_wd_timeout_write()