Lines Matching refs:rfd
406 struct rfd { struct
546 struct rfd blank_rfd;
1915 #define RFD_BUF_LEN (sizeof(struct rfd) + VLAN_ETH_FRAME_LEN + ETH_FCS_LEN)
1922 skb_copy_to_linear_data(rx->skb, &nic->blank_rfd, sizeof(struct rfd)); in e100_rx_alloc_skb()
1937 struct rfd *prev_rfd = (struct rfd *)rx->prev->skb->data; in e100_rx_alloc_skb()
1941 sizeof(struct rfd), in e100_rx_alloc_skb()
1953 struct rfd *rfd = (struct rfd *)skb->data; in e100_rx_indicate() local
1962 sizeof(struct rfd), DMA_BIDIRECTIONAL); in e100_rx_indicate()
1963 rfd_status = le16_to_cpu(rfd->status); in e100_rx_indicate()
1976 if ((le16_to_cpu(rfd->command) & cb_el) && in e100_rx_indicate()
1982 sizeof(struct rfd), in e100_rx_indicate()
1990 actual_size = le16_to_cpu(rfd->actual_size) & 0x3FFF; in e100_rx_indicate()
1991 if (unlikely(actual_size > RFD_BUF_LEN - sizeof(struct rfd))) in e100_rx_indicate()
1992 actual_size = RFD_BUF_LEN - sizeof(struct rfd); in e100_rx_indicate()
2004 if ((le16_to_cpu(rfd->command) & cb_el) && in e100_rx_indicate()
2012 skb_reserve(skb, sizeof(struct rfd)); in e100_rx_indicate()
2053 struct rfd *old_before_last_rfd, *new_before_last_rfd; in e100_rx_clean()
2074 old_before_last_rfd = (struct rfd *)old_before_last_rx->skb->data; in e100_rx_clean()
2094 (struct rfd *)new_before_last_rx->skb->data; in e100_rx_clean()
2099 sizeof(struct rfd), in e100_rx_clean()
2108 sizeof(struct rfd), in e100_rx_clean()
2114 sizeof(struct rfd), in e100_rx_clean()
2154 struct rfd *before_last; in e100_rx_alloc_list()
2178 before_last = (struct rfd *)rx->skb->data; in e100_rx_alloc_list()
2182 sizeof(struct rfd), DMA_BIDIRECTIONAL); in e100_rx_alloc_list()
2384 if (memcmp(nic->rx_to_clean->skb->data + sizeof(struct rfd), in e100_loopback_test()