Lines Matching refs:rfd
407 struct rfd { struct
547 struct rfd blank_rfd;
1917 #define RFD_BUF_LEN (sizeof(struct rfd) + VLAN_ETH_FRAME_LEN + ETH_FCS_LEN)
1924 skb_copy_to_linear_data(rx->skb, &nic->blank_rfd, sizeof(struct rfd)); in e100_rx_alloc_skb()
1939 struct rfd *prev_rfd = (struct rfd *)rx->prev->skb->data; in e100_rx_alloc_skb()
1943 sizeof(struct rfd), in e100_rx_alloc_skb()
1955 struct rfd *rfd = (struct rfd *)skb->data; in e100_rx_indicate() local
1964 sizeof(struct rfd), DMA_BIDIRECTIONAL); in e100_rx_indicate()
1965 rfd_status = le16_to_cpu(rfd->status); in e100_rx_indicate()
1978 if ((le16_to_cpu(rfd->command) & cb_el) && in e100_rx_indicate()
1984 sizeof(struct rfd), in e100_rx_indicate()
1992 actual_size = le16_to_cpu(rfd->actual_size) & 0x3FFF; in e100_rx_indicate()
1993 if (unlikely(actual_size > RFD_BUF_LEN - sizeof(struct rfd))) in e100_rx_indicate()
1994 actual_size = RFD_BUF_LEN - sizeof(struct rfd); in e100_rx_indicate()
2006 if ((le16_to_cpu(rfd->command) & cb_el) && in e100_rx_indicate()
2014 skb_reserve(skb, sizeof(struct rfd)); in e100_rx_indicate()
2055 struct rfd *old_before_last_rfd, *new_before_last_rfd; in e100_rx_clean()
2076 old_before_last_rfd = (struct rfd *)old_before_last_rx->skb->data; in e100_rx_clean()
2096 (struct rfd *)new_before_last_rx->skb->data; in e100_rx_clean()
2101 sizeof(struct rfd), in e100_rx_clean()
2110 sizeof(struct rfd), in e100_rx_clean()
2116 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), DMA_BIDIRECTIONAL); in e100_rx_alloc_list()
2386 if (memcmp(nic->rx_to_clean->skb->data + sizeof(struct rfd), in e100_loopback_test()