• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7800-V1.0.2.28/package/qca-nss-gmac/src/ipq806x/include/

Lines Matching defs:dma_desc

123 struct dma_desc {
168 struct dma_desc *tx_desc;/* start address of TX descriptors ring or
171 struct dma_desc *rx_desc;/* start address of RX descriptors ring or
198 struct dma_desc *tx_busy_desc; /* Tx Descriptor address corresponding
200 struct dma_desc *tx_next_desc; /* Tx Descriptor address corresponding
202 struct dma_desc *rx_busy_desc; /* Rx Descriptor address corresponding
204 struct dma_desc *rx_next_desc; /* Rx Descriptor address corresponding
1298 struct dma_desc *desc)
1515 * @param[in] pointer to dma_desc structure.
1519 static inline void nss_gmac_rx_desc_init_ring(struct dma_desc *desc,
1522 struct dma_desc *last_desc = desc + no_of_desc - 1;
1523 memset(desc, 0, no_of_desc * sizeof(struct dma_desc));
1529 * @param[in] pointer to dma_desc structure.
1533 static inline void nss_gmac_tx_desc_init_ring(struct dma_desc *desc,
1536 struct dma_desc *last_desc = desc + no_of_desc - 1;
1537 memset(desc, 0, no_of_desc * sizeof(struct dma_desc));
1543 void nss_gmac_set_owner_dma(struct dma_desc *desc);
1544 void nss_gmac_set_desc_sof(struct dma_desc *desc);
1545 void nss_gmac_set_desc_eof(struct dma_desc *desc);
1546 bool nss_gmac_is_sof_in_rx_desc(struct dma_desc *desc);
1547 bool nss_gmac_is_eof_in_rx_desc(struct dma_desc *desc);
1548 bool nss_gmac_is_da_filter_failed(struct dma_desc *desc);
1549 bool nss_gmac_is_sa_filter_failed(struct dma_desc *desc);
1555 * @param[in] pointer to dma_desc structure.
1558 static inline bool nss_gmac_is_desc_owned_by_dma(struct dma_desc *desc)
1568 * @param[in] pointer to dma_desc structure.
1582 * @param[in] pointer to dma_desc structure.
1596 * @param[in] pointer to dma_desc structure.
1599 static inline bool nss_gmac_is_desc_empty(struct dma_desc *desc)
1656 * @param[in] pointer to dma_desc structure.
1660 struct dma_desc *desc)
1670 * @param[in] pointer to dma_desc structure.
1674 struct dma_desc *desc)
1683 * @param[in] pointer to dma_desc structure.
1686 static inline bool nss_gmac_is_rx_desc_chained(struct dma_desc *desc)
1699 * @param[in] pointer to dma_desc structure.
1702 static inline bool nss_gmac_is_tx_desc_chained(struct dma_desc *desc)
1711 void nss_gmac_get_desc_data(struct dma_desc *desc, uint32_t *Status,
1725 static inline struct dma_desc *nss_gmac_get_tx_qptr(struct nss_gmac_dev *gmacdev)
1727 struct dma_desc *txdesc = gmacdev->tx_busy_desc;
1750 struct dma_desc *txdesc = gmacdev->tx_busy_desc;
1788 static inline struct dma_desc *nss_gmac_set_tx_qptr(struct nss_gmac_dev *gmacdev,
1795 struct dma_desc *txdesc = gmacdev->tx_next_desc;
1859 struct dma_desc *rxdesc = gmacdev->rx_next_desc;
1916 * @return returns pointer to dma_desc on success. Negative value if error.
1918 static inline struct dma_desc *nss_gmac_get_rx_qptr(struct nss_gmac_dev *gmacdev)
1920 struct dma_desc *rxdesc = gmacdev->rx_busy_desc;
1947 struct dma_desc *rxdesc = gmacdev->rx_busy_desc;
2099 void nss_gmac_take_desc_ownership(struct dma_desc *desc);