Lines Matching refs:lbuf_count
447 unsigned i, lbm_offset, lbufd_index, lbuf_addr, lbuf_count; in he_init_rx_lbfp0() local
457 for (i = 0, lbuf_count = 0; i < he_dev->r0_numbuffs; ++i) { in he_init_rx_lbfp0()
459 lbuf_addr = (row_offset + (lbuf_count * lbuf_bufsize)) / 32; in he_init_rx_lbfp0()
464 if (++lbuf_count == lbufs_per_row) { in he_init_rx_lbfp0()
465 lbuf_count = 0; in he_init_rx_lbfp0()
477 unsigned i, lbm_offset, lbufd_index, lbuf_addr, lbuf_count; in he_init_rx_lbfp1() local
487 for (i = 0, lbuf_count = 0; i < he_dev->r1_numbuffs; ++i) { in he_init_rx_lbfp1()
489 lbuf_addr = (row_offset + (lbuf_count * lbuf_bufsize)) / 32; in he_init_rx_lbfp1()
494 if (++lbuf_count == lbufs_per_row) { in he_init_rx_lbfp1()
495 lbuf_count = 0; in he_init_rx_lbfp1()
507 unsigned i, lbm_offset, lbufd_index, lbuf_addr, lbuf_count; in he_init_tx_lbfp() local
517 for (i = 0, lbuf_count = 0; i < he_dev->tx_numbuffs; ++i) { in he_init_tx_lbfp()
519 lbuf_addr = (row_offset + (lbuf_count * lbuf_bufsize)) / 32; in he_init_tx_lbfp()
524 if (++lbuf_count == lbufs_per_row) { in he_init_tx_lbfp()
525 lbuf_count = 0; in he_init_tx_lbfp()