Lines Matching refs:ubuf
62 mwifiex_info_read(struct file *file, char __user *ubuf, in mwifiex_info_read() argument
136 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page, in mwifiex_info_read()
166 mwifiex_getlog_read(struct file *file, char __user *ubuf, in mwifiex_getlog_read() argument
223 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page, in mwifiex_getlog_read()
242 mwifiex_histogram_read(struct file *file, char __user *ubuf, in mwifiex_histogram_read() argument
309 ret = simple_read_from_buffer(ubuf, count, ppos, (char *)page, in mwifiex_histogram_read()
316 mwifiex_histogram_write(struct file *file, const char __user *ubuf, in mwifiex_histogram_write() argument
376 mwifiex_debug_read(struct file *file, char __user *ubuf, in mwifiex_debug_read() argument
394 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page, in mwifiex_debug_read()
413 const char __user *ubuf, size_t count, loff_t *ppos) in mwifiex_regrdwr_write() argument
419 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_regrdwr_write()
447 mwifiex_regrdwr_read(struct file *file, char __user *ubuf, in mwifiex_regrdwr_read() argument
474 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_regrdwr_read()
489 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_regrdwr_read()
501 mwifiex_debug_mask_read(struct file *file, char __user *ubuf, in mwifiex_debug_mask_read() argument
516 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_debug_mask_read()
527 mwifiex_debug_mask_write(struct file *file, const char __user *ubuf, in mwifiex_debug_mask_write() argument
535 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_debug_mask_write()
555 mwifiex_verext_write(struct file *file, const char __user *ubuf, in mwifiex_verext_write() argument
565 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count))) in mwifiex_verext_write()
582 mwifiex_verext_read(struct file *file, char __user *ubuf, in mwifiex_verext_read() argument
594 return simple_read_from_buffer(ubuf, count, ppos, buf, ret); in mwifiex_verext_read()
602 mwifiex_memrw_write(struct file *file, const char __user *ubuf, size_t count, in mwifiex_memrw_write() argument
612 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_memrw_write()
649 mwifiex_memrw_read(struct file *file, char __user *ubuf, in mwifiex_memrw_read() argument
662 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_memrw_read()
679 const char __user *ubuf, size_t count, loff_t *ppos) in mwifiex_rdeeprom_write() argument
685 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_rdeeprom_write()
712 mwifiex_rdeeprom_read(struct file *file, char __user *ubuf, in mwifiex_rdeeprom_read() argument
745 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_rdeeprom_read()
755 mwifiex_hscfg_write(struct file *file, const char __user *ubuf, in mwifiex_hscfg_write() argument
765 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_hscfg_write()
814 mwifiex_hscfg_read(struct file *file, char __user *ubuf, in mwifiex_hscfg_read() argument
832 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_hscfg_read()
839 mwifiex_timeshare_coex_read(struct file *file, char __user *ubuf, in mwifiex_timeshare_coex_read() argument
857 return simple_read_from_buffer(ubuf, count, ppos, buf, len); in mwifiex_timeshare_coex_read()
861 mwifiex_timeshare_coex_write(struct file *file, const char __user *ubuf, in mwifiex_timeshare_coex_write() argument
874 if (copy_from_user(&kbuf, ubuf, min_t(size_t, sizeof(kbuf) - 1, count))) in mwifiex_timeshare_coex_write()
890 const char __user *ubuf, size_t count, loff_t *ppos) in mwifiex_reset_write() argument
897 rc = kstrtobool_from_user(ubuf, count, &result); in mwifiex_reset_write()