Lines Matching refs:rfd

410 struct rfd {  struct
550 struct rfd blank_rfd;
1923 #define RFD_BUF_LEN (sizeof(struct rfd) + VLAN_ETH_FRAME_LEN + ETH_FCS_LEN)
1930 skb_copy_to_linear_data(rx->skb, &nic->blank_rfd, sizeof(struct rfd)); in e100_rx_alloc_skb()
1945 struct rfd *prev_rfd = (struct rfd *)rx->prev->skb->data; in e100_rx_alloc_skb()
1948 sizeof(struct rfd), PCI_DMA_BIDIRECTIONAL); in e100_rx_alloc_skb()
1959 struct rfd *rfd = (struct rfd *)skb->data; in e100_rx_indicate() local
1968 sizeof(struct rfd), PCI_DMA_BIDIRECTIONAL); in e100_rx_indicate()
1969 rfd_status = le16_to_cpu(rfd->status); in e100_rx_indicate()
1982 if ((le16_to_cpu(rfd->command) & cb_el) && in e100_rx_indicate()
1988 sizeof(struct rfd), in e100_rx_indicate()
1996 actual_size = le16_to_cpu(rfd->actual_size) & 0x3FFF; in e100_rx_indicate()
1997 if (unlikely(actual_size > RFD_BUF_LEN - sizeof(struct rfd))) in e100_rx_indicate()
1998 actual_size = RFD_BUF_LEN - sizeof(struct rfd); in e100_rx_indicate()
2010 if ((le16_to_cpu(rfd->command) & cb_el) && in e100_rx_indicate()
2018 skb_reserve(skb, sizeof(struct rfd)); in e100_rx_indicate()
2059 struct rfd *old_before_last_rfd, *new_before_last_rfd; in e100_rx_clean()
2080 old_before_last_rfd = (struct rfd *)old_before_last_rx->skb->data; in e100_rx_clean()
2100 (struct rfd *)new_before_last_rx->skb->data; in e100_rx_clean()
2104 new_before_last_rx->dma_addr, sizeof(struct rfd), in e100_rx_clean()
2112 old_before_last_rx->dma_addr, sizeof(struct rfd), in e100_rx_clean()
2117 old_before_last_rx->dma_addr, sizeof(struct rfd), in e100_rx_clean()
2156 struct rfd *before_last; in e100_rx_alloc_list()
2180 before_last = (struct rfd *)rx->skb->data; in e100_rx_alloc_list()
2184 sizeof(struct rfd), PCI_DMA_BIDIRECTIONAL); in e100_rx_alloc_list()
2386 if (memcmp(nic->rx_to_clean->skb->data + sizeof(struct rfd), in e100_loopback_test()