/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/net/wireless/ti/wlcore/ |
D | debugfs.h | 29 __printf(4, 5) 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() 856 char __user *userbuf, in rx_streaming_interval_read() argument 860 return wl1271_format_buffer(userbuf, count, ppos, in rx_streaming_interval_read() 911 char __user *userbuf, in rx_streaming_always_read() argument 915 return wl1271_format_buffer(userbuf, count, ppos, in rx_streaming_always_read() 964 char __user *userbuf, in fw_stats_raw_read() argument 971 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/fbdev/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 | 105 static ssize_t ps3flash_read(char __user *userbuf, void *kernelbuf, in ps3flash_read() argument 117 __func__, __LINE__, count, *pos, userbuf, kernelbuf); in ps3flash_read() 146 __func__, __LINE__, n, src, userbuf, kernelbuf); in ps3flash_read() 147 if (userbuf) { in ps3flash_read() 148 if (copy_to_user(userbuf, src, n)) { in ps3flash_read() 152 userbuf += n; in ps3flash_read() 174 static ssize_t ps3flash_write(const char __user *userbuf, in ps3flash_write() argument 186 __func__, __LINE__, count, *pos, userbuf, kernelbuf); in ps3flash_write() 218 __func__, __LINE__, n, userbuf, kernelbuf, dst); in ps3flash_write() 219 if (userbuf) { in ps3flash_write() [all …]
|
/drivers/mailbox/ |
D | mailbox-test.c | 44 const char __user *userbuf, in mbox_test_signal_write() argument 66 ret = copy_from_user(tdev->signal, userbuf, count); in mbox_test_signal_write() 82 const char __user *userbuf, in mbox_test_message_write() argument 105 ret = copy_from_user(tdev->message, userbuf, count); in mbox_test_message_write() 137 static ssize_t mbox_test_message_read(struct file *filp, char __user *userbuf, in mbox_test_message_read() argument 152 ret = simple_read_from_buffer(userbuf, count, ppos, in mbox_test_message_read() 159 ret = simple_read_from_buffer(userbuf, count, ppos, in mbox_test_message_read() 183 ret = simple_read_from_buffer(userbuf, count, ppos, touser, MBOX_HEXDUMP_MAX_LEN); in mbox_test_message_read()
|
/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/staging/wilc1000/ |
D | wilc_debugfs.c | 37 static ssize_t wilc_debug_level_read(struct file *file, char __user *userbuf, size_t count, loff_t … in wilc_debug_level_read() argument 48 return simple_read_from_buffer(userbuf, count, ppos, buf, res); in wilc_debug_level_read() 76 static ssize_t wilc_debug_region_read(struct file *file, char __user *userbuf, size_t count, loff_t… in wilc_debug_region_read() argument 87 return simple_read_from_buffer(userbuf, count, ppos, buf, res); in wilc_debug_region_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 | 244 const char __user *userbuf, in write_file_beacon() argument 251 if (copy_from_user(buf, userbuf, count)) in write_file_beacon() 277 const char __user *userbuf, in write_file_reset() argument 345 const char __user *userbuf, in write_file_debug() argument 353 if (copy_from_user(buf, userbuf, count)) in write_file_debug() 450 const char __user *userbuf, in write_file_antenna() argument 458 if (copy_from_user(buf, userbuf, count)) in write_file_antenna() 623 const char __user *userbuf, in write_file_frameerrors() argument 631 if (copy_from_user(buf, userbuf, count)) in write_file_frameerrors() 773 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 165 ret = kstrtoul_from_user(userbuf, count, 0, &gru_options); 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.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 | ivtv-udma.h | 29 void __user *userbuf, int size_in_bytes);
|
D | ivtvfb.c | 286 unsigned long ivtv_dest_addr, void __user *userbuf, in ivtvfb_prep_dec_dma_to_device() argument 294 if (ivtv_udma_setup(itv, ivtv_dest_addr, userbuf, size_in_bytes) <= 0) { in ivtvfb_prep_dec_dma_to_device()
|
/drivers/iommu/ |
D | omap-iommu-debug.c | 86 static ssize_t debug_read_regs(struct file *file, char __user *userbuf, in debug_read_regs() argument 106 bytes = simple_read_from_buffer(userbuf, count, ppos, buf, bytes); in debug_read_regs()
|
/drivers/iio/imu/ |
D | adis16480.c | 128 char __user *userbuf, size_t count, loff_t *ppos) in adis16480_show_firmware_revision() argument 142 return simple_read_from_buffer(userbuf, count, ppos, buf, len); in adis16480_show_firmware_revision() 153 char __user *userbuf, size_t count, loff_t *ppos) in adis16480_show_firmware_date() argument 172 return simple_read_from_buffer(userbuf, count, ppos, buf, len); in adis16480_show_firmware_date()
|
D | adis16400_core.c | 40 char __user *userbuf, size_t count, loff_t *ppos) in adis16400_show_serial_number() argument 64 return simple_read_from_buffer(userbuf, count, ppos, buf, len); in adis16400_show_serial_number()
|
/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/net/wireless/ath/carl9170/ |
D | debug.c | 62 static ssize_t carl9170_debugfs_read(struct file *file, char __user *userbuf, in carl9170_debugfs_read() argument 99 err = simple_read_from_buffer(userbuf, count, ppos, in carl9170_debugfs_read() 113 const char __user *userbuf, size_t count, loff_t *ppos) in carl9170_debugfs_write() argument 139 if (copy_from_user(buf, userbuf, count)) { in carl9170_debugfs_write()
|
/drivers/char/xillybus/ |
D | xillybus_core.c | 667 static ssize_t xillybus_read(struct file *filp, char __user *userbuf, in xillybus_read() argument 757 userbuf, in xillybus_read() 762 userbuf += howmany; in xillybus_read() 1182 static ssize_t xillybus_write(struct file *filp, const char __user *userbuf, in xillybus_write() argument 1305 userbuf, howmany)) in xillybus_write() 1308 userbuf += howmany; in xillybus_write()
|
/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/iio/ |
D | industrialio-core.c | 212 static ssize_t iio_debugfs_read_reg(struct file *file, char __user *userbuf, in iio_debugfs_read_reg() argument 231 return simple_read_from_buffer(userbuf, count, ppos, buf, len); in iio_debugfs_read_reg() 235 const char __user *userbuf, size_t count, loff_t *ppos) in iio_debugfs_write_reg() argument 243 if (copy_from_user(buf, userbuf, count)) in iio_debugfs_write_reg()
|
/drivers/net/wireless/ti/wl18xx/ |
D | debugfs.c | 333 char __user *userbuf, in dynamic_fw_traces_read() argument 337 return wl1271_format_buffer(userbuf, count, ppos, in dynamic_fw_traces_read()
|