Searched refs:desc_status (Results 1 – 11 of 11) sorted by relevance
/linux-4.1.27/drivers/iommu/ |
D | dmar.c | 1096 kfree(iommu->qi->desc_status); in free_iommu() 1112 while (qi->desc_status[qi->free_tail] == QI_DONE || in reclaim_free_desc() 1113 qi->desc_status[qi->free_tail] == QI_ABORT) { in reclaim_free_desc() 1114 qi->desc_status[qi->free_tail] = QI_FREE; in reclaim_free_desc() 1127 if (qi->desc_status[wait_index] == QI_ABORT) in qi_check_fault() 1167 if (qi->desc_status[head] == QI_IN_USE) in qi_check_fault() 1168 qi->desc_status[head] = QI_ABORT; in qi_check_fault() 1172 if (qi->desc_status[wait_index] == QI_ABORT) in qi_check_fault() 1212 qi->desc_status[index] = qi->desc_status[wait_index] = QI_IN_USE; in qi_submit_sync() 1218 wait_desc.high = virt_to_phys(&qi->desc_status[wait_index]); in qi_submit_sync() [all …]
|
/linux-4.1.27/drivers/net/ethernet/via/ |
D | via-rhine.c | 1961 u32 desc_status = le32_to_cpu(desc->rx_status); in rhine_rx() local 1963 int data_size = desc_status >> 16; in rhine_rx() 1965 if (desc_status & DescOwn) in rhine_rx() 1969 desc_status); in rhine_rx() 1971 if ((desc_status & (RxWholePkt | RxErr)) != RxWholePkt) { in rhine_rx() 1972 if ((desc_status & RxWholePkt) != RxWholePkt) { in rhine_rx() 1977 desc_status); in rhine_rx() 1983 } else if (desc_status & RxErr) { in rhine_rx() 1987 desc_status); in rhine_rx() 1989 if (desc_status & 0x0030) in rhine_rx() [all …]
|
/linux-4.1.27/drivers/net/ethernet/smsc/ |
D | smsc9420.c | 770 static void smsc9420_rx_count_stats(struct net_device *dev, u32 desc_status) in smsc9420_rx_count_stats() argument 772 if (unlikely(desc_status & RDES0_ERROR_SUMMARY_)) { in smsc9420_rx_count_stats() 774 if (desc_status & RDES0_DESCRIPTOR_ERROR_) in smsc9420_rx_count_stats() 776 else if (desc_status & (RDES0_FRAME_TOO_LONG_ | in smsc9420_rx_count_stats() 779 else if (desc_status & RDES0_CRC_ERROR_) in smsc9420_rx_count_stats() 783 if (unlikely(desc_status & RDES0_LENGTH_ERROR_)) in smsc9420_rx_count_stats() 786 if (unlikely(!((desc_status & RDES0_LAST_DESCRIPTOR_) && in smsc9420_rx_count_stats() 787 (desc_status & RDES0_FIRST_DESCRIPTOR_)))) in smsc9420_rx_count_stats() 790 if (desc_status & RDES0_MULTICAST_FRAME_) in smsc9420_rx_count_stats()
|
/linux-4.1.27/drivers/net/ethernet/renesas/ |
D | sh_eth.c | 1452 u32 desc_status; in sh_eth_rx() local 1462 desc_status = edmac_to_cpu(mdp, rxdesc->status); in sh_eth_rx() 1470 entry, desc_status, pkt_len); in sh_eth_rx() 1472 if (!(desc_status & RDFEND)) in sh_eth_rx() 1482 desc_status >>= 16; in sh_eth_rx() 1485 if (desc_status & (RD_RFS1 | RD_RFS2 | RD_RFS3 | RD_RFS4 | in sh_eth_rx() 1488 if (desc_status & RD_RFS1) in sh_eth_rx() 1490 if (desc_status & RD_RFS2) in sh_eth_rx() 1492 if (desc_status & RD_RFS3) in sh_eth_rx() 1494 if (desc_status & RD_RFS4) in sh_eth_rx() [all …]
|
/linux-4.1.27/drivers/net/ethernet/adaptec/ |
D | starfire.c | 1407 u32 desc_status; in __netdev_rx() local 1411 while ((desc_status = le32_to_cpu(np->rx_done_q[np->rx_done].status)) != 0) { in __netdev_rx() 1418 printk(KERN_DEBUG " netdev_rx() status of %d was %#8.8x.\n", np->rx_done, desc_status); in __netdev_rx() 1419 if (!(desc_status & RxOK)) { in __netdev_rx() 1422 printk(KERN_DEBUG " netdev_rx() Rx error was %#8.8x.\n", desc_status); in __netdev_rx() 1424 if (desc_status & RxFIFOErr) in __netdev_rx() 1435 pkt_len = desc_status; /* Implicitly Truncate */ in __netdev_rx() 1436 entry = (desc_status >> 16) & 0x7ff; in __netdev_rx() 1522 retcode, np->rx_done, desc_status); in __netdev_rx()
|
/linux-4.1.27/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 2271 s32 desc_status = le32_to_cpu(np->rx_head_desc->cmd_status); in netdev_rx() local 2276 while (desc_status < 0) { /* e.g. & DescOwn */ in netdev_rx() 2281 entry, desc_status); in netdev_rx() 2290 pkt_len = (desc_status & DescSizeMask) - 4; in netdev_rx() 2291 if ((desc_status&(DescMore|DescPktOK|DescRxLong)) != DescPktOK){ in netdev_rx() 2292 if (desc_status & DescMore) { in netdev_rx() 2301 np->cur_rx, desc_status); in netdev_rx() 2323 if (desc_status & (DescRxAbort|DescRxOver)) in netdev_rx() 2325 if (desc_status & (DescRxLong|DescRxRunt)) in netdev_rx() 2327 if (desc_status & (DescRxInvalid|DescRxAlign)) in netdev_rx() [all …]
|
/linux-4.1.27/drivers/net/ethernet/packetengines/ |
D | hamachi.c | 1412 u32 desc_status = le32_to_cpu(desc->status_n_length); in hamachi_rx() local 1413 u16 data_size = desc_status; /* Implicit truncate */ in hamachi_rx() 1417 if (desc_status & DescOwn) in hamachi_rx() 1430 if ( ! (desc_status & DescEndPacket)) { in hamachi_rx() 1433 dev->name, hmp->cur_rx, data_size, desc_status); in hamachi_rx()
|
D | yellowfin.c | 1055 u16 desc_status; in yellowfin_rx() local 1063 desc_status = le32_to_cpu(desc->result_status) >> 16; in yellowfin_rx() 1076 if ( ! (desc_status & RX_EOP)) { in yellowfin_rx() 1079 desc_status, data_size); in yellowfin_rx()
|
/linux-4.1.27/include/linux/ |
D | intel-iommu.h | 289 int *desc_status; /* desc status */ member
|
/linux-4.1.27/drivers/dma/ |
D | pl330.c | 390 enum desc_status { enum 505 enum desc_status status;
|
/linux-4.1.27/drivers/tty/ |
D | synclink_gt.c | 218 #define desc_status(a) (le16_to_cpu((a).status)) macro 4705 status = desc_status(info->rbufs[end]); in rx_get_frame()
|