Searched refs:txbd_ring (Results 1 – 2 of 2) sorted by relevance
251 k_sem_init(&dev_data->txbd_ring.ring_sem, 1, 1); in eth_xlnx_gem_iface_init()398 k_sem_take(&(dev_data->txbd_ring.ring_sem), K_FOREVER); in eth_xlnx_gem_send()404 if (bds_reqd > dev_data->txbd_ring.free_bds) { in eth_xlnx_gem_send()408 dev_data->txbd_ring.free_bds); in eth_xlnx_gem_send()411 k_sem_give(&(dev_data->txbd_ring.ring_sem)); in eth_xlnx_gem_send()422 curr_bd_idx = first_bd_idx = dev_data->txbd_ring.next_to_use; in eth_xlnx_gem_send()423 reg_ctrl = (uint32_t)(&dev_data->txbd_ring.first_bd[curr_bd_idx].ctrl); in eth_xlnx_gem_send()425 dev_data->txbd_ring.next_to_use = (first_bd_idx + bds_reqd) % in eth_xlnx_gem_send()427 dev_data->txbd_ring.free_bds -= bds_reqd; in eth_xlnx_gem_send()430 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