Lines Matching refs:buf
64 fn show(&self, kobj: Arc<dyn KObject>, buf: &mut [u8]) -> Result<usize, SystemError> { in show()
68 return sysfs_emit_str(buf, &format!("{}\n", name)); in show()
93 fn show(&self, kobj: Arc<dyn KObject>, buf: &mut [u8]) -> Result<usize, SystemError> { in show()
97 return sysfs_emit_str(buf, &format!("{}\n", bits_per_pixel)); in show()
195 fn show(&self, kobj: Arc<dyn KObject>, buf: &mut [u8]) -> Result<usize, SystemError> { in show()
199 return sysfs_emit_str(buf, &format!("{},{}\n", var_info.xoffset, var_info.yoffset)); in show()
224 fn show(&self, kobj: Arc<dyn KObject>, buf: &mut [u8]) -> Result<usize, SystemError> { in show()
229 buf, in show()
256 fn show(&self, kobj: Arc<dyn KObject>, buf: &mut [u8]) -> Result<usize, SystemError> { in show()
260 return sysfs_emit_str(buf, &format!("{}\n", fix_info.line_length)); in show()
280 fn show(&self, kobj: Arc<dyn KObject>, buf: &mut [u8]) -> Result<usize, SystemError> { in show()
285 return sysfs_emit_str(buf, &format!("{}\n", var_info.rotate_angle)); in show()
310 fn show(&self, kobj: Arc<dyn KObject>, buf: &mut [u8]) -> Result<usize, SystemError> { in show()
314 return sysfs_emit_str(buf, &format!("{}\n", fb.state() as u8)); in show()