Home
last modified time | relevance | path

Searched refs:tx_bd_size (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/net/wireless/quantenna/qtnfmac/pcie/
Dpearl_pcie.c401 unsigned int tx_bd_size, in qtnf_pcie_pearl_init_xfer() argument
408 if (tx_bd_size == 0) in qtnf_pcie_pearl_init_xfer()
409 tx_bd_size = PEARL_TX_BD_SIZE_DEFAULT; in qtnf_pcie_pearl_init_xfer()
411 val = tx_bd_size * sizeof(struct qtnf_pearl_tx_bd); in qtnf_pcie_pearl_init_xfer()
413 if (!is_power_of_2(tx_bd_size) || val > PCIE_HHBM_MAX_SIZE) { in qtnf_pcie_pearl_init_xfer()
415 tx_bd_size, PEARL_TX_BD_SIZE_DEFAULT); in qtnf_pcie_pearl_init_xfer()
418 priv->tx_bd_num = tx_bd_size; in qtnf_pcie_pearl_init_xfer()
1111 static int qtnf_pcie_pearl_probe(struct qtnf_bus *bus, unsigned int tx_bd_size, in qtnf_pcie_pearl_probe() argument
1127 ret = qtnf_pcie_pearl_init_xfer(ps, tx_bd_size, rx_bd_size); in qtnf_pcie_pearl_probe()
Dpcie_priv.h26 int (*probe_cb)(struct qtnf_bus *bus, unsigned int tx_bd_size,
Dtopaz_pcie.c335 unsigned int tx_bd_size, in qtnf_pcie_topaz_init_xfer() argument
342 if (tx_bd_size == 0) in qtnf_pcie_topaz_init_xfer()
343 tx_bd_size = TOPAZ_TX_BD_SIZE_DEFAULT; in qtnf_pcie_topaz_init_xfer()
346 if (tx_bd_size > QTN_PCIE_RC_TX_QUEUE_LEN) { in qtnf_pcie_topaz_init_xfer()
349 tx_bd_size = QTN_PCIE_RC_TX_QUEUE_LEN; in qtnf_pcie_topaz_init_xfer()
352 priv->tx_bd_num = tx_bd_size; in qtnf_pcie_topaz_init_xfer()