Home
last modified time | relevance | path

Searched refs:eTrig (Results 1 – 1 of 1) sorted by relevance

/openbmc/phosphor-fan-presence/control/
H A Dgen-fan-zone-defs.py365 def getInit(eGrps, eTrig, events): argument
375 if ("method" in eTrig) and (eTrig["method"] is not None):
378 m for m in events["methods"] if m["name"] == eTrig["method"]
385 h for h in events["handlers"] if h["name"] == eTrig["handler"]
395 def getSignal(eGrps, eTrig, events): argument
406 s for s in events["signals"] if s["name"] == eTrig["signal"]
426 h for h in events["handlers"] if h["name"] == eTrig["handler"]
436 def getTimer(eTrig): argument
445 + str(eTrig["interval"])
448 timer["type"] = "TimerType::" + str(eTrig["type"])