Lines Matching refs:bcnt
1504 unsigned int pipe, fw_len, fw_done, bcnt, icnt; in pvr2_upload_firmware2() local
1589 bcnt = fw_len - fw_done; in pvr2_upload_firmware2()
1590 if (bcnt > FIRMWARE_CHUNK_SIZE) bcnt = FIRMWARE_CHUNK_SIZE; in pvr2_upload_firmware2()
1591 memcpy(fw_ptr, fw_entry->data + fw_done, bcnt); in pvr2_upload_firmware2()
1604 for (icnt = 0; icnt < bcnt/4 ; icnt++) in pvr2_upload_firmware2()
1607 ret |= usb_bulk_msg(hdw->usb_dev, pipe, fw_ptr,bcnt, in pvr2_upload_firmware2()
1609 ret |= (actual_length != bcnt); in pvr2_upload_firmware2()
1611 fw_done += bcnt; in pvr2_upload_firmware2()
1862 unsigned int bcnt; in pvr2_hdw_setup_std() local
1868 bcnt = pvr2_std_id_to_str(buf,sizeof(buf),hdw->std_mask_eeprom); in pvr2_hdw_setup_std()
1871 bcnt,buf); in pvr2_hdw_setup_std()
1877 bcnt = pvr2_std_id_to_str(buf,sizeof(buf),std2); in pvr2_hdw_setup_std()
1880 bcnt,buf); in pvr2_hdw_setup_std()
1887 bcnt = pvr2_std_id_to_str(buf,sizeof(buf),std1); in pvr2_hdw_setup_std()
1890 bcnt,buf); in pvr2_hdw_setup_std()
1896 bcnt = pvr2_std_id_to_str(buf,sizeof(buf),std3); in pvr2_hdw_setup_std()
1899 bcnt, buf); in pvr2_hdw_setup_std()
1914 bcnt = pvr2_std_id_to_str(buf,sizeof(buf), in pvr2_hdw_setup_std()
1918 bcnt,buf); in pvr2_hdw_setup_std()
2980 unsigned int bcnt,ccnt; in pvr2_hdw_commit_setup() local
2989 bcnt = scnprintf(buf,sizeof(buf),"\"%s\" <-- ", in pvr2_hdw_commit_setup()
2994 buf+bcnt, in pvr2_hdw_commit_setup()
2995 sizeof(buf)-bcnt,&ccnt); in pvr2_hdw_commit_setup()
2996 bcnt += ccnt; in pvr2_hdw_commit_setup()
2997 bcnt += scnprintf(buf+bcnt,sizeof(buf)-bcnt," <%s>", in pvr2_hdw_commit_setup()
3001 bcnt,buf); in pvr2_hdw_commit_setup()
3841 unsigned int ccnt,bcnt; in pvr2_issue_simple_cmd() local
3844 bcnt = 0; in pvr2_issue_simple_cmd()
3845 ccnt = scnprintf(tbuf+bcnt, in pvr2_issue_simple_cmd()
3846 sizeof(tbuf)-bcnt, in pvr2_issue_simple_cmd()
3848 bcnt += ccnt; in pvr2_issue_simple_cmd()
3851 ccnt = scnprintf(tbuf+bcnt, in pvr2_issue_simple_cmd()
3852 sizeof(tbuf)-bcnt, in pvr2_issue_simple_cmd()
3855 bcnt += ccnt; in pvr2_issue_simple_cmd()
3860 ccnt = scnprintf(tbuf+bcnt, in pvr2_issue_simple_cmd()
3861 sizeof(tbuf)-bcnt, in pvr2_issue_simple_cmd()
3863 bcnt += ccnt; in pvr2_issue_simple_cmd()
3865 ccnt = scnprintf(tbuf+bcnt, in pvr2_issue_simple_cmd()
3866 sizeof(tbuf)-bcnt, in pvr2_issue_simple_cmd()
3868 bcnt += ccnt; in pvr2_issue_simple_cmd()
3870 ccnt = scnprintf(tbuf+bcnt, in pvr2_issue_simple_cmd()
3871 sizeof(tbuf)-bcnt, in pvr2_issue_simple_cmd()
3873 bcnt += ccnt; in pvr2_issue_simple_cmd()
3875 pvr2_trace(PVR2_TRACE_INIT,"%.*s",bcnt,tbuf); in pvr2_issue_simple_cmd()
4857 unsigned int bcnt,ccnt,idx; in pvr2_hdw_state_report() local
4858 bcnt = 0; in pvr2_hdw_state_report()
4863 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_hdw_state_report()
4866 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_hdw_state_report()
4869 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_hdw_state_report()
4871 return bcnt; in pvr2_hdw_state_report()