Home
last modified time | relevance | path

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

/drivers/net/ethernet/socionext/
Dnetsec.c249 #define DESC_SZ sizeof(struct netsec_de) macro
612 struct netsec_de *de = dring->vaddr + DESC_SZ * idx; in netsec_set_rx_de()
642 entry = dring->vaddr + DESC_SZ * tail; in netsec_clean_tx_dring()
684 entry = dring->vaddr + DESC_SZ * tail; in netsec_clean_tx_dring()
784 de = dring->vaddr + (DESC_SZ * idx); in netsec_set_tx_de()
958 struct netsec_de *de = dring->vaddr + (DESC_SZ * idx); in netsec_process_rx()
1223 memset(dring->vaddr, 0, DESC_SZ * DESC_NUM); in netsec_uninit_pkt_dring()
1237 dma_free_coherent(priv->dev, DESC_SZ * DESC_NUM, in netsec_free_dring()
1250 dring->vaddr = dma_alloc_coherent(priv->dev, DESC_SZ * DESC_NUM, in netsec_alloc_dring()
1274 de = dring->vaddr + (DESC_SZ * i); in netsec_setup_tx_dring()