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
312 ret = simple_read_from_buffer(ubuf, count, ppos, (char *)page, in mwifiex_histogram_read()
321 mwifiex_histogram_write(struct file *file, const char __user *ubuf, in mwifiex_histogram_write() argument
381 mwifiex_debug_read(struct file *file, char __user *ubuf, in mwifiex_debug_read() argument
399 ret = simple_read_from_buffer(ubuf, count, ppos, (char *) page, in mwifiex_debug_read()
418 const char __user *ubuf, size_t count, loff_t *ppos) in mwifiex_regrdwr_write() argument
424 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_regrdwr_write()
455 mwifiex_regrdwr_read(struct file *file, char __user *ubuf, in mwifiex_regrdwr_read() argument
482 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_regrdwr_read()
497 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_regrdwr_read()
509 mwifiex_debug_mask_read(struct file *file, char __user *ubuf, in mwifiex_debug_mask_read() argument
524 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_debug_mask_read()
535 mwifiex_debug_mask_write(struct file *file, const char __user *ubuf, in mwifiex_debug_mask_write() argument
543 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_debug_mask_write()
563 mwifiex_verext_write(struct file *file, const char __user *ubuf, in mwifiex_verext_write() argument
573 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count))) in mwifiex_verext_write()
590 mwifiex_verext_read(struct file *file, char __user *ubuf, in mwifiex_verext_read() argument
602 return simple_read_from_buffer(ubuf, count, ppos, buf, ret); in mwifiex_verext_read()
610 mwifiex_memrw_write(struct file *file, const char __user *ubuf, size_t count, in mwifiex_memrw_write() argument
620 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_memrw_write()
657 mwifiex_memrw_read(struct file *file, char __user *ubuf, in mwifiex_memrw_read() argument
670 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_memrw_read()
687 const char __user *ubuf, size_t count, loff_t *ppos) in mwifiex_rdeeprom_write() argument
693 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_rdeeprom_write()
723 mwifiex_rdeeprom_read(struct file *file, char __user *ubuf, in mwifiex_rdeeprom_read() argument
756 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_rdeeprom_read()
766 mwifiex_hscfg_write(struct file *file, const char __user *ubuf, in mwifiex_hscfg_write() argument
776 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_hscfg_write()
825 mwifiex_hscfg_read(struct file *file, char __user *ubuf, in mwifiex_hscfg_read() argument
843 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_hscfg_read()
850 mwifiex_timeshare_coex_read(struct file *file, char __user *ubuf, in mwifiex_timeshare_coex_read() argument
868 return simple_read_from_buffer(ubuf, count, ppos, buf, len); in mwifiex_timeshare_coex_read()
872 mwifiex_timeshare_coex_write(struct file *file, const char __user *ubuf, in mwifiex_timeshare_coex_write() argument
885 if (copy_from_user(&kbuf, ubuf, min_t(size_t, sizeof(kbuf) - 1, count))) in mwifiex_timeshare_coex_write()
901 const char __user *ubuf, size_t count, loff_t *ppos) in mwifiex_reset_write() argument
908 rc = kstrtobool_from_user(ubuf, count, &result); in mwifiex_reset_write()