Searched refs:cap2 (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.4/drivers/pci/ |
| D | vc.c | 231 u32 cap2; in pci_vc_do_save_buffer() local 234 pci_read_config_dword(dev, pos + PCI_VC_PORT_CAP2, &cap2); in pci_vc_do_save_buffer() 235 vcarb_offset = ((cap2 & PCI_VC_CAP2_ARB_OFF) >> 24) * 16; in pci_vc_do_save_buffer() 240 if (cap2 & PCI_VC_CAP2_128_PHASE) in pci_vc_do_save_buffer() 242 else if (cap2 & PCI_VC_CAP2_64_PHASE) in pci_vc_do_save_buffer() 244 else if (cap2 & PCI_VC_CAP2_32_PHASE) in pci_vc_do_save_buffer()
|
| /Linux-v5.4/drivers/ata/ |
| D | libahci.c | 255 return sprintf(buf, "%x\n", hpriv->cap2); in ahci_show_host_cap2() 427 u32 cap, cap2, vers, port_map; in ahci_save_initial_config() local 443 hpriv->saved_cap2 = cap2 = readl(mmio + HOST_CAP2); in ahci_save_initial_config() 445 hpriv->saved_cap2 = cap2 = 0; in ahci_save_initial_config() 474 if ((cap2 & HOST_CAP2_SDS) && (hpriv->flags & AHCI_HFLAG_NO_DEVSLP)) { in ahci_save_initial_config() 477 cap2 &= ~HOST_CAP2_SDS; in ahci_save_initial_config() 478 cap2 &= ~HOST_CAP2_SADM; in ahci_save_initial_config() 540 hpriv->cap2 = cap2; in ahci_save_initial_config() 796 if ((hpriv->cap2 & HOST_CAP2_SDS) && in ahci_set_lpm() 797 (hpriv->cap2 & HOST_CAP2_SADM) && in ahci_set_lpm() [all …]
|
| D | ahci.h | 330 u32 cap2; /* cap2 to use */ member
|
| /Linux-v5.4/arch/powerpc/kernel/ |
| D | eeh.c | 748 u32 devctl, cmd, cap2, aer_capctl; in eeh_restore_vf_config() local 763 4, &cap2); in eeh_restore_vf_config() 764 if (cap2 & PCI_EXP_DEVCAP2_COMP_TMOUT_DIS) { in eeh_restore_vf_config() 767 4, &cap2); in eeh_restore_vf_config() 768 cap2 |= PCI_EXP_DEVCTL2_COMP_TMOUT_DIS; in eeh_restore_vf_config() 771 4, cap2); in eeh_restore_vf_config()
|
| /Linux-v5.4/drivers/usb/host/ |
| D | ehci-dbg.c | 800 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-v5.4/drivers/char/tpm/ |
| D | tpm_tis_core.c | 660 u32 cap2; in tpm_tis_gen_interrupt() local 664 return tpm2_get_tpm_pt(chip, 0x100, &cap2, desc); in tpm_tis_gen_interrupt()
|