Lines Matching refs:chain
242 * the new SGL to make room for the chain entry.
251 /* Set the limit pointer and build the chain entry */
263 * Now, if there was a previous chain entry, then
265 * and size of this chain. otherwise this is the
268 if (sgc->sge.a64.chain) {
269 sgc->sge.a64.chain->length |=
297 * can update the length of this chain entry.
299 sgc->sge.a64.chain = sgc->sge.a64.last;
331 * If there was a previous chain entry, update the length to indicate
334 if (sgc->sge.a64.chain) {
335 sgc->sge.a64.chain->length |= cpu_to_le32(
413 * It can be placed where the chain
426 /* We use the reserved chain entry for data */
432 if (sgc->sge.prd.chain) {
435 * chain the length of this current SGL may not
439 sgc->sge.prd.chain->ctl_len |= cpu_to_le32(
455 * Link the new SGL onto the chain
462 * a new SGL. Prime the chain of the ending SGL with
467 sgc->sge.prd.chain = sgc->sge.prd.curr;
469 sgc->sge.prd.chain->ctl_len = cpu_to_le32(PRD_CHAIN);
470 sgc->sge.prd.chain->address =
475 * Take one away and save for chain SGE
513 if (sgc->sge.prd.chain) {
514 sgc->sge.prd.chain->ctl_len |=
598 /* Chk if the 1st iblk chain starts at base of Iblock */
611 /* get our starting chain address */
624 sgc->sge.prd.chain = NULL;