Lines Matching defs:sglen
143 * @sglen: max number of nx_sg entries we're allowed to write
149 unsigned int sglen,
174 while (len && (nx_sg - nx_dst) < sglen) {
184 nx_sg = nx_build_sg_list(nx_sg, dst, &n, sglen - (nx_sg - nx_dst));
273 max_sg_len = min_t(u64, nx_ctx->ap->sglen,
390 if (!trip->sglen || trip->databytelen < NX_PAGE_SIZE) {
391 dev_warn(dev, "bogus sglen/databytelen: "
392 "%u/%u (ignored)\n", trip->sglen,
402 props->ap[msc->fc][msc->mode][0].sglen =
403 trip->sglen;
408 props->ap[msc->fc][msc->mode][1].sglen =
409 trip->sglen;
415 props->ap[msc->fc][msc->mode][2].sglen =
416 trip->sglen;
421 props->ap[msc->fc][msc->mode][1].sglen =
422 trip->sglen;
432 props->ap[msc->fc][msc->mode][2].sglen =
433 trip->sglen;
493 if (!props->sglen || props->databytelen < NX_PAGE_SIZE) {
495 dev_warn(dev, "bogus sglen/databytelen for %u/%u/%u: "
497 props->sglen, props->databytelen);