Lines Matching refs:cmdp

246 			 struct nx_gzip_crb_cpb_t *cmdp, void *handle)  in nx_submit_job()  argument
250 memset((void *)&cmdp->crb.csb, 0, sizeof(cmdp->crb.csb)); in nx_submit_job()
252 cmdp->crb.source_dde = *src; in nx_submit_job()
253 cmdp->crb.target_dde = *dst; in nx_submit_job()
256 csbaddr = ((uint64_t) &cmdp->crb.csb) & csb_address_mask; in nx_submit_job()
257 put64(cmdp->crb, csb_address, csbaddr); in nx_submit_job()
260 cmdp->cpb.out_spbc_comp_wrap = 0; in nx_submit_job()
261 cmdp->cpb.out_spbc_comp_with_count = 0; in nx_submit_job()
262 cmdp->cpb.out_spbc_decomp = 0; in nx_submit_job()
265 put32(cmdp->cpb, out_crc, INIT_CRC); in nx_submit_job()
266 put32(cmdp->cpb, out_adler, INIT_ADLER); in nx_submit_job()
269 return nxu_submit_job(cmdp, handle); in nx_submit_job()
294 struct nx_gzip_crb_cpb_t cmd, *cmdp; in decompress_file() local
412 cmdp = &cmd; in decompress_file()
413 memset(&cmdp->crb, 0, sizeof(cmdp->crb)); in decompress_file()
553 cmdp->cpb.in_crc = cmdp->cpb.out_crc; in decompress_file()
554 cmdp->cpb.in_adler = cmdp->cpb.out_adler; in decompress_file()
558 putnn(cmdp->cpb, in_histlen, history_len); in decompress_file()
583 cmdp->cpb.in_histlen = 0; in decompress_file()
586 put32(cmdp->cpb, in_crc, INIT_CRC); in decompress_file()
587 put32(cmdp->cpb, in_adler, INIT_ADLER); in decompress_file()
588 put32(cmdp->cpb, out_crc, INIT_CRC); in decompress_file()
589 put32(cmdp->cpb, out_adler, INIT_ADLER); in decompress_file()
600 cmdp->crb.gzip_fc = 0; in decompress_file()
601 putnn(cmdp->crb, gzip_fc, fc); in decompress_file()
692 nxu_touch_pages(cmdp, sizeof(struct nx_gzip_crb_cpb_t), page_sz, 1); in decompress_file()
697 cc = nx_submit_job(ddl_in, ddl_out, cmdp, devhandle); in decompress_file()
708 (void *)cmdp->crb.csb.fsaddr)); in decompress_file()
740 nx_ce = get_csb_ce_ms3b(cmdp->crb.csb); in decompress_file()
747 sfbt = getnn(cmdp->cpb, out_sfbt); /* Table 6-4 */ in decompress_file()
748 subc = getnn(cmdp->cpb, out_subc); /* Table 6-4 */ in decompress_file()
749 spbc = get32(cmdp->cpb, out_spbc_decomp); in decompress_file()
750 tpbc = get32(cmdp->crb.csb, tpbc); in decompress_file()
779 spbc = get32(cmdp->cpb, out_spbc_decomp); in decompress_file()
780 tpbc = get32(cmdp->crb.csb, tpbc); in decompress_file()
834 cmdp->cpb.in_subc = 0; in decompress_file()
835 cmdp->cpb.in_sfbt = 0; in decompress_file()
836 putnn(cmdp->cpb, in_subc, subc % 8); in decompress_file()
837 putnn(cmdp->cpb, in_sfbt, sfbt); in decompress_file()
838 putnn(cmdp->cpb, in_rembytecnt, getnn(cmdp->cpb, in decompress_file()
848 cmdp->cpb.in_subc = 0; in decompress_file()
849 cmdp->cpb.in_sfbt = 0; in decompress_file()
850 putnn(cmdp->cpb, in_subc, subc % 8); in decompress_file()
851 putnn(cmdp->cpb, in_sfbt, sfbt); in decompress_file()
860 cmdp->cpb.in_subc = 0; in decompress_file()
861 cmdp->cpb.in_sfbt = 0; in decompress_file()
862 putnn(cmdp->cpb, in_subc, subc % 8); in decompress_file()
863 putnn(cmdp->cpb, in_sfbt, sfbt); in decompress_file()
865 dhtlen = getnn(cmdp->cpb, out_dhtlen); in decompress_file()
866 putnn(cmdp->cpb, in_dhtlen, dhtlen); in decompress_file()
874 cmdp->cpb.in_dht[dhtlen] = cmdp->cpb.out_dht[dhtlen]; in decompress_file()
888 cmdp->cpb.in_subc = 0; in decompress_file()
889 cmdp->cpb.in_sfbt = 0; in decompress_file()
890 putnn(cmdp->cpb, in_subc, subc % 8); in decompress_file()
891 putnn(cmdp->cpb, in_sfbt, sfbt); in decompress_file()
954 cmdp->cpb.out_crc, (uint32_t) (total_out in decompress_file()
965 if (cksum == cmdp->cpb.out_crc && isize == (uint32_t) in decompress_file()