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) {
3477 char *buf,unsigned int cnt)
3482 if (!cnt) break;
3497 if (offs + cnt > hdw->fw_size) cnt = hdw->fw_size - offs;
3499 memcpy(buf,hdw->fw_buffer+offs,cnt);
3502 "Read firmware data offs=%d cnt=%d",
3503 offs,cnt);
3504 ret = cnt;
3823 unsigned int cnt = 1;
3830 cnt += args;
3874 ret = pvr2_send_request(hdw,hdw->cmd_buffer,cnt,NULL,0);