Lines Matching refs:rfd
435 struct rfd { struct
575 struct rfd blank_rfd;
1949 #define RFD_BUF_LEN (sizeof(struct rfd) + VLAN_ETH_FRAME_LEN + ETH_FCS_LEN)
1956 skb_copy_to_linear_data(rx->skb, &nic->blank_rfd, sizeof(struct rfd)); in e100_rx_alloc_skb()
1971 struct rfd *prev_rfd = (struct rfd *)rx->prev->skb->data; in e100_rx_alloc_skb()
1974 sizeof(struct rfd), PCI_DMA_BIDIRECTIONAL); in e100_rx_alloc_skb()
1985 struct rfd *rfd = (struct rfd *)skb->data; in e100_rx_indicate() local
1994 sizeof(struct rfd), PCI_DMA_BIDIRECTIONAL); in e100_rx_indicate()
1995 rfd_status = le16_to_cpu(rfd->status); in e100_rx_indicate()
2008 if ((le16_to_cpu(rfd->command) & cb_el) && in e100_rx_indicate()
2014 sizeof(struct rfd), in e100_rx_indicate()
2022 actual_size = le16_to_cpu(rfd->actual_size) & 0x3FFF; in e100_rx_indicate()
2023 if (unlikely(actual_size > RFD_BUF_LEN - sizeof(struct rfd))) in e100_rx_indicate()
2024 actual_size = RFD_BUF_LEN - sizeof(struct rfd); in e100_rx_indicate()
2036 if ((le16_to_cpu(rfd->command) & cb_el) && in e100_rx_indicate()
2044 skb_reserve(skb, sizeof(struct rfd)); in e100_rx_indicate()
2085 struct rfd *old_before_last_rfd, *new_before_last_rfd; in e100_rx_clean()
2106 old_before_last_rfd = (struct rfd *)old_before_last_rx->skb->data; in e100_rx_clean()
2126 (struct rfd *)new_before_last_rx->skb->data; in e100_rx_clean()
2130 new_before_last_rx->dma_addr, sizeof(struct rfd), in e100_rx_clean()
2138 old_before_last_rx->dma_addr, sizeof(struct rfd), in e100_rx_clean()
2143 old_before_last_rx->dma_addr, sizeof(struct rfd), in e100_rx_clean()
2182 struct rfd *before_last; in e100_rx_alloc_list()
2206 before_last = (struct rfd *)rx->skb->data; in e100_rx_alloc_list()
2210 sizeof(struct rfd), PCI_DMA_BIDIRECTIONAL); in e100_rx_alloc_list()
2418 if (memcmp(nic->rx_to_clean->skb->data + sizeof(struct rfd), in e100_loopback_test()