Searched refs:PCH_GBE_DESC_NUM (Results 1 – 2 of 2) sorted by relevance
117 memset(rx_desc, 0, sizeof(struct pch_gbe_rx_desc) * PCH_GBE_DESC_NUM); in pch_gbe_rx_descs_init()118 for (i = 0; i < PCH_GBE_DESC_NUM; i++) in pch_gbe_rx_descs_init()122 flush_dcache_range((ulong)rx_desc, (ulong)&rx_desc[PCH_GBE_DESC_NUM]); in pch_gbe_rx_descs_init()126 writel(sizeof(struct pch_gbe_rx_desc) * (PCH_GBE_DESC_NUM - 1), in pch_gbe_rx_descs_init()139 memset(tx_desc, 0, sizeof(struct pch_gbe_tx_desc) * PCH_GBE_DESC_NUM); in pch_gbe_tx_descs_init()141 flush_dcache_range((ulong)tx_desc, (ulong)&tx_desc[PCH_GBE_DESC_NUM]); in pch_gbe_tx_descs_init()145 writel(sizeof(struct pch_gbe_tx_desc) * (PCH_GBE_DESC_NUM - 1), in pch_gbe_tx_descs_init()269 if (++priv->tx_idx >= PCH_GBE_DESC_NUM) in pch_gbe_send()324 if (++priv->rx_idx >= PCH_GBE_DESC_NUM) in pch_gbe_free_pkt()327 if (++rx_swp >= PCH_GBE_DESC_NUM) in pch_gbe_free_pkt()
14 #define PCH_GBE_DESC_NUM 4 macro286 struct pch_gbe_rx_desc rx_desc[PCH_GBE_DESC_NUM];287 struct pch_gbe_tx_desc tx_desc[PCH_GBE_DESC_NUM];288 char rx_buff[PCH_GBE_DESC_NUM][PCH_GBE_RX_FRAME_LEN];