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
570 ret = kstrtou32_from_user(ubuf, count, 10, &versionstrsel); in mwifiex_verext_write()
584 mwifiex_verext_read(struct file *file, char __user *ubuf, in mwifiex_verext_read() argument
596 return simple_read_from_buffer(ubuf, count, ppos, buf, ret); in mwifiex_verext_read()
604 mwifiex_memrw_write(struct file *file, const char __user *ubuf, size_t count, in mwifiex_memrw_write() argument
614 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_memrw_write()
651 mwifiex_memrw_read(struct file *file, char __user *ubuf, in mwifiex_memrw_read() argument
664 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_memrw_read()
681 const char __user *ubuf, size_t count, loff_t *ppos) in mwifiex_rdeeprom_write() argument
687 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_rdeeprom_write()
717 mwifiex_rdeeprom_read(struct file *file, char __user *ubuf, in mwifiex_rdeeprom_read() argument
750 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_rdeeprom_read()
760 mwifiex_hscfg_write(struct file *file, const char __user *ubuf, in mwifiex_hscfg_write() argument
770 buf = memdup_user_nul(ubuf, min(count, (size_t)(PAGE_SIZE - 1))); in mwifiex_hscfg_write()
819 mwifiex_hscfg_read(struct file *file, char __user *ubuf, in mwifiex_hscfg_read() argument
837 ret = simple_read_from_buffer(ubuf, count, ppos, buf, pos); in mwifiex_hscfg_read()
844 mwifiex_timeshare_coex_read(struct file *file, char __user *ubuf, in mwifiex_timeshare_coex_read() argument
862 return simple_read_from_buffer(ubuf, count, ppos, buf, len); in mwifiex_timeshare_coex_read()
866 mwifiex_timeshare_coex_write(struct file *file, const char __user *ubuf, in mwifiex_timeshare_coex_write() argument
876 ret = kstrtobool_from_user(ubuf, count, ×hare_coex); 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()