Lines Matching refs:first_bd_idx
360 uint8_t first_bd_idx; in eth_xlnx_gem_send() local
422 curr_bd_idx = first_bd_idx = dev_data->txbd_ring.next_to_use; in eth_xlnx_gem_send()
425 dev_data->txbd_ring.next_to_use = (first_bd_idx + bds_reqd) % in eth_xlnx_gem_send()
481 while (curr_bd_idx != first_bd_idx) { in eth_xlnx_gem_send()
1431 uint8_t first_bd_idx; in eth_xlnx_gem_handle_rx_pending() local
1448 first_bd_idx = last_bd_idx = curr_bd_idx; in eth_xlnx_gem_handle_rx_pending()
1449 reg_addr = (uint32_t)(&dev_data->rxbd_ring.first_bd[first_bd_idx].addr); in eth_xlnx_gem_handle_rx_pending()
1450 reg_ctrl = (uint32_t)(&dev_data->rxbd_ring.first_bd[first_bd_idx].ctrl); in eth_xlnx_gem_handle_rx_pending()
1471 dev->name, first_bd_idx); in eth_xlnx_gem_handle_rx_pending()
1611 uint8_t first_bd_idx; in eth_xlnx_gem_handle_tx_done() local
1627 curr_bd_idx = first_bd_idx = dev_data->txbd_ring.next_to_process; in eth_xlnx_gem_handle_tx_done()
1660 } while (bd_is_last == 0 && curr_bd_idx != first_bd_idx); in eth_xlnx_gem_handle_tx_done()
1662 if (curr_bd_idx == first_bd_idx && bd_is_last == 0) { in eth_xlnx_gem_handle_tx_done()