Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/pci/
Dvc.c230 u32 cap2; in pci_vc_do_save_buffer() local
233 pci_read_config_dword(dev, pos + PCI_VC_PORT_CAP2, &cap2); in pci_vc_do_save_buffer()
234 vcarb_offset = ((cap2 & PCI_VC_CAP2_ARB_OFF) >> 24) * 16; in pci_vc_do_save_buffer()
239 if (cap2 & PCI_VC_CAP2_128_PHASE) in pci_vc_do_save_buffer()
241 else if (cap2 & PCI_VC_CAP2_64_PHASE) in pci_vc_do_save_buffer()
243 else if (cap2 & PCI_VC_CAP2_32_PHASE) in pci_vc_do_save_buffer()
/Linux-v5.10/drivers/ata/
Dlibahci.c255 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 …]
Dahci.h332 u32 cap2; /* cap2 to use */ member
/Linux-v5.10/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-v5.10/drivers/char/tpm/
Dtpm_tis_core.c752 u32 cap2; in tpm_tis_gen_interrupt() local
756 return tpm2_get_tpm_pt(chip, 0x100, &cap2, desc); in tpm_tis_gen_interrupt()
/Linux-v5.10/drivers/dma/ti/
Dk3-udma.c3175 u32 cap2, cap3; in udma_setup_resources() local
3183 cap2 = udma_read(ud->mmrs[MMR_GCFG], UDMA_CAP_REG(2)); in udma_setup_resources()
3187 ud->tchan_cnt = UDMA_CAP2_TCHAN_CNT(cap2); in udma_setup_resources()
3188 ud->echan_cnt = UDMA_CAP2_ECHAN_CNT(cap2); in udma_setup_resources()
3189 ud->rchan_cnt = UDMA_CAP2_RCHAN_CNT(cap2); in udma_setup_resources()