Lines Matching refs:ctl1
473 static void aspm_program_l1ss(struct pci_dev *dev, u32 ctl1, u32 ctl2) in aspm_program_l1ss() argument
489 l1_2_enable = ctl1 & PCI_L1SS_CTL1_L1_2_MASK; in aspm_program_l1ss()
490 ctl1 &= ~PCI_L1SS_CTL1_L1_2_MASK; in aspm_program_l1ss()
492 pci_write_config_dword(dev, l1ss + PCI_L1SS_CTL1, ctl1); in aspm_program_l1ss()
495 ctl1 | l1_2_enable); in aspm_program_l1ss()
505 u32 ctl1 = 0, ctl2 = 0; in aspm_calc_l1ss_info() local
543 ctl1 |= t_common_mode << 8 | scale << 29 | value << 16; in aspm_calc_l1ss_info()
551 if (ctl1 == pctl1 && ctl1 == cctl1 && in aspm_calc_l1ss_info()
558 pctl1 |= (ctl1 & (PCI_L1SS_CTL1_CM_RESTORE_TIME | in aspm_calc_l1ss_info()
566 cctl1 |= (ctl1 & (PCI_L1SS_CTL1_CM_RESTORE_TIME | in aspm_calc_l1ss_info()
781 u32 *cap, ctl1, ctl2; in pci_restore_aspm_l1ss_state() local
793 ctl1 = *cap; in pci_restore_aspm_l1ss_state()
794 aspm_program_l1ss(dev, ctl1, ctl2); in pci_restore_aspm_l1ss_state()