Searched refs:rxdes (Results 1 – 2 of 2) sorted by relevance
45 struct ftmac100_rxdes rxdes[RX_QUEUE_ENTRIES]; member72 struct ftmac100_rxdes *rxdes, gfp_t gfp);169 offsetof(struct ftmac100_descs, rxdes)); in ftmac100_start_hw()190 static bool ftmac100_rxdes_first_segment(struct ftmac100_rxdes *rxdes) in ftmac100_rxdes_first_segment() argument192 return rxdes->rxdes0 & cpu_to_le32(FTMAC100_RXDES0_FRS); in ftmac100_rxdes_first_segment()195 static bool ftmac100_rxdes_last_segment(struct ftmac100_rxdes *rxdes) in ftmac100_rxdes_last_segment() argument197 return rxdes->rxdes0 & cpu_to_le32(FTMAC100_RXDES0_LRS); in ftmac100_rxdes_last_segment()200 static bool ftmac100_rxdes_owned_by_dma(struct ftmac100_rxdes *rxdes) in ftmac100_rxdes_owned_by_dma() argument202 return rxdes->rxdes0 & cpu_to_le32(FTMAC100_RXDES0_RXDMA_OWN); in ftmac100_rxdes_owned_by_dma()205 static void ftmac100_rxdes_set_dma_own(struct ftmac100_rxdes *rxdes) in ftmac100_rxdes_set_dma_own() argument[all …]
60 struct ftgmac100_rxdes *rxdes; member385 struct ftgmac100_rxdes *rxdes, gfp_t gfp) in ftgmac100_alloc_rx_buf() argument415 rxdes->rxdes3 = cpu_to_le32(map); in ftgmac100_alloc_rx_buf()422 rxdes->rxdes0 = cpu_to_le32(priv->rxdes0_edorr_mask); in ftgmac100_alloc_rx_buf()424 rxdes->rxdes0 = 0; in ftgmac100_alloc_rx_buf()454 struct ftgmac100_rxdes *rxdes; in ftgmac100_rx_packet() local462 rxdes = &priv->rxdes[pointer]; in ftgmac100_rx_packet()465 status = le32_to_cpu(rxdes->rxdes0); in ftgmac100_rx_packet()481 csum_vlan = le32_to_cpu(rxdes->rxdes1); in ftgmac100_rx_packet()507 ftgmac100_alloc_rx_buf(priv, pointer, rxdes, GFP_ATOMIC); in ftgmac100_rx_packet()[all …]