/drivers/net/wireless/libertas/ |
D | debugfs.c | 32 static ssize_t lbs_dev_info(struct file *file, char __user *userbuf, in lbs_dev_info() argument 48 res = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_dev_info() 95 static ssize_t lbs_sleepparams_read(struct file *file, char __user *userbuf, in lbs_sleepparams_read() argument 116 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_sleepparams_read() 169 static ssize_t lbs_host_sleep_read(struct file *file, char __user *userbuf, in lbs_host_sleep_read() argument 182 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_host_sleep_read() 225 struct file *file, char __user *userbuf, in lbs_threshold_read() argument 265 ret = simple_read_from_buffer(userbuf, count, ppos, buf, pos); in lbs_threshold_read() 278 const char __user *userbuf, size_t count, in lbs_threshold_write() argument 295 if (copy_from_user(buf, userbuf, buf_size)) { in lbs_threshold_write() [all …]
|
/drivers/iommu/ |
D | omap-iommu-debug.c | 33 static ssize_t debug_read_ver(struct file *file, char __user *userbuf, in debug_read_ver() argument 41 return simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in debug_read_ver() 44 static ssize_t debug_read_regs(struct file *file, char __user *userbuf, in debug_read_regs() argument 60 bytes = simple_read_from_buffer(userbuf, count, ppos, buf, bytes); in debug_read_regs() 68 static ssize_t debug_read_tlb(struct file *file, char __user *userbuf, in debug_read_tlb() argument 88 bytes = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in debug_read_tlb() 97 const char __user *userbuf, size_t count, loff_t *ppos) in debug_write_pagetable() argument 109 if (copy_from_user(p, userbuf, count)) { in debug_write_pagetable() 187 static ssize_t debug_read_pagetable(struct file *file, char __user *userbuf, in debug_read_pagetable() argument 208 bytes = simple_read_from_buffer(userbuf, count, ppos, buf, p - buf); in debug_read_pagetable() [all …]
|
/drivers/net/wireless/ti/wlcore/ |
D | debugfs.h | 29 int wl1271_format_buffer(char __user *userbuf, size_t count, 40 static ssize_t name## _read(struct file *file, char __user *userbuf, \ 44 return wl1271_format_buffer(userbuf, count, ppos, \ 73 char __user *userbuf, \ 81 return wl1271_format_buffer(userbuf, count, ppos, fmt "\n", \ 93 char __user *userbuf, \ 107 return wl1271_format_buffer(userbuf, count, ppos, "%s", buf); \
|
D | debugfs.c | 44 int wl1271_format_buffer(char __user *userbuf, size_t count, in wl1271_format_buffer() argument 55 return simple_read_from_buffer(userbuf, count, ppos, buf, res); in wl1271_format_buffer() 90 static ssize_t tx_queue_len_read(struct file *file, char __user *userbuf, in tx_queue_len_read() argument 101 return simple_read_from_buffer(userbuf, count, ppos, buf, res); in tx_queue_len_read() 840 char __user *userbuf, in rx_streaming_interval_read() argument 844 return wl1271_format_buffer(userbuf, count, ppos, in rx_streaming_interval_read() 895 char __user *userbuf, in rx_streaming_always_read() argument 899 return wl1271_format_buffer(userbuf, count, ppos, in rx_streaming_always_read() 955 char __user *userbuf, in fw_stats_raw_read() argument 962 return simple_read_from_buffer(userbuf, count, ppos, in fw_stats_raw_read()
|
/drivers/remoteproc/ |
D | remoteproc_debugfs.c | 47 static ssize_t rproc_trace_read(struct file *filp, char __user *userbuf, in rproc_trace_read() argument 53 return simple_read_from_buffer(userbuf, count, ppos, trace->va, len); in rproc_trace_read() 75 static ssize_t rproc_state_read(struct file *filp, char __user *userbuf, in rproc_state_read() argument 88 return simple_read_from_buffer(userbuf, count, ppos, buf, i); in rproc_state_read() 98 static ssize_t rproc_name_read(struct file *filp, char __user *userbuf, in rproc_name_read() argument 108 return simple_read_from_buffer(userbuf, count, ppos, buf, i); in rproc_name_read() 118 static ssize_t rproc_recovery_read(struct file *filp, char __user *userbuf, in rproc_recovery_read() argument 124 return simple_read_from_buffer(userbuf, count, ppos, buf, strlen(buf)); in rproc_recovery_read()
|
/drivers/video/mbx/ |
D | mbxdebugfs.c | 30 static ssize_t sysconf_read_file(struct file *file, char __user *userbuf, in sysconf_read_file() argument 41 return simple_read_from_buffer(userbuf, count, ppos, in sysconf_read_file() 46 static ssize_t gsctl_read_file(struct file *file, char __user *userbuf, in gsctl_read_file() argument 70 return simple_read_from_buffer(userbuf, count, ppos, in gsctl_read_file() 74 static ssize_t display_read_file(struct file *file, char __user *userbuf, in display_read_file() argument 110 return simple_read_from_buffer(userbuf, count, ppos, in display_read_file() 114 static ssize_t clock_read_file(struct file *file, char __user *userbuf, in clock_read_file() argument 133 return simple_read_from_buffer(userbuf, count, ppos, in clock_read_file() 137 static ssize_t sdram_read_file(struct file *file, char __user *userbuf, in sdram_read_file() argument 155 return simple_read_from_buffer(userbuf, count, ppos, in sdram_read_file() [all …]
|
/drivers/char/ |
D | ps3flash.c | 129 static ssize_t ps3flash_read(char __user *userbuf, void *kernelbuf, in ps3flash_read() argument 141 __func__, __LINE__, count, *pos, userbuf, kernelbuf); in ps3flash_read() 170 __func__, __LINE__, n, src, userbuf, kernelbuf); in ps3flash_read() 171 if (userbuf) { in ps3flash_read() 172 if (copy_to_user(userbuf, src, n)) { in ps3flash_read() 176 userbuf += n; in ps3flash_read() 198 static ssize_t ps3flash_write(const char __user *userbuf, in ps3flash_write() argument 210 __func__, __LINE__, count, *pos, userbuf, kernelbuf); in ps3flash_write() 242 __func__, __LINE__, n, userbuf, kernelbuf, dst); in ps3flash_write() 243 if (userbuf) { in ps3flash_write() [all …]
|
/drivers/bluetooth/ |
D | btmrvl_debugfs.c | 60 static ssize_t btmrvl_hscfgcmd_read(struct file *file, char __user *userbuf, in btmrvl_hscfgcmd_read() argument 70 return simple_read_from_buffer(userbuf, count, ppos, buf, ret); in btmrvl_hscfgcmd_read() 107 static ssize_t btmrvl_pscmd_read(struct file *file, char __user *userbuf, in btmrvl_pscmd_read() argument 116 return simple_read_from_buffer(userbuf, count, ppos, buf, ret); in btmrvl_pscmd_read() 151 static ssize_t btmrvl_hscmd_read(struct file *file, char __user *userbuf, in btmrvl_hscmd_read() argument 160 return simple_read_from_buffer(userbuf, count, ppos, buf, ret); in btmrvl_hscmd_read()
|
/drivers/net/wireless/ti/wl1251/ |
D | debugfs.c | 37 static ssize_t name## _read(struct file *file, char __user *userbuf, \ 45 return simple_read_from_buffer(userbuf, count, ppos, buf, res); \ 71 char __user *userbuf, \ 82 return simple_read_from_buffer(userbuf, count, ppos, buf, res); \ 216 static ssize_t tx_queue_len_read(struct file *file, char __user *userbuf, in tx_queue_len_read() argument 227 return simple_read_from_buffer(userbuf, count, ppos, buf, res); in tx_queue_len_read() 236 static ssize_t tx_queue_status_read(struct file *file, char __user *userbuf, in tx_queue_status_read() argument 249 return simple_read_from_buffer(userbuf, count, ppos, buf, len); in tx_queue_status_read()
|
/drivers/net/wireless/ath/ath5k/ |
D | debug.c | 242 const char __user *userbuf, in write_file_beacon() argument 248 if (copy_from_user(buf, userbuf, min(count, sizeof(buf)))) in write_file_beacon() 273 const char __user *userbuf, in write_file_reset() argument 341 const char __user *userbuf, in write_file_debug() argument 348 if (copy_from_user(buf, userbuf, min(count, sizeof(buf)))) in write_file_debug() 444 const char __user *userbuf, in write_file_antenna() argument 451 if (copy_from_user(buf, userbuf, min(count, sizeof(buf)))) in write_file_antenna() 615 const char __user *userbuf, in write_file_frameerrors() argument 622 if (copy_from_user(buf, userbuf, min(count, sizeof(buf)))) in write_file_frameerrors() 763 const char __user *userbuf, in write_file_ani() argument [all …]
|
/drivers/misc/sgi-gru/ |
D | gruprocfs.c | 120 static ssize_t statistics_write(struct file *file, const char __user *userbuf, in statistics_write() argument 147 const char __user *userbuf, size_t count, loff_t *data) in mcs_statistics_write() argument 160 static ssize_t options_write(struct file *file, const char __user *userbuf, in options_write() argument 167 if (copy_from_user(buf, userbuf, count)) in options_write()
|
/drivers/net/wireless/b43legacy/ |
D | debugfs.c | 200 static ssize_t b43legacy_debugfs_read(struct file *file, char __user *userbuf, in b43legacy_debugfs_read() argument 253 ret = simple_read_from_buffer(userbuf, count, ppos, in b43legacy_debugfs_read() 268 const char __user *userbuf, in b43legacy_debugfs_write() argument 301 if (copy_from_user(buf, userbuf, count)) { in b43legacy_debugfs_write()
|
/drivers/media/pci/ivtv/ |
D | ivtv-udma.h | 29 void __user *userbuf, int size_in_bytes);
|
D | ivtv-udma.c | 103 void __user *userbuf, int size_in_bytes) in ivtv_udma_setup() argument 118 ivtv_udma_get_page_info(&user_dma, (unsigned long)userbuf, size_in_bytes); in ivtv_udma_setup()
|
D | ivtvfb.c | 285 unsigned long ivtv_dest_addr, void __user *userbuf, in ivtvfb_prep_dec_dma_to_device() argument 293 if (ivtv_udma_setup(itv, ivtv_dest_addr, userbuf, size_in_bytes) <= 0) { in ivtvfb_prep_dec_dma_to_device()
|
/drivers/net/wireless/b43/ |
D | debugfs.c | 503 static ssize_t b43_debugfs_read(struct file *file, char __user *userbuf, in b43_debugfs_read() argument 551 ret = simple_read_from_buffer(userbuf, count, ppos, in b43_debugfs_read() 566 const char __user *userbuf, in b43_debugfs_write() argument 599 if (copy_from_user(buf, userbuf, count)) { in b43_debugfs_write()
|
/drivers/iio/imu/ |
D | adis16480.c | 124 char __user *userbuf, size_t count, loff_t *ppos) in adis16480_show_firmware_revision() argument 138 return simple_read_from_buffer(userbuf, count, ppos, buf, len); in adis16480_show_firmware_revision() 149 char __user *userbuf, size_t count, loff_t *ppos) in adis16480_show_firmware_date() argument 168 return simple_read_from_buffer(userbuf, count, ppos, buf, len); in adis16480_show_firmware_date()
|
D | adis16400_core.c | 39 char __user *userbuf, size_t count, loff_t *ppos) in adis16400_show_serial_number() argument 63 return simple_read_from_buffer(userbuf, count, ppos, buf, len); in adis16400_show_serial_number()
|
/drivers/net/wireless/ath/carl9170/ |
D | debug.c | 63 static ssize_t carl9170_debugfs_read(struct file *file, char __user *userbuf, in carl9170_debugfs_read() argument 100 err = simple_read_from_buffer(userbuf, count, ppos, in carl9170_debugfs_read() 114 const char __user *userbuf, size_t count, loff_t *ppos) in carl9170_debugfs_write() argument 140 if (copy_from_user(buf, userbuf, count)) { in carl9170_debugfs_write()
|
/drivers/iio/ |
D | industrialio-core.c | 165 static ssize_t iio_debugfs_read_reg(struct file *file, char __user *userbuf, in iio_debugfs_read_reg() argument 182 return simple_read_from_buffer(userbuf, count, ppos, buf, len); in iio_debugfs_read_reg() 186 const char __user *userbuf, size_t count, loff_t *ppos) in iio_debugfs_write_reg() argument 194 if (copy_from_user(buf, userbuf, count)) in iio_debugfs_write_reg()
|
/drivers/iio/gyro/ |
D | adis16136.c | 74 char __user *userbuf, size_t count, loff_t *ppos) in adis16136_show_serial() argument 102 return simple_read_from_buffer(userbuf, count, ppos, buf, len); in adis16136_show_serial()
|
/drivers/platform/x86/ |
D | thinkpad_acpi.c | 851 const char __user *userbuf, in dispatch_proc_write() argument 867 if (copy_from_user(kernbuf, userbuf, count)) { in dispatch_proc_write()
|