Home
last modified time | relevance | path

Searched refs:link_gen (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/drivers/pci/controller/
Dpcie-rockchip.c66 rockchip->link_gen = of_pci_get_max_link_speed(node); in rockchip_pcie_parse_dt()
67 if (rockchip->link_gen < 0 || rockchip->link_gen > 2) in rockchip_pcie_parse_dt()
68 rockchip->link_gen = 2; in rockchip_pcie_parse_dt()
232 if (rockchip->link_gen == 2) in rockchip_pcie_init_port()
Dpci-aardvark.c199 int link_gen; member
340 for (gen = pcie->link_gen; gen > 0; --gen) { in advk_pcie_train_link()
1167 pcie->link_gen = 3; in advk_pcie_probe()
1169 pcie->link_gen = ret; in advk_pcie_probe()
Dpcie-rockchip.h301 int link_gen; member
Dpcie-rockchip-host.c342 if (rockchip->link_gen == 2) { in rockchip_pcie_host_init_port()
/Linux-v5.10/drivers/pci/controller/dwc/
Dpcie-designware.c500 static void dw_pcie_link_set_max_speed(struct dw_pcie *pci, u32 link_gen) in dw_pcie_link_set_max_speed() argument
509 switch (pcie_link_speed[link_gen]) { in dw_pcie_link_set_max_speed()
566 if (pci->link_gen > 0) in dw_pcie_setup()
567 dw_pcie_link_set_max_speed(pci, pci->link_gen); in dw_pcie_setup()
582 val |= pci->n_fts[pci->link_gen - 1]; in dw_pcie_setup()
Dpcie-intel-gw.c142 switch (pci->link_gen) { in intel_pcie_init_n_fts()
288 if (pci->link_gen < 3) in intel_pcie_wait_l2()
Dpcie-spear13xx.c254 pci->link_gen = 1; in spear13xx_pcie_probe()
Dpcie-designware-host.c357 if (pci->link_gen < 1) in dw_pcie_host_init()
358 pci->link_gen = of_pci_get_max_link_speed(np); in dw_pcie_host_init()
Dpci-imx6.c773 if (pci->link_gen == 2) { in imx6_pcie_establish_link()
1150 pci->link_gen = 1; in imx6_pcie_probe()
1151 ret = of_property_read_u32(node, "fsl,max-link-speed", &pci->link_gen); in imx6_pcie_probe()
Dpcie-designware-ep.c733 if (pci->link_gen < 1) in dw_pcie_ep_init()
734 pci->link_gen = of_pci_get_max_link_speed(np); in dw_pcie_ep_init()
Dpcie-designware.h275 int link_gen; member