Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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.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.h301 int link_gen; member
Dpcie-rockchip-host.c342 if (rockchip->link_gen == 2) { in rockchip_pcie_host_init_port()
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/
Dpcie-designware.c510 static void dw_pcie_link_set_max_speed(struct dw_pcie *pci, u32 link_gen) in dw_pcie_link_set_max_speed() argument
519 switch (pcie_link_speed[link_gen]) { in dw_pcie_link_set_max_speed()
576 if (pci->link_gen > 0) in dw_pcie_setup()
577 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()
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.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-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
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch21230 - if (pci->link_gen == 2) {
21231 + if (pci->link_gen >= 2) {
21235 + tmp |= pci->link_gen;
21246 + tmp |= pci->link_gen;