Home
last modified time | relevance | path

Searched refs:user_buf (Results 1 – 21 of 21) sorted by relevance

/freebsd-14.2/sys/contrib/dev/athk/ath10k/
H A Ddebug.c192 char __user *user_buf, in ath10k_read_wmi_services() argument
503 char __user *user_buf, in ath10k_debug_fw_reset_stats_read() argument
675 char __user *user_buf, in ath10k_reg_addr_read() argument
723 char __user *user_buf, in ath10k_reg_value_read() argument
794 char __user *user_buf, in ath10k_mem_value_read() argument
946 char __user *user_buf, in ath10k_read_htt_stats_mask() argument
1028 user_buf, count); in ath10k_write_htt_max_amsdu_ampdu()
1061 char __user *user_buf, in ath10k_read_fw_dbglog() argument
1085 user_buf, count); in ath10k_write_fw_dbglog()
1342 char __user *user_buf, in ath10k_debug_cal_data_read() argument
[all …]
H A Ddebugfs_sta.c176 char __user *user_buf, in ath10k_dbg_sta_read_aggr_mode() argument
238 const char __user *user_buf, in ath10k_dbg_sta_write_addba() argument
249 user_buf, count); in ath10k_dbg_sta_write_addba()
300 user_buf, count); in ath10k_dbg_sta_write_addba_resp()
339 const char __user *user_buf, in ath10k_dbg_sta_write_delba() argument
350 user_buf, count); in ath10k_dbg_sta_write_delba()
390 char __user *user_buf, in ath10k_dbg_sta_read_peer_debug_trigger() argument
410 const char __user *user_buf, in ath10k_dbg_sta_write_peer_debug_trigger() argument
453 char __user *user_buf, in ath10k_dbg_sta_read_peer_ps_state() argument
563 char __user *user_buf, in ath10k_dbg_sta_read_tid_stats() argument
[all …]
H A Dspectral.c298 return simple_read_from_buffer(user_buf, count, ppos, mode, len); in read_file_spec_scan_ctl()
302 const char __user *user_buf, in write_file_spec_scan_ctl() argument
311 if (copy_from_user(buf, user_buf, len)) in write_file_spec_scan_ctl()
365 char __user *user_buf, in read_file_spectral_count() argument
378 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_spectral_count()
382 const char __user *user_buf, in write_file_spectral_count() argument
391 if (copy_from_user(buf, user_buf, len)) in write_file_spectral_count()
417 char __user *user_buf, in read_file_spectral_bins() argument
434 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in read_file_spectral_bins()
438 const char __user *user_buf, in write_file_spectral_bins() argument
[all …]
/freebsd-14.2/sys/contrib/dev/iwlwifi/mvm/
H A Ddebugfs.c23 char __user *user_buf, in iwl_dbgfs_ctdp_budget_read() argument
212 char __user *user_buf, in iwl_dbgfs_set_nic_temperature_read() argument
279 char __user *user_buf, in iwl_dbgfs_nic_temp_read() argument
346 char __user *user_buf, in iwl_dbgfs_wifi_6e_enable_read() argument
399 char __user *user_buf, in iwl_dbgfs_rs_data_read() argument
475 char __user *user_buf, in iwl_dbgfs_amsdu_len_read() argument
490 char __user *user_buf, in iwl_dbgfs_disable_power_off_read() argument
933 char __user *user_buf, in iwl_dbgfs_phy_integration_ver_read() argument
1273 char __user *user_buf, in iwl_dbgfs_scan_ant_rxchain_read() argument
1521 char __user *user_buf, in iwl_dbgfs_fw_dbg_conf_read() argument
[all …]
H A Ddebugfs-vif.c139 char __user *user_buf, in iwl_dbgfs_tx_pwr_lmt_read() argument
150 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_tx_pwr_lmt_read()
154 char __user *user_buf, in iwl_dbgfs_pm_params_read() argument
166 return simple_read_from_buffer(user_buf, count, ppos, buf, pos); in iwl_dbgfs_pm_params_read()
170 char __user *user_buf, in iwl_dbgfs_mac_params_read() argument
396 char __user *user_buf, in iwl_dbgfs_bf_params_read() argument
445 char __user *user_buf, in iwl_dbgfs_os_device_timediff_read() argument
524 char __user *user_buf, in iwl_dbgfs_low_latency_read() argument
552 char __user *user_buf, in iwl_dbgfs_uapsd_misbehaving_read() argument
622 char __user *user_buf, in iwl_dbgfs_rx_phyinfo_read() argument
[all …]
H A Ddebugfs.h15 const char __user *user_buf, \
22 if (copy_from_user(buf, user_buf, buf_size)) \
H A Dd3.c3239 static ssize_t iwl_mvm_d3_test_read(struct file *file, char __user *user_buf, in iwl_mvm_d3_test_read() argument
/freebsd-14.2/sys/contrib/dev/athk/ath11k/
H A Ddebugfs_sta.c135 char __user *user_buf, in ath11k_dbg_sta_dump_tx_stats() argument
242 char __user *user_buf, in ath11k_dbg_sta_dump_rx_stats() argument
391 char __user *user_buf, in ath11k_dbg_sta_read_htt_peer_stats() argument
479 const char __user *user_buf, in ath11k_dbg_sta_write_delba() argument
490 user_buf, count); in ath11k_dbg_sta_write_delba()
541 user_buf, count); in ath11k_dbg_sta_write_addba_resp()
591 user_buf, count); in ath11k_dbg_sta_write_addba()
631 char __user *user_buf, in ath11k_dbg_sta_read_aggr_mode() argument
696 const char __user *user_buf, in ath11k_write_htt_peer_stats_reset() argument
755 char __user *user_buf, in ath11k_dbg_sta_read_peer_ps_state() argument
[all …]
H A Ddebugfs.c299 char __user *user_buf, in ath11k_read_pdev_stats() argument
370 char __user *user_buf, in ath11k_read_vdev_stats() argument
454 char __user *user_buf, in ath11k_read_bcn_stats() argument
472 char __user *user_buf, in ath11k_read_simulate_fw_crash() argument
778 char __user *user_buf, in ath11k_debugfs_dump_soc_dp_stats() argument
866 user_buf, count); in ath11k_write_fw_dbglog()
943 char __user *user_buf, in ath11k_read_sram_dump() argument
1242 char __user *user_buf, in ath11k_debug_dump_dbr_entries() argument
1405 const char __user *user_buf, in ath11k_write_ps_timekeeper_enable() argument
1436 char __user *user_buf, in ath11k_read_ps_timekeeper_enable() argument
[all …]
H A Dspectral.c269 char __user *user_buf, in ath11k_read_file_spec_scan_ctl() argument
298 const char __user *user_buf, in ath11k_write_file_spec_scan_ctl() argument
307 if (copy_from_user(buf, user_buf, len)) in ath11k_write_file_spec_scan_ctl()
363 char __user *user_buf, in ath11k_read_file_spectral_count() argument
376 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_read_file_spectral_count()
380 const char __user *user_buf, in ath11k_write_file_spectral_count() argument
389 if (copy_from_user(buf, user_buf, len)) in ath11k_write_file_spectral_count()
415 char __user *user_buf, in ath11k_read_file_spectral_bins() argument
431 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_read_file_spectral_bins()
435 const char __user *user_buf, in ath11k_write_file_spectral_bins() argument
[all …]
H A Ddebugfs_htt_stats.c4605 char __user *user_buf, in ath11k_read_htt_stats_type() argument
4614 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_read_htt_stats_type()
4618 const char __user *user_buf, in ath11k_write_htt_stats_type() argument
4625 ret = kstrtou8_from_user(user_buf, count, 0, &type); in ath11k_write_htt_stats_type()
4816 char __user *user_buf, in ath11k_read_htt_stats() argument
4825 return simple_read_from_buffer(user_buf, count, ppos, buf, length); in ath11k_read_htt_stats()
4837 char __user *user_buf, in ath11k_read_htt_stats_reset() argument
4846 return simple_read_from_buffer(user_buf, count, ppos, buf, len); in ath11k_read_htt_stats_reset()
4850 const char __user *user_buf, in ath11k_write_htt_stats_reset() argument
4858 ret = kstrtou8_from_user(user_buf, count, 0, &type); in ath11k_write_htt_stats_reset()
/freebsd-14.2/sys/kern/
H A Dsys_getrandom.c49 kern_getrandom(struct thread *td, void *user_buf, size_t buflen, in kern_getrandom() argument
100 aiov.iov_base = user_buf; in kern_getrandom()
/freebsd-14.2/sys/contrib/dev/iwlwifi/fw/
H A Ddebugfs.c37 char __user *user_buf, \
51 return simple_read_from_buffer(user_buf, count, ppos, \
74 const char __user *user_buf, \
82 if (copy_from_user(buf, user_buf, buf_size)) \
/freebsd-14.2/sys/contrib/dev/rtw89/
H A Ddebug.c142 const char __user *user_buf, in rtw89_debug_priv_read_reg_select() argument
154 if (copy_from_user(buf, user_buf, buf_size)) in rtw89_debug_priv_read_reg_select()
220 const char __user *user_buf, in rtw89_debug_priv_write_reg_set() argument
264 const char __user *user_buf, in rtw89_debug_priv_read_rf_select() argument
319 const char __user *user_buf, in rtw89_debug_priv_write_rf_set() argument
661 const char __user *user_buf, in rtw89_debug_priv_mac_reg_dump_select() argument
778 const char __user *user_buf, in rtw89_debug_priv_mac_mem_dump_select() argument
885 const char __user *user_buf, in rtw89_debug_priv_mac_dbg_port_dump_select() argument
3020 buf = memdup_user(user_buf, count); in rtw89_hex2bin_user()
3044 const char __user *user_buf, in rtw89_debug_priv_send_h2c_set() argument
[all …]
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7915/
H A Ddebugfs.c49 mt7915_sys_recovery_set(struct file *file, const char __user *user_buf, in mt7915_sys_recovery_set() argument
62 if (copy_from_user(buf, user_buf, count)) in mt7915_sys_recovery_set()
125 mt7915_sys_recovery_get(struct file *file, char __user *user_buf, in mt7915_sys_recovery_get() argument
199 ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc); in mt7915_sys_recovery_get()
972 mt7915_rate_txpower_get(struct file *file, char __user *user_buf, in mt7915_rate_txpower_get() argument
1041 ret = simple_read_from_buffer(user_buf, count, ppos, buf, len); in mt7915_rate_txpower_get()
1049 mt7915_rate_txpower_set(struct file *file, const char __user *user_buf, in mt7915_rate_txpower_set() argument
1067 if (copy_from_user(buf, user_buf, count)) in mt7915_rate_txpower_set()
1315 const char __user *user_buf, in mt7915_sta_fixed_rate_set() argument
1331 if (copy_from_user(buf, user_buf, count)) in mt7915_sta_fixed_rate_set()
/freebsd-14.2/sys/contrib/dev/iwlwifi/pcie/
H A Dtrans.c2712 char __user *user_buf, in iwl_dbgfs_rx_queue_read() argument
2763 char __user *user_buf, in iwl_dbgfs_interrupt_read() argument
2821 const char __user *user_buf, in iwl_dbgfs_interrupt_write() argument
2840 const char __user *user_buf, in iwl_dbgfs_csr_write() argument
2851 char __user *user_buf, in iwl_dbgfs_fh_reg_read() argument
2869 char __user *user_buf, in iwl_dbgfs_rfkill_read() argument
2886 const char __user *user_buf, in iwl_dbgfs_rfkill_write() argument
2947 *size -= copy_to_user(user_buf, buf, *size); in iwl_write_to_user_buf()
2956 char __user *user_buf, in iwl_dbgfs_monitor_data_read() argument
2993 b_full = iwl_write_to_user_buf(user_buf, count, in iwl_dbgfs_monitor_data_read()
[all …]
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7996/
H A Ddebugfs.c51 mt7996_sys_recovery_set(struct file *file, const char __user *user_buf, in mt7996_sys_recovery_set() argument
64 if (copy_from_user(buf, user_buf, count)) in mt7996_sys_recovery_set()
126 mt7996_sys_recovery_get(struct file *file, char __user *user_buf, in mt7996_sys_recovery_get() argument
208 ret = simple_read_from_buffer(user_buf, count, ppos, buff, desc); in mt7996_sys_recovery_get()
889 const char __user *user_buf, in mt7996_sta_fixed_rate_set() argument
905 if (copy_from_user(buf, user_buf, count)) in mt7996_sta_fixed_rate_set()
/freebsd-14.2/sys/dev/mpi3mr/
H A Dmpi3mr_app.h228 void *user_buf; member
H A Dmpi3mr_app.c578 error = copyin(((U8 *)dma_buffers->user_buf + copied_len), in mpi3mr_map_data_buffer_dma()
873 dma_buff->user_buf = buf_entries->buffer; in mpi3mr_app_mptcmds()
969 if (copyin(dma_buff->user_buf, dma_buff->kern_buf, tmplen)) { in mpi3mr_app_mptcmds()
1132 if (copyout(mpirepbuf, dma_buff->user_buf, tmplen)) { in mpi3mr_app_mptcmds()
1144 if (copyout(kern_erb, dma_buff->user_buf, tmplen)) { in mpi3mr_app_mptcmds()
1155 if (copyout(dma_buff->kern_buf, dma_buff->user_buf,dma_buff->kern_buf_len)) { in mpi3mr_app_mptcmds()
1165 (U8 *)dma_buff->user_buf+tmplen, in mpi3mr_app_mptcmds()
/freebsd-14.2/sys/dev/smartpqi/
H A Dsmartpqi_prototypes.h177 void pqisrc_print_buffer(pqisrc_softstate_t *softs, char *msg, void *user_buf, uint32_t total_len, …
H A Dsmartpqi_request.c1668 pqisrc_print_buffer(pqisrc_softstate_t *softs, char *msg, void *user_buf, in pqisrc_print_buffer() argument
1679 if (user_buf == NULL) in pqisrc_print_buffer()
1703 this_char = *((char*)(user_buf) + buf_consumed); in pqisrc_print_buffer()