Lines Matching refs:user_buf
57 static ssize_t tsf_read(struct file *file, char __user *user_buf,
68 return simple_read_from_buffer(user_buf, count, ppos, buf, 19);
72 const char __user *user_buf,
81 if (copy_from_user(buf, user_buf, len))
107 static ssize_t reset_write(struct file *file, const char __user *user_buf,
125 static ssize_t noack_read(struct file *file, char __user *user_buf,
134 return simple_read_from_buffer(user_buf, count, ppos, buf, res);
138 const char __user *user_buf,
146 if (copy_from_user(buf, user_buf, len))
161 static ssize_t uapsd_queues_read(struct file *file, char __user *user_buf,
170 return simple_read_from_buffer(user_buf, count, ppos, buf, res);
174 const char __user *user_buf,
184 if (copy_from_user(buf, user_buf, len))
207 static ssize_t uapsd_max_sp_len_read(struct file *file, char __user *user_buf,
216 return simple_read_from_buffer(user_buf, count, ppos, buf, res);
220 const char __user *user_buf,
230 if (copy_from_user(buf, user_buf, len))
253 static ssize_t channel_type_read(struct file *file, char __user *user_buf,
277 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf));
285 static ssize_t queues_read(struct file *file, char __user *user_buf,
300 return simple_read_from_buffer(user_buf, count, ppos, buf, res);