Searched refs:user_buf (Results 1 - 25 of 59) sorted by relevance

123

/drivers/net/wireless/ti/wlcore/
H A Ddebugfs.c142 char __user *user_buf, \
146 return wl1271_format_buffer(user_buf, count, \
152 const char __user *user_buf, \
159 ret = kstrtoul_from_user(user_buf, count, 10, &value); \
193 static ssize_t gpio_power_read(struct file *file, char __user *user_buf, argument
204 return simple_read_from_buffer(user_buf, count, ppos, buf, res);
208 const char __user *user_buf,
215 ret = kstrtoul_from_user(user_buf, count, 10, &value);
240 const char __user *user_buf,
258 static ssize_t dynamic_ps_timeout_read(struct file *file, char __user *user_buf, argument
207 gpio_power_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
239 start_recovery_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
268 dynamic_ps_timeout_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
322 forced_ps_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
332 forced_ps_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
391 split_scan_timeout_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
401 split_scan_timeout_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
433 driver_state_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
532 vifs_state_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
642 dtim_interval_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
657 dtim_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
702 suspend_dtim_interval_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
718 suspend_dtim_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
758 beacon_interval_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
773 beacon_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
816 rx_streaming_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
871 rx_streaming_always_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
926 beacon_filtering_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
989 sleep_auth_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
999 sleep_auth_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1051 dev_mem_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1133 dev_mem_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/drivers/net/wireless/ath/wcn36xx/
H A Ddebug.c27 static ssize_t read_file_bool_bmps(struct file *file, char __user *user_buf, argument
50 return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
54 const char __user *user_buf,
65 if (copy_from_user(buf, user_buf, buf_size))
105 const char __user *user_buf,
118 if (copy_from_user(buf, user_buf, buf_size))
53 write_file_bool_bmps(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
104 write_file_dump(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
/drivers/acpi/
H A Dcustom_method.c22 static ssize_t cm_write(struct file *file, const char __user * user_buf, argument
36 if (copy_from_user(&table, user_buf,
54 if (copy_from_user(buf + (*ppos), user_buf, count)) {
/drivers/net/wireless/iwlegacy/
H A Ddebug.c155 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, argument
265 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
272 const char __user *user_buf, size_t count,
282 if (copy_from_user(buf, user_buf, buf_size))
292 il_dbgfs_rx_stats_read(struct file *file, char __user *user_buf, size_t count, argument
327 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
336 il_dbgfs_sram_read(struct file *file, char __user *user_buf, size_t count, argument
389 ret = simple_read_from_buffer(user_buf, coun
271 il_dbgfs_clear_traffic_stats_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
395 il_dbgfs_sram_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
420 il_dbgfs_stations_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
484 il_dbgfs_nvm_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
532 il_dbgfs_channels_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
611 il_dbgfs_status_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
672 il_dbgfs_interrupt_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
751 il_dbgfs_interrupt_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
772 il_dbgfs_qos_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
797 il_dbgfs_disable_ht40_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
823 il_dbgfs_disable_ht40_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
847 il_dbgfs_tx_queue_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
894 il_dbgfs_rx_queue_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
923 il_dbgfs_ucode_rx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
932 il_dbgfs_ucode_tx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
941 il_dbgfs_ucode_general_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
950 il_dbgfs_sensitivity_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1049 il_dbgfs_chain_noise_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1120 il_dbgfs_power_save_status_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1144 il_dbgfs_clear_ucode_stats_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1169 il_dbgfs_rxon_flags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1182 il_dbgfs_rxon_filter_flags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1196 il_dbgfs_fh_reg_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1218 il_dbgfs_missed_beacon_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1235 il_dbgfs_missed_beacon_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1260 il_dbgfs_force_reset_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1291 il_dbgfs_force_reset_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1304 il_dbgfs_wd_timeout_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
H A D3945-debug.c52 il3945_ucode_rx_stats_read(struct file *file, char __user *user_buf, argument
311 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
317 il3945_ucode_tx_stats_read(struct file *file, char __user *user_buf, argument
401 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
407 il3945_ucode_general_stats_read(struct file *file, char __user *user_buf, argument
502 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
/drivers/net/wireless/ath/ath6kl/
H A Ddebug.c285 static ssize_t read_file_war_stats(struct file *file, char __user *user_buf, argument
308 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len);
383 static ssize_t ath6kl_fwlog_read(struct file *file, char __user *user_buf, argument
419 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len);
435 char __user *user_buf,
486 not_copied = copy_to_user(user_buf, buf, len);
510 static ssize_t ath6kl_fwlog_mask_read(struct file *file, char __user *user_buf, argument
519 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
523 const char __user *user_buf,
529 ret = kstrtou32_from_user(user_buf, coun
434 ath6kl_fwlog_block_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
522 ath6kl_fwlog_mask_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
550 read_file_tgt_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
706 read_file_credit_dist_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
784 ath6kl_endpoint_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
839 ath6kl_endpoint_stats_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
895 ath6kl_regread_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
912 ath6kl_regread_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1006 ath6kl_regdump_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1027 ath6kl_lrssi_roam_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1044 ath6kl_lrssi_roam_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1065 ath6kl_regwrite_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1079 ath6kl_regwrite_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1161 ath6kl_roam_table_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1232 ath6kl_force_roam_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1264 ath6kl_roam_mode_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1309 ath6kl_keepalive_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1321 ath6kl_keepalive_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1353 ath6kl_disconnect_timeout_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1366 ath6kl_disconnect_timeout_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1393 ath6kl_create_qos_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1571 ath6kl_delete_qos_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1618 ath6kl_bgscan_int_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1658 ath6kl_listen_int_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1690 ath6kl_listen_int_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1716 ath6kl_power_params_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/drivers/net/wireless/ath/ath9k/
H A Dcommon-debug.c19 static ssize_t read_file_modal_eeprom(struct file *file, char __user *user_buf, argument
33 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
55 static ssize_t read_file_base_eeprom(struct file *file, char __user *user_buf, argument
69 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
123 static ssize_t read_file_recv(struct file *file, char __user *user_buf, argument
163 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
186 static ssize_t read_file_phy_err(struct file *file, char __user *user_buf, argument
232 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
H A Ddfs_debug.c34 static ssize_t read_file_dfs(struct file *file, char __user *user_buf, argument
89 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
97 static ssize_t write_file_dfs(struct file *file, const char __user *user_buf, argument
106 if (copy_from_user(buf, user_buf, len))
120 const char __user *user_buf,
119 write_file_simulate_radar(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
H A Dspectral.c211 static ssize_t read_file_spec_scan_ctl(struct file *file, char __user *user_buf, argument
233 return simple_read_from_buffer(user_buf, count, ppos, mode, len);
237 const char __user *user_buf,
249 if (copy_from_user(buf, user_buf, len))
288 char __user *user_buf,
296 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
300 const char __user *user_buf,
309 if (copy_from_user(buf, user_buf, len))
336 char __user *user_buf,
344 return simple_read_from_buffer(user_buf, coun
236 write_file_spec_scan_ctl(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
287 read_file_spectral_short_repeat(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
299 write_file_spectral_short_repeat(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
335 read_file_spectral_count(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
347 write_file_spectral_count(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
383 read_file_spectral_period(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
395 write_file_spectral_period(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
431 read_file_spectral_fft_period(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
443 write_file_spectral_fft_period(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
H A Dhtc_drv_debug.c19 static ssize_t read_file_tgt_int_stats(struct file *file, char __user *user_buf, argument
67 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
77 static ssize_t read_file_tgt_tx_stats(struct file *file, char __user *user_buf, argument
137 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
147 static ssize_t read_file_tgt_rx_stats(struct file *file, char __user *user_buf, argument
183 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
193 static ssize_t read_file_xmit(struct file *file, char __user *user_buf, argument
235 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
251 static ssize_t read_file_skb_rx(struct file *file, char __user *user_buf, argument
276 retval = simple_read_from_buffer(user_buf, coun
289 read_file_slot(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
324 read_file_queue(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
371 read_file_debug(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
383 write_file_debug(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
H A Dtx99.c162 static ssize_t read_file_tx99(struct file *file, char __user *user_buf, argument
170 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
173 static ssize_t write_file_tx99(struct file *file, const char __user *user_buf, argument
187 if (copy_from_user(buf, user_buf, len))
221 char __user *user_buf,
232 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
236 const char __user *user_buf,
243 r = kstrtou8_from_user(user_buf, count, 0, &tx_power);
220 read_file_tx99_power(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
235 write_file_tx99_power(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
H A Ddebug.c71 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
108 if (copy_from_user(buf, user_buf, len))
132 static ssize_t read_file_ani(struct file *file, char __user *user_buf, argument
181 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
188 const char __user *user_buf,
198 if (copy_from_user(buf, user_buf, le
187 write_file_ani(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
230 read_file_bt_ant_diversity(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
243 write_file_bt_ant_diversity(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
299 read_file_antenna_diversity(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
404 read_file_dma(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
559 read_file_interrupt(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
643 read_file_xmit(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
712 read_file_queues(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
748 read_file_misc(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
851 read_file_reset(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
962 read_file_regidx(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
973 write_file_regidx(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1001 read_file_regval(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1017 write_file_regval(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1084 read_file_dump_nfcal(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1138 read_file_btcoex(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1173 read_file_ackto(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
H A Ddebug_sta.c23 static ssize_t read_file_node_aggr(struct file *file, char __user *user_buf, argument
88 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
182 static ssize_t read_file_node_recv(struct file *file, char __user *user_buf, argument
243 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
/drivers/net/wireless/iwlwifi/mvm/
H A Ddebugfs.h75 const char __user *user_buf, \
82 if (copy_from_user(buf, user_buf, buf_size)) \
H A Ddebugfs.c148 char __user *user_buf,
157 simple_read_from_buffer(user_buf, count, ppos,
167 simple_read_from_buffer(user_buf + bytes_read,
196 static ssize_t iwl_dbgfs_sram_read(struct file *file, char __user *user_buf, argument
224 ret = simple_read_from_buffer(user_buf, count, ppos, ptr, len);
263 char __user *user_buf,
275 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
330 char __user *user_buf,
349 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
352 static ssize_t iwl_dbgfs_stations_read(struct file *file, char __user *user_buf, argument
147 iwl_dbgfs_fw_error_dump_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
262 iwl_dbgfs_set_nic_temperature_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
329 iwl_dbgfs_nic_temp_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
381 iwl_dbgfs_disable_power_off_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
555 iwl_dbgfs_bt_notif_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
615 iwl_dbgfs_bt_cmd_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
734 iwl_dbgfs_fw_rx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
868 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
932 iwl_dbgfs_drv_rx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
976 iwl_dbgfs_scan_ant_rxchain_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1018 iwl_dbgfs_bcast_filters_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1124 iwl_dbgfs_bcast_filters_macs_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1211 iwl_dbgfs_d3_sram_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1262 iwl_dbgfs_d0i3_refs_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1343 iwl_dbgfs_prph_reg_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
H A Ddebugfs-vif.c194 char __user *user_buf,
206 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
210 char __user *user_buf,
291 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
437 char __user *user_buf,
482 return simple_read_from_buffer(user_buf, count, ppos, buf, pos);
507 char __user *user_buf,
517 return simple_read_from_buffer(user_buf, count, ppos, buf, sizeof(buf));
193 iwl_dbgfs_pm_params_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
209 iwl_dbgfs_mac_params_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
436 iwl_dbgfs_bf_params_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
506 iwl_dbgfs_low_latency_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
/drivers/net/wireless/iwlwifi/dvm/
H A Ddebugfs.c96 char __user *user_buf,
180 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
186 const char __user *user_buf,
196 if (copy_from_user(buf, user_buf, buf_size))
214 char __user *user_buf,
223 return simple_read_from_buffer(user_buf, count, ppos,
227 static ssize_t iwl_dbgfs_stations_read(struct file *file, char __user *user_buf, argument
278 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
284 char __user *user_buf,
321 ret = simple_read_from_buffer(user_buf, coun
95 iwl_dbgfs_sram_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
185 iwl_dbgfs_sram_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
213 iwl_dbgfs_wowlan_sram_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
283 iwl_dbgfs_nvm_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
326 iwl_dbgfs_channels_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
391 iwl_dbgfs_status_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
425 iwl_dbgfs_rx_handlers_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
454 iwl_dbgfs_rx_handlers_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
477 iwl_dbgfs_qos_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
504 iwl_dbgfs_thermal_throttling_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
536 iwl_dbgfs_disable_ht40_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
559 iwl_dbgfs_disable_ht40_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
574 iwl_dbgfs_temperature_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
588 iwl_dbgfs_sleep_level_override_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
630 iwl_dbgfs_sleep_level_override_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
648 iwl_dbgfs_current_sleep_command_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
715 iwl_dbgfs_ucode_rx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1148 iwl_dbgfs_ucode_tx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1345 iwl_dbgfs_ucode_general_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1465 iwl_dbgfs_ucode_bt_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1553 iwl_dbgfs_reply_tx_error_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1695 iwl_dbgfs_sensitivity_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1774 iwl_dbgfs_chain_noise_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1830 iwl_dbgfs_power_save_status_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1853 iwl_dbgfs_clear_ucode_statistics_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1877 iwl_dbgfs_ucode_tracing_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1898 iwl_dbgfs_ucode_tracing_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1928 iwl_dbgfs_rxon_flags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1941 iwl_dbgfs_rxon_filter_flags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1954 iwl_dbgfs_missed_beacon_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1969 iwl_dbgfs_missed_beacon_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1995 iwl_dbgfs_plcp_delta_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
2010 iwl_dbgfs_plcp_delta_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
2034 iwl_dbgfs_rf_reset_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
2059 iwl_dbgfs_rf_reset_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
2070 iwl_dbgfs_txfifo_flush_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
2094 iwl_dbgfs_bt_traffic_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
2139 iwl_dbgfs_protection_mode_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
2160 iwl_dbgfs_protection_mode_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
2201 iwl_dbgfs_echo_test_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
2219 iwl_dbgfs_log_event_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
2234 iwl_dbgfs_log_event_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
2260 iwl_dbgfs_calib_disabled_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
2288 iwl_dbgfs_calib_disabled_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
2309 iwl_dbgfs_fw_restart_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/drivers/base/regmap/
H A Dregmap-debugfs.c40 char __user *user_buf, size_t count,
57 ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret);
186 unsigned int to, char __user *user_buf,
243 if (copy_to_user(user_buf, buf, buf_pos)) {
255 static ssize_t regmap_map_read_file(struct file *file, char __user *user_buf, argument
260 return regmap_read_debugfs(map, 0, map->max_register, user_buf,
273 const char __user *user_buf,
284 if (copy_from_user(buf, user_buf, buf_size))
315 static ssize_t regmap_range_read_file(struct file *file, char __user *user_buf, argument
322 user_buf, coun
39 regmap_name_read_file(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
185 regmap_read_debugfs(struct regmap *map, unsigned int from, unsigned int to, char __user *user_buf, size_t count, loff_t *ppos) argument
272 regmap_map_write_file(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
331 regmap_reg_ranges_read_file(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
404 regmap_access_read_file(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/drivers/net/wireless/ath/ath10k/
H A Ddebug.c192 char __user *user_buf,
230 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len);
374 static ssize_t ath10k_read_fw_stats(struct file *file, char __user *user_buf, argument
553 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len);
589 char __user *user_buf,
598 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf));
609 const char __user *user_buf,
618 simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, count);
674 static ssize_t ath10k_read_chip_id(struct file *file, char __user *user_buf, argument
683 return simple_read_from_buffer(user_buf, coun
191 ath10k_read_wmi_services(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
588 ath10k_read_simulate_fw_crash(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
608 ath10k_write_simulate_fw_crash(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
798 ath10k_fw_crash_dump_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
866 ath10k_read_htt_stats_mask(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
879 ath10k_write_htt_stats_mask(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
919 ath10k_read_htt_max_amsdu_ampdu(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
943 ath10k_write_htt_max_amsdu_ampdu(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
985 ath10k_read_fw_dbglog(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
999 ath10k_write_fw_dbglog(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1077 ath10k_write_simulate_radar(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1103 ath10k_read_dfs_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
H A Dspectral.c281 static ssize_t read_file_spec_scan_ctl(struct file *file, char __user *user_buf, argument
306 return simple_read_from_buffer(user_buf, count, ppos, mode, len);
310 const char __user *user_buf,
319 if (copy_from_user(buf, user_buf, len))
373 char __user *user_buf,
386 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
390 const char __user *user_buf,
399 if (copy_from_user(buf, user_buf, len))
425 char __user *user_buf,
441 return simple_read_from_buffer(user_buf, coun
309 write_file_spec_scan_ctl(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
372 read_file_spectral_count(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
389 write_file_spectral_count(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
424 read_file_spectral_bins(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
444 write_file_spectral_bins(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/drivers/video/adf/
H A Dadf_fops.c160 struct adf_buffer_config user_buf; local
164 if (copy_from_user(&user_buf, cfg, sizeof(user_buf)))
169 if (user_buf.n_planes > ADF_MAX_PLANES) {
171 user_buf.n_planes);
176 user_buf.overlay_engine);
179 user_buf.overlay_engine);
183 buf->w = user_buf.w;
184 buf->h = user_buf.h;
185 buf->format = user_buf
[all...]
/drivers/media/usb/uvc/
H A Duvc_debugfs.c47 static ssize_t uvc_debugfs_stats_read(struct file *file, char __user *user_buf, argument
52 return simple_read_from_buffer(user_buf, nbytes, ppos, buf->data,
/drivers/remoteproc/
H A Dremoteproc_debugfs.c152 rproc_recovery_write(struct file *filp, const char __user *user_buf, argument
162 ret = copy_from_user(buf, user_buf, count);
/drivers/net/wireless/ath/ath5k/
H A Ddebug.c195 static ssize_t read_file_beacon(struct file *file, char __user *user_buf, argument
240 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
316 static ssize_t read_file_debug(struct file *file, char __user *user_buf, argument
341 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
378 static ssize_t read_file_antenna(struct file *file, char __user *user_buf, argument
446 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
491 static ssize_t read_file_misc(struct file *file, char __user *user_buf, argument
534 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
546 static ssize_t read_file_frameerrors(struct file *file, char __user *user_buf, argument
619 return simple_read_from_buffer(user_buf, coun
664 read_file_ani(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
829 read_file_queue(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
968 read_file_eeprom(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/drivers/misc/
H A Dlkdtm.c616 const char __user *user_buf, size_t count, loff_t *off)
627 if (copy_from_user(buf, user_buf, count)) {
651 static ssize_t lkdtm_debugfs_read(struct file *f, char __user *user_buf, argument
666 out = simple_read_from_buffer(user_buf, count, off,
728 static ssize_t direct_entry(struct file *f, const char __user *user_buf, argument
742 if (copy_from_user(buf, user_buf, count)) {
615 do_register_entry(enum cname which, struct file *f, const char __user *user_buf, size_t count, loff_t *off) argument

Completed in 4978 milliseconds

123