Lines Matching refs:cnt
1457 if (!hdw->hdw_desc->fx2_firmware.cnt) {
1470 hdw->hdw_desc->fx2_firmware.cnt,
1996 unsigned int cnt = 0;
1998 while (src[cnt] && (cnt + 1) < dst_max) {
1999 dst[cnt] = src[cnt];
2000 cnt++;
2002 dst[cnt] = I2C_CLIENT_END;
2003 return cnt;
2139 for (idx = 0; idx < cm->cnt; idx++) {
2144 for (idx = 0; idx < ct->cnt; idx++) {
2160 if (hdw->hdw_desc->fx2_firmware.cnt) {
3616 char *buf,unsigned int cnt)
3621 if (!cnt) break;
3636 if (offs + cnt > hdw->fw_size) cnt = hdw->fw_size - offs;
3638 memcpy(buf,hdw->fw_buffer+offs,cnt);
3641 "Read firmware data offs=%d cnt=%d",
3642 offs,cnt);
3643 ret = cnt;
3951 unsigned int cnt = 1;
3958 cnt += args;
4002 ret = pvr2_send_request(hdw,hdw->cmd_buffer,cnt,NULL,0);