Home
last modified time | relevance | path

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

/drivers/pci/controller/
Dpcie-rockchip.c67 rockchip->link_gen = of_pci_get_max_link_speed(node); in rockchip_pcie_parse_dt()
68 if (rockchip->link_gen < 0 || rockchip->link_gen > 2) in rockchip_pcie_parse_dt()
69 rockchip->link_gen = 2; in rockchip_pcie_parse_dt()
239 if (rockchip->link_gen == 2) in rockchip_pcie_init_port()
Dpci-aardvark.c287 int link_gen; member
398 if (pcie->link_gen == 3) in advk_pcie_train_link()
400 else if (pcie->link_gen == 2) in advk_pcie_train_link()
413 if (pcie->link_gen == 3) in advk_pcie_train_link()
415 else if (pcie->link_gen == 2) in advk_pcie_train_link()
1880 pcie->link_gen = 3; in advk_pcie_probe()
1882 pcie->link_gen = ret; in advk_pcie_probe()
Dpcie-rockchip.h313 int link_gen; member
Dpcie-rockchip-host.c339 if (rockchip->link_gen == 2) { in rockchip_pcie_host_init_port()
/drivers/pci/controller/dwc/
Dpcie-designware.c489 static void dw_pcie_link_set_max_speed(struct dw_pcie *pci, u32 link_gen) in dw_pcie_link_set_max_speed() argument
498 switch (pcie_link_speed[link_gen]) { in dw_pcie_link_set_max_speed()
628 if (pci->link_gen > 0) in dw_pcie_setup()
629 dw_pcie_link_set_max_speed(pci, pci->link_gen); in dw_pcie_setup()
Dpcie-intel-gw.c133 switch (pci->link_gen) { in intel_pcie_init_n_fts()
253 if (pci->link_gen < 3) in intel_pcie_wait_l2()
Dpci-imx6.c857 if (pci->link_gen > 1) { in imx6_pcie_start_link()
862 tmp |= pci->link_gen; in imx6_pcie_start_link()
1260 pci->link_gen = 1; in imx6_pcie_probe()
1261 of_property_read_u32(node, "fsl,max-link-speed", &pci->link_gen); in imx6_pcie_probe()
Dpcie-spear13xx.c236 pci->link_gen = 1; in spear13xx_pcie_probe()
Dpcie-designware-host.c448 if (pci->link_gen < 1) in dw_pcie_host_init()
449 pci->link_gen = of_pci_get_max_link_speed(np); in dw_pcie_host_init()
Dpcie-designware-ep.c744 if (pci->link_gen < 1) in dw_pcie_ep_init()
745 pci->link_gen = of_pci_get_max_link_speed(np); in dw_pcie_ep_init()
Dpcie-designware.h321 int link_gen; member