Lines Matching full:count
29 int count = 0; in reboot_show() local
31 count += sysfs_emit_at(buf, count, in reboot_show()
33 count += sysfs_emit_at(buf, count, " [at-shutdown]\n"); in reboot_show()
34 return count; in reboot_show()
39 const char *buf, size_t count) in reboot_store() argument
95 count = -EINVAL; in reboot_store()
105 count = ret; in reboot_store()
108 return count; in reboot_store()
120 int count = 0; in version_show() local
134 count = ret; in version_show()
141 count += sysfs_emit_at(buf, count, "RO version: %s\n", r_ver->version_string_ro); in version_show()
142 count += sysfs_emit_at(buf, count, "RW version: %s\n", r_ver->version_string_rw); in version_show()
143 count += sysfs_emit_at(buf, count, "Firmware copy: %s\n", in version_show()
152 count += sysfs_emit_at(buf, count, in version_show()
157 count += sysfs_emit_at(buf, count, "Build info: %s\n", msg->data); in version_show()
165 count += sysfs_emit_at(buf, count, in version_show()
174 count += sysfs_emit_at(buf, count, "Chip vendor: %s\n", r_chip->vendor); in version_show()
175 count += sysfs_emit_at(buf, count, "Chip name: %s\n", r_chip->name); in version_show()
176 count += sysfs_emit_at(buf, count, "Chip revision: %s\n", r_chip->revision); in version_show()
184 count += sysfs_emit_at(buf, count, in version_show()
190 count += sysfs_emit_at(buf, count, in version_show()
197 return count; in version_show()
268 const char *buf, size_t count) in kb_wake_angle_store() argument
296 return count; in kb_wake_angle_store()
304 ssize_t count = 0; in usbpdmuxinfo_show() local
324 count += sysfs_emit_at(buf, count, "Port %d:", i); in usbpdmuxinfo_show()
325 count += sysfs_emit_at(buf, count, " USB=%d", in usbpdmuxinfo_show()
327 count += sysfs_emit_at(buf, count, " DP=%d", in usbpdmuxinfo_show()
329 count += sysfs_emit_at(buf, count, " POLARITY=%s", in usbpdmuxinfo_show()
332 count += sysfs_emit_at(buf, count, " HPD_IRQ=%d", in usbpdmuxinfo_show()
334 count += sysfs_emit_at(buf, count, " HPD_LVL=%d", in usbpdmuxinfo_show()
336 count += sysfs_emit_at(buf, count, " SAFE=%d", in usbpdmuxinfo_show()
338 count += sysfs_emit_at(buf, count, " TBT=%d", in usbpdmuxinfo_show()
340 count += sysfs_emit_at(buf, count, " USB4=%d\n", in usbpdmuxinfo_show()
345 return count ? : -EIO; in usbpdmuxinfo_show()