Lines Matching defs:cnt
1415 if (!hdw->hdw_desc->fx2_firmware.cnt) {
1427 hdw->hdw_desc->fx2_firmware.cnt,
1932 unsigned int cnt = 0;
1934 while (src[cnt] && (cnt + 1) < dst_max) {
1935 dst[cnt] = src[cnt];
1936 cnt++;
1938 dst[cnt] = I2C_CLIENT_END;
1939 return cnt;
2068 for (idx = 0; idx < cm->cnt; idx++) {
2073 for (idx = 0; idx < ct->cnt; idx++) {
2089 if (hdw->hdw_desc->fx2_firmware.cnt) {
3480 char *buf,unsigned int cnt)
3486 if (!cnt) break;
3501 if (offs + cnt > hdw->fw_size) cnt = hdw->fw_size - offs;
3503 memcpy(buf,hdw->fw_buffer+offs,cnt);
3506 "Read firmware data offs=%d cnt=%d",
3507 offs,cnt);
3508 ret = cnt;
3828 unsigned int cnt = 1;
3835 cnt += args;
3879 ret = pvr2_send_request(hdw,hdw->cmd_buffer,cnt,NULL,0);