zip_cmd 54 drivers/crypto/cavium/zip/zip_deflate.c struct zip_state *s, union zip_inst_s *zip_cmd) zip_cmd 58 drivers/crypto/cavium/zip/zip_deflate.c memset(zip_cmd, 0, sizeof(s->zip_cmd)); zip_cmd 63 drivers/crypto/cavium/zip/zip_deflate.c zip_cmd->s.hg = 0; zip_cmd 65 drivers/crypto/cavium/zip/zip_deflate.c zip_cmd->s.ce = 1; zip_cmd 67 drivers/crypto/cavium/zip/zip_deflate.c zip_cmd->s.sf = 1; zip_cmd 70 drivers/crypto/cavium/zip/zip_deflate.c zip_cmd->s.ef = 1; zip_cmd 71 drivers/crypto/cavium/zip/zip_deflate.c zip_cmd->s.sf = 0; zip_cmd 74 drivers/crypto/cavium/zip/zip_deflate.c zip_cmd->s.cc = zip_ops->ccode; zip_cmd 76 drivers/crypto/cavium/zip/zip_deflate.c zip_cmd->s.ss = zip_ops->speed; zip_cmd 80 drivers/crypto/cavium/zip/zip_deflate.c zip_cmd->s.adlercrc32 = zip_ops->csum; zip_cmd 81 drivers/crypto/cavium/zip/zip_deflate.c zip_cmd->s.historylength = zip_ops->history_len; zip_cmd 82 drivers/crypto/cavium/zip/zip_deflate.c zip_cmd->s.dg = 0; zip_cmd 85 drivers/crypto/cavium/zip/zip_deflate.c zip_cmd->s.inp_ptr_addr.s.addr = __pa(zip_ops->input); zip_cmd 86 drivers/crypto/cavium/zip/zip_deflate.c zip_cmd->s.inp_ptr_ctl.s.length = (zip_ops->input_len + zip_cmd 88 drivers/crypto/cavium/zip/zip_deflate.c zip_cmd->s.ds = 0; zip_cmd 91 drivers/crypto/cavium/zip/zip_deflate.c zip_cmd->s.out_ptr_addr.s.addr = __pa(zip_ops->output); zip_cmd 92 drivers/crypto/cavium/zip/zip_deflate.c zip_cmd->s.out_ptr_ctl.s.length = zip_ops->output_len; zip_cmd 94 drivers/crypto/cavium/zip/zip_deflate.c zip_cmd->s.totaloutputlength = zip_ops->output_len; zip_cmd 97 drivers/crypto/cavium/zip/zip_deflate.c zip_cmd->s.res_ptr_addr.s.addr = __pa(result_ptr); zip_cmd 118 drivers/crypto/cavium/zip/zip_deflate.c union zip_inst_s *zip_cmd = &s->zip_cmd; zip_cmd 123 drivers/crypto/cavium/zip/zip_deflate.c prepare_zip_command(zip_ops, s, zip_cmd); zip_cmd 127 drivers/crypto/cavium/zip/zip_deflate.c queue = zip_load_instr(zip_cmd, zip_dev); zip_cmd 97 drivers/crypto/cavium/zip/zip_device.h union zip_inst_s zip_cmd; zip_cmd 53 drivers/crypto/cavium/zip/zip_inflate.c struct zip_state *s, union zip_inst_s *zip_cmd) zip_cmd 57 drivers/crypto/cavium/zip/zip_inflate.c memset(zip_cmd, 0, sizeof(s->zip_cmd)); zip_cmd 63 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.hg = 0; zip_cmd 65 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.ce = 0; zip_cmd 67 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.ss = 0; zip_cmd 69 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.sf = 1; zip_cmd 73 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.bf = 0; zip_cmd 75 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.bf = 1; zip_cmd 77 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.ef = 1; zip_cmd 79 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.cc = zip_ops->ccode; zip_cmd 84 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.adlercrc32 = zip_ops->csum; zip_cmd 90 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.historylength = 0; zip_cmd 91 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.ds = 0; zip_cmd 94 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.out_ptr_addr.s.addr = __pa(zip_ops->output); zip_cmd 95 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.out_ptr_ctl.s.length = zip_ops->output_len; zip_cmd 98 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.totaloutputlength = zip_ops->output_len; zip_cmd 103 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.dg = 0; zip_cmd 104 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.inp_ptr_addr.s.addr = __pa((u8 *)zip_ops->input); zip_cmd 105 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.inp_ptr_ctl.s.length = zip_ops->input_len; zip_cmd 108 drivers/crypto/cavium/zip/zip_inflate.c zip_cmd->s.res_ptr_addr.s.addr = __pa(result_ptr); zip_cmd 131 drivers/crypto/cavium/zip/zip_inflate.c union zip_inst_s *zip_cmd = &s->zip_cmd; zip_cmd 136 drivers/crypto/cavium/zip/zip_inflate.c prepare_inflate_zcmd(zip_ops, s, zip_cmd); zip_cmd 141 drivers/crypto/cavium/zip/zip_inflate.c queue = zip_load_instr(zip_cmd, zip_dev);