Lines Matching refs:cnt
156 unsigned int cnt = 0; in show_def() local
161 buf, PAGE_SIZE - 1, &cnt); in show_def()
163 cip->chptr, cip->ctl_id, cnt, buf, val); in show_def()
164 buf[cnt] = '\n'; in show_def()
165 return cnt + 1; in show_def()
175 unsigned int cnt = 0; in show_val_norm() local
180 buf, PAGE_SIZE - 1, &cnt); in show_val_norm()
182 cip->chptr, cip->ctl_id, cnt, buf, val); in show_val_norm()
183 buf[cnt] = '\n'; in show_val_norm()
184 return cnt+1; in show_val_norm()
194 unsigned int cnt = 0; in show_val_custom() local
199 buf, PAGE_SIZE - 1, &cnt); in show_val_custom()
201 cip->chptr, cip->ctl_id, cnt, buf, val); in show_val_custom()
202 buf[cnt] = '\n'; in show_val_custom()
203 return cnt+1; in show_val_custom()
305 unsigned int cnt,acnt; in pvr2_sysfs_add_control() local
404 cnt = scnprintf(cip->name,sizeof(cip->name)-1,"ctl_%s", in pvr2_sysfs_add_control()
406 cip->name[cnt] = 0; in pvr2_sysfs_add_control()
483 unsigned int idx,cnt; in pvr2_sysfs_add_controls() local
484 cnt = pvr2_hdw_get_ctrl_count(sfp->channel.hdw); in pvr2_sysfs_add_controls()
485 for (idx = 0; idx < cnt; idx++) { in pvr2_sysfs_add_controls()