Lines Matching refs:pcie_link_state
41 struct pcie_link_state { struct
43 struct pcie_link_state *root; /* pointer to the root port link */ argument
44 struct pcie_link_state *parent; /* pointer to the parent Link state */ argument
88 static int policy_to_aspm_state(struct pcie_link_state *link) in policy_to_aspm_state() argument
103 static int policy_to_clkpm_state(struct pcie_link_state *link) in policy_to_clkpm_state()
118 static void pcie_set_clkpm_nocheck(struct pcie_link_state *link, int enable) in pcie_set_clkpm_nocheck()
139 static void pcie_set_clkpm(struct pcie_link_state *link, int enable) in pcie_set_clkpm()
150 static void pcie_clkpm_cap_init(struct pcie_link_state *link, int blacklist) in pcie_clkpm_cap_init()
183 static void pcie_aspm_configure_common_clock(struct pcie_link_state *link) in pcie_aspm_configure_common_clock()
317 struct pcie_link_state *link; in pcie_aspm_check_latency()
352 static void pcie_aspm_cap_init(struct pcie_link_state *link, int blacklist) in pcie_aspm_cap_init()
448 static void pcie_config_aspm_link(struct pcie_link_state *link, u32 state) in pcie_config_aspm_link()
483 static void pcie_config_aspm_path(struct pcie_link_state *link) in pcie_config_aspm_path()
491 static void free_link_state(struct pcie_link_state *link) in free_link_state()
529 static struct pcie_link_state *alloc_pcie_link_state(struct pci_dev *pdev) in alloc_pcie_link_state()
531 struct pcie_link_state *link; in alloc_pcie_link_state()
541 struct pcie_link_state *parent; in alloc_pcie_link_state()
568 struct pcie_link_state *link; in pcie_aspm_init_link_state()
623 static void pcie_update_aspm_capable(struct pcie_link_state *root) in pcie_update_aspm_capable()
625 struct pcie_link_state *link; in pcie_update_aspm_capable()
650 struct pcie_link_state *link, *root, *parent_link; in pcie_aspm_exit_link_state()
692 struct pcie_link_state *link = pdev->link_state; in pcie_aspm_pm_state_change()
713 struct pcie_link_state *link = pdev->link_state; in pcie_aspm_powersave_config_link()
740 struct pcie_link_state *link; in pci_disable_link_state()
771 struct pcie_link_state *link; in pcie_aspm_set_policy()
815 struct pcie_link_state *link_state = pci_device->link_state; in link_state_show()
826 struct pcie_link_state *link, *root = pdev->link_state->root; in link_state_store()
857 struct pcie_link_state *link_state = pci_device->link_state; in clk_ctl_show()
889 struct pcie_link_state *link_state = pdev->link_state; in pcie_aspm_create_sysfs_dev_files()
906 struct pcie_link_state *link_state = pdev->link_state; in pcie_aspm_remove_sysfs_dev_files()