Lines Matching refs:ubuf
74 mwifiex_info_read(struct file *file, char __user *ubuf, in mwifiex_info_read() argument
148 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page, in mwifiex_info_read()
178 mwifiex_getlog_read(struct file *file, char __user *ubuf, in mwifiex_getlog_read() argument
235 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page, in mwifiex_getlog_read()
254 mwifiex_histogram_read(struct file *file, char __user *ubuf, in mwifiex_histogram_read() argument
321 ret = simple_read_from_buffer(ubuf, count, ppos, (char *)page, in mwifiex_histogram_read()
328 mwifiex_histogram_write(struct file *file, const char __user *ubuf, in mwifiex_histogram_write() argument
388 mwifiex_debug_read(struct file *file, char __user *ubuf, in mwifiex_debug_read() argument
406 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page, in mwifiex_debug_read()
425 const char __user *ubuf, size_t count, loff_t *ppos) in mwifiex_regrdwr_write() argument
431 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_regrdwr_write()
459 mwifiex_regrdwr_read(struct file *file, char __user *ubuf, in mwifiex_regrdwr_read() argument
486 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_regrdwr_read()
501 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_regrdwr_read()
513 mwifiex_debug_mask_read(struct file *file, char __user *ubuf, in mwifiex_debug_mask_read() argument
528 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_debug_mask_read()
539 mwifiex_debug_mask_write(struct file *file, const char __user *ubuf, in mwifiex_debug_mask_write() argument
547 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_debug_mask_write()
567 mwifiex_verext_write(struct file *file, const char __user *ubuf, in mwifiex_verext_write() argument
577 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count))) in mwifiex_verext_write()
594 mwifiex_verext_read(struct file *file, char __user *ubuf, in mwifiex_verext_read() argument
606 return simple_read_from_buffer(ubuf, count, ppos, buf, ret); in mwifiex_verext_read()
614 mwifiex_memrw_write(struct file *file, const char __user *ubuf, size_t count, in mwifiex_memrw_write() argument
624 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_memrw_write()
661 mwifiex_memrw_read(struct file *file, char __user *ubuf, in mwifiex_memrw_read() argument
674 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_memrw_read()
691 const char __user *ubuf, size_t count, loff_t *ppos) in mwifiex_rdeeprom_write() argument
697 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_rdeeprom_write()
724 mwifiex_rdeeprom_read(struct file *file, char __user *ubuf, in mwifiex_rdeeprom_read() argument
757 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_rdeeprom_read()
767 mwifiex_hscfg_write(struct file *file, const char __user *ubuf, in mwifiex_hscfg_write() argument
777 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_hscfg_write()
826 mwifiex_hscfg_read(struct file *file, char __user *ubuf, in mwifiex_hscfg_read() argument
844 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_hscfg_read()
851 mwifiex_timeshare_coex_read(struct file *file, char __user *ubuf, in mwifiex_timeshare_coex_read() argument
869 return simple_read_from_buffer(ubuf, count, ppos, buf, len); in mwifiex_timeshare_coex_read()
873 mwifiex_timeshare_coex_write(struct file *file, const char __user *ubuf, in mwifiex_timeshare_coex_write() argument
886 if (copy_from_user(&kbuf, ubuf, min_t(size_t, sizeof(kbuf) - 1, count))) in mwifiex_timeshare_coex_write()
902 const char __user *ubuf, size_t count, loff_t *ppos) in mwifiex_reset_write() argument
909 rc = kstrtobool_from_user(ubuf, count, &result); in mwifiex_reset_write()