Lines Matching +full:dma +full:- +full:info
1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
1327 dma_addr_t dma, u8 *add_info_nr);
1337 dma_addr_t dma;
1341 dma_addr_t dma;
1350 __le32 dma;
1370 __le32 dma;
1380 #define TXADDR_INFO_LENTHG_V1_MAX ALIGN_DOWN(BIT(11) - 1, 4)
1403 __le32 dma;
1428 dma_addr_t dma;
1439 dma_addr_t dma;
1506 struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
1509 sizeof(info->status.status_driver_data));
1511 return (struct rtw89_pci_rx_info *)skb->cb;
1517 struct rtw89_pci_dma_ring *bd_ring = &rx_ring->bd_ring;
1518 u8 *head = bd_ring->head;
1519 u32 desc_size = bd_ring->desc_size;
1528 struct rtw89_pci_dma_ring *bd_ring = &rx_ring->bd_ring;
1530 bd_ring->wp += cnt;
1532 if (bd_ring->wp >= bd_ring->len)
1533 bd_ring->wp -= bd_ring->len;
1540 return (struct rtw89_pci_tx_data *)data->hci_priv;
1546 struct rtw89_pci_dma_ring *bd_ring = &tx_ring->bd_ring;
1549 head = bd_ring->head;
1550 tx_bd = head + bd_ring->wp;
1558 struct rtw89_pci_tx_wd_ring *wd_ring = &tx_ring->wd_ring;
1561 txwd = list_first_entry_or_null(&wd_ring->free_pages,
1566 list_del_init(&txwd->list);
1567 txwd->len = 0;
1568 wd_ring->curr_num--;
1577 struct rtw89_pci_tx_wd_ring *wd_ring = &tx_ring->wd_ring;
1579 memset(txwd->vaddr, 0, wd_ring->page_size);
1580 list_add_tail(&txwd->list, &wd_ring->free_pages);
1581 wd_ring->curr_num++;
1609 dma_addr_t dma, u8 *add_info_nr);
1612 dma_addr_t dma, u8 *add_info_nr);
1636 dma_addr_t dma, u8 *add_info_nr)
1638 const struct rtw89_pci_info *info = rtwdev->pci_info;
1640 return info->fill_txaddr_info(rtwdev, txaddr_info_addr, total_len,
1641 dma, add_info_nr);
1647 struct rtw89_pci *rtwpci = (struct rtw89_pci *)rtwdev->priv;
1648 const struct rtw89_pci_info *info = rtwdev->pci_info;
1653 rtwpci->low_power = false;
1654 rtwpci->under_recovery = false;
1657 rtwpci->low_power = false;
1660 rtwpci->low_power = true;
1663 rtwpci->under_recovery = true;
1666 rtwpci->under_recovery = false;
1672 rtwpci->low_power, rtwpci->under_recovery);
1674 info->config_intr_mask(rtwdev);
1680 const struct rtw89_pci_info *info = rtwdev->pci_info;
1682 info->enable_intr(rtwdev, rtwpci);
1688 const struct rtw89_pci_info *info = rtwdev->pci_info;
1690 info->disable_intr(rtwdev, rtwpci);
1698 const struct rtw89_pci_info *info = rtwdev->pci_info;
1700 info->recognize_intrs(rtwdev, rtwpci, isrs);
1705 const struct rtw89_pci_info *info = rtwdev->pci_info;
1706 const struct rtw89_pci_gen_def *gen_def = info->gen_def;
1708 return gen_def->mac_pre_init(rtwdev);
1713 const struct rtw89_pci_info *info = rtwdev->pci_info;
1714 const struct rtw89_pci_gen_def *gen_def = info->gen_def;
1716 if (!gen_def->mac_pre_deinit)
1719 return gen_def->mac_pre_deinit(rtwdev);
1724 const struct rtw89_pci_info *info = rtwdev->pci_info;
1725 const struct rtw89_pci_gen_def *gen_def = info->gen_def;
1727 return gen_def->mac_post_init(rtwdev);
1732 const struct rtw89_pci_info *info = rtwdev->pci_info;
1733 const struct rtw89_pci_gen_def *gen_def = info->gen_def;
1735 gen_def->clr_idx_all(rtwdev);
1740 const struct rtw89_pci_info *info = rtwdev->pci_info;
1741 const struct rtw89_pci_gen_def *gen_def = info->gen_def;
1743 return gen_def->rst_bdram(rtwdev);
1748 const struct rtw89_pci_info *info = rtwdev->pci_info;
1749 const struct rtw89_pci_gen_def *gen_def = info->gen_def;
1751 return gen_def->ctrl_txdma_ch(rtwdev, enable);
1756 const struct rtw89_pci_info *info = rtwdev->pci_info;
1757 const struct rtw89_pci_gen_def *gen_def = info->gen_def;
1759 return gen_def->ctrl_txdma_fw_ch(rtwdev, enable);
1764 const struct rtw89_pci_info *info = rtwdev->pci_info;
1765 const struct rtw89_pci_gen_def *gen_def = info->gen_def;
1767 return gen_def->poll_txdma_ch_idle(rtwdev);