Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_pcie.c454 u16 rc_mrrs, ep_mrrs, max_mrrs; in qib_tune_pcie_caps() local
495 max_mrrs = 5; in qib_tune_pcie_caps()
496 if (max_mrrs > ((qib_pcie_caps >> 4) & 7)) in qib_tune_pcie_caps()
497 max_mrrs = (qib_pcie_caps >> 4) & 7; in qib_tune_pcie_caps()
499 max_mrrs = 128 << max_mrrs; in qib_tune_pcie_caps()
503 if (max_mrrs > rc_mrrs) { in qib_tune_pcie_caps()
504 rc_mrrs = max_mrrs; in qib_tune_pcie_caps()
507 if (max_mrrs > ep_mrrs) { in qib_tune_pcie_caps()
508 ep_mrrs = max_mrrs; in qib_tune_pcie_caps()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dpcie.c416 u16 rc_mrrs, ep_mrrs, max_mrrs, ectl; in tune_pcie_caps() local
483 max_mrrs = 5; in tune_pcie_caps()
484 if (max_mrrs > ((hfi1_pcie_caps >> 4) & 7)) in tune_pcie_caps()
485 max_mrrs = (hfi1_pcie_caps >> 4) & 7; in tune_pcie_caps()
487 max_mrrs = 128 << max_mrrs; in tune_pcie_caps()
491 if (max_mrrs > rc_mrrs) { in tune_pcie_caps()
492 rc_mrrs = max_mrrs; in tune_pcie_caps()
495 if (max_mrrs > ep_mrrs) { in tune_pcie_caps()
496 ep_mrrs = max_mrrs; in tune_pcie_caps()
/openbmc/linux/drivers/pci/
H A Dpci.c6245 int max_mrrs = pcie_get_readrq(dev); in pcie_set_readrq() local
6247 if (rq > max_mrrs) { in pcie_set_readrq()
6248 pci_info(dev, "can't set Max_Read_Request_Size to %d; max is %d\n", rq, max_mrrs); in pcie_set_readrq()