/openbmc/linux/drivers/pci/ |
H A 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()
|
/openbmc/qemu/include/hw/cxl/ |
H A D | cxl_pci.h | 85 uint16_t cap2; member 158 uint32_t cap2; member
|
/openbmc/linux/drivers/ata/ |
H A 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 …]
|
H A 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()
|
H A D | ahci.h | 337 u32 cap2; /* cap2 to use */ member
|
H A D | ahci.c | 2001 if (!(hpriv->cap2 & HOST_CAP2_SDS)) in ahci_init_one()
|
/openbmc/u-boot/drivers/ata/ |
H A D | ahci.c | 365 u32 vers, cap, cap2, impl, speed; in ahci_print_info() local 371 cap2 = readl(mmio + HOST_CAP2); in ahci_print_info() 430 cap2 & (1 << 2) ? "apst " : "", in ahci_print_info() 431 cap2 & (1 << 1) ? "nvmp " : "", in ahci_print_info() 432 cap2 & (1 << 0) ? "boh " : ""); in ahci_print_info()
|
H A D | dwc_ahsata.c | 57 u32 cap2; member
|
/openbmc/u-boot/board/siemens/pxm2/ |
H A D | board.c | 350 writel(duty, &ecap->cap2); in enable_pwm()
|
/openbmc/linux/drivers/usb/host/ |
H A 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()
|
/openbmc/qemu/tests/qtest/ |
H A D | ahci-test.c | 100 g_assert_cmphex(ahci_rreg(ahci, AHCI_CAP2), ==, ahci->cap2); in verify_state() 590 ahci->cap2 = ahci_rreg(ahci, AHCI_CAP2); in ahci_test_hba_spec() 591 ASSERT_BIT_CLEAR(ahci->cap2, AHCI_CAP2_RESERVED); in ahci_test_hba_spec() 605 if (BITCLR(ahci->cap2, AHCI_CAP2_NVMP)) { in ahci_test_hba_spec()
|
/openbmc/u-boot/arch/arm/include/asm/arch-am33xx/ |
H A D | cpu.h | 559 unsigned int cap2; member
|
/openbmc/linux/drivers/dma/ti/ |
H A 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() 4476 ud->tchan_cnt = BCDMA_CAP2_TCHAN_CNT(cap2); in udma_get_mmrs() 4477 ud->rchan_cnt = BCDMA_CAP2_RCHAN_CNT(cap2); in udma_get_mmrs() 4482 ud->tchan_cnt = UDMA_CAP2_TCHAN_CNT(cap2); in udma_get_mmrs() 4483 ud->rchan_cnt = UDMA_CAP2_RCHAN_CNT(cap2); in udma_get_mmrs()
|
/openbmc/qemu/tests/qtest/libqos/ |
H A D | ahci.h | 343 uint32_t cap2; member
|
H A D | ahci.c | 249 ahci->cap2 = ahci_rreg(ahci, AHCI_CAP2); in ahci_hba_enable()
|
/openbmc/linux/drivers/char/tpm/ |
H A 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()
|
/openbmc/linux/kernel/sched/ |
H A D | fair.c | 124 #define capacity_greater(cap1, cap2) ((cap1) * 1024 > (cap2) * 1078) argument
|