/openbmc/linux/drivers/acpi/ |
H A D | ec.c | 168 struct acpi_ec *ec; member 228 #define ec_dbg_ref(ec, fmt, ...) \ argument 235 static bool acpi_ec_started(struct acpi_ec *ec) in acpi_ec_started() 241 static bool acpi_ec_event_enabled(struct acpi_ec *ec) in acpi_ec_event_enabled() 265 static bool acpi_ec_flushed(struct acpi_ec *ec) in acpi_ec_flushed() 274 static inline u8 acpi_ec_read_status(struct acpi_ec *ec) in acpi_ec_read_status() 289 static inline u8 acpi_ec_read_data(struct acpi_ec *ec) in acpi_ec_read_data() 298 static inline void acpi_ec_write_cmd(struct acpi_ec *ec, u8 command) in acpi_ec_write_cmd() 305 static inline void acpi_ec_write_data(struct acpi_ec *ec, u8 data) in acpi_ec_write_data() 337 static inline bool acpi_ec_gpe_status_set(struct acpi_ec *ec) in acpi_ec_gpe_status_set() [all …]
|
/openbmc/linux/arch/arm/mach-rpc/ |
H A D | ecard.c | 58 ecard_t *ec; member 121 struct expansion_card *ec = req->ec; in ecard_task_reset() local 135 struct expansion_card *ec = req->ec; in ecard_task_readbytes() local 312 ecard_readbytes(void *addr, ecard_t *ec, int off, int len, int useld) in ecard_readbytes() 326 int ecard_readchunk(struct in_chunk_dir *cd, ecard_t *ec, int id, int num) in ecard_readchunk() 385 static void ecard_def_irq_enable(ecard_t *ec, int irqnr) in ecard_def_irq_enable() 389 static void ecard_def_irq_disable(ecard_t *ec, int irqnr) in ecard_def_irq_disable() 393 static int ecard_def_irq_pending(ecard_t *ec) in ecard_def_irq_pending() 398 static void ecard_def_fiq_enable(ecard_t *ec, int fiqnr) in ecard_def_fiq_enable() 403 static void ecard_def_fiq_disable(ecard_t *ec, int fiqnr) in ecard_def_fiq_disable() [all …]
|
/openbmc/linux/drivers/edac/ |
H A D | mce_amd.c | 622 static bool f12h_mc0_mce(u16 ec, u8 xec) in f12h_mc0_mce() 640 static bool f10h_mc0_mce(u16 ec, u8 xec) in f10h_mc0_mce() 649 static bool k8_mc0_mce(u16 ec, u8 xec) in k8_mc0_mce() 659 static bool cat_mc0_mce(u16 ec, u8 xec) in cat_mc0_mce() 711 static bool f15h_mc0_mce(u16 ec, u8 xec) in f15h_mc0_mce() 766 u16 ec = EC(m->status); in decode_mc0_mce() local 785 static bool k8_mc1_mce(u16 ec, u8 xec) in k8_mc1_mce() 819 static bool cat_mc1_mce(u16 ec, u8 xec) in cat_mc1_mce() 844 static bool f15h_mc1_mce(u16 ec, u8 xec) in f15h_mc1_mce() 876 u16 ec = EC(m->status); in decode_mc1_mce() local [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-ebs-target.c | 37 static inline sector_t __sector_to_block(struct ebs_c *ec, sector_t sector) in __sector_to_block() 48 static inline unsigned int __nr_blocks(struct ebs_c *ec, struct bio *bio) in __nr_blocks() 65 static int __ebs_rw_bvec(struct ebs_c *ec, enum req_op op, struct bio_vec *bv, in __ebs_rw_bvec() 122 static int __ebs_rw_bio(struct ebs_c *ec, enum req_op op, struct bio *bio) in __ebs_rw_bio() 143 static int __ebs_discard_bio(struct ebs_c *ec, struct bio *bio) in __ebs_discard_bio() 167 static void __ebs_forget_bio(struct ebs_c *ec, struct bio *bio) in __ebs_forget_bio() 182 struct ebs_c *ec = container_of(ws, struct ebs_c, ws); in __ebs_process_bios() local 253 struct ebs_c *ec; in ebs_ctr() local 350 struct ebs_c *ec = ti->private; in ebs_dtr() local 363 struct ebs_c *ec = ti->private; in ebs_map() local [all …]
|
/openbmc/linux/drivers/misc/echo/ |
H A D | echo.c | 106 static inline void lms_adapt_bg(struct oslec_state *ec, int clean, int shift) in lms_adapt_bg() 145 struct oslec_state *ec; in oslec_create() local 209 void oslec_free(struct oslec_state *ec) in oslec_free() 222 void oslec_adaption_mode(struct oslec_state *ec, int adaption_mode) in oslec_adaption_mode() 228 void oslec_flush(struct oslec_state *ec) in oslec_flush() 254 void oslec_snapshot(struct oslec_state *ec) in oslec_snapshot() 262 int16_t oslec_update(struct oslec_state *ec, int16_t tx, int16_t rx) in oslec_update() 554 int16_t oslec_hpf_tx(struct oslec_state *ec, int16_t tx) in oslec_hpf_tx()
|
/openbmc/linux/crypto/ |
H A D | jitterentropy.c | 155 static void jent_apt_reset(struct rand_data *ec, unsigned int delta_masked) in jent_apt_reset() 169 static void jent_apt_insert(struct rand_data *ec, unsigned int delta_masked) in jent_apt_insert() 188 static int jent_apt_permanent_failure(struct rand_data *ec) in jent_apt_permanent_failure() 193 static int jent_apt_failure(struct rand_data *ec) in jent_apt_failure() 220 static void jent_rct_insert(struct rand_data *ec, int stuck) in jent_rct_insert() 252 static int jent_stuck(struct rand_data *ec, __u64 current_delta) in jent_stuck() 279 static int jent_rct_permanent_failure(struct rand_data *ec) in jent_rct_permanent_failure() 284 static int jent_rct_failure(struct rand_data *ec) in jent_rct_failure() 290 static int jent_health_failure(struct rand_data *ec) in jent_health_failure() 295 static int jent_permanent_health_failure(struct rand_data *ec) in jent_permanent_health_failure() [all …]
|
H A D | sm2.c | 69 static int sm2_ec_ctx_init(struct mpi_ec_ctx *ec) in sm2_ec_ctx_init() 129 static void sm2_ec_ctx_deinit(struct mpi_ec_ctx *ec) in sm2_ec_ctx_deinit() 250 MPI_POINT point, struct mpi_ec_ctx *ec, in sm2_z_digest_update_point() 271 struct mpi_ec_ctx *ec; in sm2_compute_z_digest() local 326 static int _sm2_verify(struct mpi_ec_ctx *ec, MPI hash, MPI sig_r, MPI sig_s) in _sm2_verify() 381 struct mpi_ec_ctx *ec = akcipher_tfm_ctx(tfm); in sm2_verify() local 423 struct mpi_ec_ctx *ec = akcipher_tfm_ctx(tfm); in sm2_set_pub_key() local 429 static int __sm2_set_pub_key(struct mpi_ec_ctx *ec, in __sm2_set_pub_key() 455 struct mpi_ec_ctx *ec = akcipher_tfm_ctx(tfm); in sm2_init_tfm() local 462 struct mpi_ec_ctx *ec = akcipher_tfm_ctx(tfm); in sm2_exit_tfm() local
|
/openbmc/linux/drivers/platform/olpc/ |
H A D | olpc-ec.c | 79 struct olpc_ec_priv *ec = container_of(w, struct olpc_ec_priv, worker); in olpc_ec_worker() local 113 struct olpc_ec_priv *ec) in queue_ec_descriptor() 128 struct olpc_ec_priv *ec = ec_priv; in olpc_ec_cmd() local 167 struct olpc_ec_priv *ec = ec_priv; in olpc_ec_wakeup_set() local 178 struct olpc_ec_priv *ec = ec_priv; in olpc_ec_wakeup_clear() local 189 struct olpc_ec_priv *ec = ec_priv; in olpc_ec_mask_write() local 222 struct olpc_ec_priv *ec = ec_priv; in olpc_ec_sci_query() local 352 static int olpc_ec_set_dcon_power(struct olpc_ec_priv *ec, bool state) in olpc_ec_set_dcon_power() 370 struct olpc_ec_priv *ec = rdev_get_drvdata(rdev); in dcon_regulator_enable() local 377 struct olpc_ec_priv *ec = rdev_get_drvdata(rdev); in dcon_regulator_disable() local [all …]
|
/openbmc/bmcweb/redfish-core/lib/ |
H A D | power_supply.hpp | 69 const std::string& chassisId, const boost::system::error_code& ec, in doPowerSupplyCollection() 163 const std::string& powerSupplyId, const boost::system::error_code& ec, in afterGetValidPowerSupplyPath() 219 [asyncResp](const boost::system::error_code& ec, const bool value) { in getPowerSupplyState() 246 [asyncResp](const boost::system::error_code& ec, const bool value) { in getPowerSupplyHealth() 273 const dbus::utility::DBusPropertiesMap& propertiesList) { in getPowerSupplyAsset() 367 [asyncResp](const boost::system::error_code& ec, in getPowerSupplyLocation() 386 const boost::system::error_code& ec, uint32_t value) in handleGetEfficiencyResponse() 414 const boost::system::error_code& ec, in handlePowerSupplyAttributesSubTreeResponse() 462 const dbus::utility::MapperGetSubTreeResponse& subtree) { in getEfficiencyPercent()
|
H A D | storage.hpp | 111 const boost::system::error_code& ec, in afterChassisDriveCollectionSubtree() 155 const std::string& storageId, const boost::system::error_code& ec, in afterSystemsStorageGetSubtree() 219 const boost::system::error_code& ec, in afterSubtree() 302 propertiesList) { in getDriveAsset() 354 path](const boost::system::error_code& ec, const bool isPresent) { in getDrivePresent() 376 [asyncResp](const boost::system::error_code& ec, const bool updating) { in getDriveState() 451 propertiesList) { in getDriveItemProperties() 635 const std::string& driveId, const boost::system::error_code& ec, in afterGetSubtreeSystemsStorageDrive() 733 const std::string& chassisId, const boost::system::error_code& ec, in afterChassisDriveCollectionSubtreeGet() 839 const boost::system::error_code& ec, in buildDrive() [all …]
|
H A D | systems.hpp | 308 const boost::system::error_code& ec, in afterGetUUID() 347 const boost::system::error_code& ec, in afterGetInventory() 407 const boost::system::error_code& ec, const std::string& value) in afterGetAssetTag() 421 const boost::system::error_code& ec, in afterSystemGetSubTree() 538 const std::string& hostState) { in getHostState() 838 const std::string& bootProgressStr) { in getBootProgress() 867 const uint64_t lastStateTime) { in getBootProgressLastStateTime() 902 const std::string& bootType) { in getBootOverrideType() 943 const std::string& bootModeStr) { in getBootOverrideMode() 995 const std::string& bootSourceStr) { in getBootOverrideSource() [all …]
|
H A D | fabric_adapters.hpp | 45 const std::string& property) { in getFabricAdapterLocation() 71 const dbus::utility::DBusPropertiesMap& propertiesList) { in getFabricAdapterAsset() 127 [asyncResp](const boost::system::error_code& ec, const bool present) { in getFabricAdapterState() 154 const bool functional) { in getFabricAdapterHealth() 202 const boost::system::error_code& ec, in afterGetValidFabricAdapterPath() 229 std::function<void(const boost::system::error_code& ec, in getValidFabricAdapterPath() 243 const boost::system::error_code& ec, const std::string& fabricAdapterPath, in afterHandleFabricAdapterGet() 366 const std::string& adapterId, const boost::system::error_code& ec, in afterHandleFabricAdapterHead()
|
H A D | managers.hpp | 96 [asyncResp](const boost::system::error_code& ec) { in doBMCGracefulRestart() 123 [asyncResp](const boost::system::error_code& ec) { in doBMCForceRestart() 271 [asyncResp](const boost::system::error_code& ec) { in requestRoutesManagerResetToDefaultsAction() 380 [asyncResp](const boost::system::error_code& ec, in managerGetLastResetTime() 381 const uint64_t lastResetTime) { in managerGetLastResetTime() 435 const dbus::utility::ManagedObjectType& subtree) { in setActiveFirmwareImage() 508 const boost::system::error_code& ec, const sdbusplus::message_t& msg) in afterSetDateTime() 567 [asyncResp](const boost::system::error_code& ec, in checkForQuiesced() 568 const std::string& val) { in checkForQuiesced() 739 [asyncResp](const boost::system::error_code& ec, double val) { in requestRoutesManager() [all …]
|
H A D | led.hpp | 37 [asyncResp](const boost::system::error_code& ec, const bool blinking) { in getIndicatorLedState() 126 ledBlinkng](const boost::system::error_code& ec) mutable { in setIndicatorLedState() 161 [asyncResp](const boost::system::error_code& ec, const bool blinking) { in getSystemLocationIndicatorActive() 220 [asyncResp, ledState](const boost::system::error_code& ec) { in setSystemLocationIndicatorActive()
|
/openbmc/bmcweb/http/ |
H A D | http_body.hpp | 105 boost::system::error_code& ec) in open() 133 void setFd(int fd, boost::system::error_code& ec) in setFd() 174 static void init(boost::beast::error_code& ec) in init() 180 boost::beast::error_code& ec) in get() 186 boost::beast::error_code& ec, size_t maxSize) in getWithMaxSize() 253 boost::beast::error_code& ec) in init() 267 boost::system::error_code& ec) in put() 279 static void finish(boost::system::error_code& ec) in finish()
|
H A D | http_connection.hpp | 155 boost::system::error_code ec; in prepareMutualTls() local 168 boost::beast::error_code ec, bool isTls) in afterDetectSsl() 237 const boost::system::error_code& ec, in afterSslHandshake() 454 const boost::system::error_code& ec) in tlsShutdownComplete() 504 boost::system::error_code ec; in readClientIp() local 592 const boost::system::error_code& ec, in afterReadHeaders() 692 const boost::system::error_code& ec, in afterRead() 770 const boost::system::error_code& ec, in afterDoWrite() 853 const boost::system::error_code& ec) in afterTimerWait()
|
/openbmc/bmcweb/src/ |
H A D | dbus_utility.cpp | 37 void logError(const boost::system::error_code& ec) in logError() 112 const boost::system::error_code& ec, in getSubTree() 128 const boost::system::error_code& ec, in getSubTreePaths() 147 const boost::system::error_code& ec, in getAssociatedSubTree() 164 const boost::system::error_code& ec, in getAssociatedSubTreePaths() 184 const boost::system::error_code& ec, in getAssociatedSubTreeById() 202 const boost::system::error_code& ec, in getAssociatedSubTreePathsById() 218 [callback{std::move(callback)}](const boost::system::error_code& ec, in getDbusObject() 219 const MapperGetObject& object) { in getDbusObject() 244 const ManagedObjectType& objects) { in getManagedObjects()
|
/openbmc/boost-dbus/test/ |
H A D | avahi.cpp | 26 m, [&](const boost::system::error_code ec, dbus::message r) { in TEST() 74 [&](boost::system::error_code ec, dbus::message s) { in TEST() 107 m, [&](const boost::system::error_code ec, dbus::message r) { in TEST() 134 f.async_dispatch([&](boost::system::error_code ec, dbus::message s) { in TEST() 166 [&](boost::system::error_code ec, dbus::message s) {}); in TEST() 184 boost::system::error_code ec, dbus::message s) { in TEST() 246 [&](boost::system::error_code ec, dbus::message s) { in TEST() 263 r, [&](boost::system::error_code ec, dbus::message s) {}); in TEST() 273 const dbus::dbus_variant& status) { in TEST() 304 [&](boost::system::error_code ec, dbus::message s) { in TEST() [all …]
|
/openbmc/bmcweb/redfish-core/include/ |
H A D | snmp_trap_event_clients.hpp | 36 const boost::system::error_code& ec, in afterGetSnmpTrapClientdata() 95 [asyncResp, id](const boost::system::error_code& ec, in getSnmpTrapClient() 96 dbus::utility::ManagedObjectType& resp) { in getSnmpTrapClient() 135 const boost::system::error_code& ec, const sdbusplus::message_t& msg, in afterSnmpClientCreate() 185 const sdbusplus::message_t& msg, const std::string& dbusSNMPid) { in addSnmpTrapClient() 225 [asyncResp, param](const boost::system::error_code& ec) { in deleteSnmpTrapClient()
|
/openbmc/u-boot/drivers/misc/ |
H A D | cros_ec_sandbox.c | 99 struct ec_state *ec = &s_state; in cros_ec_read_state() local 139 struct ec_state *ec = g_state; in cros_ec_write_state() local 164 static int get_image_used(struct ec_state *ec, struct fmap_entry *entry) in get_image_used() 191 static int keyscan_read_fdt_matrix(struct ec_state *ec, ofnode node) in keyscan_read_fdt_matrix() 240 static int cros_ec_keyscan(struct ec_state *ec, uint8_t *scan) in cros_ec_keyscan() 282 static int process_cmd(struct ec_state *ec, in process_cmd() 473 struct ec_state *ec = dev_get_priv(dev->dev); in cros_ec_sandbox_packet() local 498 struct ec_state *ec = dev_get_priv(dev); in cros_ec_check_keyboard() local 514 struct ec_state *ec = dev->priv; in cros_ec_probe() local
|
/openbmc/linux/drivers/platform/chrome/wilco_ec/ |
H A D | keyboard_leds.c | 22 struct wilco_ec_device *ec; member 55 static int send_kbbl_msg(struct wilco_ec_device *ec, in send_kbbl_msg() 79 static int set_kbbl(struct wilco_ec_device *ec, enum led_brightness brightness) in set_kbbl() 105 static int kbbl_exist(struct wilco_ec_device *ec, bool *exists) in kbbl_exist() 134 static int kbbl_init(struct wilco_ec_device *ec) in kbbl_init() 173 int wilco_keyboard_leds_init(struct wilco_ec_device *ec) in wilco_keyboard_leds_init()
|
/openbmc/linux/drivers/ata/ |
H A D | pata_icside.c | 64 struct expansion_card *ec; member 86 static void pata_icside_irqenable_arcin_v5 (struct expansion_card *ec, int irqnr) in pata_icside_irqenable_arcin_v5() 96 static void pata_icside_irqdisable_arcin_v5 (struct expansion_card *ec, int irqnr) in pata_icside_irqdisable_arcin_v5() 113 static void pata_icside_irqenable_arcin_v6 (struct expansion_card *ec, int irqnr) in pata_icside_irqenable_arcin_v6() 127 static void pata_icside_irqdisable_arcin_v6 (struct expansion_card *ec, int irqnr) in pata_icside_irqdisable_arcin_v6() 138 static int pata_icside_irqpending_arcin_v6(struct expansion_card *ec) in pata_icside_irqpending_arcin_v6() 284 struct expansion_card *ec = info->ec; in icside_dma_init() local 402 struct expansion_card *ec = info->ec; in pata_icside_register_v6() local 444 struct expansion_card *ec = info->ec; in pata_icside_add_ports() local 482 static int pata_icside_probe(struct expansion_card *ec, in pata_icside_probe() [all …]
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_lightbar.c | 86 static struct cros_ec_command *alloc_lightbar_cmd_msg(struct cros_ec_dev *ec) in alloc_lightbar_cmd_msg() 106 static int get_lightbar_version(struct cros_ec_dev *ec, in get_lightbar_version() 161 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in version_show() local 183 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in brightness_store() local 222 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in led_rgb_store() local 291 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in sequence_show() local 320 static int lb_send_empty_cmd(struct cros_ec_dev *ec, uint8_t cmd) in lb_send_empty_cmd() 348 static int lb_manual_suspend_ctrl(struct cros_ec_dev *ec, uint8_t enable) in lb_manual_suspend_ctrl() 385 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in sequence_store() local 428 struct cros_ec_dev *ec = to_cros_ec_dev(dev); in program_store() local
|
/openbmc/service-config-manager/src/ |
H A D | utils.cpp | 18 void checkAndThrowInternalFailure(boost::system::error_code& ec, in checkAndThrowInternalFailure() 35 boost::system::error_code ec; in systemdDaemonReload() local 59 boost::system::error_code ec; in systemdUnitAction() local 101 boost::system::error_code ec; in systemdUnitFilesStateChange() local
|
/openbmc/phosphor-bmc-code-mgmt/bmc/ |
H A D | serialize.cpp | 28 std::error_code ec; in storePriority() local 49 std::error_code ec; in storePurpose() local 70 std::error_code ec; in restorePriority() local 132 std::error_code ec; in restorePurpose() local 154 std::error_code ec; in removePersistDataDirectory() local
|