Home
last modified time | relevance | path

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

/openbmc/phosphor-fan-presence/control/json/actions/
H A Dmapped_floor.cpp41 auto newFloor = static_cast<T>(floor) + offset; in addFloorOffset() local
42 if (newFloor < 0) in addFloorOffset()
51 return static_cast<uint64_t>(newFloor); in addFloorOffset()
362 std::optional<uint64_t> newFloor; in run() local
467 if ((newFloor && (floor > *newFloor)) || !newFloor) in run()
469 newFloor = floor; in run()
475 if (!newFloor && floorTable.defaultFloor) in run()
477 newFloor = floorTable.defaultFloor.value(); in run()
480 if (newFloor) in run()
482 *newFloor = applyFloorOffset(*newFloor, floorTable.offsetParameter); in run()
[all …]