Searched refs:spl2sw_mac_desc (Results 1 – 5 of 5) sorted by relevance
16 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()
209 struct spl2sw_mac_desc { struct232 struct spl2sw_mac_desc *rx_desc[RX_DESC_QUEUE_NUM]; argument238 struct spl2sw_mac_desc *tx_desc;
135 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()
20 struct spl2sw_mac_desc *desc, *h_desc; in spl2sw_rx_poll()
70 struct spl2sw_mac_desc *txdesc; in spl2sw_ethernet_start_xmit()