Lines Matching defs:props
328 struct nx_of *props)
331 props->status = NX_WAITING;
332 props->flags |= NX_OF_FLAG_STATUS_SET;
341 struct nx_of *props)
343 if (p->length != sizeof(props->max_sg_len)) {
348 p->length, sizeof(props->max_sg_len));
352 props->max_sg_len = *(u32 *)p->value;
353 props->flags |= NX_OF_FLAG_MAXSGLEN_SET;
358 struct nx_of *props)
399 props->ap[msc->fc][msc->mode][0].databytelen =
401 props->ap[msc->fc][msc->mode][0].sglen =
405 props->ap[msc->fc][msc->mode][1].databytelen =
407 props->ap[msc->fc][msc->mode][1].sglen =
412 props->ap[msc->fc][msc->mode][2].
414 props->ap[msc->fc][msc->mode][2].sglen =
418 props->ap[msc->fc][msc->mode][1].
420 props->ap[msc->fc][msc->mode][1].sglen =
429 props->ap[msc->fc][msc->mode][2].databytelen =
431 props->ap[msc->fc][msc->mode][2].sglen =
448 props->flags |= NX_OF_FLAG_MAXSYNCCOP_SET;
455 * @props: pointer to struct to hold the properties values
459 * acceptable, when we exit this function props->flags will indicate that
462 static void nx_of_init(struct device *dev, struct nx_of *props)
471 nx_of_update_status(dev, p, props);
478 nx_of_update_sglen(dev, p, props);
485 nx_of_update_msc(dev, p, props);
490 struct alg_props *props = &nx_driver.of.ap[fc][mode][slot];
492 if (!props->sglen || props->databytelen < NX_PAGE_SIZE) {
496 props->sglen, props->databytelen);
687 memcpy(nx_ctx->props, nx_driver.of.ap[fc][mode],