Lines Matching defs:props
329 struct nx_of *props)
332 props->status = NX_WAITING;
333 props->flags |= NX_OF_FLAG_STATUS_SET;
342 struct nx_of *props)
344 if (p->length != sizeof(props->max_sg_len)) {
349 p->length, sizeof(props->max_sg_len));
353 props->max_sg_len = *(u32 *)p->value;
354 props->flags |= NX_OF_FLAG_MAXSGLEN_SET;
359 struct nx_of *props)
400 props->ap[msc->fc][msc->mode][0].databytelen =
402 props->ap[msc->fc][msc->mode][0].sglen =
406 props->ap[msc->fc][msc->mode][1].databytelen =
408 props->ap[msc->fc][msc->mode][1].sglen =
413 props->ap[msc->fc][msc->mode][2].
415 props->ap[msc->fc][msc->mode][2].sglen =
419 props->ap[msc->fc][msc->mode][1].
421 props->ap[msc->fc][msc->mode][1].sglen =
430 props->ap[msc->fc][msc->mode][2].databytelen =
432 props->ap[msc->fc][msc->mode][2].sglen =
449 props->flags |= NX_OF_FLAG_MAXSYNCCOP_SET;
456 * @props: pointer to struct to hold the properties values
460 * acceptable, when we exit this function props->flags will indicate that
463 static void nx_of_init(struct device *dev, struct nx_of *props)
472 nx_of_update_status(dev, p, props);
479 nx_of_update_sglen(dev, p, props);
486 nx_of_update_msc(dev, p, props);
491 struct alg_props *props = &nx_driver.of.ap[fc][mode][slot];
493 if (!props->sglen || props->databytelen < NX_PAGE_SIZE) {
497 props->sglen, props->databytelen);
688 memcpy(nx_ctx->props, nx_driver.of.ap[fc][mode],