| /openbmc/phosphor-led-manager/test/ |
| H A D | led-test-map.hpp | 8 {"One", phosphor::led::Layout::Action::On, 0, 0, 9 phosphor::led::Layout::Action::Blink}, 17 {"One", phosphor::led::Layout::Action::Blink, 0, 0, 18 phosphor::led::Layout::Action::Blink}, 26 {"One", phosphor::led::Layout::Action::Blink, 0, 0, 27 phosphor::led::Layout::Action::On}, 35 {"One", phosphor::led::Layout::Action::On, 0, 0, 36 phosphor::led::Layout::Action::On}, 37 {"Two", phosphor::led::Layout::Action::On, 0, 0, 38 phosphor::led::Layout::Action::On}, [all …]
|
| H A D | utest-group-priority.cpp | 23 static void assertMap(std::map<LedName, Layout::LedAction> map, in assertMap() 24 std::map<LedName, Layout::Action> expect) in assertMap() 38 {"led1", Layout::Action::On, 0, 0, std::nullopt}, 39 {"led2", Layout::Action::On, 0, 0, std::nullopt}, 44 {"led3", Layout::Action::On, 0, 0, std::nullopt}, 45 {"led4", Layout::Action::On, 0, 0, std::nullopt}, 54 std::set<const Layout::GroupLayout*> assertedGroups; in TEST_F() 56 Layout::GroupLayout mygroup = in TEST_F() 61 std::map<LedName, Layout::LedAction> map = in TEST_F() 65 {"led1", Layout::Action::On}, in TEST_F() [all …]
|
| H A D | utest-config-validator.cpp | 26 {"led1", Layout::Action::On, 0, 0, Layout::Action::On}, in TEST() 27 {"led2", Layout::Action::On, 0, 0, Layout::Action::Blink}, in TEST() 29 Layout::GroupLayout group1 = {0, group1ActionSet}; in TEST() 38 {"led1", Layout::Action::On, 0, 0, std::nullopt}, in TEST() 39 {"led2", Layout::Action::On, 0, 0, std::nullopt}, in TEST() 42 {"led1", Layout::Action::On, 0, 0, std::nullopt}, in TEST() 43 {"led2", Layout::Action::On, 0, 0, std::nullopt}, in TEST() 45 Layout::GroupLayout group1 = {1, group1ActionSet}; in TEST() 46 Layout::GroupLayout group2 = {2, group1ActionSet}; in TEST() 58 {"led1", Layout::Action::On, 0, 0, Layout::Action::On}, in TEST() [all …]
|
| H A D | utest.cpp | 39 {"One", phosphor::led::Layout::Action::On, 0, 0, in TEST_F() 40 phosphor::led::Layout::Action::Blink}, in TEST_F() 71 {"One", phosphor::led::Layout::Action::Blink, 0, 0, in TEST_F() 72 phosphor::led::Layout::Action::Blink}, in TEST_F() 103 {"One", phosphor::led::Layout::Action::On, 0, 0, in TEST_F() 104 phosphor::led::Layout::Action::Blink}, in TEST_F() 149 {"One", phosphor::led::Layout::Action::On, 0, 0, in TEST_F() 150 phosphor::led::Layout::Action::On}, in TEST_F() 151 {"Two", phosphor::led::Layout::Action::On, 0, 0, in TEST_F() 152 phosphor::led::Layout::Action::On}, in TEST_F() [all …]
|
| H A D | utest-led-json.cpp | 29 ASSERT_EQ(group.action, phosphor::led::Layout::Action::On); in TEST() 32 ASSERT_EQ(group.priority, phosphor::led::Layout::Action::Blink); in TEST() 38 ASSERT_EQ(group.action, phosphor::led::Layout::Action::On); in TEST() 41 ASSERT_EQ(group.priority, phosphor::led::Layout::Action::On); in TEST() 46 ASSERT_EQ(group.action, phosphor::led::Layout::Action::Off); in TEST() 47 ASSERT_EQ(group.priority, phosphor::led::Layout::Action::Off); in TEST() 54 ASSERT_EQ(group.action, phosphor::led::Layout::Action::Blink); in TEST() 57 ASSERT_EQ(group.priority, phosphor::led::Layout::Action::Blink); in TEST() 61 ASSERT_EQ(group.action, phosphor::led::Layout::Action::Blink); in TEST() 64 ASSERT_EQ(group.priority, phosphor::led::Layout::Action::Blink); in TEST()
|
| /openbmc/u-boot/common/eeprom/ |
| H A D | eeprom_layout.c | 14 #define NO_LAYOUT_FIELDS "Unknown layout. Dumping raw data\n" 22 * eeprom_layout_detect() - detect layout based on the contents of the data. 25 * Returns: the detected layout version. 33 * __eeprom_layout_assign() - set the layout fields 34 * @layout: A pointer to an existing struct layout. 35 * @layout_version: The version number of the desired layout 37 __weak void __eeprom_layout_assign(struct eeprom_layout *layout, in __eeprom_layout_assign() argument 40 layout->fields = layout_unknown; in __eeprom_layout_assign() 41 layout->num_of_fields = ARRAY_SIZE(layout_unknown); in __eeprom_layout_assign() 43 void eeprom_layout_assign(struct eeprom_layout *layout, int layout_version) \ [all …]
|
| /openbmc/libmctp/ |
| H A D | astlpc.c | 124 struct mctp_astlpc_layout layout; member 281 } layout; member 394 struct mctp_astlpc_layout *layout) in mctp_astlpc_layout_read() argument 405 layout->rx.offset = be32toh(hdr.layout.tx_offset); in mctp_astlpc_layout_read() 406 layout->rx.size = be32toh(hdr.layout.tx_size); in mctp_astlpc_layout_read() 407 layout->tx.offset = be32toh(hdr.layout.rx_offset); in mctp_astlpc_layout_read() 408 layout->tx.size = be32toh(hdr.layout.rx_size); in mctp_astlpc_layout_read() 412 layout->rx.offset = be32toh(hdr.layout.rx_offset); in mctp_astlpc_layout_read() 413 layout->rx.size = be32toh(hdr.layout.rx_size); in mctp_astlpc_layout_read() 414 layout->tx.offset = be32toh(hdr.layout.tx_offset); in mctp_astlpc_layout_read() [all …]
|
| /openbmc/qemu/docs/system/devices/ |
| H A D | keyboard.rst | 5 SUN Type 4, 5 and 5c keyboards have dip switches to choose the language layout 7 and uses that value to select keyboard layout. Also the SUN bios like the one 10 US keyboard layout. 12 With the escc.chnA-sunkbd-layout driver property it is possible to select 13 keyboard layout. Example: 15 -global escc.chnA-sunkbd-layout=de 18 select keyboard layout, giving up to 64 different layouts. Not all 24 -global escc.chnA-sunkbd-layout=0x2b 26 -global escc.chnA-sunkbd-layout=43 28 -global escc.chnA-sunkbd-layout=sv [all …]
|
| /openbmc/phosphor-led-manager/manager/ |
| H A D | grouplayout.hpp | 12 /** @namespace Layout 15 namespace Layout namespace 28 bool operator()(const Layout::GroupLayout* lhs, in operator ()() 29 const Layout::GroupLayout* rhs) const in operator ()() 35 } // namespace Layout 37 using GroupMap = std::unordered_map<std::string, Layout::GroupLayout>;
|
| H A D | manager.hpp | 42 static bool ledComp(const phosphor::led::Layout::LedAction& left, in ledComp() 43 const phosphor::led::Layout::LedAction& right) in ledComp() 59 static bool ledLess(const phosphor::led::Layout::LedAction& left, in ledLess() 60 const phosphor::led::Layout::LedAction& right) in ledLess() 66 static bool ledEqual(const phosphor::led::Layout::LedAction& left, in ledEqual() 67 const phosphor::led::Layout::LedAction& right) in ledEqual() 75 /** @brief Refer the user supplied LED layout and sdbusplus handler 78 * @param [in] GroupMap - LEDs group layout 90 static auto getNewMap(std::set<const Layout::GroupLayout*> assertedGroups) 91 -> std::map<LedName, Layout::LedAction>; [all …]
|
| H A D | config-validator.cpp | 19 std::optional<phosphor::led::Layout::Action>>; 34 const std::optional<phosphor::led::Layout::Action>& priority) in priorityToString() 42 case phosphor::led::Layout::Action::Off: in priorityToString() 44 case phosphor::led::Layout::Action::On: in priorityToString() 46 case phosphor::led::Layout::Action::Blink: in priorityToString() 62 const std::optional<phosphor::led::Layout::Action>& priority, in validatePriority() 84 const phosphor::led::Layout::GroupLayout& group, PriorityMap& priorityMap) in validateConfigV1GroupForLedPriority() 120 const phosphor::led::Layout::GroupLayout& group) in validateConfigV1GroupForGroupPriority()
|
| H A D | json-parser.hpp | 23 std::optional<phosphor::led::Layout::Action>>; 60 phosphor::led::Layout::Action getAction(const std::string& action) in getAction() 64 return phosphor::led::Layout::Action::On; in getAction() 68 return phosphor::led::Layout::Action::Off; in getAction() 72 return phosphor::led::Layout::Action::Blink; in getAction() 76 return phosphor::led::Layout::Action::Blink; in getAction() 88 std::optional<phosphor::led::Layout::Action> priority = std::nullopt; in loadJsonConfigV1GroupMember() 95 phosphor::led::Layout::LedAction ledAction{name, action, dutyOn, period, in loadJsonConfigV1GroupMember() 118 phosphor::led::Layout::GroupLayout groupLayout{}; in loadJsonConfigV1Group()
|
| H A D | ledlayout.hpp | 13 /** @namespace Layout 16 namespace Layout namespace 51 } // namespace Layout 53 using ActionSet = std::set<Layout::LedAction>;
|
| /openbmc/u-boot/drivers/mtd/nand/raw/ |
| H A D | nand_bch.c | 24 * @ecclayout: private ecc layout for this BCH configuration 114 struct nand_ecclayout *layout = nand->ecc.layout; in nand_bch_init() local 152 if (!layout) { in nand_bch_init() 161 layout = &nbc->ecclayout; in nand_bch_init() 162 layout->eccbytes = eccsteps*eccbytes; in nand_bch_init() 165 if (layout->eccbytes+2 > mtd->oobsize) { in nand_bch_init() 172 for (i = 0; i < layout->eccbytes; i++) in nand_bch_init() 173 layout->eccpos[i] = mtd->oobsize-layout->eccbytes+i; in nand_bch_init() 175 layout->oobfree[0].offset = 2; in nand_bch_init() 176 layout->oobfree[0].length = mtd->oobsize-2-layout->eccbytes; in nand_bch_init() [all …]
|
| /openbmc/openbmc/meta-openpower/recipes-phosphor/vpd/ |
| H A D | openpower-fru-vpd-layout-native.bb | 1 SUMMARY = "VPD layout for openpower-fru-vpd" 9 SRC_URI += "file://layout.yaml" 11 PROVIDES += "virtual/openpower-fru-vpd-layout" 20 install layout.yaml ${DEST}
|
| /openbmc/u-boot/drivers/dfu/ |
| H A D | dfu_mmc.c | 116 switch (dfu->layout) { in mmc_file_op() 124 printf("%s: Layout (%s) not (yet) supported!\n", __func__, in mmc_file_op() 125 dfu_get_layout(dfu->layout)); in mmc_file_op() 174 switch (dfu->layout) { in dfu_write_medium_mmc() 183 printf("%s: Layout (%s) not (yet) supported!\n", __func__, in dfu_write_medium_mmc() 184 dfu_get_layout(dfu->layout)); in dfu_write_medium_mmc() 194 if (dfu->layout != DFU_RAW_ADDR) { in dfu_flush_medium_mmc() 210 switch (dfu->layout) { in dfu_get_medium_size_mmc() 224 printf("%s: Layout (%s) not (yet) supported!\n", __func__, in dfu_get_medium_size_mmc() 225 dfu_get_layout(dfu->layout)); in dfu_get_medium_size_mmc() [all …]
|
| H A D | dfu_nand.c | 104 switch (dfu->layout) { in dfu_write_medium_nand() 109 printf("%s: Layout (%s) not (yet) supported!\n", __func__, in dfu_write_medium_nand() 110 dfu_get_layout(dfu->layout)); in dfu_write_medium_nand() 128 switch (dfu->layout) { in dfu_read_medium_nand() 133 printf("%s: Layout (%s) not (yet) supported!\n", __func__, in dfu_read_medium_nand() 134 dfu_get_layout(dfu->layout)); in dfu_read_medium_nand() 200 dfu->layout = DFU_RAW_ADDR; in dfu_fill_entity_nand() 210 dfu->layout = DFU_RAW_ADDR; in dfu_fill_entity_nand() 232 printf("%s: Memory layout (%s) not supported!\n", __func__, st); in dfu_fill_entity_nand()
|
| H A D | dfu_ram.c | 19 if (dfu->layout != DFU_RAM_ADDR) { in dfu_transfer_medium_ram() 20 pr_err("unsupported layout: %s\n", dfu_get_layout(dfu->layout)); in dfu_transfer_medium_ram() 75 dfu->layout = DFU_RAM_ADDR; in dfu_fill_entity_ram()
|
| /openbmc/openbmc/meta-yadro/meta-nicole/recipes-phosphor/vpd/ |
| H A D | nicole-openpower-fru-vpd-layout-native.bb | 1 SUMMARY = "Nicole VPD layout for openpower-fru-vpd" 9 SRC_URI += "file://layout.yaml" 11 PROVIDES += "virtual/openpower-fru-vpd-layout" 19 install layout.yaml ${DEST}
|
| /openbmc/openbmc/poky/meta/recipes-devtools/binutils/binutils/ |
| H A D | 0001-binutils-crosssdk-Generate-relocatable-SDKs.patch | 18 gold/layout.cc | 2 +- 23 diff --git a/gold/layout.cc b/gold/layout.cc 25 --- a/gold/layout.cc 26 +++ b/gold/layout.cc 27 @@ -5102,7 +5102,7 @@ Layout::create_interp(const Target* target)
|
| /openbmc/phosphor-led-manager/manager/lamptest/ |
| H A D | lamptest.cpp | 34 manager.drivePhysicalLED(path, Layout::Action::Off, it.dutyOn, in processLEDUpdates() 83 manager.drivePhysicalLED(path, Layout::Action::Off, 0, 0); in stop() 99 Layout::Action LampTest::getActionFromString(const std::string& str) in getActionFromString() 101 Layout::Action action = Layout::Action::Off; in getActionFromString() 105 action = Layout::Action::On; in getActionFromString() 109 action = Layout::Action::Blink; in getActionFromString() 165 phosphor::led::Layout::Action action = getActionFromString(state); in storePhysicalLEDsStates() 166 if (action != phosphor::led::Layout::Action::Off) in storePhysicalLEDsStates() 168 phosphor::led::Layout::LedAction ledAction{ in storePhysicalLEDsStates() 170 phosphor::led::Layout::Action::On}; in storePhysicalLEDsStates() [all …]
|
| /openbmc/phosphor-bmc-code-mgmt/bios/ |
| H A D | README.md | 25 "Layout": "Flat", 34 ## Layout information 36 Sometimes another tool is needed if one does not have a flat image. Use "Layout"
|
| /openbmc/phosphor-ipmi-flash/tools/ |
| H A D | updater.cpp | 45 std::string layout = "/flash/" + layoutType; in updaterMain() local 47 bool goalSupported = updater->checkAvailable(layout); in updaterMain() 70 /* Yay, our layout type is supported. */ in updaterMain() 75 updater->sendFile(layout, imagePath); in updaterMain() 103 * uninteresting. For instance, for the static layout, we use the in updaterMain()
|
| /openbmc/u-boot/board/compulab/common/ |
| H A D | eeprom.c | 66 * We know the setup was already done when the layout is set to a valid in cl_eeprom_setup() 443 { "Layout Version", 1, NULL, DEFINE_PRINT_UPDATE(bin) }, 462 { "Layout Version", 1, NULL, DEFINE_PRINT_UPDATE(bin) }, 473 void eeprom_layout_assign(struct eeprom_layout *layout, int layout_version) in eeprom_layout_assign() argument 475 switch (layout->layout_version) { in eeprom_layout_assign() 477 layout->fields = layout_legacy; in eeprom_layout_assign() 478 layout->num_of_fields = ARRAY_SIZE(layout_legacy); in eeprom_layout_assign() 481 layout->fields = layout_v1; in eeprom_layout_assign() 482 layout->num_of_fields = ARRAY_SIZE(layout_v1); in eeprom_layout_assign() 485 layout->fields = layout_v2; in eeprom_layout_assign() [all …]
|
| /openbmc/u-boot/cmd/ |
| H A D | eeprom.c | 306 struct eeprom_layout layout; in eeprom_execute_command() local 334 eeprom_layout_setup(&layout, eeprom_buf, CONFIG_SYS_EEPROM_SIZE, in eeprom_execute_command() 338 layout.print(&layout); in eeprom_execute_command() 342 layout.update(&layout, key, value); in eeprom_execute_command() 344 rcode = eeprom_write(i2c_addr, 0, layout.data, CONFIG_SYS_EEPROM_SIZE); in eeprom_execute_command() 437 " - Print layout fields and their data in human readable format\n" 442 "LAYOUT VERSIONS\n" 443 …-l option can be used to force the command to interpret the EEPROM data using the chosen layout.\n" 444 …"If the -l option is omitted, the command will auto detect the layout based on the data in the EEP…
|