Home
last modified time | relevance | path

Searched refs:DESC_SZ (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/socionext/
Dnetsec.c249 #define DESC_SZ sizeof(struct netsec_de) macro
616 struct netsec_de *de = dring->vaddr + DESC_SZ * idx; in netsec_set_rx_de()
648 entry = dring->vaddr + DESC_SZ * tail; in netsec_clean_tx_dring()
695 entry = dring->vaddr + DESC_SZ * tail; in netsec_clean_tx_dring()
798 de = dring->vaddr + (DESC_SZ * idx); in netsec_set_tx_de()
970 struct netsec_de *de = dring->vaddr + (DESC_SZ * idx); in netsec_process_rx()
1231 memset(dring->vaddr, 0, DESC_SZ * DESC_NUM); in netsec_uninit_pkt_dring()
1245 dma_free_coherent(priv->dev, DESC_SZ * DESC_NUM, in netsec_free_dring()
1258 dring->vaddr = dma_alloc_coherent(priv->dev, DESC_SZ * DESC_NUM, in netsec_alloc_dring()
1282 de = dring->vaddr + (DESC_SZ * i); in netsec_setup_tx_dring()