Lines Matching refs:cmdp
81 struct nx_gzip_crb_cpb_t *cmdp, void *handle) in compress_fht_sample() argument
85 assert(!!cmdp); in compress_fht_sample()
87 put32(cmdp->crb, gzip_fc, 0); /* clear */ in compress_fht_sample()
90 putnn(cmdp->crb, gzip_fc, fc); in compress_fht_sample()
91 putnn(cmdp->cpb, in_histlen, 0); /* resuming with no history */ in compress_fht_sample()
92 memset((void *) &cmdp->crb.csb, 0, sizeof(cmdp->crb.csb)); in compress_fht_sample()
98 put32(cmdp->cpb, out_spbc_comp, 0); in compress_fht_sample()
100 put32(cmdp->cpb, out_spbc_comp_with_count, 0); in compress_fht_sample()
103 put64(cmdp->crb, csb_address, 0); in compress_fht_sample()
104 put64(cmdp->crb, csb_address, in compress_fht_sample()
105 (uint64_t) &cmdp->crb.csb & csb_address_mask); in compress_fht_sample()
108 clear_dde(cmdp->crb.source_dde); in compress_fht_sample()
109 putnn(cmdp->crb.source_dde, dde_count, 0); in compress_fht_sample()
110 put32(cmdp->crb.source_dde, ddebc, srclen); in compress_fht_sample()
111 put64(cmdp->crb.source_dde, ddead, (uint64_t) src); in compress_fht_sample()
114 clear_dde(cmdp->crb.target_dde); in compress_fht_sample()
115 putnn(cmdp->crb.target_dde, dde_count, 0); in compress_fht_sample()
116 put32(cmdp->crb.target_dde, ddebc, dstlen); in compress_fht_sample()
117 put64(cmdp->crb.target_dde, ddead, (uint64_t) dst); in compress_fht_sample()
120 return nxu_submit_job(cmdp, handle); in compress_fht_sample()
199 struct nx_gzip_crb_cpb_t *cmdp; in compress_file() local
204 cmdp = (void *)(uintptr_t) in compress_file()
244 memset(&cmdp->crb, 0, sizeof(cmdp->crb)); in compress_file()
247 put32(cmdp->cpb, in_crc, 0); in compress_file()
263 nxu_touch_pages(cmdp, sizeof(struct nx_gzip_crb_cpb_t), pagelen, in compress_file()
271 lzcounts, cmdp, handle); in compress_file()
284 (unsigned long long) cmdp->crb.csb.fsaddr)); in compress_file()
304 spbc = (!lzcounts) ? get32(cmdp->cpb, out_spbc_comp) : in compress_file()
305 get32(cmdp->cpb, out_spbc_comp_with_count); in compress_file()
309 tpbc = get32(cmdp->crb.csb, tpbc); in compress_file()
311 tebc = getnn(cmdp->cpb, out_tebc); in compress_file()
340 crc = get32(cmdp->cpb, out_crc); in compress_file()
341 put32(cmdp->cpb, in_crc, crc); in compress_file()