Lines Matching refs:rfd

407 struct rfd {  struct
547 struct rfd blank_rfd;
1920 #define RFD_BUF_LEN (sizeof(struct rfd) + VLAN_ETH_FRAME_LEN + ETH_FCS_LEN)
1927 skb_copy_to_linear_data(rx->skb, &nic->blank_rfd, sizeof(struct rfd)); in e100_rx_alloc_skb()
1942 struct rfd *prev_rfd = (struct rfd *)rx->prev->skb->data; in e100_rx_alloc_skb()
1945 sizeof(struct rfd), PCI_DMA_BIDIRECTIONAL); in e100_rx_alloc_skb()
1956 struct rfd *rfd = (struct rfd *)skb->data; in e100_rx_indicate() local
1965 sizeof(struct rfd), PCI_DMA_BIDIRECTIONAL); in e100_rx_indicate()
1966 rfd_status = le16_to_cpu(rfd->status); in e100_rx_indicate()
1979 if ((le16_to_cpu(rfd->command) & cb_el) && in e100_rx_indicate()
1985 sizeof(struct rfd), in e100_rx_indicate()
1993 actual_size = le16_to_cpu(rfd->actual_size) & 0x3FFF; in e100_rx_indicate()
1994 if (unlikely(actual_size > RFD_BUF_LEN - sizeof(struct rfd))) in e100_rx_indicate()
1995 actual_size = RFD_BUF_LEN - sizeof(struct rfd); in e100_rx_indicate()
2007 if ((le16_to_cpu(rfd->command) & cb_el) && in e100_rx_indicate()
2015 skb_reserve(skb, sizeof(struct rfd)); in e100_rx_indicate()
2056 struct rfd *old_before_last_rfd, *new_before_last_rfd; in e100_rx_clean()
2077 old_before_last_rfd = (struct rfd *)old_before_last_rx->skb->data; in e100_rx_clean()
2097 (struct rfd *)new_before_last_rx->skb->data; in e100_rx_clean()
2101 new_before_last_rx->dma_addr, sizeof(struct rfd), in e100_rx_clean()
2109 old_before_last_rx->dma_addr, sizeof(struct rfd), in e100_rx_clean()
2114 old_before_last_rx->dma_addr, sizeof(struct rfd), in e100_rx_clean()
2153 struct rfd *before_last; in e100_rx_alloc_list()
2177 before_last = (struct rfd *)rx->skb->data; in e100_rx_alloc_list()
2181 sizeof(struct rfd), PCI_DMA_BIDIRECTIONAL); in e100_rx_alloc_list()
2383 if (memcmp(nic->rx_to_clean->skb->data + sizeof(struct rfd), in e100_loopback_test()