Lines Matching refs:props

341 			       struct nx_of    *props)  in nx_of_update_status()  argument
344 props->status = NX_WAITING; in nx_of_update_status()
345 props->flags |= NX_OF_FLAG_STATUS_SET; in nx_of_update_status()
354 struct nx_of *props) in nx_of_update_sglen() argument
356 if (p->length != sizeof(props->max_sg_len)) { in nx_of_update_sglen()
361 p->length, sizeof(props->max_sg_len)); in nx_of_update_sglen()
365 props->max_sg_len = *(u32 *)p->value; in nx_of_update_sglen()
366 props->flags |= NX_OF_FLAG_MAXSGLEN_SET; in nx_of_update_sglen()
371 struct nx_of *props) in nx_of_update_msc() argument
412 props->ap[msc->fc][msc->mode][0].databytelen = in nx_of_update_msc()
414 props->ap[msc->fc][msc->mode][0].sglen = in nx_of_update_msc()
418 props->ap[msc->fc][msc->mode][1].databytelen = in nx_of_update_msc()
420 props->ap[msc->fc][msc->mode][1].sglen = in nx_of_update_msc()
425 props->ap[msc->fc][msc->mode][2]. in nx_of_update_msc()
427 props->ap[msc->fc][msc->mode][2].sglen = in nx_of_update_msc()
431 props->ap[msc->fc][msc->mode][1]. in nx_of_update_msc()
433 props->ap[msc->fc][msc->mode][1].sglen = in nx_of_update_msc()
442 props->ap[msc->fc][msc->mode][2].databytelen = in nx_of_update_msc()
444 props->ap[msc->fc][msc->mode][2].sglen = in nx_of_update_msc()
461 props->flags |= NX_OF_FLAG_MAXSYNCCOP_SET; in nx_of_update_msc()
475 static void nx_of_init(struct device *dev, struct nx_of *props) in nx_of_init() argument
484 nx_of_update_status(dev, p, props); in nx_of_init()
491 nx_of_update_sglen(dev, p, props); in nx_of_init()
498 nx_of_update_msc(dev, p, props); in nx_of_init()
503 struct alg_props *props = &nx_driver.of.ap[fc][mode][slot]; in nx_check_prop() local
505 if (!props->sglen || props->databytelen < NX_PAGE_SIZE) { in nx_check_prop()
509 props->sglen, props->databytelen); in nx_check_prop()
701 memcpy(nx_ctx->props, nx_driver.of.ap[fc][mode], in nx_crypto_ctx_init()