/openbmc/linux/drivers/iommu/intel/ |
D | cap_audit.c |
|
D | cap_audit.h |
|
/openbmc/linux/drivers/vfio/pci/ |
D | vfio_pci_zdev.c |
|
/openbmc/openpower-occ-control/ |
H A D | powercap.hpp | 56 /** @brief Loads any saved power cap data */ 64 * @param[in] softMin - soft minimum power cap in Watts 65 * @param[in] hardMin - hard minimum power cap in Watts 66 * @param[in] max - maximum power cap in Watts 78 /** @brief Return the power cap limits 80 * @param[out] softMin - soft minimum power cap in Watts 81 * @param[out] hardMin - hard minimum power cap in Watts 82 * @param[out] max - maximum power cap in Watts 92 /** @brief Return true if the power cap limits are available */ 111 /** @brief Loads the persisted power cap data from the filesystem. */ [all …]
|
H A D | powercap.cpp | 17 constexpr auto PCAP_INTERFACE = "xyz.openbmc_project.Control.Power.Cap"; 39 // Saves the power cap data in the filesystem. 65 // Loads the power cap data from the filesystem 106 // Build the hwmon string to write the power cap bounds in updatePcapBounds() 116 // Read the power cap bounds from sysfs files (from OCC) in updatePcapBounds() 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() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/wcn36xx/ |
D | firmware.c |
|
/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/linux/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_reg.h |
|
/openbmc/linux/drivers/infiniband/core/ |
D | uverbs_std_types_qp.c |
|
/openbmc/linux/drivers/thunderbolt/ |
D | lc.c |
|
D | cap.c |
|
/openbmc/qemu/hw/s390x/ |
H A D | s390-pci-vfio.c | 110 struct vfio_device_info_cap_zpci_base *cap; in s390_pci_read_base() local 122 cap = (void *) hdr; in s390_pci_read_base() 124 pbdev->zpci_fn.sdma = cap->start_dma; in s390_pci_read_base() 125 pbdev->zpci_fn.edma = cap->end_dma; in s390_pci_read_base() 126 pbdev->zpci_fn.pchid = cap->pchid; in s390_pci_read_base() 127 pbdev->zpci_fn.vfn = cap->vfn; in s390_pci_read_base() 128 pbdev->zpci_fn.pfgid = cap->gid; in s390_pci_read_base() 133 pbdev->pft = cap->pft; in s390_pci_read_base() 154 if (vfio_size > 0 && vfio_size < cap->end_dma - cap->start_dma + 1) { in s390_pci_read_base() 155 pbdev->zpci_fn.edma = cap->start_dma + vfio_size - 1; in s390_pci_read_base() [all …]
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_caps.c | 76 SpaprCapabilityInfo *cap = opaque; in spapr_cap_get_bool() local 78 bool value = spapr_get_cap(spapr, cap->index) == SPAPR_CAP_ON; in spapr_cap_get_bool() 86 SpaprCapabilityInfo *cap = opaque; in spapr_cap_set_bool() local 94 spapr->cmd_line_caps[cap->index] = true; in spapr_cap_set_bool() 95 spapr->eff.caps[cap->index] = value ? SPAPR_CAP_ON : SPAPR_CAP_OFF; in spapr_cap_set_bool() 102 SpaprCapabilityInfo *cap = opaque; in spapr_cap_get_string() local 105 uint8_t value = spapr_get_cap(spapr, cap->index); in spapr_cap_get_string() 107 if (value >= cap->possible->num) { in spapr_cap_get_string() 108 error_setg(errp, "Invalid value (%d) for cap-%s", value, cap->name); in spapr_cap_get_string() 112 val = g_strdup(cap->possible->vals[value]); in spapr_cap_get_string() [all …]
|
/openbmc/linux/include/linux/ |
D | capability.h |
|
/openbmc/linux/kernel/ |
D | capability.c |
|
/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/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_general.robot | 238 Set Power Cap Value Via IPMI And Verify Using Redfish 239 [Documentation] Set power cap value via IPMI and verify using Redfish. 241 [Teardown] Run Keywords Set Power Cap Value Via Redfish ${initial_power_value} AND Redfish.Logout 244 # Get initial power cap value via Redfish. 245 ${power_limit_watts}= Get System Power Cap Limit 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. 259 ${updated_power_limits}= Get System Power Cap Limi [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()
|
/openbmc/linux/drivers/platform/surface/aggregator/ |
D | ssh_parser.h |
|
/openbmc/linux/drivers/media/test-drivers/vivid/ |
D | Makefile |
|
/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/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | ipsec.c |
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
D | main.c |
|
/openbmc/linux/Documentation/hwmon/ |
D | occ.rst |
|
/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()
|