Searched refs:txbd_ring (Results 1 – 2 of 2) sorted by relevance
247 k_sem_init(&dev_data->txbd_ring.ring_sem, 1, 1); in eth_xlnx_gem_iface_init()394 k_sem_take(&(dev_data->txbd_ring.ring_sem), K_FOREVER); in eth_xlnx_gem_send()400 if (bds_reqd > dev_data->txbd_ring.free_bds) { in eth_xlnx_gem_send()404 dev_data->txbd_ring.free_bds); in eth_xlnx_gem_send()407 k_sem_give(&(dev_data->txbd_ring.ring_sem)); in eth_xlnx_gem_send()418 curr_bd_idx = first_bd_idx = dev_data->txbd_ring.next_to_use; in eth_xlnx_gem_send()419 reg_ctrl = (uint32_t)(&dev_data->txbd_ring.first_bd[curr_bd_idx].ctrl); in eth_xlnx_gem_send()421 dev_data->txbd_ring.next_to_use = (first_bd_idx + bds_reqd) % in eth_xlnx_gem_send()423 dev_data->txbd_ring.free_bds -= bds_reqd; in eth_xlnx_gem_send()426 k_sem_give(&(dev_data->txbd_ring.ring_sem)); in eth_xlnx_gem_send()[all …]
526 dev_data->txbd_ring.first_bd = &(eth_xlnx_gem##port##_dma_area.tx_bd[0]);\760 struct eth_xlnx_gem_bdring txbd_ring; member