Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/pci/
Dvc.c229 u32 cap2; in pci_vc_do_save_buffer() local
232 pci_read_config_dword(dev, pos + PCI_VC_PORT_CAP2, &cap2); in pci_vc_do_save_buffer()
233 vcarb_offset = ((cap2 & PCI_VC_CAP2_ARB_OFF) >> 24) * 16; in pci_vc_do_save_buffer()
238 if (cap2 & PCI_VC_CAP2_128_PHASE) in pci_vc_do_save_buffer()
240 else if (cap2 & PCI_VC_CAP2_64_PHASE) in pci_vc_do_save_buffer()
242 else if (cap2 & PCI_VC_CAP2_32_PHASE) in pci_vc_do_save_buffer()
/Linux-v4.19/drivers/ata/
Dlibahci.c272 return sprintf(buf, "%x\n", hpriv->cap2); in ahci_show_host_cap2()
444 u32 cap, cap2, vers, port_map; in ahci_save_initial_config() local
460 hpriv->saved_cap2 = cap2 = readl(mmio + HOST_CAP2); in ahci_save_initial_config()
462 hpriv->saved_cap2 = cap2 = 0; in ahci_save_initial_config()
491 if ((cap2 & HOST_CAP2_SDS) && (hpriv->flags & AHCI_HFLAG_NO_DEVSLP)) { in ahci_save_initial_config()
494 cap2 &= ~HOST_CAP2_SDS; in ahci_save_initial_config()
495 cap2 &= ~HOST_CAP2_SADM; in ahci_save_initial_config()
557 hpriv->cap2 = cap2; in ahci_save_initial_config()
813 if ((hpriv->cap2 & HOST_CAP2_SDS) && in ahci_set_lpm()
814 (hpriv->cap2 & HOST_CAP2_SADM) && in ahci_set_lpm()
[all …]
Dahci.h342 u32 cap2; /* cap2 to use */ member
/Linux-v4.19/arch/powerpc/kernel/
Deeh.c743 u32 devctl, cmd, cap2, aer_capctl; in eeh_restore_vf_config() local
758 4, &cap2); in eeh_restore_vf_config()
759 if (cap2 & PCI_EXP_DEVCAP2_COMP_TMOUT_DIS) { in eeh_restore_vf_config()
762 4, &cap2); in eeh_restore_vf_config()
763 cap2 |= PCI_EXP_DEVCTL2_COMP_TMOUT_DIS; in eeh_restore_vf_config()
766 4, cap2); in eeh_restore_vf_config()
/Linux-v4.19/drivers/usb/host/
Dehci-dbg.c800 u32 offset, cap, cap2; in fill_registers_buffer() local
818 pci_read_config_dword(pdev, offset, &cap2); in fill_registers_buffer()
820 "SMI sts/enable 0x%08x\n", cap2); in fill_registers_buffer()
/Linux-v4.19/drivers/char/tpm/
Dtpm_tis_core.c665 u32 cap2; in tpm_tis_gen_interrupt() local
669 return tpm2_get_tpm_pt(chip, 0x100, &cap2, desc); in tpm_tis_gen_interrupt()