Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/pci/pcie/
Daspm.c482 struct aspm_register_info *dwreg) in aspm_calc_l1ss_info() argument
488 link->l1ss.dw_cap_ptr = dwreg->l1ss_cap_ptr; in aspm_calc_l1ss_info()
496 val2 = (dwreg->l1ss_cap & PCI_L1SS_CAP_CM_RESTORE_TIME) >> 8; in aspm_calc_l1ss_info()
502 val2 = (dwreg->l1ss_cap & PCI_L1SS_CAP_P_PWR_ON_VALUE) >> 19; in aspm_calc_l1ss_info()
503 scale2 = (dwreg->l1ss_cap & PCI_L1SS_CAP_P_PWR_ON_SCALE) >> 16; in aspm_calc_l1ss_info()
533 struct aspm_register_info upreg, dwreg; in pcie_aspm_cap_init() local
544 pcie_get_aspm_reg(child, &dwreg); in pcie_aspm_cap_init()
550 if (!(upreg.support & dwreg.support)) in pcie_aspm_cap_init()
561 pcie_get_aspm_reg(child, &dwreg); in pcie_aspm_cap_init()
570 if (dwreg.support & upreg.support & PCIE_LINK_STATE_L0S) in pcie_aspm_cap_init()
[all …]