Home
last modified time | relevance | path

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

/linux-5.19.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.c285 int link_gen; member
396 if (pcie->link_gen == 3) in advk_pcie_train_link()
398 else if (pcie->link_gen == 2) in advk_pcie_train_link()
411 if (pcie->link_gen == 3) in advk_pcie_train_link()
413 else if (pcie->link_gen == 2) in advk_pcie_train_link()
1797 pcie->link_gen = 3; in advk_pcie_probe()
1799 pcie->link_gen = ret; in advk_pcie_probe()
Dpcie-rockchip.h294 int link_gen; member
Dpcie-rockchip-host.c339 if (rockchip->link_gen == 2) { in rockchip_pcie_host_init_port()
/linux-5.19.10/drivers/pci/controller/dwc/
Dpcie-designware.c567 static void dw_pcie_link_set_max_speed(struct dw_pcie *pci, u32 link_gen) in dw_pcie_link_set_max_speed() argument
576 switch (pcie_link_speed[link_gen]) { in dw_pcie_link_set_max_speed()
718 if (pci->link_gen > 0) in dw_pcie_setup()
719 dw_pcie_link_set_max_speed(pci, pci->link_gen); in dw_pcie_setup()
734 val |= pci->n_fts[pci->link_gen - 1]; in dw_pcie_setup()
Dpcie-intel-gw.c137 switch (pci->link_gen) { in intel_pcie_init_n_fts()
257 if (pci->link_gen < 3) in intel_pcie_wait_l2()
Dpcie-spear13xx.c236 pci->link_gen = 1; in spear13xx_pcie_probe()
Dpcie-designware-host.c335 if (pci->link_gen < 1) in dw_pcie_host_init()
336 pci->link_gen = of_pci_get_max_link_speed(np); in dw_pcie_host_init()
Dpci-imx6.c815 if (pci->link_gen == 2) { in imx6_pcie_start_link()
1191 pci->link_gen = 1; in imx6_pcie_probe()
1192 of_property_read_u32(node, "fsl,max-link-speed", &pci->link_gen); in imx6_pcie_probe()
Dpcie-designware-ep.c740 if (pci->link_gen < 1) in dw_pcie_ep_init()
741 pci->link_gen = of_pci_get_max_link_speed(np); in dw_pcie_ep_init()
Dpcie-designware.h274 int link_gen; member