Home
last modified time | relevance | path

Searched refs:desc_status (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/drivers/iommu/
Ddmar.c1133 kfree(iommu->qi->desc_status); in free_iommu()
1149 while (qi->desc_status[qi->free_tail] == QI_DONE || in reclaim_free_desc()
1150 qi->desc_status[qi->free_tail] == QI_ABORT) { in reclaim_free_desc()
1151 qi->desc_status[qi->free_tail] = QI_FREE; in reclaim_free_desc()
1164 if (qi->desc_status[wait_index] == QI_ABORT) in qi_check_fault()
1202 if (qi->desc_status[head] == QI_IN_USE) in qi_check_fault()
1203 qi->desc_status[head] = QI_ABORT; in qi_check_fault()
1207 if (qi->desc_status[wait_index] == QI_ABORT) in qi_check_fault()
1247 qi->desc_status[index] = qi->desc_status[wait_index] = QI_IN_USE; in qi_submit_sync()
1253 wait_desc.high = virt_to_phys(&qi->desc_status[wait_index]); in qi_submit_sync()
[all …]
/Linux-v4.19/drivers/net/ethernet/via/
Dvia-rhine.c2059 u32 desc_status = le32_to_cpu(desc->rx_status); in rhine_rx() local
2060 int data_size = desc_status >> 16; in rhine_rx()
2062 if (desc_status & DescOwn) in rhine_rx()
2066 desc_status); in rhine_rx()
2068 if ((desc_status & (RxWholePkt | RxErr)) != RxWholePkt) { in rhine_rx()
2069 if ((desc_status & RxWholePkt) != RxWholePkt) { in rhine_rx()
2074 desc_status); in rhine_rx()
2076 } else if (desc_status & RxErr) { in rhine_rx()
2080 desc_status); in rhine_rx()
2082 if (desc_status & 0x0030) in rhine_rx()
[all …]
/Linux-v4.19/drivers/net/ethernet/smsc/
Dsmsc9420.c732 static void smsc9420_rx_count_stats(struct net_device *dev, u32 desc_status) in smsc9420_rx_count_stats() argument
734 if (unlikely(desc_status & RDES0_ERROR_SUMMARY_)) { in smsc9420_rx_count_stats()
736 if (desc_status & RDES0_DESCRIPTOR_ERROR_) in smsc9420_rx_count_stats()
738 else if (desc_status & (RDES0_FRAME_TOO_LONG_ | in smsc9420_rx_count_stats()
741 else if (desc_status & RDES0_CRC_ERROR_) in smsc9420_rx_count_stats()
745 if (unlikely(desc_status & RDES0_LENGTH_ERROR_)) in smsc9420_rx_count_stats()
748 if (unlikely(!((desc_status & RDES0_LAST_DESCRIPTOR_) && in smsc9420_rx_count_stats()
749 (desc_status & RDES0_FIRST_DESCRIPTOR_)))) in smsc9420_rx_count_stats()
752 if (desc_status & RDES0_MULTICAST_FRAME_) in smsc9420_rx_count_stats()
/Linux-v4.19/drivers/net/ethernet/adaptec/
Dstarfire.c1441 u32 desc_status; in __netdev_rx() local
1445 while ((desc_status = le32_to_cpu(np->rx_done_q[np->rx_done].status)) != 0) { in __netdev_rx()
1452 printk(KERN_DEBUG " netdev_rx() status of %d was %#8.8x.\n", np->rx_done, desc_status); in __netdev_rx()
1453 if (!(desc_status & RxOK)) { in __netdev_rx()
1456 printk(KERN_DEBUG " netdev_rx() Rx error was %#8.8x.\n", desc_status); in __netdev_rx()
1458 if (desc_status & RxFIFOErr) in __netdev_rx()
1469 pkt_len = desc_status; /* Implicitly Truncate */ in __netdev_rx()
1470 entry = (desc_status >> 16) & 0x7ff; in __netdev_rx()
1556 retcode, np->rx_done, desc_status); in __netdev_rx()
/Linux-v4.19/drivers/net/ethernet/renesas/
Dsh_eth.c1605 u32 desc_status; in sh_eth_rx() local
1617 desc_status = le32_to_cpu(rxdesc->status); in sh_eth_rx()
1625 entry, desc_status, pkt_len); in sh_eth_rx()
1627 if (!(desc_status & RDFEND)) in sh_eth_rx()
1637 desc_status >>= 16; in sh_eth_rx()
1640 if (desc_status & (RD_RFS1 | RD_RFS2 | RD_RFS3 | RD_RFS4 | in sh_eth_rx()
1643 if (desc_status & RD_RFS1) in sh_eth_rx()
1645 if (desc_status & RD_RFS2) in sh_eth_rx()
1647 if (desc_status & RD_RFS3) in sh_eth_rx()
1649 if (desc_status & RD_RFS4) in sh_eth_rx()
[all …]
Dravb_main.c549 u8 desc_status; in ravb_rx() local
559 desc_status = desc->msc; in ravb_rx()
569 if (desc_status & MSC_MC) in ravb_rx()
572 if (desc_status & (MSC_CRC | MSC_RFE | MSC_RTSF | MSC_RTLF | in ravb_rx()
575 if (desc_status & MSC_CRC) in ravb_rx()
577 if (desc_status & MSC_RFE) in ravb_rx()
579 if (desc_status & (MSC_RTLF | MSC_RTSF)) in ravb_rx()
581 if (desc_status & MSC_CEEF) in ravb_rx()
/Linux-v4.19/drivers/net/ethernet/natsemi/
Dnatsemi.c2287 s32 desc_status = le32_to_cpu(np->rx_head_desc->cmd_status); in netdev_rx() local
2292 while (desc_status < 0) { /* e.g. & DescOwn */ in netdev_rx()
2297 entry, desc_status); in netdev_rx()
2306 pkt_len = (desc_status & DescSizeMask) - 4; in netdev_rx()
2307 if ((desc_status&(DescMore|DescPktOK|DescRxLong)) != DescPktOK){ in netdev_rx()
2308 if (desc_status & DescMore) { in netdev_rx()
2317 np->cur_rx, desc_status); in netdev_rx()
2339 if (desc_status & (DescRxAbort|DescRxOver)) in netdev_rx()
2341 if (desc_status & (DescRxLong|DescRxRunt)) in netdev_rx()
2343 if (desc_status & (DescRxInvalid|DescRxAlign)) in netdev_rx()
[all …]
/Linux-v4.19/drivers/net/ethernet/packetengines/
Dhamachi.c1409 u32 desc_status = le32_to_cpu(desc->status_n_length); in hamachi_rx() local
1410 u16 data_size = desc_status; /* Implicit truncate */ in hamachi_rx()
1414 if (desc_status & DescOwn) in hamachi_rx()
1427 if ( ! (desc_status & DescEndPacket)) { in hamachi_rx()
1430 dev->name, hmp->cur_rx, data_size, desc_status); in hamachi_rx()
Dyellowfin.c1052 u16 desc_status; in yellowfin_rx() local
1060 desc_status = le32_to_cpu(desc->result_status) >> 16; in yellowfin_rx()
1073 if ( ! (desc_status & RX_EOP)) { in yellowfin_rx()
1076 desc_status, data_size); in yellowfin_rx()
/Linux-v4.19/include/linux/
Dintel-iommu.h348 int *desc_status; /* desc status */ member
/Linux-v4.19/drivers/dma/
Dpl330.c393 enum desc_status { enum
525 enum desc_status status;
/Linux-v4.19/drivers/tty/
Dsynclink_gt.c217 #define desc_status(a) (le16_to_cpu((a).status)) macro
4673 status = desc_status(info->rbufs[end]); in rx_get_frame()