Lines Matching refs:wmem
187 static int wait_for_csb(struct nx842_workmem *wmem, in wait_for_csb() argument
190 ktime_t start = wmem->start, now = ktime_get(); in wait_for_csb()
393 struct nx842_workmem *wmem) in nx842_config_crb() argument
400 crb = &wmem->crb; in nx842_config_crb()
407 ret = setup_ddl(&crb->source, wmem->ddl_in, in nx842_config_crb()
412 ret = setup_ddl(&crb->target, wmem->ddl_out, in nx842_config_crb()
462 struct nx842_workmem *wmem; in nx842_exec_icswx() local
467 wmem = PTR_ALIGN(workmem, WORKMEM_ALIGN); in nx842_exec_icswx()
477 ret = nx842_config_crb(in, inlen, out, outlen, wmem); in nx842_exec_icswx()
481 crb = &wmem->crb; in nx842_exec_icswx()
490 wmem->start = ktime_get(); in nx842_exec_icswx()
509 ret = wait_for_csb(wmem, csb); in nx842_exec_icswx()
565 struct nx842_workmem *wmem; in nx842_exec_vas() local
571 wmem = PTR_ALIGN(workmem, WORKMEM_ALIGN); in nx842_exec_vas()
575 crb = &wmem->crb; in nx842_exec_vas()
578 ret = nx842_config_crb(in, inlen, out, outlen, wmem); in nx842_exec_vas()
587 wmem->start = ktime_get(); in nx842_exec_vas()
613 ret = wait_for_csb(wmem, csb); in nx842_exec_vas()
642 void *wmem) in nx842_powernv_compress() argument
645 wmem, CCW_FC_842_COMP_CRC); in nx842_powernv_compress()
670 void *wmem) in nx842_powernv_decompress() argument
673 wmem, CCW_FC_842_DECOMP_CRC); in nx842_powernv_decompress()