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));
272 max_sg_len = min_t(u64, nx_ctx->ap->sglen,
389 if (!trip->sglen || trip->databytelen < NX_PAGE_SIZE) {
390 dev_warn(dev, "bogus sglen/databytelen: "
391 "%u/%u (ignored)\n", trip->sglen,
401 props->ap[msc->fc][msc->mode][0].sglen =
402 trip->sglen;
407 props->ap[msc->fc][msc->mode][1].sglen =
408 trip->sglen;
414 props->ap[msc->fc][msc->mode][2].sglen =
415 trip->sglen;
420 props->ap[msc->fc][msc->mode][1].sglen =
421 trip->sglen;
431 props->ap[msc->fc][msc->mode][2].sglen =
432 trip->sglen;
492 if (!props->sglen || props->databytelen < NX_PAGE_SIZE) {
494 dev_warn(dev, "bogus sglen/databytelen for %u/%u/%u: "
496 props->sglen, props->databytelen);