Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/sunplus/
H A Dspl2sw_desc.c16 struct spl2sw_mac_desc *rx_desc; in spl2sw_rx_descs_flush()
63 struct spl2sw_mac_desc *rx_desc; in spl2sw_rx_descs_clean()
119 memset(comm->tx_desc, '\0', sizeof(struct spl2sw_mac_desc) * in spl2sw_tx_descs_init()
126 struct spl2sw_mac_desc *rx_desc; in spl2sw_rx_descs_init()
175 desc_size = (TX_DESC_NUM + MAC_GUARD_DESC_NUM) * sizeof(struct spl2sw_mac_desc); in spl2sw_descs_alloc()
177 desc_size += comm->rx_desc_num[i] * sizeof(struct spl2sw_mac_desc); in spl2sw_descs_alloc()
H A Dspl2sw_define.h209 struct spl2sw_mac_desc { struct
232 struct spl2sw_mac_desc *rx_desc[RX_DESC_QUEUE_NUM]; argument
238 struct spl2sw_mac_desc *tx_desc;
H A Dspl2sw_mac.c135 writel(comm->desc_dma + sizeof(struct spl2sw_mac_desc) * TX_DESC_NUM, in spl2sw_mac_hw_init()
137 writel(comm->desc_dma + sizeof(struct spl2sw_mac_desc) * (TX_DESC_NUM + in spl2sw_mac_hw_init()
139 writel(comm->desc_dma + sizeof(struct spl2sw_mac_desc) * (TX_DESC_NUM + in spl2sw_mac_hw_init()
H A Dspl2sw_int.c20 struct spl2sw_mac_desc *desc, *h_desc; in spl2sw_rx_poll()
H A Dspl2sw_driver.c71 struct spl2sw_mac_desc *txdesc; in spl2sw_ethernet_start_xmit()