Lines Matching refs:rxfd
724 struct ipg_rx *rxfd = sp->rxd + entry;
742 rxfd->frag_info = cpu_to_le64(pci_map_single(sp->pdev, skb->data,
747 rxfd->frag_info |= cpu_to_le64((rxfragsize << 48) & IPG_RFI_FRAGLEN);
761 struct ipg_rx *rxfd = sp->rxd + i;
765 le64_to_cpu(rxfd->frag_info) & ~IPG_RFI_FRAGLEN,
772 rxfd->rfs = 0x0000000000000000;
791 rxfd->next_desc = cpu_to_le64(sp->rxd_map +
1096 struct ipg_rx *rxfd = sp->rxd + entry;
1099 le64_to_cpu(rxfd->frag_info) & ~IPG_RFI_FRAGLEN,
1109 struct ipg_rx *rxfd = sp->rxd + (sp->rx_current % IPG_RFDLIST_LENGTH);
1112 if (le64_to_cpu(rxfd->rfs) & IPG_RFS_FRAMESTART)
1114 if (le64_to_cpu(rxfd->rfs) & IPG_RFS_FRAMEEND)
1123 struct ipg_rx *rxfd = sp->rxd + entry;
1125 if (IPG_DROP_ON_RX_ETH_ERRORS && (le64_to_cpu(rxfd->rfs) &
1130 (unsigned long) rxfd->rfs);
1136 if (le64_to_cpu(rxfd->rfs) & IPG_RFS_RXFIFOOVERRUN) {
1142 if (le64_to_cpu(rxfd->rfs) & IPG_RFS_RXRUNTFRAME) {
1151 if (le64_to_cpu(rxfd->rfs) & IPG_RFS_RXALIGNMENTERROR) {
1166 le64_to_cpu(rxfd->frag_info) & ~IPG_RFI_FRAGLEN,
1179 struct ipg_rx *rxfd, unsigned entry)
1201 framelen = le64_to_cpu(rxfd->rfs) & IPG_RFS_RXFRAMELEN;
1214 struct ipg_rx *rxfd, unsigned entry)
1232 pci_unmap_single(pdev, le64_to_cpu(rxfd->frag_info) & ~IPG_RFI_FRAGLEN,
1246 struct ipg_rx *rxfd, unsigned entry)
1260 framelen = le64_to_cpu(rxfd->rfs) & IPG_RFS_RXFRAMELEN;
1292 struct ipg_rx *rxfd, unsigned entry)
1330 struct ipg_rx *rxfd = sp->rxd + entry;
1332 if (!(rxfd->rfs & cpu_to_le64(IPG_RFS_RFDDONE)))
1337 ipg_nic_rx_with_start_and_end(dev, sp, rxfd, entry);
1340 ipg_nic_rx_with_start(dev, sp, rxfd, entry);
1343 ipg_nic_rx_with_end(dev, sp, rxfd, entry);
1346 ipg_nic_rx_no_start_no_end(dev, sp, rxfd, entry);
1373 struct ipg_rx *rxfd;
1386 rxfd = sp->rxd + entry;
1388 if (((rxfd->rfs & __RFS_MASK) != __RFS_MASK) || !skb)
1392 framelen = le64_to_cpu(rxfd->rfs) & IPG_RFS_RXFRAMELEN;
1404 if ((IPG_DROP_ON_RX_ETH_ERRORS && (le64_to_cpu(rxfd->rfs) &
1410 (unsigned long int) rxfd->rfs);
1416 if (le64_to_cpu(rxfd->rfs) & IPG_RFS_RXFIFOOVERRUN) {
1421 if (le64_to_cpu(rxfd->rfs) & IPG_RFS_RXRUNTFRAME) {
1426 if (le64_to_cpu(rxfd->rfs) & IPG_RFS_RXOVERSIZEDFRAME) ;
1431 if (le64_to_cpu(rxfd->rfs) & IPG_RFS_RXALIGNMENTERROR) {
1436 if (le64_to_cpu(rxfd->rfs) & IPG_RFS_RXFCSERROR) ;
1446 __le64 info = rxfd->frag_info;
1496 while ((le64_to_cpu(rxfd->rfs) & IPG_RFS_RFDDONE) &&
1497 !((le64_to_cpu(rxfd->rfs) & IPG_RFS_FRAMESTART) &&
1498 (le64_to_cpu(rxfd->rfs) & IPG_RFS_FRAMEEND))) {
1501 rxfd = sp->rxd + entry;
1516 le64_to_cpu(rxfd->frag_info) & ~IPG_RFI_FRAGLEN,
1689 struct ipg_rx *rxfd = sp->rxd + i;
1694 le64_to_cpu(rxfd->frag_info) & ~IPG_RFI_FRAGLEN,