Home
last modified time | relevance | path

Searched full:layout (Results 1 – 25 of 615) sorted by relevance

12345678910>>...25

/openbmc/phosphor-led-manager/test/
H A Dled-test-map.hpp8 {"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 Dutest-group-priority.cpp23 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 Dutest-config-validator.cpp26 {"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 Dutest.cpp39 {"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 Dutest-led-json.cpp29 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()
H A Dutest-led-yaml-group-priority.cpp15 using Action = phosphor::led::Layout::Action;
27 phosphor::led::Layout::GroupLayout group = systemLedMap.at(groupPath); in TEST()
45 phosphor::led::Layout::GroupLayout group = systemLedMap.at(groupPath); in TEST()
63 phosphor::led::Layout::GroupLayout group = systemLedMap.at(groupPath); in TEST()
83 phosphor::led::Layout::GroupLayout group = systemLedMap.at(groupPath); in TEST()
/openbmc/u-boot/common/eeprom/
H A Deeprom_layout.c14 #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 Dastlpc.c124 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 Dkeyboard.rst5 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 Dmanager.cpp20 static void applyGroupAction(std::map<LedName, Layout::LedAction>& newState, in applyGroupAction()
21 Layout::LedAction action) in applyGroupAction()
45 std::set<const Layout::GroupLayout*, Layout::CompareGroupLayout> sorted) in getNewMapWithGroupPriorities()
46 -> std::map<LedName, Layout::LedAction> in getNewMapWithGroupPriorities()
48 std::map<LedName, Layout::LedAction> newState; in getNewMapWithGroupPriorities()
54 for (const Layout::LedAction& action : it->actionSet) in getNewMapWithGroupPriorities()
62 static std::map<LedName, Layout::LedAction> getNewMapWithLEDPriorities( in getNewMapWithLEDPriorities()
63 std::set<const Layout::GroupLayout*> assertedGroups) in getNewMapWithLEDPriorities()
65 std::map<LedName, Layout::LedAction> newState; in getNewMapWithLEDPriorities()
67 for (const Layout::GroupLayout* it : assertedGroups) in getNewMapWithLEDPriorities()
[all …]
H A Dgrouplayout.hpp12 /** @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 Dmanager.hpp42 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 Dconfig-validator.cpp19 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 Djson-parser.hpp23 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 Dledlayout.hpp13 /** @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 Dnand_bch.c24 * @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/qemu/rust/qemu-api/src/
H A Dlib.rs36 alloc::{GlobalAlloc, Layout},
123 unsafe fn alloc(&self, layout: Layout) -> *mut u8 { in alloc()
124 …if matches!(Self::DEFAULT_ALIGNMENT_BYTES, Some(default) if default.checked_rem(layout.align()) ==… in alloc()
127 unsafe { g_malloc0(layout.size().try_into().unwrap()).cast::<u8>() } in alloc()
134 layout.size().try_into().unwrap(), in alloc()
136 layout.align().try_into().unwrap(), in alloc()
144 unsafe { qemu_memalign(layout.align(), layout.size()).cast::<u8>() } in alloc()
149 unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) { in dealloc() argument
150 …if matches!(Self::DEFAULT_ALIGNMENT_BYTES, Some(default) if default.checked_rem(layout.align()) ==… in dealloc()
/openbmc/openbmc/meta-openpower/recipes-phosphor/vpd/
H A Dopenpower-fru-vpd-layout-native.bb1 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 Ddfu_mmc.c116 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 Ddfu_nand.c104 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()
/openbmc/openbmc/meta-yadro/meta-nicole/recipes-phosphor/vpd/
H A Dnicole-openpower-fru-vpd-layout-native.bb1 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/qemu/include/standard-headers/drm/
H A Ddrm_fourcc.h45 * format and data layout of the buffer, and should be the only way to describe
48 * Having multiple fourcc:modifier pairs which describe the same layout should
60 * Modifiers must uniquely encode buffer layout. In other words, a buffer must
286 * then V), but the exact Linear layout is undefined.
442 * When adding a new token please document the layout with a code comment,
458 * In future cases where a generic layout is identified before merging with a
482 * Linear Layout
484 * Just plain linear layout. Note that this is different from no specifying any
495 * implicit, instead it means that the layout is linear. Whether modifiers are
504 * Intel X-tiling layout
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/binutils/binutils/
H A D0001-binutils-crosssdk-Generate-relocatable-SDKs.patch18 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 Dlamptest.cpp34 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 DREADME.md25 "Layout": "Flat",
34 ## Layout information
36 Sometimes another tool is needed if one does not have a flat image. Use "Layout"

12345678910>>...25