Lines Matching refs:lbufd_index
447 unsigned i, lbm_offset, lbufd_index, lbuf_addr, lbuf_count; in he_init_rx_lbfp0() local
452 lbufd_index = 0; in he_init_rx_lbfp0()
455 he_writel(he_dev, lbufd_index, RLBF0_H); in he_init_rx_lbfp0()
458 lbufd_index += 2; in he_init_rx_lbfp0()
462 he_writel_rcm(he_dev, lbufd_index, lbm_offset + 1); in he_init_rx_lbfp0()
471 he_writel(he_dev, lbufd_index - 2, RLBF0_T); in he_init_rx_lbfp0()
477 unsigned i, lbm_offset, lbufd_index, lbuf_addr, lbuf_count; in he_init_rx_lbfp1() local
482 lbufd_index = 1; in he_init_rx_lbfp1()
483 lbm_offset = he_readl(he_dev, RCMLBM_BA) + (2 * lbufd_index); in he_init_rx_lbfp1()
485 he_writel(he_dev, lbufd_index, RLBF1_H); in he_init_rx_lbfp1()
488 lbufd_index += 2; in he_init_rx_lbfp1()
492 he_writel_rcm(he_dev, lbufd_index, lbm_offset + 1); in he_init_rx_lbfp1()
501 he_writel(he_dev, lbufd_index - 2, RLBF1_T); in he_init_rx_lbfp1()
507 unsigned i, lbm_offset, lbufd_index, lbuf_addr, lbuf_count; in he_init_tx_lbfp() local
512 lbufd_index = he_dev->r0_numbuffs + he_dev->r1_numbuffs; in he_init_tx_lbfp()
513 lbm_offset = he_readl(he_dev, RCMLBM_BA) + (2 * lbufd_index); in he_init_tx_lbfp()
515 he_writel(he_dev, lbufd_index, TLBF_H); in he_init_tx_lbfp()
518 lbufd_index += 1; in he_init_tx_lbfp()
522 he_writel_rcm(he_dev, lbufd_index, lbm_offset + 1); in he_init_tx_lbfp()
531 he_writel(he_dev, lbufd_index - 1, TLBF_T); in he_init_tx_lbfp()