Lines Matching full:count
28 int count = 0; in reboot_show() local
30 count += sysfs_emit_at(buf, count, in reboot_show()
32 count += sysfs_emit_at(buf, count, " [at-shutdown]\n"); in reboot_show()
33 return count; in reboot_show()
38 const char *buf, size_t count) in reboot_store() argument
94 count = -EINVAL; in reboot_store()
104 count = ret; in reboot_store()
107 return count; in reboot_store()
119 int count = 0; in version_show() local
133 count = ret; in version_show()
140 count += sysfs_emit_at(buf, count, "RO version: %s\n", r_ver->version_string_ro); in version_show()
141 count += sysfs_emit_at(buf, count, "RW version: %s\n", r_ver->version_string_rw); in version_show()
142 count += sysfs_emit_at(buf, count, "Firmware copy: %s\n", in version_show()
151 count += sysfs_emit_at(buf, count, in version_show()
156 count += sysfs_emit_at(buf, count, "Build info: %s\n", msg->data); in version_show()
164 count += sysfs_emit_at(buf, count, in version_show()
173 count += sysfs_emit_at(buf, count, "Chip vendor: %s\n", r_chip->vendor); in version_show()
174 count += sysfs_emit_at(buf, count, "Chip name: %s\n", r_chip->name); in version_show()
175 count += sysfs_emit_at(buf, count, "Chip revision: %s\n", r_chip->revision); in version_show()
183 count += sysfs_emit_at(buf, count, in version_show()
189 count += sysfs_emit_at(buf, count, in version_show()
196 return count; in version_show()
267 const char *buf, size_t count) in kb_wake_angle_store() argument
295 return count; in kb_wake_angle_store()
303 ssize_t count = 0; in usbpdmuxinfo_show() local
323 count += sysfs_emit_at(buf, count, "Port %d:", i); in usbpdmuxinfo_show()
324 count += sysfs_emit_at(buf, count, " USB=%d", in usbpdmuxinfo_show()
326 count += sysfs_emit_at(buf, count, " DP=%d", in usbpdmuxinfo_show()
328 count += sysfs_emit_at(buf, count, " POLARITY=%s", in usbpdmuxinfo_show()
331 count += sysfs_emit_at(buf, count, " HPD_IRQ=%d", in usbpdmuxinfo_show()
333 count += sysfs_emit_at(buf, count, " HPD_LVL=%d", in usbpdmuxinfo_show()
335 count += sysfs_emit_at(buf, count, " SAFE=%d", in usbpdmuxinfo_show()
337 count += sysfs_emit_at(buf, count, " TBT=%d", in usbpdmuxinfo_show()
339 count += sysfs_emit_at(buf, count, " USB4=%d\n", in usbpdmuxinfo_show()
344 return count ? : -EIO; in usbpdmuxinfo_show()