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

12345

/linux-master/arch/mips/mm/
H A Dsc-debugfs.c13 static ssize_t sc_prefetch_read(struct file *file, char __user *user_buf, argument
23 return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
27 const char __user *user_buf,
33 err = kstrtobool_from_user(user_buf, count, &enabled);
26 sc_prefetch_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
/linux-master/net/mac80211/
H A Ddebugfs.c76 char __user *user_buf,
112 return simple_read_from_buffer(user_buf, count, ppos,
117 const char __user *user_buf,
127 if (copy_from_user(buf, user_buf, count))
153 char __user *user_buf,
169 return simple_read_from_buffer(user_buf, count, ppos, buf,
174 const char __user *user_buf,
183 if (copy_from_user(buf, user_buf, count))
205 char __user *user_buf,
224 return simple_read_from_buffer(user_buf, coun
75 aqm_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
116 aqm_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
152 airtime_flags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
173 airtime_flags_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
204 aql_pending_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
234 aql_txq_limit_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
261 aql_txq_limit_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
315 aql_enable_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
327 aql_enable_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
365 force_tx_status_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
380 force_tx_status_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
417 reset_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
505 hwflags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
534 misc_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
566 queues_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/drivers/net/wireless/ti/wlcore/
H A Ddebugfs.c124 char __user *user_buf, \
128 return wl1271_format_buffer(user_buf, count, \
134 const char __user *user_buf, \
141 ret = kstrtoul_from_user(user_buf, count, 10, &value); \
175 static ssize_t gpio_power_read(struct file *file, char __user *user_buf, argument
186 return simple_read_from_buffer(user_buf, count, ppos, buf, res);
190 const char __user *user_buf,
197 ret = kstrtoul_from_user(user_buf, count, 10, &value);
222 const char __user *user_buf,
240 static ssize_t dynamic_ps_timeout_read(struct file *file, char __user *user_buf, argument
189 gpio_power_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
221 start_recovery_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
250 dynamic_ps_timeout_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
305 forced_ps_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
315 forced_ps_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
375 split_scan_timeout_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
385 split_scan_timeout_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
417 driver_state_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
516 vifs_state_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
626 dtim_interval_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
641 dtim_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
686 suspend_dtim_interval_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
702 suspend_dtim_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
742 beacon_interval_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
757 beacon_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
800 rx_streaming_interval_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
856 rx_streaming_always_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
912 beacon_filtering_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
969 sleep_auth_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
979 sleep_auth_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1032 dev_mem_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1115 dev_mem_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1205 fw_logger_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1215 fw_logger_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/drivers/accel/ivpu/
H A Divpu_debugfs.c120 dvfs_mode_fops_write(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) argument
127 ret = kstrtou32_from_user(user_buf, size, 0, &dvfs_mode);
161 fw_log_fops_write(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) argument
183 fw_profiling_freq_fops_write(struct file *file, const char __user *user_buf, argument
190 ret = kstrtobool_from_user(user_buf, size, &enable);
210 fw_trace_destination_mask_fops_write(struct file *file, const char __user *user_buf, argument
218 ret = kstrtou32_from_user(user_buf, size, 0, &trace_destination_mask);
237 fw_trace_hw_comp_mask_fops_write(struct file *file, const char __user *user_buf, argument
245 ret = kstrtou64_from_user(user_buf, size, 0, &trace_hw_component_mask);
264 fw_trace_level_fops_write(struct file *file, const char __user *user_buf, size_ argument
290 ivpu_force_recovery_fn(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) argument
315 ivpu_reset_engine_fn(struct file *file, const char __user *user_buf, size_t size, loff_t *pos) argument
[all...]
/linux-master/kernel/locking/
H A Dlock_events.c61 ssize_t __weak lockevent_read(struct file *file, char __user *user_buf, argument
80 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
88 static ssize_t lockevent_write(struct file *file, const char __user *user_buf, argument
H A Dlock_events.h61 ssize_t lockevent_read(struct file *file, char __user *user_buf,
H A Dqspinlock_stat.h36 ssize_t lockevent_read(struct file *file, char __user *user_buf, argument
94 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
/linux-master/arch/x86/mm/
H A Dpkeys.c130 static ssize_t init_pkru_read_file(struct file *file, char __user *user_buf, argument
137 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
141 const char __user *user_buf, size_t count, loff_t *ppos)
148 if (copy_from_user(buf, user_buf, len))
140 init_pkru_write_file(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
/linux-master/drivers/net/wireless/intel/iwlegacy/
H A Ddebug.c124 char __user *user_buf, \
129 const char __user *user_buf, \
200 il_dbgfs_tx_stats_read(struct file *file, char __user *user_buf, size_t count, argument
234 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
241 const char __user *user_buf, size_t count,
251 if (copy_from_user(buf, user_buf, buf_size))
261 il_dbgfs_rx_stats_read(struct file *file, char __user *user_buf, size_t count, argument
296 ret = simple_read_from_buffer(user_buf, count, ppos, buf, pos);
305 il_dbgfs_sram_read(struct file *file, char __user *user_buf, size_t count, argument
358 ret = simple_read_from_buffer(user_buf, coun
240 il_dbgfs_clear_traffic_stats_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
364 il_dbgfs_sram_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
389 il_dbgfs_stations_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
453 il_dbgfs_nvm_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
497 il_dbgfs_channels_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
576 il_dbgfs_status_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
637 il_dbgfs_interrupt_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
716 il_dbgfs_interrupt_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
737 il_dbgfs_qos_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
762 il_dbgfs_disable_ht40_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
788 il_dbgfs_disable_ht40_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
812 il_dbgfs_tx_queue_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
859 il_dbgfs_rx_queue_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
888 il_dbgfs_ucode_rx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
897 il_dbgfs_ucode_tx_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
906 il_dbgfs_ucode_general_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
915 il_dbgfs_sensitivity_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1014 il_dbgfs_chain_noise_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1085 il_dbgfs_power_save_status_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1109 il_dbgfs_clear_ucode_stats_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1134 il_dbgfs_rxon_flags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1147 il_dbgfs_rxon_filter_flags_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1161 il_dbgfs_fh_reg_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1183 il_dbgfs_missed_beacon_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1200 il_dbgfs_missed_beacon_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1225 il_dbgfs_force_reset_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1256 il_dbgfs_force_reset_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1269 il_dbgfs_wd_timeout_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/drivers/net/wireless/ath/ath6kl/
H A Ddebug.c300 static ssize_t read_file_war_stats(struct file *file, char __user *user_buf, argument
323 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len);
398 static ssize_t ath6kl_fwlog_read(struct file *file, char __user *user_buf, argument
434 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len);
450 char __user *user_buf,
501 not_copied = copy_to_user(user_buf, buf, len);
525 static ssize_t ath6kl_fwlog_mask_read(struct file *file, char __user *user_buf, argument
534 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
538 const char __user *user_buf,
544 ret = kstrtou32_from_user(user_buf, coun
449 ath6kl_fwlog_block_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
537 ath6kl_fwlog_mask_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
565 read_file_tgt_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
703 read_file_credit_dist_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
781 ath6kl_endpoint_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
836 ath6kl_endpoint_stats_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
892 ath6kl_regread_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
909 ath6kl_regread_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1003 ath6kl_regdump_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1024 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
1160 ath6kl_roam_table_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1231 ath6kl_force_roam_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1263 ath6kl_roam_mode_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1308 ath6kl_keepalive_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1320 ath6kl_keepalive_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1352 ath6kl_disconnect_timeout_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1365 ath6kl_disconnect_timeout_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1392 ath6kl_create_qos_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1570 ath6kl_delete_qos_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1617 ath6kl_bgscan_int_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1657 ath6kl_listen_int_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1689 ath6kl_listen_int_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1715 ath6kl_power_params_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/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
165 retval = simple_read_from_buffer(user_buf, count, ppos, buf, len);
187 static ssize_t read_file_phy_err(struct file *file, char __user *user_buf, argument
241 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
104 ret = kstrtoul_from_user(user_buf, count, 0, &val);
114 const char __user *user_buf,
113 write_file_simulate_radar(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
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
313 read_file_queue(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
360 read_file_debug(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
372 write_file_debug(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
H A Dtx99.c159 static ssize_t read_file_tx99(struct file *file, char __user *user_buf, argument
167 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
170 static ssize_t write_file_tx99(struct file *file, const char __user *user_buf, argument
185 ret = kstrtobool_from_user(user_buf, count, &start);
222 char __user *user_buf,
233 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
237 const char __user *user_buf,
244 r = kstrtou8_from_user(user_buf, count, 0, &tx_power);
221 read_file_tx99_power(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
236 write_file_tx99_power(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
/linux-master/drivers/net/wireless/ath/wcn36xx/
H A Ddebug.c28 static ssize_t read_file_bool_bmps(struct file *file, char __user *user_buf, argument
49 return simple_read_from_buffer(user_buf, count, ppos, buf, 2);
53 const char __user *user_buf,
64 if (copy_from_user(buf, user_buf, buf_size))
100 const char __user *user_buf,
113 if (copy_from_user(buf, user_buf, buf_size))
141 char __user *user_buf,
165 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len);
52 write_file_bool_bmps(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
99 write_file_dump(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
140 read_file_firmware_feature_caps(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Ddebugfs.h16 const char __user *user_buf, \
23 if (copy_from_user(buf, user_buf, buf_size)) \
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_heartbeat_dbgfs.c44 static ssize_t adf_hb_status_read(struct file *file, char __user *user_buf, argument
66 return simple_read_from_buffer(user_buf, count, ppos, ret_str, len + 1);
75 static ssize_t adf_hb_cfg_read(struct file *file, char __user *user_buf, argument
90 return simple_read_from_buffer(user_buf, count, ppos, timer_str,
94 static ssize_t adf_hb_cfg_write(struct file *file, const char __user *user_buf, argument
111 ppos, user_buf, count);
159 const char __user *user_buf,
170 if (copy_from_user(buf, user_buf, count))
158 adf_hb_error_inject_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
/linux-master/drivers/misc/lkdtm/
H A Dcore.c34 static ssize_t lkdtm_debugfs_read(struct file *f, char __user *user_buf,
36 static ssize_t direct_entry(struct file *f, const char __user *user_buf,
42 const char __user *user_buf,
228 const char __user *user_buf,
242 if (copy_from_user(buf, user_buf, count)) {
267 static ssize_t lkdtm_debugfs_read(struct file *f, char __user *user_buf, argument
291 out = simple_read_from_buffer(user_buf, count, off,
304 static ssize_t direct_entry(struct file *f, const char __user *user_buf, argument
319 if (copy_from_user(buf, user_buf, count)) {
227 lkdtm_debugfs_entry(struct file *f, const char __user *user_buf, size_t count, loff_t *off) argument
/linux-master/kernel/trace/rv/
H A Drv.c212 static ssize_t monitor_enable_read_data(struct file *filp, char __user *user_buf, size_t count, argument
220 return simple_read_from_buffer(user_buf, count, ppos, buff, strlen(buff)+1);
282 static ssize_t monitor_enable_write_data(struct file *filp, const char __user *user_buf, argument
289 retval = kstrtobool_from_user(user_buf, count, &val);
315 static ssize_t monitor_desc_read_data(struct file *filp, char __user *user_buf, size_t count, argument
325 return simple_read_from_buffer(user_buf, count, ppos, buff, strlen(buff) + 1);
510 static ssize_t enabled_monitors_write(struct file *filp, const char __user *user_buf, argument
525 retval = simple_write_to_buffer(buff, sizeof(buff) - 1, ppos, user_buf, count);
594 static ssize_t monitoring_on_read_data(struct file *filp, char __user *user_buf, argument
601 return simple_read_from_buffer(user_buf, coun
645 monitoring_on_write_data(struct file *filp, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/drivers/net/wireless/ath/ath10k/
H A Dspectral.c273 static ssize_t read_file_spec_scan_ctl(struct file *file, char __user *user_buf, argument
298 return simple_read_from_buffer(user_buf, count, ppos, mode, len);
302 const char __user *user_buf,
311 if (copy_from_user(buf, user_buf, len))
365 char __user *user_buf,
378 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
382 const char __user *user_buf,
389 ret = kstrtoul_from_user(user_buf, count, 0, &val);
412 char __user *user_buf,
429 return simple_read_from_buffer(user_buf, coun
301 write_file_spec_scan_ctl(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
364 read_file_spectral_count(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
381 write_file_spectral_count(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
411 read_file_spectral_bins(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
432 write_file_spectral_bins(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
H A Ddebug.c152 char __user *user_buf,
189 ret_cnt = simple_read_from_buffer(user_buf, count, ppos, buf, len);
445 static ssize_t ath10k_fw_stats_read(struct file *file, char __user *user_buf, argument
451 return simple_read_from_buffer(user_buf, count, ppos, buf, len);
463 char __user *user_buf,
488 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len);
523 char __user *user_buf,
533 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf));
544 const char __user *user_buf,
556 rc = simple_write_to_buffer(buf, sizeof(buf) - 1, ppos, user_buf, coun
151 ath10k_read_wmi_services(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
462 ath10k_debug_fw_reset_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
522 ath10k_read_simulate_fw_crash(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
543 ath10k_write_simulate_fw_crash(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
615 ath10k_read_chip_id(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
634 ath10k_reg_addr_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
652 ath10k_reg_addr_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
682 ath10k_reg_value_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
713 ath10k_reg_value_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
753 ath10k_mem_value_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
805 ath10k_mem_value_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
905 ath10k_read_htt_stats_mask(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
918 ath10k_write_htt_stats_mask(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
958 ath10k_read_htt_max_amsdu_ampdu(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
978 ath10k_write_htt_max_amsdu_ampdu(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1020 ath10k_read_fw_dbglog(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1034 ath10k_write_fw_dbglog(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1301 ath10k_debug_cal_data_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1318 ath10k_write_ani_enable(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1352 ath10k_read_ani_enable(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1379 ath10k_read_nf_cal_period(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1392 ath10k_write_nf_cal_period(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1676 ath10k_tpc_stats_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
1762 ath10k_write_simulate_radar(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
1797 ath10k_read_dfs_stats(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
2157 ath10k_debug_fw_checksums_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
2212 ath10k_sta_tid_stats_mask_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
2224 ath10k_sta_tid_stats_mask_write(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
2320 ath10k_tpc_stats_final_read(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
2338 ath10k_write_warm_hw_reset(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
2392 ath10k_write_ps_state_enable(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
2436 ath10k_read_ps_state_enable(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
2460 ath10k_write_reset_htt_stats(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/drivers/base/regmap/
H A Dregmap-debugfs.c35 char __user *user_buf, size_t count,
56 ret = simple_read_from_buffer(user_buf, count, ppos, buf, ret);
216 unsigned int to, char __user *user_buf,
272 if (copy_to_user(user_buf, buf, buf_pos)) {
284 static ssize_t regmap_map_read_file(struct file *file, char __user *user_buf, argument
289 return regmap_read_debugfs(map, 0, map->max_register, user_buf,
302 const char __user *user_buf,
313 if (copy_from_user(buf, user_buf, buf_size))
344 static ssize_t regmap_range_read_file(struct file *file, char __user *user_buf, argument
351 user_buf, coun
34 regmap_name_read_file(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
215 regmap_read_debugfs(struct regmap *map, unsigned int from, unsigned int to, char __user *user_buf, size_t count, loff_t *ppos) argument
301 regmap_map_write_file(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
360 regmap_reg_ranges_read_file(struct file *file, char __user *user_buf, size_t count, loff_t *ppos) argument
459 regmap_cache_only_write_file(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
506 regmap_cache_bypass_write_file(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
[all...]
/linux-master/drivers/media/usb/uvc/
H A Duvc_debugfs.c42 static ssize_t uvc_debugfs_stats_read(struct file *file, char __user *user_buf, argument
47 return simple_read_from_buffer(user_buf, nbytes, ppos, buf->data,
/linux-master/arch/powerpc/kernel/
H A Ddawr.c63 const char __user *user_buf,
75 rc = debugfs_write_file_bool(file, user_buf, count, ppos);
62 dawr_write_file_bool(struct file *file, const char __user *user_buf, size_t count, loff_t *ppos) argument
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_debugfs.c44 const char __user *user_buf, size_t size, loff_t *ppos)
56 if (copy_from_user(tmp, user_buf, size)) {
43 kfd_debugfs_hang_hws_write(struct file *file, const char __user *user_buf, size_t size, loff_t *ppos) argument

Completed in 246 milliseconds

12345