Lines Matching +full:double +full:- +full:phase

2  * Copyright (c)  2018-present Facebook. All Rights Reserved.
8 * http://www.apache.org/licenses/LICENSE-2.0
18 #include <usb-dbg.hpp>
42 int getSensorValue(std::string&, double&);
70 lg2::error("Unable to get max host position - {MAXPOSITION}", in getMaxHostPosition()
89 lg2::error("Unable to get host position - {POSITION}", "POSITION", in getSelectorPosition()
95 static int panelNum = (sizeof(panels) / sizeof(struct ctrl_panel)) - 1;
97 /* Returns the FRU the hand-switch is switched to. If it is switched to BMC
160 lines--; in append()
192 return -1; in getPage()
194 // 1-based page in getPage()
196 return -1; in getPage()
199 return -1; in getPage()
201 ret = snprintf(page_buf, 17, "%-10s %02zd/%02zd", title, page, pages); in getPage()
204 return -1; in getPage()
208 while (line < ((page - 1) * line_per_page) && idx != idx_tail) in getPage()
224 if (len == (page_buf_size - 1)) in getPage()
267 auto frame::parse(const std::string& input, size_t indent) -> std::string in parse()
298 result.append(line_width - linepos, ' '); in parse()
375 int plat_udbg_get_post_desc(uint8_t index, uint8_t* next, uint8_t phase, in plat_udbg_get_post_desc() argument
393 return -1; in plat_udbg_get_post_desc()
399 phaseStr = "Phase" + std::to_string(phase); in plat_udbg_get_post_desc()
405 "Post code phase not available", in plat_udbg_get_post_desc()
406 phosphor::logging::entry("PHASE=%d", phase)); in plat_udbg_get_post_desc()
407 return -1; in plat_udbg_get_post_desc()
431 if (postObj.size() != phase) in plat_udbg_get_post_desc()
434 "Phase" + std::to_string(phase + 1); in plat_udbg_get_post_desc()
452 phosphor::logging::entry("PHASE_CODE=%d_0x%x", phase, index)); in plat_udbg_get_post_desc()
453 return -1; in plat_udbg_get_post_desc()
475 return -1; in plat_udbg_get_gpio_desc()
483 return -1; in plat_udbg_get_gpio_desc()
496 return -1; in plat_udbg_get_gpio_desc()
526 return -1; in plat_udbg_get_gpio_desc()
547 return -1; in getBiosVer()
557 auto method = bus->new_method_call("xyz.openbmc_project.Ipmi.Channel.Ipmb", in sendBicCmd()
562 auto reply = bus->call(method); in sendBicCmd()
567 return -1; in sendBicCmd()
595 auto method = bus->new_method_call("xyz.openbmc_project.Ipmi.Channel.Ipmb", in sendMeCmd()
600 auto reply = bus->call(method); in sendMeCmd()
605 return -1; in sendMeCmd()
637 std::string verPath = "/etc/os-release"; in udbg_get_info_page()
721 // Battery - Use Escape sequence in udbg_get_info_page()
726 // MCU Version - Use Escape sequence in udbg_get_info_page()
764 return -1; in udbg_get_info_page()
771 return -1; in udbg_get_info_page()
797 // Synchronously get D-Bus connection in udbg_get_postcode()
800 // Build D-Bus method call in udbg_get_postcode()
843 return -1; in udbg_get_postcode()
849 return -1; in udbg_get_postcode()
856 return -1; in udbg_get_postcode()
877 return -1; in plat_udbg_get_frame_data()
946 {0x03, " SATA-CDROM"}, {0x04, " Other"}, {0x09, " Network v6"}, in panel_boot_order()
960 bootOrderPanel.item_str[i] = find->second; in panel_boot_order()
984 policy = pwr_policy_item_map[item - 1]; in panel_power_policy()