Searched refs:cap2 (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/drivers/pci/ |
D | vc.c | 230 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-6.6.21/drivers/ata/ |
D | libahci.c | 277 return sprintf(buf, "%x\n", hpriv->cap2); in ahci_show_host_cap2() 451 u32 cap, cap2, vers; in ahci_save_initial_config() local 476 hpriv->saved_cap2 = cap2 = readl(mmio + HOST_CAP2); in ahci_save_initial_config() 478 hpriv->saved_cap2 = cap2 = 0; in ahci_save_initial_config() 507 if ((cap2 & HOST_CAP2_SDS) && (hpriv->flags & AHCI_HFLAG_NO_DEVSLP)) { in ahci_save_initial_config() 510 cap2 &= ~HOST_CAP2_SDS; in ahci_save_initial_config() 511 cap2 &= ~HOST_CAP2_SADM; in ahci_save_initial_config() 595 hpriv->cap2 = cap2; in ahci_save_initial_config() 859 if ((hpriv->cap2 & HOST_CAP2_SDS) && in ahci_set_lpm() 860 (hpriv->cap2 & HOST_CAP2_SADM) && in ahci_set_lpm() [all …]
|
D | ahci_dwc.c | 231 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()
|
D | ahci.h | 337 u32 cap2; /* cap2 to use */ member
|
D | ahci.c | 1919 if (!(hpriv->cap2 & HOST_CAP2_SDS)) in ahci_init_one()
|
/linux-6.6.21/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-6.6.21/drivers/dma/ti/ |
D | k3-udma.c | 4455 u32 cap2, cap3, cap4; in udma_get_mmrs() local 4462 cap2 = udma_read(ud->mmrs[MMR_GCFG], 0x28); in udma_get_mmrs() 4468 ud->tchan_cnt = UDMA_CAP2_TCHAN_CNT(cap2); in udma_get_mmrs() 4469 ud->echan_cnt = UDMA_CAP2_ECHAN_CNT(cap2); in udma_get_mmrs() 4470 ud->rchan_cnt = UDMA_CAP2_RCHAN_CNT(cap2); in udma_get_mmrs() 4473 ud->bchan_cnt = BCDMA_CAP2_BCHAN_CNT(cap2); in udma_get_mmrs() 4474 ud->tchan_cnt = BCDMA_CAP2_TCHAN_CNT(cap2); in udma_get_mmrs() 4475 ud->rchan_cnt = BCDMA_CAP2_RCHAN_CNT(cap2); in udma_get_mmrs() 4480 ud->tchan_cnt = UDMA_CAP2_TCHAN_CNT(cap2); in udma_get_mmrs() 4481 ud->rchan_cnt = UDMA_CAP2_RCHAN_CNT(cap2); in udma_get_mmrs()
|
/linux-6.6.21/drivers/char/tpm/ |
D | tpm_tis_core.c | 886 u32 cap2; in tpm_tis_gen_interrupt() local 893 ret = tpm2_get_tpm_pt(chip, 0x100, &cap2, desc); in tpm_tis_gen_interrupt()
|
/linux-6.6.21/kernel/sched/ |
D | fair.c | 124 #define capacity_greater(cap1, cap2) ((cap1) * 1024 > (cap2) * 1078) argument
|