Searched refs:descmeta (Results 1 – 2 of 2) sorted by relevance
1392 context.descmeta = (struct xgmac_dma_tx_desc_meta *)&dev_data->tx_desc_meta[context.q_id]; in eth_dwc_xgmac_send()1393 context.pkt_desc_id = context.descmeta->next_to_use; in eth_dwc_xgmac_send()1395 (void)k_mutex_lock(&(context.descmeta->ring_lock), K_FOREVER); in eth_dwc_xgmac_send()1400 ret = k_sem_take(&context.descmeta->free_tx_descs_sem, K_MSEC(1)); in eth_dwc_xgmac_send()1430 context.descmeta->desc_tail_addr = in eth_dwc_xgmac_send()1439 context.descmeta->next_to_use = context.pkt_desc_id; in eth_dwc_xgmac_send()1441 if (context.descmeta->desc_tail_addr == in eth_dwc_xgmac_send()1446 context.descmeta->desc_tail_addr = (mem_addr_t)POINTER_TO_UINT( in eth_dwc_xgmac_send()1452 update_desc_tail_ptr(dev, context.q_id, (uint32_t)context.descmeta->desc_tail_addr); in eth_dwc_xgmac_send()1454 (void)k_mutex_unlock(&(context.descmeta->ring_lock)); in eth_dwc_xgmac_send()[all …]
456 struct xgmac_dma_tx_desc_meta *descmeta; member