Home
last modified time | relevance | path

Searched refs:desc_status (Results 1 - 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/iommu/intel/
H A Ddmar.c1180 kfree(iommu->qi->desc_status); in free_iommu()
1196 while (qi->desc_status[qi->free_tail] == QI_DONE || in reclaim_free_desc()
1197 qi->desc_status[qi->free_tail] == QI_ABORT) { in reclaim_free_desc()
1198 qi->desc_status[qi->free_tail] = QI_FREE; in reclaim_free_desc()
1211 if (qi->desc_status[wait_index] == QI_ABORT) in qi_check_fault()
1255 if (qi->desc_status[head] == QI_IN_USE) in qi_check_fault()
1256 qi->desc_status[head] = QI_ABORT; in qi_check_fault()
1260 if (qi->desc_status[wait_index] == QI_ABORT) in qi_check_fault()
1312 qi->desc_status[(index + i) % QI_LENGTH] = QI_IN_USE; in qi_submit_sync()
1314 qi->desc_status[wait_inde in qi_submit_sync()
[all...]
H A Ddebugfs.c394 iommu->qi->desc_status[index]); in invalidation_queue_entry_show()
398 iommu->qi->desc_status[index]); in invalidation_queue_entry_show()
/kernel/linux/linux-6.6/drivers/iommu/intel/
H A Ddmar.c1189 kfree(iommu->qi->desc_status); in free_iommu()
1205 while (qi->desc_status[qi->free_tail] == QI_DONE || in reclaim_free_desc()
1206 qi->desc_status[qi->free_tail] == QI_ABORT) { in reclaim_free_desc()
1207 qi->desc_status[qi->free_tail] = QI_FREE; in reclaim_free_desc()
1277 if (qi->desc_status[wait_index] == QI_ABORT) in qi_check_fault()
1322 if (qi->desc_status[head] == QI_IN_USE) in qi_check_fault()
1323 qi->desc_status[head] = QI_ABORT; in qi_check_fault()
1327 if (qi->desc_status[wait_index] == QI_ABORT) in qi_check_fault()
1399 qi->desc_status[(index + i) % QI_LENGTH] = QI_IN_USE; in qi_submit_sync()
1403 qi->desc_status[wait_inde in qi_submit_sync()
[all...]
H A Ddebugfs.c415 iommu->qi->desc_status[index]); in invalidation_queue_entry_show()
419 iommu->qi->desc_status[index]); in invalidation_queue_entry_show()
H A Diommu.h486 int *desc_status; /* desc status */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/via/
H A Dvia-rhine.c2045 u32 desc_status = le32_to_cpu(desc->rx_status); in rhine_rx() local
2046 int data_size = desc_status >> 16; in rhine_rx()
2048 if (desc_status & DescOwn) in rhine_rx()
2052 desc_status); in rhine_rx()
2054 if ((desc_status & (RxWholePkt | RxErr)) != RxWholePkt) { in rhine_rx()
2055 if ((desc_status & RxWholePkt) != RxWholePkt) { in rhine_rx()
2060 desc_status); in rhine_rx()
2062 } else if (desc_status & RxErr) { in rhine_rx()
2066 desc_status); in rhine_rx()
2068 if (desc_status in rhine_rx()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/via/
H A Dvia-rhine.c2042 u32 desc_status = le32_to_cpu(desc->rx_status); in rhine_rx() local
2043 int data_size = desc_status >> 16; in rhine_rx()
2045 if (desc_status & DescOwn) in rhine_rx()
2049 desc_status); in rhine_rx()
2051 if ((desc_status & (RxWholePkt | RxErr)) != RxWholePkt) { in rhine_rx()
2052 if ((desc_status & RxWholePkt) != RxWholePkt) { in rhine_rx()
2057 desc_status); in rhine_rx()
2059 } else if (desc_status & RxErr) { in rhine_rx()
2063 desc_status); in rhine_rx()
2065 if (desc_status in rhine_rx()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/renesas/
H A Dravb_main.c775 u8 desc_status; in ravb_rx_gbeth() local
792 desc_status = desc->msc; in ravb_rx_gbeth()
802 if (desc_status & MSC_MC) in ravb_rx_gbeth()
805 if (desc_status & (MSC_CRC | MSC_RFE | MSC_RTSF | MSC_RTLF | MSC_CEEF)) { in ravb_rx_gbeth()
807 if (desc_status & MSC_CRC) in ravb_rx_gbeth()
809 if (desc_status & MSC_RFE) in ravb_rx_gbeth()
811 if (desc_status & (MSC_RTLF | MSC_RTSF)) in ravb_rx_gbeth()
813 if (desc_status & MSC_CEEF) in ravb_rx_gbeth()
908 u8 desc_status; in ravb_rx_rcar() local
918 desc_status in ravb_rx_rcar()
[all...]
H A Dsh_eth.c1593 u32 desc_status; in sh_eth_rx() local
1605 desc_status = le32_to_cpu(rxdesc->status); in sh_eth_rx()
1613 entry, desc_status, pkt_len); in sh_eth_rx()
1615 if (!(desc_status & RDFEND)) in sh_eth_rx()
1625 desc_status >>= 16; in sh_eth_rx()
1628 if (desc_status & (RD_RFS1 | RD_RFS2 | RD_RFS3 | RD_RFS4 | in sh_eth_rx()
1631 if (desc_status & RD_RFS1) in sh_eth_rx()
1633 if (desc_status & RD_RFS2) in sh_eth_rx()
1635 if (desc_status & RD_RFS3) in sh_eth_rx()
1637 if (desc_status in sh_eth_rx()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/adaptec/
H A Dstarfire.c1429 u32 desc_status; in __netdev_rx() local
1433 while ((desc_status = le32_to_cpu(np->rx_done_q[np->rx_done].status)) != 0) { in __netdev_rx()
1440 printk(KERN_DEBUG " netdev_rx() status of %d was %#8.8x.\n", np->rx_done, desc_status); in __netdev_rx()
1441 if (!(desc_status & RxOK)) { in __netdev_rx()
1444 printk(KERN_DEBUG " netdev_rx() Rx error was %#8.8x.\n", desc_status); in __netdev_rx()
1446 if (desc_status & RxFIFOErr) in __netdev_rx()
1457 pkt_len = desc_status; /* Implicitly Truncate */ in __netdev_rx()
1458 entry = (desc_status >> 16) & 0x7ff; in __netdev_rx()
1546 retcode, np->rx_done, desc_status); in __netdev_rx()
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/
H A Dsmsc9420.c713 static void smsc9420_rx_count_stats(struct net_device *dev, u32 desc_status) in smsc9420_rx_count_stats() argument
715 if (unlikely(desc_status & RDES0_ERROR_SUMMARY_)) { in smsc9420_rx_count_stats()
717 if (desc_status & RDES0_DESCRIPTOR_ERROR_) in smsc9420_rx_count_stats()
719 else if (desc_status & (RDES0_FRAME_TOO_LONG_ | in smsc9420_rx_count_stats()
722 else if (desc_status & RDES0_CRC_ERROR_) in smsc9420_rx_count_stats()
726 if (unlikely(desc_status & RDES0_LENGTH_ERROR_)) in smsc9420_rx_count_stats()
729 if (unlikely(!((desc_status & RDES0_LAST_DESCRIPTOR_) && in smsc9420_rx_count_stats()
730 (desc_status & RDES0_FIRST_DESCRIPTOR_)))) in smsc9420_rx_count_stats()
733 if (desc_status & RDES0_MULTICAST_FRAME_) in smsc9420_rx_count_stats()
/kernel/linux/linux-6.6/drivers/net/ethernet/adaptec/
H A Dstarfire.c1431 u32 desc_status; in __netdev_rx() local
1435 while ((desc_status = le32_to_cpu(np->rx_done_q[np->rx_done].status)) != 0) { in __netdev_rx()
1442 printk(KERN_DEBUG " netdev_rx() status of %d was %#8.8x.\n", np->rx_done, desc_status); in __netdev_rx()
1443 if (!(desc_status & RxOK)) { in __netdev_rx()
1446 printk(KERN_DEBUG " netdev_rx() Rx error was %#8.8x.\n", desc_status); in __netdev_rx()
1448 if (desc_status & RxFIFOErr) in __netdev_rx()
1459 pkt_len = desc_status; /* Implicitly Truncate */ in __netdev_rx()
1460 entry = (desc_status >> 16) & 0x7ff; in __netdev_rx()
1548 retcode, np->rx_done, desc_status); in __netdev_rx()
/kernel/linux/linux-6.6/drivers/net/ethernet/smsc/
H A Dsmsc9420.c715 static void smsc9420_rx_count_stats(struct net_device *dev, u32 desc_status) in smsc9420_rx_count_stats() argument
717 if (unlikely(desc_status & RDES0_ERROR_SUMMARY_)) { in smsc9420_rx_count_stats()
719 if (desc_status & RDES0_DESCRIPTOR_ERROR_) in smsc9420_rx_count_stats()
721 else if (desc_status & (RDES0_FRAME_TOO_LONG_ | in smsc9420_rx_count_stats()
724 else if (desc_status & RDES0_CRC_ERROR_) in smsc9420_rx_count_stats()
728 if (unlikely(desc_status & RDES0_LENGTH_ERROR_)) in smsc9420_rx_count_stats()
731 if (unlikely(!((desc_status & RDES0_LAST_DESCRIPTOR_) && in smsc9420_rx_count_stats()
732 (desc_status & RDES0_FIRST_DESCRIPTOR_)))) in smsc9420_rx_count_stats()
735 if (desc_status & RDES0_MULTICAST_FRAME_) in smsc9420_rx_count_stats()
/kernel/linux/linux-5.10/drivers/net/ethernet/renesas/
H A Dsh_eth.c1593 u32 desc_status; in sh_eth_rx() local
1605 desc_status = le32_to_cpu(rxdesc->status); in sh_eth_rx()
1613 entry, desc_status, pkt_len); in sh_eth_rx()
1615 if (!(desc_status & RDFEND)) in sh_eth_rx()
1625 desc_status >>= 16; in sh_eth_rx()
1628 if (desc_status & (RD_RFS1 | RD_RFS2 | RD_RFS3 | RD_RFS4 | in sh_eth_rx()
1631 if (desc_status & RD_RFS1) in sh_eth_rx()
1633 if (desc_status & RD_RFS2) in sh_eth_rx()
1635 if (desc_status & RD_RFS3) in sh_eth_rx()
1637 if (desc_status in sh_eth_rx()
[all...]
H A Dravb_main.c544 u8 desc_status; in ravb_rx() local
554 desc_status = desc->msc; in ravb_rx()
564 if (desc_status & MSC_MC) in ravb_rx()
567 if (desc_status & (MSC_CRC | MSC_RFE | MSC_RTSF | MSC_RTLF | in ravb_rx()
570 if (desc_status & MSC_CRC) in ravb_rx()
572 if (desc_status & MSC_RFE) in ravb_rx()
574 if (desc_status & (MSC_RTLF | MSC_RTSF)) in ravb_rx()
576 if (desc_status & MSC_CEEF) in ravb_rx()
/kernel/linux/linux-5.10/drivers/net/ethernet/natsemi/
H A Dnatsemi.c2282 s32 desc_status = le32_to_cpu(np->rx_head_desc->cmd_status); in netdev_rx() local
2287 while (desc_status < 0) { /* e.g. & DescOwn */ in netdev_rx()
2292 entry, desc_status); in netdev_rx()
2301 pkt_len = (desc_status & DescSizeMask) - 4; in netdev_rx()
2302 if ((desc_status&(DescMore|DescPktOK|DescRxLong)) != DescPktOK){ in netdev_rx()
2303 if (desc_status & DescMore) { in netdev_rx()
2312 np->cur_rx, desc_status); in netdev_rx()
2334 if (desc_status & (DescRxAbort|DescRxOver)) in netdev_rx()
2336 if (desc_status & (DescRxLong|DescRxRunt)) in netdev_rx()
2338 if (desc_status in netdev_rx()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/natsemi/
H A Dnatsemi.c2282 s32 desc_status = le32_to_cpu(np->rx_head_desc->cmd_status); in netdev_rx() local
2287 while (desc_status < 0) { /* e.g. & DescOwn */ in netdev_rx()
2292 entry, desc_status); in netdev_rx()
2301 pkt_len = (desc_status & DescSizeMask) - 4; in netdev_rx()
2302 if ((desc_status&(DescMore|DescPktOK|DescRxLong)) != DescPktOK){ in netdev_rx()
2303 if (desc_status & DescMore) { in netdev_rx()
2312 np->cur_rx, desc_status); in netdev_rx()
2334 if (desc_status & (DescRxAbort|DescRxOver)) in netdev_rx()
2336 if (desc_status & (DescRxLong|DescRxRunt)) in netdev_rx()
2338 if (desc_status in netdev_rx()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/packetengines/
H A Dhamachi.c1418 u32 desc_status = le32_to_cpu(desc->status_n_length); in hamachi_rx() local
1419 u16 data_size = desc_status; /* Implicit truncate */ in hamachi_rx()
1423 if (desc_status & DescOwn) in hamachi_rx()
1435 if ( ! (desc_status & DescEndPacket)) { in hamachi_rx()
1438 dev->name, hmp->cur_rx, data_size, desc_status); in hamachi_rx()
H A Dyellowfin.c1062 u16 desc_status; in yellowfin_rx() local
1071 desc_status = le32_to_cpu(desc->result_status) >> 16; in yellowfin_rx()
1084 if ( ! (desc_status & RX_EOP)) { in yellowfin_rx()
1087 desc_status, data_size); in yellowfin_rx()
/kernel/linux/linux-6.6/drivers/net/ethernet/packetengines/
H A Dhamachi.c1422 u32 desc_status = le32_to_cpu(desc->status_n_length); in hamachi_rx() local
1423 u16 data_size = desc_status; /* Implicit truncate */ in hamachi_rx()
1427 if (desc_status & DescOwn) in hamachi_rx()
1439 if ( ! (desc_status & DescEndPacket)) { in hamachi_rx()
1442 dev->name, hmp->cur_rx, data_size, desc_status); in hamachi_rx()
H A Dyellowfin.c1064 u16 desc_status; in yellowfin_rx() local
1073 desc_status = le32_to_cpu(desc->result_status) >> 16; in yellowfin_rx()
1086 if ( ! (desc_status & RX_EOP)) { in yellowfin_rx()
1089 desc_status, data_size); in yellowfin_rx()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dcadence-nand-controller.c946 u32 desc_status) in cadence_nand_check_desc_error()
948 if (desc_status & CDMA_CS_ERP) in cadence_nand_check_desc_error()
951 if (desc_status & CDMA_CS_UNCE) in cadence_nand_check_desc_error()
954 if (desc_status & CDMA_CS_ERR) { in cadence_nand_check_desc_error()
959 if (FIELD_GET(CDMA_CS_MAXERR, desc_status)) in cadence_nand_check_desc_error()
945 cadence_nand_check_desc_error(struct cdns_nand_ctrl *cdns_ctrl, u32 desc_status) cadence_nand_check_desc_error() argument
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dcadence-nand-controller.c946 u32 desc_status) in cadence_nand_check_desc_error()
948 if (desc_status & CDMA_CS_ERP) in cadence_nand_check_desc_error()
951 if (desc_status & CDMA_CS_UNCE) in cadence_nand_check_desc_error()
954 if (desc_status & CDMA_CS_ERR) { in cadence_nand_check_desc_error()
959 if (FIELD_GET(CDMA_CS_MAXERR, desc_status)) in cadence_nand_check_desc_error()
945 cadence_nand_check_desc_error(struct cdns_nand_ctrl *cdns_ctrl, u32 desc_status) cadence_nand_check_desc_error() argument
/kernel/linux/linux-5.10/include/linux/
H A Dintel-iommu.h425 int *desc_status; /* desc status */ member
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/
H A Dmvneta.c2307 struct xdp_buff *xdp, u32 desc_status) in mvneta_swbm_build_skb()
2321 mvneta_rx_csum(pp, desc_status, skb); in mvneta_swbm_build_skb()
2348 u32 desc_status, frame_sz; in mvneta_rx_swbm() local
2379 desc_status = rx_status; in mvneta_rx_swbm()
2408 skb = mvneta_swbm_build_skb(pp, rxq, &xdp_buf, desc_status); in mvneta_rx_swbm()
2306 mvneta_swbm_build_skb(struct mvneta_port *pp, struct mvneta_rx_queue *rxq, struct xdp_buff *xdp, u32 desc_status) mvneta_swbm_build_skb() argument

Completed in 69 milliseconds

12