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()
2976 unsigned int bcnt,ccnt; in pvr2_hdw_commit_setup() local
2985 bcnt = scnprintf(buf,sizeof(buf),"\"%s\" <-- ", in pvr2_hdw_commit_setup()
2990 buf+bcnt, in pvr2_hdw_commit_setup()
2991 sizeof(buf)-bcnt,&ccnt); in pvr2_hdw_commit_setup()
2992 bcnt += ccnt; in pvr2_hdw_commit_setup()
2993 bcnt += scnprintf(buf+bcnt,sizeof(buf)-bcnt," <%s>", in pvr2_hdw_commit_setup()
2997 bcnt,buf); in pvr2_hdw_commit_setup()
3834 unsigned int ccnt,bcnt; in pvr2_issue_simple_cmd() local
3837 bcnt = 0; in pvr2_issue_simple_cmd()
3838 ccnt = scnprintf(tbuf+bcnt, in pvr2_issue_simple_cmd()
3839 sizeof(tbuf)-bcnt, in pvr2_issue_simple_cmd()
3841 bcnt += ccnt; in pvr2_issue_simple_cmd()
3844 ccnt = scnprintf(tbuf+bcnt, in pvr2_issue_simple_cmd()
3845 sizeof(tbuf)-bcnt, in pvr2_issue_simple_cmd()
3848 bcnt += ccnt; in pvr2_issue_simple_cmd()
3853 ccnt = scnprintf(tbuf+bcnt, in pvr2_issue_simple_cmd()
3854 sizeof(tbuf)-bcnt, in pvr2_issue_simple_cmd()
3856 bcnt += ccnt; in pvr2_issue_simple_cmd()
3858 ccnt = scnprintf(tbuf+bcnt, in pvr2_issue_simple_cmd()
3859 sizeof(tbuf)-bcnt, in pvr2_issue_simple_cmd()
3861 bcnt += ccnt; in pvr2_issue_simple_cmd()
3863 ccnt = scnprintf(tbuf+bcnt, in pvr2_issue_simple_cmd()
3864 sizeof(tbuf)-bcnt, in pvr2_issue_simple_cmd()
3866 bcnt += ccnt; in pvr2_issue_simple_cmd()
3868 pvr2_trace(PVR2_TRACE_INIT,"%.*s",bcnt,tbuf); in pvr2_issue_simple_cmd()
4850 unsigned int bcnt,ccnt,idx; in pvr2_hdw_state_report() local
4851 bcnt = 0; in pvr2_hdw_state_report()
4856 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_hdw_state_report()
4859 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_hdw_state_report()
4862 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_hdw_state_report()
4864 return bcnt; in pvr2_hdw_state_report()