/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_sel.robot | 3 Documentation Module to test IPMI SEL functionality. 20 # Based on 13th byte of add SEL entry command as per IPMI spec 22 ${sel_no_entry_msg} SEL has no entries 28 Verify IPMI SEL Version 29 [Documentation] Verify IPMI SEL's version info. 31 ${version_info}= Get IPMI SEL Setting Version 39 Verify Empty SEL 40 [Documentation] Verify IPMI sel clear command clears the SEL entry. 47 ${resp}= Run IPMI Standard Command sel elist last 1 51 ... msg=Add SEL Entry failed. [all …]
|
H A D | test_ipmi_sel_time.robot | 3 Documentation Module to test IPMI SEL Time functionality. 10 ... Test the Set/Get SEL Time functionality and compare the result against 13 ... Set the Time Sync Mode from NTP to Manual to Set SEL Time. 18 ... NETWORK_RESTART_TIME added for Set SEL Time and Add SEL Entry as the corresponding 21 ... Current SEL time identified via BMC Native command (date) and perform SEL Time ope… 23 ... Script Verifies SEL Time for various scenarios such as, 27 ... Add SEL Entry for all the above scenarios and compare against BMC native command (… 47 # Based on 13th byte of add SEL entry command as per IPMI spec 49 ${sel_no_entry_msg} SEL has no entries 52 …s_sel_entry_added this variable is used in Verify Multiple Set SEL Time With Multiple Add SEL Entry [all …]
|
/openbmc/linux/drivers/hid/amd-sfh-hid/hid_descriptor/ |
H A D | amd_sfh_hid_report_desc.h | 28 0x0A, 0x30, 0x08, /* Sensor property connection type intergated sel*/ 29 0x0A, 0x31, 0x08, /* Sensor property connection type attached sel */ 30 0x0A, 0x32, 0x08, /* Sensor property connection type external sel */ 39 0x0A, 0x40, 0x08, /* Sensor property report state no events sel */ 40 0x0A, 0x41, 0x08, /* Sensor property report state all events sel */ 41 0x0A, 0x42, 0x08, /* Sensor property report state threshold events sel */ 42 0x0A, 0x43, 0x08, /* Sensor property report state no events wake sel */ 43 0x0A, 0x44, 0x08, /* Sensor property report state all events wake sel */ 44 0x0A, 0x45, 0x08, /* Sensor property report state threshold events wake sel */ 53 0x0A, 0x50, 0x08, /* Sensor property power state undefined sel */ [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Logging/ |
H A D | IPMI.interface.yaml | 2 Implement to provide an IPMI System Event Log (SEL) logging interface under 5 SEL records store system event information and will contain a record ID and 8 adding the SEL record), sensor number, event direction and event-specific 21 Log a system event record type SEL entry. 30 The object path that is generating the SEL entry. 34 An array of up to 3 bytes of SEL event data. 38 An indicator if the SEL event is asserting or de-asserting. 42 The Generator ID of the component requesting the new SEL entry. 48 The Record ID of the new SEL entry. 55 Log a system event record SEL entry with custom SensorType/EventType. [all …]
|
/openbmc/phosphor-host-ipmid/ |
H A D | storagehandler.cpp | 22 #include <xyz/openbmc_project/Logging/SEL/error.hpp> 62 using namespace xyz::openbmc_project::logging::sel; 64 sdbusplus::error::xyz::openbmc_project::logging::sel::Created; 67 using SELEntry = ipmi::sel::SELEventRecordFormat; 88 return std::string(ipmi::sel::logBasePath) + "/" + std::to_string(id); in getLoggingObjPath() 97 ipmi::sel::GetSELEntryResponse record{}; in parseLoggingEntry() 98 record = ipmi::sel::convertLogEntrytoSEL(p); in parseLoggingEntry() 103 fprintf(stderr, "Failed to convert %s to SEL: %s\n", p.c_str(), in parseLoggingEntry() 168 bus, interfacesAdded(ipmi::sel::logWatchPath), in registerSelCallbackHandler() 174 bus, interfacesRemoved(ipmi::sel::logWatchPath), in registerSelCallbackHandler() [all …]
|
H A D | selutility.hpp | 15 namespace sel namespace 62 * IPMI payload for Get SEL Entry command request. 67 uint16_t selRecordID; //!< SEL Record ID. 76 * IPMI SEL Event Record 97 * IPMI SEL OEM Record - Type C0h-DFh 112 * IPMI SEL OEM Record - Type E0h-FFh 132 * IPMI payload for Get SEL Entry command response. 147 /** @brief Convert logging entry to SEL 151 * @return On success return the response of Get SEL entry command. 172 * @note This function is invoked when the Get SEL Info command or the Delete [all …]
|
/openbmc/linux/sound/soc/meson/ |
H A D | axg-frddr.c | 130 SND_SOC_DAPM_DEMUX("SINK SEL", SND_SOC_NOPM, 0, 0, 143 { "SINK SEL", NULL, "Playback" }, 144 { "OUT 0", "OUT 0", "SINK SEL" }, 145 { "OUT 1", "OUT 1", "SINK SEL" }, 146 { "OUT 2", "OUT 2", "SINK SEL" }, 147 { "OUT 3", "OUT 3", "SINK SEL" }, 148 { "OUT 4", "OUT 4", "SINK SEL" }, 149 { "OUT 5", "OUT 5", "SINK SEL" }, 150 { "OUT 6", "OUT 6", "SINK SEL" }, 151 { "OUT 7", "OUT 7", "SINK SEL" }, [all …]
|
H A D | axg-toddr.c | 149 SND_SOC_DAPM_MUX("SRC SEL", SND_SOC_NOPM, 0, 0, &axg_toddr_in_mux), 161 { "Capture", NULL, "SRC SEL" }, 162 { "SRC SEL", "IN 0", "IN 0" }, 163 { "SRC SEL", "IN 1", "IN 1" }, 164 { "SRC SEL", "IN 2", "IN 2" }, 165 { "SRC SEL", "IN 3", "IN 3" }, 166 { "SRC SEL", "IN 4", "IN 4" }, 167 { "SRC SEL", "IN 5", "IN 5" }, 168 { "SRC SEL", "IN 6", "IN 6" }, 169 { "SRC SEL", "IN 7", "IN 7" }, [all …]
|
H A D | axg-tdmin.c | 184 SND_SOC_DAPM_MUX("SRC SEL", SND_SOC_NOPM, 0, 0, &axg_tdmin_in_mux), 192 { "SRC SEL", "IN 0", "IN 0" }, 193 { "SRC SEL", "IN 1", "IN 1" }, 194 { "SRC SEL", "IN 2", "IN 2" }, 195 { "SRC SEL", "IN 3", "IN 3" }, 196 { "SRC SEL", "IN 4", "IN 4" }, 197 { "SRC SEL", "IN 5", "IN 5" }, 198 { "SRC SEL", "IN 6", "IN 6" }, 199 { "SRC SEL", "IN 7", "IN 7" }, 200 { "SRC SEL", "IN 8", "IN 8" }, [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | sdhci-am654.yaml | 61 ti,otap-del-sel-legacy: 67 ti,otap-del-sel-mmc-hs: 73 ti,otap-del-sel-sd-hs: 79 ti,otap-del-sel-sdr12: 85 ti,otap-del-sel-sdr25: 91 ti,otap-del-sel-sdr50: 97 ti,otap-del-sel-sdr104: 103 ti,otap-del-sel-ddr50: 109 ti,otap-del-sel-ddr52: 115 ti,otap-del-sel-hs200: [all …]
|
/openbmc/linux/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_rwpf.c | 134 struct v4l2_subdev_selection *sel) in vsp1_rwpf_get_selection() argument 145 if (rwpf->entity.type == VSP1_ENTITY_WPF || sel->pad != RWPF_PAD_SINK) in vsp1_rwpf_get_selection() 151 sel->which); in vsp1_rwpf_get_selection() 157 switch (sel->target) { in vsp1_rwpf_get_selection() 159 sel->r = *vsp1_rwpf_get_crop(rwpf, config); in vsp1_rwpf_get_selection() 165 sel->r.left = 0; in vsp1_rwpf_get_selection() 166 sel->r.top = 0; in vsp1_rwpf_get_selection() 167 sel->r.width = format->width; in vsp1_rwpf_get_selection() 168 sel->r.height = format->height; in vsp1_rwpf_get_selection() 183 struct v4l2_subdev_selection *sel) in vsp1_rwpf_set_selection() argument [all …]
|
H A D | vsp1_histo.c | 199 struct v4l2_subdev_selection *sel) in histo_get_selection() argument 207 if (sel->pad != HISTO_PAD_SINK) in histo_get_selection() 213 sel->which); in histo_get_selection() 219 switch (sel->target) { in histo_get_selection() 225 sel->r.left = 0; in histo_get_selection() 226 sel->r.top = 0; in histo_get_selection() 227 sel->r.width = crop->width; in histo_get_selection() 228 sel->r.height = crop->height; in histo_get_selection() 235 sel->r.left = 0; in histo_get_selection() 236 sel->r.top = 0; in histo_get_selection() [all …]
|
H A D | vsp1_uif.c | 86 struct v4l2_subdev_selection *sel) in uif_get_selection() argument 93 if (sel->pad != UIF_PAD_SINK) in uif_get_selection() 99 sel->which); in uif_get_selection() 105 switch (sel->target) { in uif_get_selection() 110 sel->r.left = 0; in uif_get_selection() 111 sel->r.top = 0; in uif_get_selection() 112 sel->r.width = format->width; in uif_get_selection() 113 sel->r.height = format->height; in uif_get_selection() 117 sel->r = *vsp1_entity_get_pad_selection(&uif->entity, config, in uif_get_selection() 118 sel->pad, sel->target); in uif_get_selection() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | ti,phy-gmii-sel.yaml | 5 $id: http://devicetree.org/schemas/phy/ti,phy-gmii-sel.yaml# 51 - ti,am3352-phy-gmii-sel 52 - ti,dra7xx-phy-gmii-sel 53 - ti,am43xx-phy-gmii-sel 54 - ti,dm814-phy-gmii-sel 55 - ti,am654-phy-gmii-sel 56 - ti,j7200-cpsw5g-phy-gmii-sel 57 - ti,j721e-cpsw9g-phy-gmii-sel 58 - ti,j784s4-cpsw9g-phy-gmii-sel 86 - ti,dra7xx-phy-gmii-sel [all …]
|
/openbmc/linux/drivers/power/supply/ |
H A D | mt6360_charger.c | 264 u32 sel, value; in mt6360_charger_get_ichg() local 266 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_CTRL7, &sel); in mt6360_charger_get_ichg() 269 sel = (sel & MT6360_ICHG_MASK) >> MT6360_ICHG_SHFT; in mt6360_charger_get_ichg() 270 ret = linear_range_get_value(&mt6360_chg_range[MT6360_RANGE_ICHG], sel, &value); in mt6360_charger_get_ichg() 287 u32 sel, value; in mt6360_charger_get_cv() local 289 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_CTRL4, &sel); in mt6360_charger_get_cv() 292 sel = (sel & MT6360_VOREG_MASK) >> MT6360_VOREG_SHFT; in mt6360_charger_get_cv() 293 ret = linear_range_get_value(&mt6360_chg_range[MT6360_RANGE_VOREG], sel, &value); in mt6360_charger_get_cv() 310 u32 sel, value; in mt6360_charger_get_aicr() local 312 ret = regmap_read(mci->regmap, MT6360_PMU_CHG_CTRL3, &sel); in mt6360_charger_get_aicr() [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | selection-api-examples.rst | 16 struct v4l2_selection sel = { 20 ret = ioctl(fd, VIDIOC_G_SELECTION, &sel); 23 sel.target = V4L2_SEL_TGT_CROP; 24 ret = ioctl(fd, VIDIOC_S_SELECTION, &sel); 36 struct v4l2_selection sel = { 42 ret = ioctl(fd, VIDIOC_G_SELECTION, &sel); 46 r.width = sel.r.width / 2; 47 r.height = sel.r.height / 2; 48 r.left = sel.r.width / 4; 49 r.top = sel.r.height / 4; [all …]
|
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp.h | 73 #define ASP_RX_FILTER_MDA_CFG(sel) (((sel) * 0x14) + 0x100) argument 75 #define ASP_RX_FILTER_MDA_CFG_UMC_SEL(sel) ((sel) > 1 ? BIT(17) : \ argument 76 BIT((sel) + 9)) 77 #define ASP_RX_FILTER_MDA_PAT_H(sel) (((sel) * 0x14) + 0x104) argument 78 #define ASP_RX_FILTER_MDA_PAT_L(sel) (((sel) * 0x14) + 0x108) argument 79 #define ASP_RX_FILTER_MDA_MSK_H(sel) (((sel) * 0x14) + 0x10c) argument 80 #define ASP_RX_FILTER_MDA_MSK_L(sel) (((sel) * 0x14) + 0x110) argument 81 #define ASP_RX_FILTER_MDA_CFG(sel) (((sel) * 0x14) + 0x100) argument 82 #define ASP_RX_FILTER_MDA_PAT_H(sel) (((sel) * 0x14) + 0x104) argument 83 #define ASP_RX_FILTER_MDA_PAT_L(sel) (((sel) * 0x14) + 0x108) argument [all …]
|
/openbmc/ipmitool/doc/ |
H A D | ipmievd.8 | 6 \fB\-I\fR \fIopen\fP <\fIopen\fR | \fIsel\fR> [<\fIoption\fP>] 16 [\fB\-O\fR <\fIsel oem\fP>] 17 \fIsel\fP [<\fIoption\fP>] 26 [\fB\-O\fR <\fIsel oem\fP>] 28 \fIsel\fR [<\fIoption\fP>] 31 BMC that are being sent to the SEL and also log those messages to 95 \fB\-O\fR <\fIsel oem\fP> 96 Open selected file and read OEM SEL event descriptions to be used 97 during SEL listings. See examples in contrib dir for file format. 149 sel Poll SEL for notification of events [all …]
|
/openbmc/linux/drivers/regulator/ |
H A D | anatop-regulator.c | 31 int sel; member 63 int sel; in anatop_regmap_enable() local 65 sel = anatop_reg->bypass ? LDO_FET_FULL_ON : anatop_reg->sel; in anatop_regmap_enable() 66 return regulator_set_voltage_sel_regmap(reg, sel); in anatop_regmap_enable() 86 anatop_reg->sel = selector; in anatop_regmap_core_set_voltage_sel() 92 anatop_reg->sel = selector; in anatop_regmap_core_set_voltage_sel() 101 return anatop_reg->sel; in anatop_regmap_core_get_voltage_sel() 109 int sel; in anatop_regmap_get_bypass() local 111 sel = regulator_get_voltage_sel_regmap(reg); in anatop_regmap_get_bypass() 112 if (sel == LDO_FET_FULL_ON) in anatop_regmap_get_bypass() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | cpsw-phy-sel.txt | 5 - compatible : Should be "ti,am3352-cpsw-phy-sel" for am335x platform and 6 "ti,dra7xx-cpsw-phy-sel" for dra7xx platform 7 "ti,am43xx-cpsw-phy-sel" for am43xx platform 18 phy_sel: cpsw-phy-sel@44e10650 { 19 compatible = "ti,am3352-cpsw-phy-sel"; 21 reg-names = "gmii-sel"; 25 phy_sel: cpsw-phy-sel@44e10650 { 26 compatible = "ti,am3352-cpsw-phy-sel"; 28 reg-names = "gmii-sel";
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/freeipmi/freeipmi/ |
H A D | 0001-Fix-undeclared-function-errors.patch | 8 ipmi-sel-string-supermicro-x10dimm-common.c:87:14: error: call to undeclared function 'sel_string_o… 16 libfreeipmi/sel/ipmi-sel-string-supermicro-common.h | 9 +++++++++ 31 diff --git a/libfreeipmi/sel/ipmi-sel-string-supermicro-common.h b/libfreeipmi/sel/ipmi-sel-string-… 33 --- a/libfreeipmi/sel/ipmi-sel-string-supermicro-common.h 34 +++ b/libfreeipmi/sel/ipmi-sel-string-supermicro-common.h
|
/openbmc/linux/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-pipe.c | 547 struct v4l2_subdev_selection *sel) in mxc_isi_pipe_get_selection() argument 553 switch (sel->target) { in mxc_isi_pipe_get_selection() 555 if (sel->pad != MXC_ISI_PIPE_PAD_SINK) in mxc_isi_pipe_get_selection() 562 sel->r.left = 0; in mxc_isi_pipe_get_selection() 563 sel->r.top = 0; in mxc_isi_pipe_get_selection() 564 sel->r.width = format->width; in mxc_isi_pipe_get_selection() 565 sel->r.height = format->height; in mxc_isi_pipe_get_selection() 569 if (sel->pad != MXC_ISI_PIPE_PAD_SOURCE) in mxc_isi_pipe_get_selection() 576 sel->r = *rect; in mxc_isi_pipe_get_selection() 580 if (sel->pad != MXC_ISI_PIPE_PAD_SOURCE) in mxc_isi_pipe_get_selection() [all …]
|
/openbmc/linux/arch/arm/mach-dove/ |
H A D | mpp.c | 68 static void __init dove_mpp_cfg_nfc(int sel) in dove_mpp_cfg_nfc() argument 73 mpp_gen_cfg |= sel; in dove_mpp_cfg_nfc() 79 static void __init dove_mpp_cfg_au1(int sel) in dove_mpp_cfg_au1() argument 91 if (!sel || sel == 0x2) in dove_mpp_cfg_au1() 96 if (sel & 0x1) { in dove_mpp_cfg_au1() 100 if (sel & 0x2) { in dove_mpp_cfg_au1() 104 if (sel & 0x4) { in dove_mpp_cfg_au1() 108 if (sel & 0x8) in dove_mpp_cfg_au1() 117 /* Configure the group registers, enabling GPIO if sel indicates the 126 unsigned int sel = MPP_SEL(*mpp_grp_list); in dove_mpp_conf_grp() local [all …]
|
/openbmc/linux/lib/ |
H A D | test_linear_ranges.c | 117 unsigned int sel, val; in range_test_get_value() local 120 sel = range1_sels[i]; in range_test_get_value() 121 ret = linear_range_get_value_array(&testr[0], 2, sel, &val); in range_test_get_value() 126 sel = range2_sels[i]; in range_test_get_value() 127 ret = linear_range_get_value_array(&testr[0], 2, sel, &val); in range_test_get_value() 131 ret = linear_range_get_value_array(&testr[0], 2, sel + 1, &val); in range_test_get_value() 138 unsigned int sel; in range_test_get_selector_high() local 143 &sel, &found); in range_test_get_selector_high() 145 KUNIT_EXPECT_EQ(test, sel, range1_sels[i]); in range_test_get_selector_high() 150 &sel, &found); in range_test_get_selector_high() [all …]
|
/openbmc/linux/include/linux/iio/ |
H A D | iio-gts-helper.h | 23 * @sel: Selector (usually register value) used to indicate this gain. 28 int sel; member 48 * @sel: Selector (usually register value) used to indicate this time 55 int sel; member 75 .sel = (_sel), \ 81 .sel = (_sel), \ 101 iio_gts_find_itime_by_sel(struct iio_gts *gts, int sel) in iio_gts_find_itime_by_sel() argument 106 if (gts->itime_table[i].sel == sel) in iio_gts_find_itime_by_sel() 119 * @sel: selector for which matching integration time is searched for 124 static inline int iio_gts_find_int_time_by_sel(struct iio_gts *gts, int sel) in iio_gts_find_int_time_by_sel() argument [all …]
|