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.c293 int link_gen; member
404 if (pcie->link_gen == 3) in advk_pcie_train_link()
406 else if (pcie->link_gen == 2) in advk_pcie_train_link()
419 if (pcie->link_gen == 3) in advk_pcie_train_link()
421 else if (pcie->link_gen == 2) in advk_pcie_train_link()
1640 pcie->link_gen = 3; in advk_pcie_probe()
1642 pcie->link_gen = ret; in advk_pcie_probe()
Dpcie-rockchip.h310 int link_gen; member
Dpcie-rockchip-host.c342 if (rockchip->link_gen == 2) { in rockchip_pcie_host_init_port()
/drivers/pci/controller/dwc/
Dpcie-designware.c511 static void dw_pcie_link_set_max_speed(struct dw_pcie *pci, u32 link_gen) in dw_pcie_link_set_max_speed() argument
520 switch (pcie_link_speed[link_gen]) { in dw_pcie_link_set_max_speed()
578 if (pci->link_gen > 0) in dw_pcie_setup()
579 dw_pcie_link_set_max_speed(pci, pci->link_gen); in dw_pcie_setup()
Dpcie-intel-gw.c144 switch (pci->link_gen) { in intel_pcie_init_n_fts()
290 if (pci->link_gen < 3) in intel_pcie_wait_l2()
Dpci-imx6.c778 if (pci->link_gen == 2) { in imx6_pcie_establish_link()
1155 pci->link_gen = 1; in imx6_pcie_probe()
1156 ret = of_property_read_u32(node, "fsl,max-link-speed", &pci->link_gen); in imx6_pcie_probe()
Dpcie-designware-host.c358 if (pci->link_gen < 1) in dw_pcie_host_init()
359 pci->link_gen = of_pci_get_max_link_speed(np); in dw_pcie_host_init()
Dpcie-spear13xx.c254 pci->link_gen = 1; in spear13xx_pcie_probe()
Dpcie-designware-ep.c739 if (pci->link_gen < 1) in dw_pcie_ep_init()
740 pci->link_gen = of_pci_get_max_link_speed(np); in dw_pcie_ep_init()
Dpcie-designware.h274 int link_gen; member