/openbmc/bmcweb/redfish-core/include/registries/ |
H A D | privilege_registry.hpp | 22 const std::array<Privileges, 1> privilegeSetLogin = {{ 25 const std::array<Privileges, 1> privilegeSetConfigureComponents = {{ 28 const std::array<Privileges, 1> privilegeSetConfigureUsers = {{ 31 const std::array<Privileges, 1> privilegeSetConfigureManager = {{ 34 const std::array<Privileges, 2> privilegeSetConfigureManagerOrConfigureComponents = {{ 38 const std::array<Privileges, 2> privilegeSetConfigureManagerOrConfigureSelf = {{ 42 const std::array<Privileges, 3> privilegeSetConfigureManagerOrConfigureUsersOrConfigureSelf = {{ 47 const std::array<Privileges, 2> privilegeSetLoginOrNoAuth = {{ 52 const static auto& getAccelerationFunction = privilegeSetLogin; 53 const static auto& headAccelerationFunction = privilegeSetLogin; [all …]
|
/openbmc/qemu/include/monitor/ |
H A D | hmp.h | 21 void hmp_help_cmd(Monitor *mon, const char *name); 22 strList *hmp_split_at_comma(const char *str); 24 void hmp_info_name(Monitor *mon, const QDict *qdict); 25 void hmp_info_version(Monitor *mon, const QDict *qdict); 26 void hmp_info_kvm(Monitor *mon, const QDict *qdict); 27 void hmp_info_status(Monitor *mon, const QDict *qdict); 28 void hmp_info_uuid(Monitor *mon, const QDict *qdict); 29 void hmp_info_chardev(Monitor *mon, const QDict *qdict); 30 void hmp_info_mice(Monitor *mon, const QDict *qdict); 31 void hmp_info_migrate(Monitor *mon, const QDict *qdict); [all …]
|
/openbmc/sdeventplus/src/sdeventplus/internal/ |
H A D | sdevent.hpp | 18 virtual int sd_event_default(sd_event** event) const = 0; 19 virtual int sd_event_new(sd_event** event) const = 0; 20 virtual sd_event* sd_event_ref(sd_event* event) const = 0; 21 virtual sd_event* sd_event_unref(sd_event* event) const = 0; 25 void* userdata) const = 0; 29 void* userdata) const = 0; 32 void* userdata) const = 0; 35 sd_event_child_handler_t callback, void* userdata) const = 0; 38 void* userdata) const = 0; 41 void* userdata) const = 0; [all …]
|
/openbmc/phosphor-dbus-monitor/src/test/ |
H A D | propertywatchtest.hpp | 33 static Ret op(DBusInterfaceType& dbus, const std::string& busName, in op() 34 const std::string& path, const std::string& interface, in op() 35 const std::string& method, Args&&... args) in op() 45 struct CallMethodAndRead<DBusInterfaceType, GetObject, const MapperPath&, 46 const std::vector<std::string>&> 48 static GetObject op(DBusInterfaceType& dbus, const std::string& busName, in op() 49 const std::string& path, const std::string& interface, in op() 50 const std::string& method, const MapperPath& objectPath, in op() 51 const std::vector<std::string>& interfaces) in op() 62 const std::string&> [all …]
|
/openbmc/telemetry/src/ |
H A D | trigger_actions.hpp | 13 constexpr const char* TriggerDiscreteConditionMet = 15 constexpr const char* TriggerNumericAboveLowerCritical = 17 constexpr const char* TriggerNumericAboveUpperCritical = 19 constexpr const char* TriggerNumericAboveUpperWarning = 21 constexpr const char* TriggerNumericBelowLowerCritical = 23 constexpr const char* TriggerNumericBelowLowerWarning = 25 constexpr const char* TriggerNumericBelowUpperCritical = 27 constexpr const char* TriggerNumericReadingNormal = 39 void commit(const std::string& triggerId, const ThresholdName thresholdName, 40 const std::string& sensorName, const Milliseconds timestamp, [all …]
|
H A D | trigger_factory.hpp | 20 const std::string& id, const std::string& name, 21 const std::vector<std::string>& triggerActions, 22 const std::vector<std::string>& reportIds, 25 const LabeledTriggerThresholdParams& labeledThresholdParams, 26 const std::vector<LabeledSensorInfo>& labeledSensorsinfo) 27 const override; 31 const SensorsInfo& sensorsInfo) const override; 33 const SensorsInfo& sensorsInfo) const override; 37 const std::string& triggerId, 38 const std::vector<TriggerAction>& triggerActions, [all …]
|
/openbmc/qemu/include/qobject/ |
H A D | qdict.h | 39 const char *qdict_entry_key(const QDictEntry *entry); 40 QObject *qdict_entry_value(const QDictEntry *entry); 41 size_t qdict_size(const QDict *qdict); 42 void qdict_put_obj(QDict *qdict, const char *key, QObject *value); 43 void qdict_del(QDict *qdict, const char *key); 44 int qdict_haskey(const QDict *qdict, const char *key); 45 QObject *qdict_get(const QDict *qdict, const char *key); 46 const QDictEntry *qdict_first(const QDict *qdict); 47 const QDictEntry *qdict_next(const QDict *qdict, const QDictEntry *entry); 53 void qdict_put_bool(QDict *qdict, const char *key, bool value); [all …]
|
/openbmc/u-boot/drivers/pinctrl/meson/ |
H A D | pinctrl-meson-axg.c | 20 static const unsigned int emmc_nand_d0_pins[] = {BOOT_0}; 21 static const unsigned int emmc_nand_d1_pins[] = {BOOT_1}; 22 static const unsigned int emmc_nand_d2_pins[] = {BOOT_2}; 23 static const unsigned int emmc_nand_d3_pins[] = {BOOT_3}; 24 static const unsigned int emmc_nand_d4_pins[] = {BOOT_4}; 25 static const unsigned int emmc_nand_d5_pins[] = {BOOT_5}; 26 static const unsigned int emmc_nand_d6_pins[] = {BOOT_6}; 27 static const unsigned int emmc_nand_d7_pins[] = {BOOT_7}; 29 static const unsigned int emmc_clk_pins[] = {BOOT_8}; 30 static const unsigned int emmc_cmd_pins[] = {BOOT_10}; [all …]
|
H A D | pinctrl-meson-gxl.c | 18 static const unsigned int emmc_nand_d07_pins[] = { 23 static const unsigned int emmc_clk_pins[] = { PIN(BOOT_8, EE_OFF) }; 24 static const unsigned int emmc_cmd_pins[] = { PIN(BOOT_10, EE_OFF) }; 25 static const unsigned int emmc_ds_pins[] = { PIN(BOOT_15, EE_OFF) }; 27 static const unsigned int nor_d_pins[] = { PIN(BOOT_11, EE_OFF) }; 28 static const unsigned int nor_q_pins[] = { PIN(BOOT_12, EE_OFF) }; 29 static const unsigned int nor_c_pins[] = { PIN(BOOT_13, EE_OFF) }; 30 static const unsigned int nor_cs_pins[] = { PIN(BOOT_15, EE_OFF) }; 32 static const unsigned int spi_mosi_pins[] = { PIN(GPIOX_8, EE_OFF) }; 33 static const unsigned int spi_miso_pins[] = { PIN(GPIOX_9, EE_OFF) }; [all …]
|
/openbmc/u-boot/include/ |
H A D | hwconfig.h | 19 extern int hwconfig_f(const char *opt, char *buf); 20 extern const char *hwconfig_arg_f(const char *opt, size_t *arglen, char *buf); 21 extern int hwconfig_arg_cmp_f(const char *opt, const char *arg, char *buf); 22 extern int hwconfig_sub_f(const char *opt, const char *subopt, char *buf); 23 extern const char *hwconfig_subarg_f(const char *opt, const char *subopt, 25 extern int hwconfig_subarg_cmp_f(const char *opt, const char *subopt, 26 const char *subarg, char *buf); 29 static inline int hwconfig_f(const char *opt, char *buf) in hwconfig_f() 34 static inline const char *hwconfig_arg_f(const char *opt, size_t *arglen, in hwconfig_arg_f() 41 static inline int hwconfig_arg_cmp_f(const char *opt, const char *arg, in hwconfig_arg_cmp_f() [all …]
|
/openbmc/phosphor-ipmi-flash/internal/ |
H A D | sys.hpp | 33 virtual int open(const char* pathname, int flags) const = 0; 34 virtual int read(int fd, void* buf, std::size_t count) const = 0; 36 off_t offset) const = 0; 37 virtual int pwrite(int fd, const void* buf, std::size_t count, 38 off_t offset) const = 0; 39 virtual int close(int fd) const = 0; 41 int fd, off_t offset) const = 0; 42 virtual int munmap(void* addr, std::size_t length) const = 0; 43 virtual int getpagesize() const = 0; 44 virtual int ioctl(int fd, unsigned long request, void* param) const = 0; [all …]
|
/openbmc/qemu/hw/vfio/ |
H A D | trace-events | 6 vfio_intx_interrupt(const char *name, char line) " (%s) Pin %c" 7 vfio_pci_intx_eoi(const char *name) " (%s) EOI" 8 vfio_intx_enable_kvm(const char *name) " (%s) KVM INTx accel enabled" 9 vfio_intx_disable_kvm(const char *name) " (%s) KVM INTx accel disabled" 10 vfio_intx_update(const char *name, int new_irq, int target_irq) " (%s) IRQ moved %d -> %d" 11 vfio_intx_enable(const char *name) " (%s)" 12 vfio_intx_disable(const char *name) " (%s)" 13 vfio_msi_interrupt(const char *name, int index, uint64_t addr, int data) " (%s) vector %d 0x%"PRIx6… 14 vfio_msix_vector_do_use(const char *name, int index) " (%s) vector %d used" 15 vfio_msix_vector_release(const char *name, int index) " (%s) vector %d released" [all …]
|
/openbmc/u-boot/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier-pro5.c | 13 static const unsigned emmc_pins[] = {36, 37, 38, 39, 40, 41, 42}; 14 static const int emmc_muxvals[] = {0, 0, 0, 0, 0, 0, 0}; 15 static const unsigned emmc_dat8_pins[] = {43, 44, 45, 46}; 16 static const int emmc_dat8_muxvals[] = {0, 0, 0, 0}; 17 static const unsigned i2c0_pins[] = {112, 113}; 18 static const int i2c0_muxvals[] = {0, 0}; 19 static const unsigned i2c1_pins[] = {114, 115}; 20 static const int i2c1_muxvals[] = {0, 0}; 21 static const unsigned i2c2_pins[] = {116, 117}; 22 static const int i2c2_muxvals[] = {0, 0}; [all …]
|
H A D | pinctrl-uniphier-ld6b.c | 13 static const unsigned emmc_pins[] = {36, 37, 38, 39, 40, 41, 42}; 14 static const int emmc_muxvals[] = {1, 1, 1, 1, 1, 1, 1}; 15 static const unsigned emmc_dat8_pins[] = {43, 44, 45, 46}; 16 static const int emmc_dat8_muxvals[] = {1, 1, 1, 1}; 17 static const unsigned ether_rgmii_pins[] = {143, 144, 145, 146, 147, 148, 149, 20 static const int ether_rgmii_muxvals[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22 static const unsigned ether_rmii_pins[] = {143, 144, 145, 146, 147, 148, 149, 24 static const int ether_rmii_muxvals[] = {0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1}; 25 static const unsigned i2c0_pins[] = {109, 110}; 26 static const int i2c0_muxvals[] = {0, 0}; [all …]
|
H A D | pinctrl-uniphier-pro4.c | 13 static const unsigned emmc_pins[] = {40, 41, 42, 43, 51, 52, 53}; 14 static const int emmc_muxvals[] = {1, 1, 1, 1, 1, 1, 1}; 15 static const unsigned emmc_dat8_pins[] = {44, 45, 46, 47}; 16 static const int emmc_dat8_muxvals[] = {1, 1, 1, 1}; 17 static const unsigned ether_mii_pins[] = {160, 161, 162, 163, 164, 165, 166, 20 static const int ether_mii_muxvals[] = {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22 static const unsigned ether_rgmii_pins[] = {160, 161, 162, 163, 164, 165, 167, 25 static const int ether_rgmii_muxvals[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 27 static const unsigned ether_rmii_pins[] = {160, 161, 162, 165, 168, 169, 172, 29 static const int ether_rmii_muxvals[] = {1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; [all …]
|
/openbmc/phosphor-psu-code-mgmt/src/ |
H A D | utils.hpp | 24 const UtilsInterface& getUtils(); 49 std::string getService(sdbusplus::bus_t& bus, const char* path, 50 const char* interface); 63 std::vector<std::string> getServices(sdbusplus::bus_t& bus, const char* path, 64 const char* interface); 79 T getProperty(sdbusplus::bus_t& bus, const char* service, const char* path, 80 const char* interface, const char* propertyName); 92 std::string getVersionId(const std::string& version); 100 std::string getVersion(const std::string& inventoryPath); 108 std::string getModel(const std::string& inventoryPath); [all …]
|
/openbmc/sdbusplus/include/sdbusplus/ |
H A D | exception.hpp | 29 virtual const char* name() const noexcept = 0; 30 virtual const char* description() const noexcept = 0; 31 virtual int get_errno() const noexcept = 0; 33 virtual int set_error(sd_bus_error*) const; 34 virtual int set_error(SdBusInterface*, sd_bus_error*) const; 41 virtual void unused() const noexcept; 47 int get_errno() const noexcept override; 54 virtual auto to_json() const -> nlohmann::json = 0; 55 virtual int severity() const noexcept = 0; 63 const char* name() const noexcept override in name() [all …]
|
/openbmc/qemu/include/ui/ |
H A D | input.h | 26 const char *name; 33 const QemuInputHandler *handler); 38 const char *device_id, int head, 50 int qemu_input_key_value_to_number(const KeyValue *value); 51 int qemu_input_key_value_to_qcode(const KeyValue *value); 52 int qemu_input_key_value_to_scancode(const KeyValue *value, bool down, 77 extern const guint qemu_input_map_atset1_to_qcode_len; 78 extern const guint16 qemu_input_map_atset1_to_qcode[]; 80 extern const guint qemu_input_map_linux_to_qcode_len; 81 extern const guint16 qemu_input_map_linux_to_qcode[]; [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | aspeed-hace-utils.h | 60 void aspeed_test_md5(const char *machine, const uint32_t base, 61 const uint64_t src_addr); 62 void aspeed_test_sha256(const char *machine, const uint32_t base, 63 const uint64_t src_addr); 64 void aspeed_test_sha384(const char *machine, const uint32_t base, 65 const uint64_t src_addr); 66 void aspeed_test_sha512(const char *machine, const uint32_t base, 67 const uint64_t src_addr); 68 void aspeed_test_sha256_sg(const char *machine, const uint32_t base, 69 const uint64_t src_addr); [all …]
|
/openbmc/qemu/hw/9pfs/ |
H A D | 9p-xattr.h | 20 const char *name; 21 ssize_t (*getxattr)(FsContext *ctx, const char *path, 22 const char *name, void *value, size_t size); 23 ssize_t (*listxattr)(FsContext *ctx, const char *path, 25 int (*setxattr)(FsContext *ctx, const char *path, const char *name, 28 const char *path, const char *name); 31 ssize_t local_getxattr_nofollow(FsContext *ctx, const char *path, 32 const char *name, void *value, size_t size); 33 ssize_t local_setxattr_nofollow(FsContext *ctx, const char *path, 34 const char *name, void *value, size_t size, [all …]
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffsfs.h | 79 int yaffs_open(const YCHAR *path, int oflag, int mode) ; 86 int yaffs_access(const YCHAR *path, int amode); 91 int yaffs_write(int fd, const void *buf, unsigned int nbyte) ; 94 int yaffs_pwrite(int fd, const void *buf, unsigned int nbyte, loff_t offset); 98 int yaffs_truncate(const YCHAR *path, loff_t new_size); 101 int yaffs_unlink(const YCHAR *path) ; 102 int yaffs_rename(const YCHAR *oldPath, const YCHAR *newPath) ; 104 int yaffs_stat(const YCHAR *path, struct yaffs_stat *buf) ; 105 int yaffs_lstat(const YCHAR *path, struct yaffs_stat *buf) ; 108 int yaffs_utime(const YCHAR *path, const struct yaffs_utimbuf *buf); [all …]
|
/openbmc/bmcweb/src/ |
H A D | dbus_utility.cpp | 33 const static std::regex reg("[^A-Za-z0-9_/]"); in escapePathForDbus() 37 void logError(const boost::system::error_code& ec) in logError() 45 void getAllProperties(const std::string& service, const std::string& objectPath, in getAllProperties() 46 const std::string& interface, in getAllProperties() 47 std::function<void(const boost::system::error_code&, in getAllProperties() 48 const DBusPropertiesMap&)>&& callback) in getAllProperties() 56 const std::string& service, const std::string& objectPath, in getAllProperties() 57 const std::string& interface, in getAllProperties() 58 std::function<void(const boost::system::error_code&, in getAllProperties() 59 const DBusPropertiesMap&)>&& callback) in getAllProperties() [all …]
|
/openbmc/bmcweb/include/ |
H A D | dbus_utility.hpp | 92 void logError(const boost::system::error_code& ec); 94 void getAllProperties(const std::string& service, const std::string& objectPath, 95 const std::string& interface, 96 std::function<void(const boost::system::error_code&, 97 const DBusPropertiesMap&)>&& callback); 101 void async_method_call(MessageHandler&& handler, const std::string& service, in async_method_call() 102 const std::string& objpath, const std::string& interf, in async_method_call() 103 const std::string& method, const InputArgs&... a) in async_method_call() 112 void async_method_call(const std::shared_ptr<bmcweb::AsyncResp>& /*asyncResp*/, in async_method_call() 113 MessageHandler&& handler, const std::string& service, in async_method_call() [all …]
|
/openbmc/qemu/include/libdecnumber/ |
H A D | decNumber.h | 120 decNumber * decNumberFromString(decNumber *, const char *, decContext *); 121 char * decNumberToString(const decNumber *, char *); 122 char * decNumberToEngString(const decNumber *, char *); 123 uint32_t decNumberToUInt32(const decNumber *, decContext *); 124 int32_t decNumberToInt32(const decNumber *, decContext *); 125 int64_t decNumberIntegralToInt64(const decNumber *dn, decContext *set); 126 void decNumberIntegralToInt128(const decNumber *dn, decContext *set, 128 uint8_t * decNumberGetBCD(const decNumber *, uint8_t *); 129 decNumber * decNumberSetBCD(decNumber *, const uint8_t *, uint32_t); 132 decNumber * decNumberAbs(decNumber *, const decNumber *, decContext *); [all …]
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyruvate/ |
H A D | 0001-musl-Move-F_OFD_GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch | 29 @@ -451,9 +451,6 @@ pub const F_GETOWN: ::c_int = 9; 30 pub const F_SETLK: ::c_int = 13; 31 pub const F_SETLKW: ::c_int = 14; 32 pub const F_SETOWN: ::c_int = 8; 33 -pub const F_OFD_GETLK: ::c_int = 36; 34 -pub const F_OFD_SETLK: ::c_int = 37; 35 -pub const F_OFD_SETLKW: ::c_int = 38; 37 pub const VEOF: usize = 4; 38 pub const VEOL: usize = 11; 43 @@ -225,9 +225,6 @@ pub const F_GETOWN_EX: ::c_int = 16; [all …]
|