| /openbmc/qemu/tests/qemu-iotests/tests/ |
| H A D | zoned.out | 5 start: 0x0, len 0x80000, cap 0x80000, wptr 0x0, zcond:1, [type: 2] 8 start: 0x0, len 0x80000, cap 0x80000, wptr 0x0, zcond:1, [type: 2] 9 start: 0x80000, len 0x80000, cap 0x80000, wptr 0x80000, zcond:1, [type: 2] 10 start: 0x100000, len 0x80000, cap 0x80000, wptr 0x100000, zcond:1, [type: 2] 11 start: 0x180000, len 0x80000, cap 0x80000, wptr 0x180000, zcond:1, [type: 2] 12 start: 0x200000, len 0x80000, cap 0x80000, wptr 0x200000, zcond:1, [type: 2] 13 start: 0x280000, len 0x80000, cap 0x80000, wptr 0x280000, zcond:1, [type: 2] 14 start: 0x300000, len 0x80000, cap 0x80000, wptr 0x300000, zcond:1, [type: 2] 15 start: 0x380000, len 0x80000, cap 0x80000, wptr 0x380000, zcond:1, [type: 2] 16 start: 0x400000, len 0x80000, cap 0x80000, wptr 0x400000, zcond:1, [type: 2] [all …]
|
| /openbmc/qemu/hw/pci/ |
| H A D | slotid_cap.c | 15 int cap; in slotid_cap_init() local 27 cap = pci_add_capability(d, PCI_CAP_ID_SLOTID, offset, in slotid_cap_init() 29 if (cap < 0) { in slotid_cap_init() 30 return cap; in slotid_cap_init() 33 d->config[cap + PCI_SID_ESR] = PCI_SID_ESR_FIC | in slotid_cap_init() 35 d->cmask[cap + PCI_SID_ESR] = 0xff; in slotid_cap_init() 36 d->config[cap + PCI_SID_CHASSIS_NR] = chassis; in slotid_cap_init() 40 d->wmask[cap + PCI_SID_CHASSIS_NR] = 0xff; in slotid_cap_init()
|
| H A D | pcie_doe.c | 101 doe_cap->cap.intr = intr; in pcie_doe_init() 102 doe_cap->cap.vec = vec; in pcie_doe_init() 169 if (doe_cap->cap.intr && doe_cap->ctrl.intr) { in pcie_doe_irq_assert() 176 msix_notify(dev, doe_cap->cap.vec); in pcie_doe_irq_assert() 178 msi_notify(dev, doe_cap->cap.vec); in pcie_doe_irq_assert() 265 doe_cap->cap.intr); in pcie_doe_read_config() 267 doe_cap->cap.vec); in pcie_doe_read_config()
|
| /openbmc/u-boot/test/dm/ |
| H A D | pci.c | 201 int cap; in dm_test_pci_cap() local 207 cap = dm_pci_find_capability(swap, PCI_CAP_ID_EXP); in dm_test_pci_cap() 208 ut_asserteq(PCI_CAP_ID_EXP_OFFSET, cap); in dm_test_pci_cap() 211 cap = dm_pci_find_capability(swap, PCI_CAP_ID_PCIX); in dm_test_pci_cap() 212 ut_asserteq(0, cap); in dm_test_pci_cap() 215 cap = dm_pci_find_next_capability(swap, PCI_CAP_ID_PM_OFFSET, in dm_test_pci_cap() 217 ut_asserteq(PCI_CAP_ID_MSIX_OFFSET, cap); in dm_test_pci_cap() 220 cap = dm_pci_find_next_capability(swap, PCI_CAP_ID_EXP_OFFSET, in dm_test_pci_cap() 222 ut_asserteq(0, cap); in dm_test_pci_cap() 228 cap = dm_pci_find_ext_capability(swap, PCI_EXT_CAP_ID_DSN); in dm_test_pci_cap() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/freeradius/files/ |
| H A D | 0005-configure.ac-add-option-for-libcap.patch | 38 dnl Check for cap 39 dnl extra argument: --with-cap-lib-dir=DIR 41 @@ -1242,15 +1258,17 @@ AC_ARG_WITH(cap-include-dir, 46 -FR_SMART_CHECK_LIB(cap, cap_get_proc) 48 - AC_MSG_WARN([cap library not found, debugger checks will not be enabled. Use --with-cap-lib-dir=… 51 - [Define to 1 if you have the `cap' library (-lcap).] 56 + FR_SMART_CHECK_LIB(cap, cap_get_proc) 58 + AC_MSG_WARN([cap library not found, debugger checks will not be enabled. Use --with-cap-lib-di… 61 + [Define to 1 if you have the `cap' library (-lcap).]
|
| /openbmc/qemu/target/i386/hvf/ |
| H A D | x86_cpuid.c | 61 uint64_t cap; in hvf_get_supported_cpuid() local 106 hv_vmx_read_capability(HV_VMX_CAP_PROCBASED2, &cap); in hvf_get_supported_cpuid() 107 if (!(cap & CPU_BASED2_INVPCID)) { in hvf_get_supported_cpuid() 131 hv_vmx_read_capability(HV_VMX_CAP_PROCBASED2, &cap); in hvf_get_supported_cpuid() 133 if (!(cap & CPU_BASED2_XSAVES_XRSTORS)) { in hvf_get_supported_cpuid() 146 hv_vmx_read_capability(HV_VMX_CAP_PROCBASED2, &cap); in hvf_get_supported_cpuid() 147 if (!(cap2ctrl(cap, CPU_BASED2_RDTSCP) & CPU_BASED2_RDTSCP)) { in hvf_get_supported_cpuid() 150 hv_vmx_read_capability(HV_VMX_CAP_PROCBASED, &cap); in hvf_get_supported_cpuid() 151 if (!(cap2ctrl(cap, CPU_BASED_TSC_OFFSET) & CPU_BASED_TSC_OFFSET)) { in hvf_get_supported_cpuid()
|
| /openbmc/libmctp/utils/ |
| H A D | mctp-capture.h | 33 int capture_prepare(struct capture *cap); 34 void capture_close(struct capture *cap); 47 static inline int capture_prepare(struct capture *cap) in capture_prepare() argument 50 cap->path); in capture_prepare() 54 static inline void capture_close(struct capture *cap __unused) in capture_close()
|
| H A D | mctp-capture.c | 31 int capture_prepare(struct capture *cap) in capture_prepare() argument 33 if (!(cap->pcap = pcap_open_dead(CAPTURE_LINKTYPE_LINUX_SLL2, in capture_prepare() 38 if (!(cap->dumper = pcap_dump_open(cap->pcap, cap->path))) { in capture_prepare() 46 void capture_close(struct capture *cap) in capture_close() argument 48 pcap_dump_close(cap->dumper); in capture_close() 50 pcap_close(cap->pcap); in capture_close()
|
| /openbmc/u-boot/drivers/ata/ |
| H A D | ahci.c | 225 uc_priv->cap = readl(mmio + HOST_CAP); in ahci_host_init() 228 uc_priv->n_ports = (uc_priv->cap & 0x1f) + 1; in ahci_host_init() 231 uc_priv->cap, uc_priv->port_map, uc_priv->n_ports); in ahci_host_init() 365 u32 vers, cap, cap2, impl, speed; in ahci_print_info() local 370 cap = uc_priv->cap; in ahci_print_info() 374 speed = (cap >> 20) & 0xf; in ahci_print_info() 407 ((cap >> 8) & 0x1f) + 1, (cap & 0x1f) + 1, speed_s, impl, scc_s); in ahci_print_info() 413 cap & (1 << 31) ? "64bit " : "", in ahci_print_info() 414 cap & (1 << 30) ? "ncq " : "", in ahci_print_info() 415 cap & (1 << 28) ? "ilck " : "", in ahci_print_info() [all …]
|
| H A D | dwc_ahsata.c | 49 u32 cap; member 120 cap_save = readl(&host_mmio->cap); in ahci_host_init() 142 writel(cap_save, &host_mmio->cap); in ahci_host_init() 152 uc_priv->cap = readl(&host_mmio->cap); in ahci_host_init() 156 uc_priv->n_ports = (uc_priv->cap & SATA_HOST_CAP_NP_MASK) + 1; in ahci_host_init() 159 uc_priv->cap, uc_priv->port_map, uc_priv->n_ports); in ahci_host_init() 272 u32 vers, cap, impl, speed; in ahci_print_info() local 277 cap = uc_priv->cap; in ahci_print_info() 280 speed = (cap & SATA_HOST_CAP_ISS_MASK) in ahci_print_info() 297 ((cap >> 8) & 0x1f) + 1, in ahci_print_info() [all …]
|
| /openbmc/qemu/tests/qtest/ |
| H A D | intel-iommu-test.c | 29 uint64_t cap, ecap, tmp; in test_intel_iommu_stage_1() local 34 cap = vtd_reg_readq(s, DMAR_CAP_REG); in test_intel_iommu_stage_1() 35 g_assert((cap & CAP_STAGE_1_FIXED1) == CAP_STAGE_1_FIXED1); in test_intel_iommu_stage_1() 37 tmp = cap & VTD_CAP_SAGAW_MASK; in test_intel_iommu_stage_1() 40 tmp = VTD_MGAW_FROM_CAP(cap); in test_intel_iommu_stage_1()
|
| H A D | nvme-test.c | 76 uint64_t cap; in nvmetest_reg_read_test() local 87 cap = qpci_io_readq(pdev, bar, 0x0); in nvmetest_reg_read_test() 88 g_assert_cmpint(NVME_CAP_MQES(cap), ==, 0x7ff); in nvmetest_reg_read_test() 89 g_assert_cmpint(NVME_CAP_MPSMAX(cap), ==, 0x4); in nvmetest_reg_read_test()
|
| /openbmc/u-boot/drivers/mtd/nand/raw/ |
| H A D | atmel_nand.c | 84 static int pmecc_get_ecc_bytes(int cap, int sector_size) in pmecc_get_ecc_bytes() argument 87 return (m * cap + 7) / 8; in pmecc_get_ecc_bytes() 131 const int cap = host->pmecc_corr_cap; in pmecc_data_alloc() local 134 size = (2 * cap + 1) * sizeof(int16_t); in pmecc_data_alloc() 137 host->pmecc_lmu = malloc((cap + 1) * sizeof(int16_t)); in pmecc_data_alloc() 138 host->pmecc_smu = malloc((cap + 2) * size); in pmecc_data_alloc() 140 size = (cap + 1) * sizeof(int); in pmecc_data_alloc() 184 const int cap = host->pmecc_corr_cap; in pmecc_substitute() local 193 memset(&si[1], 0, sizeof(int16_t) * (2 * cap - 1)); in pmecc_substitute() 197 for (i = 1; i < 2 * cap; i += 2) { in pmecc_substitute() [all …]
|
| /openbmc/u-boot/include/linux/ |
| H A D | mii.h | 214 u8 cap = 0; in mii_resolve_flowctrl_fdx() local 217 cap = FLOW_CTRL_TX | FLOW_CTRL_RX; in mii_resolve_flowctrl_fdx() 220 cap = FLOW_CTRL_RX; in mii_resolve_flowctrl_fdx() 222 cap = FLOW_CTRL_TX; in mii_resolve_flowctrl_fdx() 225 return cap; in mii_resolve_flowctrl_fdx()
|
| /openbmc/openpower-occ-control/ |
| H A D | powercap.cpp | 117 uint64_t cap; in updatePcapBounds() local 122 softMinFile >> cap; in updatePcapBounds() 125 capSoftMin = ((cap / (PS_DERATING_FACTOR / 100.0) / 1000000) + 0.9); in updatePcapBounds() 138 minFile >> cap; in updatePcapBounds() 141 capHardMin = ((cap / (PS_DERATING_FACTOR / 100.0) / 1000000) + 0.9); in updatePcapBounds() 154 maxFile >> cap; in updatePcapBounds() 157 capMax = cap / (PS_DERATING_FACTOR / 100.0) / 1000000; in updatePcapBounds() 366 uint64_t cap; in readUserCapHwmon() local 367 file >> cap; in readUserCapHwmon() 370 userCap = (cap / (PS_DERATING_FACTOR / 100.0) / 1000000); in readUserCapHwmon()
|
| /openbmc/u-boot/drivers/nvme/ |
| H A D | nvme.h | 563 __u64 cap; /* Controller Capabilities */ member 576 #define NVME_CAP_MQES(cap) ((cap) & 0xffff) argument 577 #define NVME_CAP_TIMEOUT(cap) (((cap) >> 24) & 0xff) argument 578 #define NVME_CAP_STRIDE(cap) (((cap) >> 32) & 0xf) argument 579 #define NVME_CAP_MPSMIN(cap) (((cap) >> 48) & 0xf) argument 580 #define NVME_CAP_MPSMAX(cap) (((cap) >> 52) & 0xf) argument 623 u64 cap; member
|
| /openbmc/qemu/tests/qtest/libqos/ |
| H A D | pci.c | 107 uint8_t cap = 0; in qpci_find_resource_reserve_capability() local 121 cap = qpci_find_capability(dev, PCI_CAP_ID_VNDR, cap); in qpci_find_resource_reserve_capability() 122 } while (cap && in qpci_find_resource_reserve_capability() 123 qpci_config_readb(dev, cap + REDHAT_PCI_CAP_TYPE_OFFSET) != in qpci_find_resource_reserve_capability() 125 if (cap) { in qpci_find_resource_reserve_capability() 126 uint8_t cap_len = qpci_config_readb(dev, cap + PCI_CAP_FLAGS); in qpci_find_resource_reserve_capability() 131 return cap; in qpci_find_resource_reserve_capability() 184 uint8_t cap = qpci_find_resource_reserve_capability(dev); in qpci_secondary_buses_rec() local 186 if (cap) { in qpci_secondary_buses_rec() 189 tmp_res_bus = qpci_config_readl(dev, cap + in qpci_secondary_buses_rec() [all …]
|
| /openbmc/u-boot/include/ |
| H A D | slre.h | 73 struct cap { struct 95 struct cap *captured_substrings); argument
|
| /openbmc/qemu/hw/usb/ |
| H A D | desc.c | 273 d->u.cap.bDevCapabilityType = USB_DEV_CAP_USB2_EXT; in usb_desc_cap_usb2_ext() 275 d->u.cap.u.usb2_ext.bmAttributes_1 = (1 << 1); /* LPM */ in usb_desc_cap_usb2_ext() 276 d->u.cap.u.usb2_ext.bmAttributes_2 = 0; in usb_desc_cap_usb2_ext() 277 d->u.cap.u.usb2_ext.bmAttributes_3 = 0; in usb_desc_cap_usb2_ext() 278 d->u.cap.u.usb2_ext.bmAttributes_4 = 0; in usb_desc_cap_usb2_ext() 294 d->u.cap.bDevCapabilityType = USB_DEV_CAP_SUPERSPEED; in usb_desc_cap_super() 296 d->u.cap.u.super.bmAttributes = 0; in usb_desc_cap_super() 297 d->u.cap.u.super.wSpeedsSupported_lo = 0; in usb_desc_cap_super() 298 d->u.cap.u.super.wSpeedsSupported_hi = 0; in usb_desc_cap_super() 299 d->u.cap.u.super.bFunctionalitySupport = 0; in usb_desc_cap_super() [all …]
|
| /openbmc/qemu/target/arm/ |
| H A D | arm-qmp-cmds.c | 38 GICCapability *cap = g_new0(GICCapability, 1); in gic_cap_new() local 39 cap->version = version; in gic_cap_new() 41 cap->emulated = false; in gic_cap_new() 42 cap->kernel = false; in gic_cap_new() 43 return cap; in gic_cap_new()
|
| /openbmc/u-boot/tools/ |
| H A D | atmel_pmecc_params.c | 18 static int pmecc_get_ecc_bytes(int cap, int sector_size) in pmecc_get_ecc_bytes() argument 21 return (m * cap + 7) / 8; in pmecc_get_ecc_bytes()
|
| /openbmc/qemu/include/system/ |
| H A D | kvm_xen.h | 32 #define kvm_xen_has_cap(cap) (!!(kvm_xen_get_caps() & \ argument 33 KVM_XEN_HVM_CONFIG_ ## cap))
|
| /openbmc/u-boot/arch/arm/dts/ |
| H A D | socfpga_cyclone5.dtsi | 24 cap-mmc-highspeed; 25 cap-sd-highspeed;
|
| H A D | socfpga_arria5.dtsi | 24 cap-mmc-highspeed; 25 cap-sd-highspeed;
|
| /openbmc/openbmc-test-automation/ipmi/ |
| H A D | test_ipmi_general.robot | 239 [Documentation] Set power cap value via IPMI and verify using Redfish. 244 # Get initial power cap value via Redfish. 248 # Get the allowable min and max power cap value via Redfish. 252 # Generate a random power cap value within the allowable range. 255 # Set power cap value via IPMI. 258 # Verify the power cap value with the Redfish value. 264 [Documentation] Verify the power cap value via IPMI, set to non-zero using Redfish 265 ... if initial power cap value is zero. 270 # Get power cap value via Redfish. 273 # Get initial power cap value. [all …]
|