Lines Matching refs:lbufd_index
451 unsigned i, lbm_offset, lbufd_index, lbuf_addr, lbuf_count;
456 lbufd_index = 0;
459 he_writel(he_dev, lbufd_index, RLBF0_H);
462 lbufd_index += 2;
466 he_writel_rcm(he_dev, lbufd_index, lbm_offset + 1);
475 he_writel(he_dev, lbufd_index - 2, RLBF0_T);
482 unsigned i, lbm_offset, lbufd_index, lbuf_addr, lbuf_count;
487 lbufd_index = 1;
488 lbm_offset = he_readl(he_dev, RCMLBM_BA) + (2 * lbufd_index);
490 he_writel(he_dev, lbufd_index, RLBF1_H);
493 lbufd_index += 2;
497 he_writel_rcm(he_dev, lbufd_index, lbm_offset + 1);
506 he_writel(he_dev, lbufd_index - 2, RLBF1_T);
513 unsigned i, lbm_offset, lbufd_index, lbuf_addr, lbuf_count;
518 lbufd_index = he_dev->r0_numbuffs + he_dev->r1_numbuffs;
519 lbm_offset = he_readl(he_dev, RCMLBM_BA) + (2 * lbufd_index);
521 he_writel(he_dev, lbufd_index, TLBF_H);
524 lbufd_index += 1;
528 he_writel_rcm(he_dev, lbufd_index, lbm_offset + 1);
537 he_writel(he_dev, lbufd_index - 1, TLBF_T);