Lines Matching refs:wmem
184 static int wait_for_csb(struct nx842_workmem *wmem, in wait_for_csb() argument
187 ktime_t start = wmem->start, now = ktime_get(); in wait_for_csb()
390 struct nx842_workmem *wmem) in nx842_config_crb() argument
397 crb = &wmem->crb; in nx842_config_crb()
404 ret = setup_ddl(&crb->source, wmem->ddl_in, in nx842_config_crb()
409 ret = setup_ddl(&crb->target, wmem->ddl_out, in nx842_config_crb()
459 struct nx842_workmem *wmem; in nx842_exec_icswx() local
464 wmem = PTR_ALIGN(workmem, WORKMEM_ALIGN); in nx842_exec_icswx()
474 ret = nx842_config_crb(in, inlen, out, outlen, wmem); in nx842_exec_icswx()
478 crb = &wmem->crb; in nx842_exec_icswx()
487 wmem->start = ktime_get(); in nx842_exec_icswx()
506 ret = wait_for_csb(wmem, csb); in nx842_exec_icswx()
562 struct nx842_workmem *wmem; in nx842_exec_vas() local
568 wmem = PTR_ALIGN(workmem, WORKMEM_ALIGN); in nx842_exec_vas()
572 crb = &wmem->crb; in nx842_exec_vas()
575 ret = nx842_config_crb(in, inlen, out, outlen, wmem); in nx842_exec_vas()
584 wmem->start = ktime_get(); in nx842_exec_vas()
610 ret = wait_for_csb(wmem, csb); in nx842_exec_vas()
639 void *wmem) in nx842_powernv_compress() argument
642 wmem, CCW_FC_842_COMP_CRC); in nx842_powernv_compress()
667 void *wmem) in nx842_powernv_decompress() argument
670 wmem, CCW_FC_842_DECOMP_CRC); in nx842_powernv_decompress()