Lines Matching refs:cnt
52 size_t cnt = PAGE_SIZE; in nouveau_sysfs_pstate_get() local
75 snappendf(buf, cnt, "%02x:", attr.state); in nouveau_sysfs_pstate_get()
77 snappendf(buf, cnt, "%s:", info.pwrsrc == 0 ? "DC" : in nouveau_sysfs_pstate_get()
90 snappendf(buf, cnt, " %s %d", attr.name, attr.min); in nouveau_sysfs_pstate_get()
92 snappendf(buf, cnt, "-%d", attr.max); in nouveau_sysfs_pstate_get()
93 snappendf(buf, cnt, " %s", attr.unit); in nouveau_sysfs_pstate_get()
98 snappendf(buf, cnt, " AC"); in nouveau_sysfs_pstate_get()
100 snappendf(buf, cnt, " DC"); in nouveau_sysfs_pstate_get()
102 snappendf(buf, cnt, " *"); in nouveau_sysfs_pstate_get()
105 snappendf(buf, cnt, " AC"); in nouveau_sysfs_pstate_get()
107 snappendf(buf, cnt, " DC"); in nouveau_sysfs_pstate_get()
110 snappendf(buf, cnt, "\n"); in nouveau_sysfs_pstate_get()