Home
last modified time | relevance | path

Searched refs:presence (Results 1 – 25 of 415) sorted by relevance

12345678910>>...17

/openbmc/phosphor-power/phosphor-power-sequencer/test/
H A Drail_tests.cpp57 std::optional<std::string> presence{}; in TEST() local
64 presence, in TEST()
83 std::optional<std::string> presence{ in TEST() local
91 presence, in TEST()
116 std::optional<std::string> presence{}; in TEST() local
122 EXPECT_THROW((Rail{name, presence, page, isPowerSupplyRail, in TEST()
130 std::optional<std::string> presence{}; in TEST() local
136 EXPECT_THROW((Rail{name, presence, page, isPowerSupplyRail, in TEST()
145 std::optional<std::string> presence{}; in TEST() local
152 presence, in TEST()
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/gpio/
H A Dphosphor-gpio-monitor_git.bb20 SRC_URI += " file://phosphor-multi-gpio-presence.json"
25 SYSTEMD_SERVICE:${PN}-presence += "phosphor-gpio-presence@.service"
26 SYSTEMD_SERVICE:${PN}-presence += "phosphor-multi-gpio-presence.service"
38 FILES:${PN}-presence += "${bindir}/phosphor-gpio-presence"
39 FILES:${PN}-presence += "${bindir}/phosphor-multi-gpio-presence"
40 FILES:${PN}-presence += "${datadir}/${PN}/phosphor-multi-gpio-presence.json"
46 ${PN}-presence \
52 install -m 0644 ${UNPACKDIR}/phosphor-multi-gpio-presence.json ${D}${datadir}/${PN}/
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-phosphor/fans/
H A Dphosphor-fan_%.bbappend12 file://presence.json \
21 install -d ${D}${datadir}/phosphor-fan-presence/control/${COMPAT_NAME}
22 install -d ${D}${datadir}/phosphor-fan-presence/monitor/${COMPAT_NAME}
23 install -d ${D}${datadir}/phosphor-fan-presence/presence/${COMPAT_NAME}
28 ${D}${datadir}/phosphor-fan-presence/control/${COMPAT_NAME}
32 ${D}${datadir}/phosphor-fan-presence/control/${COMPAT_NAME}/groups.json
34 ${D}${datadir}/phosphor-fan-presence/monitor/${COMPAT_NAME}/config.json
35 install -m 0644 ${UNPACKDIR}/presence.json \
36 ${D}${datadir}/phosphor-fan-presence/presence/${COMPAT_NAME}/config.json
/openbmc/openbmc/meta-ampere/meta-jefferson/recipes-phosphor/fans/
H A Dphosphor-fan_%.bbappend11 file://presence.json \
20 install -d ${D}${datadir}/phosphor-fan-presence/control/${COMPAT_NAME}
21 install -d ${D}${datadir}/phosphor-fan-presence/monitor/${COMPAT_NAME}
22 install -d ${D}${datadir}/phosphor-fan-presence/presence/${COMPAT_NAME}
27 ${D}${datadir}/phosphor-fan-presence/control/${COMPAT_NAME}
31 ${D}${datadir}/phosphor-fan-presence/monitor/${COMPAT_NAME}/config.json
32 install -m 0644 ${UNPACKDIR}/presence.json \
33 ${D}${datadir}/phosphor-fan-presence/presence/${COMPAT_NAME}/config.json
/openbmc/phosphor-fan-presence/docs/presence/
H A DREADME.md16 The `phosphor-fan-presence-tach` application is controlled by a configuration
20 presence of each fan within a machine.
30 See [config.json](../../presence/example/config.json).
38 `/usr/share/phosphor-fan-presence/presence/`
49 i.e.) `/usr/share/phosphor-fan-presence/presence/config.json`
66 The `phosphor-fan-presence-tach` application then traverses the supported
72 1. `/usr/share/phosphor-fan-presence/presence/com.ampere.Hardware.Chassis.Model.MtJade/`
74 2. `/usr/share/phosphor-fan-presence/presence/com.ampere.Hardware.Chassis.Model.MtMitchell/config.j…
78 and `phosphor-fan-presence-tach` application terminates preventing the machine
83 `/etc/phosphor-fan-presence/presence/`
[all …]
/openbmc/openbmc/meta-ibm/meta-genesis3/recipes-phosphor/gpio/
H A Dphosphor-gpio-monitor_%.bbappend4 file://phosphor-multi-gpio-presence.json \
8 FILES:${PN}-presence += " ${datadir}/${PN}/phosphor-multi-gpio-presence.json \
9 … ${systemd_system_unitdir}/phosphor-multi-gpio-presence.service.d/dependencies.conf \
13 rm -f ${D}${datadir}/phosphor-gpio-monitor/phosphor-multi-gpio-presence.json
14 install -m 0644 ${UNPACKDIR}/phosphor-multi-gpio-presence.json ${D}${datadir}/${PN}/
15 install -d ${D}${systemd_system_unitdir}/phosphor-multi-gpio-presence.service.d/
16 …IR}/dependencies.conf ${D}${systemd_system_unitdir}/phosphor-multi-gpio-presence.service.d/depende…
/openbmc/openbmc/meta-ibm/meta-sbp1/recipes-phosphor/gpio/
H A Dphosphor-gpio-monitor_%.bbappend6 file://phosphor-multi-gpio-presence.json \
10 FILES:${PN}-presence += " ${datadir}/${PN}/phosphor-multi-gpio-presence.json \
11 … ${systemd_system_unitdir}/phosphor-multi-gpio-presence.service.d/dependencies.conf \
15 rm -f ${D}${datadir}/${PN}/phosphor-multi-gpio-presence.json
16 install -m 0644 ${UNPACKDIR}/phosphor-multi-gpio-presence.json ${D}${datadir}/${PN}/
17 install -d ${D}${systemd_system_unitdir}/phosphor-multi-gpio-presence.service.d/
18 …IR}/dependencies.conf ${D}${systemd_system_unitdir}/phosphor-multi-gpio-presence.service.d/depende…
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-phosphor/gpio/
H A Dphosphor-gpio-monitor_%.bbappend6 TMPL_PRESENT = "phosphor-gpio-presence@.service"
7 INSTFMT_PRESENT = "phosphor-gpio-presence@presence-sled{0}.service"
10 SYSTEMD_LINK:${PN}-presence:append = " ${@compose_list(d, 'FMT_PRESENT', 'OBMC_HOST_INSTANCES')}"
13 SLED_PRESENT_ENV_FMT = "obmc/gpio/presence-sled{0}.conf"
14 SYSTEMD_ENVIRONMENT_FILE:${PN}-presence = " ${@compose_list(d, 'SLED_PRESENT_ENV_FMT', 'OBMC_HOST_I…
20 …hExists=${GPIO_PRESENCE_SLED_CONF},g" ${D}${systemd_system_unitdir}/phosphor-gpio-presence@.service
21 …entFile=${GPIO_PRESENCE_SLED_CONF},g" ${D}${systemd_system_unitdir}/phosphor-gpio-presence@.service
/openbmc/phosphor-mrw-tools/
H A Dgen_presence_yaml.pl30 my %presence;
32 findTachBasedPresenceDetects(\%presence);
36 printYAML(\%presence, $outputFile);
46 my ($presence) = @_;
71 $$presence{Tach}{$name}{type} = 'Fan';
74 push @{$$presence{Tach}{$name}{sensors}}, $sensor;
83 my ($presence, $outputFile) = @_;
86 while (my ($method, $FRUs) = each(%{$presence}))
/openbmc/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-ufispace-ncplite.dts80 psu0-presence-l {
81 label = "psu0-presence-l";
86 psu1-presence-l {
87 label = "psu1-presence-l";
111 fan0-presence {
112 label = "fan0-presence";
117 fan1-presence {
118 label = "fan1-presence";
123 fan2-presence {
124 label = "fan2-presence";
[all …]
H A Daspeed-bmc-inspur-fp5280g2.dts82 event-ps0-presence {
83 label = "ps0-presence";
88 event-ps1-presence {
89 label = "ps1-presence";
100 event-fan0-presence {
101 label = "fan0-presence";
106 event-fan1-presence {
107 label = "fan1-presence";
112 event-fan2-presence {
113 label = "fan2-presence";
[all …]
H A Daspeed-bmc-bytedance-g220a.dts114 event-rear-riser1-presence {
115 label = "rear-riser1-presence";
126 event-rear-riser0-presence {
127 label = "rear-riser0-presence";
168 event-fan0-presence {
169 label = "fan0-presence";
174 event-fan1-presence {
175 label = "fan1-presence";
180 event-fan2-presence {
181 label = "fan2-presence";
[all …]
/openbmc/openbmc/meta-phosphor/recipes-phosphor/fans/
H A Dphosphor-fan_git.bb15 PACKAGECONFIG ?= "presence control monitor sensor-monitor"
16 # The control, monitor, and presence apps can either be JSON or YAML driven.
19 # ${PN}-presence-tach specific configuration
20 PACKAGECONFIG[presence] = "-Dpresence-service=enabled \
24 virtual/phosphor-fan-presence-config \
66 # openbmc/phosphor-fan-presence#26 is resolved. This should likely be
71 SYSTEMD_SERVICE:${PN}-presence-tach += "${TMPL_TACH}"
72 SYSTEMD_LINK:${PN}-presence-tach += "${@compose_list(d, 'FMT_TACH', 'OBMC_CHASSIS_ZERO_ONLY')}"
74 SYSTEMD_LINK:${PN}-presence-tach += "${@bb.utils.contains('PACKAGECONFIG', 'json', \
107 FILES:${PN}-presence-tach = "${bindir}/phosphor-fan-presence-tach"
[all …]
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/detect-gpio-present/files/
H A Ddetect-sled-present@.service3 After=phosphor-gpio-presence@presence-sled%i.service
4 Wants=phosphor-gpio-presence@presence-sled%i.service
5 After=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-presence-presence_sled%i.service
6 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-presence-presence_sled%i.service
/openbmc/docs/designs/inventory/
H A Dgpio-based-hardware-inventory.md11 …ased cable presence detection](https://github.com/openbmc/docs/blob/46902afd6ebd20d1148379df99fe2c…
17 presence of cards, cables and other connected entities which may or may not be
18 plugged into a system. A subset of these entities support presence detection via
25 The existing design for the gpio based cable presence is partially implemented
28 …om/openbmc/docs/blob/879601d92becfa1dbc082f487abfb5e0151a5091/designs/gpio-based-cable-presence.md)
30 Currently the way to do gpio based presence detection is via
31 phosphor-multi-gpio-presence and phosphor-inventory-manager.
36 The presence daemon then toggles the 'Present' property on dbus interface
44presence daemon config](https://github.com/openbmc/openbmc/blob/1d438f68277cdb37e8062ae298402e9685…
49 phosphor-multi-gpio-presence configuration:
[all …]
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/files/
H A Dmotor-init-calibration@.service5 Requires=phosphor-gpio-presence@presence-sled%i.service
6 After=phosphor-gpio-presence@presence-sled%i.service
7 Wants=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-presence-presence_sled%i.service
8 After=mapper-wait@-xyz-openbmc_project-inventory-system-chassis-presence-presence_sled%i.service
/openbmc/openbmc/meta-quanta/meta-gbs/recipes-phosphor/gpio/
H A Dphosphor-gpio-monitor_%.bbappend5 SRC_URI:append:gbs = " file://phosphor-gpio-presence@.service.replace"
7 TMPL_PRESENT = "phosphor-gpio-presence@.service"
8 INSTFMT_PRESENT = "phosphor-gpio-presence@{0}.service"
25 SYSTEMD_LINK:${PN}-presence:append:gbs = " ${@compose_list(d, 'FMT_PRESENT', 'GBS_OBMC_PRESENT_INST…
29 SYSTEMD_ENVIRONMENT_FILE:${PN}-presence:gbs = " ${@compose_list(d, 'GBS_PRESENT_ENV_FMT', 'GBS_OBMC…
33 …l -m 0644 ${UNPACKDIR}/phosphor-gpio-presence@.service.replace ${D}${systemd_system_unitdir}/phosp…
/openbmc/openbmc/meta-ingrasys/meta-zaius/recipes-phosphor/gpio/
H A Dphosphor-gpio-monitor_%.bbappend5 TMPL = "phosphor-gpio-presence@.service"
6 INSTFMT = "phosphor-gpio-presence@{0}.service"
10 SYSTEMD_LINK:${PN}-presence:append:zaius = " ${@compose_list(d, 'FMT', 'PCIE_CARD_E2B_INSTANCE')}"
11 SYSTEMD_ENVIRONMENT_FILE:${PN}-presence:append:zaius = " obmc/gpio/phosphor-pcie-card-e2b.conf"
/openbmc/openbmc/meta-ufispace/meta-ncplite/recipes-phosphor/gpio/
H A Dphosphor-gpio-monitor_%.bbappend6 TMPL = "phosphor-gpio-presence@.service"
7 INSTFMT = "phosphor-gpio-presence@{0}.service"
11 SYSTEMD_LINK:${PN}-presence:append:ncplite = " ${@compose_list(d, 'FMT', 'NCPLITE_OBMC_GPIO_INSTANC…
12 SYSTEMD_ENVIRONMENT_FILE:${PN}-presence:append:ncplite = " ${@compose_list(d, 'NCPLITE_OBMC_GPIO_EN…
/openbmc/openbmc/meta-ibm/recipes-phosphor/gpio/
H A Dphosphor-gpio-monitor_%.bbappend3 TMPL_POWERSUPPLY = "phosphor-gpio-presence@.service"
4 INSTFMT_POWERSUPPLY = "phosphor-gpio-presence@{0}.service"
8 SYSTEMD_LINK:${PN}-presence:append:ibm-ac-server = " ${@compose_list(d, 'FMT_POWERSUPPLY', 'OBMC_PO…
12 SYSTEMD_ENVIRONMENT_FILE:${PN}-presence:append:ibm-ac-server = " ${@compose_list(d, 'POWERSUPPLY_EN…
/openbmc/phosphor-fan-presence/presence/
H A Dtach_detect.cpp39 presence::JsonConfig config(bus); in main()
44 std::bind(&presence::JsonConfig::start, &config)}; in main()
49 std::bind(&presence::JsonConfig::sighupHandler, &config, in main()
52 for (auto& p : presence::ConfigPolicy::get()) in main()
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/gpio/phosphor-gpio-monitor/
H A Dphosphor-multi-gpio-presence.service2 Description=Phosphor Multi GPIO presence
9 ExecStartPre=/usr/libexec/phosphor-gpio-monitor/prepare-serv-json phosphor-multi-gpio-presence
10 …xecStart=/usr/bin/phosphor-multi-gpio-presence --config /var/lib/phosphor-gpio-monitor/phosphor-mu…
/openbmc/openbmc/meta-ampere/meta-jefferson/recipes-phosphor/gpio/
H A Dphosphor-gpio-monitor_%.bbappend5 file://phosphor-multi-gpio-presence.json \
12 FILES:${PN}-presence += " \
13 ${datadir}/${PN}/phosphor-multi-gpio-presence.json \
19 install -m 0644 ${UNPACKDIR}/phosphor-multi-gpio-presence.json ${D}${datadir}/${PN}/
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-phosphor/gpio/
H A Dphosphor-gpio-monitor_%.bbappend5 file://phosphor-multi-gpio-presence.json \
16 FILES:${PN}-presence += " \
17 ${datadir}/${PN}/phosphor-multi-gpio-presence.json \
23 install -m 0644 ${UNPACKDIR}/phosphor-multi-gpio-presence.json ${D}${datadir}/${PN}/
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/gpio/
H A Dphosphor-gpio-monitor_%.bbappend10 file://phosphor-multi-gpio-presence.json \
12 file://phosphor-multi-gpio-presence-evt.json \
43 install -m 0644 ${UNPACKDIR}/phosphor-multi-gpio-presence.json \
44 ${D}${datadir}/${PN}/phosphor-multi-gpio-presence.json
47 install -m 0644 ${UNPACKDIR}/phosphor-multi-gpio-presence.json \
48 ${D}${datadir}/${PN}/phosphor-multi-gpio-presence-evt.json

12345678910>>...17