Lines Matching refs:bcnt
197 unsigned int bcnt, ccnt, ecnt; in show_enum() local
200 bcnt = 0; in show_enum()
202 pvr2_ctrl_get_valname(cip->cptr, val, buf + bcnt, in show_enum()
203 PAGE_SIZE - bcnt, &ccnt); in show_enum()
205 bcnt += ccnt; in show_enum()
206 if (bcnt >= PAGE_SIZE) break; in show_enum()
207 buf[bcnt] = '\n'; in show_enum()
208 bcnt++; in show_enum()
212 return bcnt; in show_enum()
221 unsigned int bcnt, ccnt; in show_bits() local
224 bcnt = 0; in show_bits()
228 pvr2_ctrl_get_valname(cip->cptr, msk, buf + bcnt, in show_bits()
229 PAGE_SIZE - bcnt, &ccnt); in show_bits()
230 bcnt += ccnt; in show_bits()
231 if (bcnt >= PAGE_SIZE) break; in show_bits()
232 buf[bcnt] = '\n'; in show_bits()
233 bcnt++; in show_bits()
237 return bcnt; in show_bits()