Home
last modified time | relevance | path

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

/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()
/drivers/ata/
Dlibahci.c275 return sprintf(buf, "%x\n", hpriv->cap2); in ahci_show_host_cap2()
449 u32 cap, cap2, vers; in ahci_save_initial_config() local
474 hpriv->saved_cap2 = cap2 = readl(mmio + HOST_CAP2); in ahci_save_initial_config()
476 hpriv->saved_cap2 = cap2 = 0; in ahci_save_initial_config()
505 if ((cap2 & HOST_CAP2_SDS) && (hpriv->flags & AHCI_HFLAG_NO_DEVSLP)) { in ahci_save_initial_config()
508 cap2 &= ~HOST_CAP2_SDS; in ahci_save_initial_config()
509 cap2 &= ~HOST_CAP2_SADM; in ahci_save_initial_config()
593 hpriv->cap2 = cap2; in ahci_save_initial_config()
857 if ((hpriv->cap2 & HOST_CAP2_SDS) && in ahci_set_lpm()
858 (hpriv->cap2 & HOST_CAP2_SADM) && in ahci_set_lpm()
[all …]
Dahci_dwc.c231 u32 cap, cap2; in ahci_dwc_init_timer() local
235 cap2 = readl(hpriv->mmio + HOST_CAP2); in ahci_dwc_init_timer()
236 if (!(cap & HOST_CAP_CCC) && !(cap2 & HOST_CAP2_SDS)) in ahci_dwc_init_timer()
Dahci.h337 u32 cap2; /* cap2 to use */ member
Dahci.c1920 if (!(hpriv->cap2 & HOST_CAP2_SDS)) in ahci_init_one()
/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()
/drivers/dma/ti/
Dk3-udma.c4408 u32 cap2, cap3, cap4; in udma_get_mmrs() local
4415 cap2 = udma_read(ud->mmrs[MMR_GCFG], 0x28); in udma_get_mmrs()
4421 ud->tchan_cnt = UDMA_CAP2_TCHAN_CNT(cap2); in udma_get_mmrs()
4422 ud->echan_cnt = UDMA_CAP2_ECHAN_CNT(cap2); in udma_get_mmrs()
4423 ud->rchan_cnt = UDMA_CAP2_RCHAN_CNT(cap2); in udma_get_mmrs()
4426 ud->bchan_cnt = BCDMA_CAP2_BCHAN_CNT(cap2); in udma_get_mmrs()
4427 ud->tchan_cnt = BCDMA_CAP2_TCHAN_CNT(cap2); in udma_get_mmrs()
4428 ud->rchan_cnt = BCDMA_CAP2_RCHAN_CNT(cap2); in udma_get_mmrs()
4433 ud->tchan_cnt = UDMA_CAP2_TCHAN_CNT(cap2); in udma_get_mmrs()
4434 ud->rchan_cnt = UDMA_CAP2_RCHAN_CNT(cap2); in udma_get_mmrs()
/drivers/char/tpm/
Dtpm_tis_core.c800 u32 cap2; in tpm_tis_gen_interrupt() local
805 ret = tpm2_get_tpm_pt(chip, 0x100, &cap2, desc); in tpm_tis_gen_interrupt()