/openbmc/phosphor-fan-presence/control/json/actions/ |
H A D | mapped_floor.cpp | 41 auto newFloor = static_cast<T>(floor) + offset; in addFloorOffset() 48 return floor; in addFloorOffset() 421 std::optional<uint64_t> floor; in run() local 435 floor = tableFloor; in run() 441 floor = tableFloor; in run() 449 if (!floor) in run() 453 floor = *floorTable.defaultFloor; in run() 457 floor = *_defaultFloor; in run() 461 floor = zone.getDefaultFloor(); in run() 469 newFloor = floor; in run() [all …]
|
/openbmc/linux/include/linux/ |
H A D | random.h | 98 static inline u32 get_random_u32_above(u32 floor) in get_random_u32_above() argument 100 BUILD_BUG_ON_MSG(__builtin_constant_p(floor) && floor == U32_MAX, in get_random_u32_above() 102 return floor + 1 + get_random_u32_below(U32_MAX - floor); in get_random_u32_above() 110 static inline u32 get_random_u32_inclusive(u32 floor, u32 ceil) in get_random_u32_inclusive() argument 112 BUILD_BUG_ON_MSG(__builtin_constant_p(floor) && __builtin_constant_p(ceil) && in get_random_u32_inclusive() 113 (floor > ceil || ceil - floor == U32_MAX), in get_random_u32_inclusive() 115 return floor + get_random_u32_below(ceil - floor + 1); in get_random_u32_inclusive()
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_fp0_conv.S | 164 test_ftoi floor.s, a2, f0, 0xffc00001, 0, 0x7fffffff, FSR_V 165 test_ftoi floor.s, a2, f0, 0xff800001, 0, 0x7fffffff, FSR_V 168 test_ftoi floor.s, a2, f0, 0xff800000, 0, 0x80000000, FSR_V 171 test_ftoi floor.s, a2, f0, 0xceffffff, 1, 0x80000000, FSR_V 172 test_ftoi floor.s, a2, f0, 0xcf000000, 0, 0x80000000, FSR__ 173 test_ftoi floor.s, a2, f0, 0xceffffff, 0, 0x80000080, FSR__ 186 test_ftoi floor.s, a2, f0, 0x3f800000, 0, 1, FSR__ /* 1 */ 192 test_ftoi floor.s, a2, f0, 0x4effffff, 0, 0x7fffff80, FSR__ 193 test_ftoi floor.s, a2, f0, 0x4f000000, 0, 0x7fffffff, FSR_V 194 test_ftoi floor.s, a2, f0, 0x4effffff, 1, 0x7fffffff, FSR_V [all …]
|
/openbmc/linux/drivers/mtd/devices/ |
H A D | docg3.c | 1466 int floor; in sysfs_dev2docg3() local 1470 if (floor < 0 || floor >= DOC_MAX_NBFLOORS) in sysfs_dev2docg3() 1559 int floor; in doc_register_sysfs() local 1591 for (floor = 0; floor < DOC_MAX_NBFLOORS && cascade->floors[floor]; in doc_unregister_sysfs() 1928 for (floor = 0; floor < DOC_MAX_NBFLOORS; floor++) { in docg3_suspend() 1947 floor); in docg3_suspend() 1950 floor); in docg3_suspend() 2004 for (floor = 0; floor < DOC_MAX_NBFLOORS; floor++) { in docg3_probe() 2037 for (floor = 0; floor < DOC_MAX_NBFLOORS; floor++) in docg3_probe() 2053 int floor; in docg3_release() local [all …]
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | hugetlbpage.c | 306 unsigned long floor, unsigned long ceiling, in range_is_outside_limits() argument 309 if ((start & mask) < floor) in range_is_outside_limits() 321 unsigned long floor, unsigned long ceiling) in free_hugepd_range() argument 349 unsigned long floor, unsigned long ceiling) in hugetlb_free_pte_range() argument 363 unsigned long floor, unsigned long ceiling) in hugetlb_free_pmd_range() argument 400 addr, next, floor, ceiling); in hugetlb_free_pmd_range() 414 unsigned long floor, unsigned long ceiling) in hugetlb_free_pud_range() argument 427 hugetlb_free_pmd_range(tlb, pud, addr, next, floor, in hugetlb_free_pud_range() 442 addr, next, floor, ceiling); in hugetlb_free_pud_range() 460 unsigned long floor, unsigned long ceiling) in hugetlb_free_pgd_range() argument [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/libxcrypt/files/ |
H A D | fix_cflags_handling.patch | 18 build-aux/scripts/compute-symver-floor | 2 ++ 21 diff --git a/build-aux/scripts/compute-symver-floor b/build-aux/scripts/compute-symver-floor 23 --- a/build-aux/scripts/compute-symver-floor 24 +++ b/build-aux/scripts/compute-symver-floor
|
/openbmc/linux/arch/ia64/mm/ |
H A D | hugetlbpage.c | 106 unsigned long floor, unsigned long ceiling) in hugetlb_free_pgd_range() argument 121 if (REGION_NUMBER(floor) == RGN_HPAGE) in hugetlb_free_pgd_range() 122 floor = htlbpage_to_page(floor); in hugetlb_free_pgd_range() 126 free_pgd_range(tlb, addr, end, floor, ceiling); in hugetlb_free_pgd_range()
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-devices-platform-docg3 | 6 Show whether the floor (0 to 4), protection area (0 or 1) is 7 keylocked. Each docg3 chip (or floor) has 2 protection areas, 23 Enter the protection key for the floor (0 to 4), protection area 24 (0 or 1). Each docg3 chip (or floor) has 2 protection areas,
|
/openbmc/docs/designs/ |
H A D | thermal-control-modes.md | 13 can be resolved by altering the fan control application's floor table, 14 effectively raising the floor when these optical cables exist but an interface 18 must be presented with an ability to enable this raised floor speed table. 25 enough CPU utilization, the fans could be kept at a given floor speed that 41 undetectable configuration that alters the fan floor speeds unrelated to 67 technique would not be reliable in adjusting the floor speeds for only 69 of raising floor speeds for configurations where its unnecessary. 79 Trigger the use of an alternative fan floor table based on the thermal control
|
/openbmc/linux/arch/sparc/mm/ |
H A D | hugetlbpage.c | 434 unsigned long floor, unsigned long ceiling) in hugetlb_free_pmd_range() argument 453 if (start < floor) in hugetlb_free_pmd_range() 471 unsigned long floor, unsigned long ceiling) in hugetlb_free_pud_range() argument 486 hugetlb_free_pmd_range(tlb, pud, addr, next, floor, in hugetlb_free_pud_range() 491 if (start < floor) in hugetlb_free_pud_range() 509 unsigned long floor, unsigned long ceiling) in hugetlb_free_pgd_range() argument 516 if (addr < floor) { in hugetlb_free_pgd_range() 537 hugetlb_free_pud_range(tlb, p4d, addr, next, floor, ceiling); in hugetlb_free_pgd_range()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/openwsman/openwsman/ |
H A D | 0001-Link-with-libm-for-floor-function.patch | 4 Subject: [PATCH] Link with libm for floor() function 8 arm-yoe-linux-gnueabi-ld.lld: error: undefined reference due to --no-allow-shlib-undefined: floor 50 +floor
|
/openbmc/phosphor-fan-presence/docs/control/ |
H A D | events.md | 242 floor/target below the one that is held. 247 that parameter to help choose a fan floor. 406 "floor": 18000, 438 Sets the fan floor to the defined zone's default fan floor when a service 464 { "value": 1, "floor": 2000 }, 465 { "value": 2, "floor": 3000 }, 466 { "value": 3, "floor": 4000 }, 468 { "value": 5, "floor": 6000 } 486 valid floor value it finds. If it doesn't find any valid floor values, it will 491 default to the default floor of the zone. [all …]
|
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier4U/ |
H A D | events.json | 190 // Set a fan floor if an OCC isn't active 225 // Set a raised fan floor when any temperature sensor is nonfunctional
|
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Bonnell/ |
H A D | events.json | 150 // Set a fan floor if an OCC isn't active 185 // Set a raised fan floor when any temperature or altitude sensor is
|
/openbmc/linux/arch/arm64/mm/ |
H A D | mmu.c | 831 unsigned long floor, unsigned long ceiling, in pgtable_range_aligned() argument 835 if (start < floor) in pgtable_range_aligned() 982 unsigned long end, unsigned long floor, in free_empty_pte_table() argument 1019 unsigned long end, unsigned long floor, in free_empty_pmd_table() argument 1033 free_empty_pte_table(pmdp, addr, next, floor, ceiling); in free_empty_pmd_table() 1059 unsigned long end, unsigned long floor, in free_empty_pud_table() argument 1073 free_empty_pmd_table(pudp, addr, next, floor, ceiling); in free_empty_pud_table() 1099 unsigned long end, unsigned long floor, in free_empty_p4d_table() argument 1113 free_empty_pud_table(p4dp, addr, next, floor, ceiling); in free_empty_p4d_table() 1118 unsigned long floor, unsigned long ceiling) in free_empty_tables() argument [all …]
|
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Everest/ |
H A D | events.json | 294 // Set a fan floor if an OCC isn't active 329 // Set a raised fan floor when any temperature or altitude sensor is
|
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier1S4U/ |
H A D | events.json | 180 // Set a fan floor if an OCC isn't active 215 // Set a raised fan floor when any temperature sensor is nonfunctional
|
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier2U/ |
H A D | events.json | 372 // Set a fan floor if an OCC isn't active 407 // Set a raised fan floor when any temperature or altitude sensor is
|
/openbmc/intel-ipmi-oem/tests/ |
H A D | test_sensorcommands.cpp | 369 EXPECT_EQ(mValue, floor((16000.0 / 0xFF) + 0.5)); in TEST() 385 EXPECT_EQ(mValue, floor(((20.0 / 0xFF) / std::pow(10, rExp)) + 0.5)); in TEST() 407 EXPECT_EQ(mValue, floor(((8000.0 / 0xFF) / std::pow(10, rExp)) + 0.5)); in TEST() 423 EXPECT_EQ(mValue, floor(((20.0 / 0xFF) / std::pow(10, rExp)) + 0.5)); in TEST() 472 EXPECT_EQ(mValue, floor(((2.0 / 0xFF) / std::pow(10, rExp)) + 0.5)); in TEST()
|
/openbmc/phosphor-host-ipmid/test/dbus-sdr/ |
H A D | sensorcommands_unittest.cpp | 370 EXPECT_EQ(mValue, floor((16000.0 / 0xFF) + 0.5)); in TEST() 386 EXPECT_EQ(mValue, floor(((20.0 / 0xFF) / std::pow(10, rExp)) + 0.5)); in TEST() 408 EXPECT_EQ(mValue, floor(((8000.0 / 0xFF) / std::pow(10, rExp)) + 0.5)); in TEST() 424 EXPECT_EQ(mValue, floor(((20.0 / 0xFF) / std::pow(10, rExp)) + 0.5)); in TEST() 473 EXPECT_EQ(mValue, floor(((2.0 / 0xFF) / std::pow(10, rExp)) + 0.5)); in TEST()
|
/openbmc/linux/include/asm-generic/ |
H A D | hugetlb.h | 71 unsigned long floor, unsigned long ceiling) in hugetlb_free_pgd_range() argument 73 free_pgd_range(tlb, addr, end, floor, ceiling); in hugetlb_free_pgd_range()
|
/openbmc/linux/drivers/counter/ |
H A D | i8254.c | 233 struct counter_count *const count, u64 *const floor) in i8254_count_floor_read() argument 242 *floor = (priv->preset[count->id] == 0) ? 0 : 1; in i8254_count_floor_read() 246 *floor = (priv->preset[count->id] % 2 || priv->preset[count->id] == 0) ? 0 : 2; in i8254_count_floor_read() 249 *floor = 0; in i8254_count_floor_read()
|
/openbmc/linux/drivers/iio/light/ |
H A D | lv0104cs.c | 278 int floor, ceil, mid; in lv0104cs_set_calibscale() local 283 floor = lv0104cs_calibscales[i].val * 1000000 in lv0104cs_set_calibscale() 287 mid = (floor + ceil) / 2; in lv0104cs_set_calibscale() 290 if (calibscale >= floor && calibscale < mid) { in lv0104cs_set_calibscale()
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | time_utils.hpp | 164 std::chrono::days days = std::chrono::floor<std::chrono::days>(ms); in toDurationString() 167 std::chrono::hours hours = std::chrono::floor<std::chrono::hours>(ms); in toDurationString() 170 std::chrono::minutes minutes = std::chrono::floor<std::chrono::minutes>(ms); in toDurationString() 173 std::chrono::seconds seconds = std::chrono::floor<std::chrono::seconds>(ms); in toDurationString()
|
/openbmc/fb-ipmi-oem/include/ |
H A D | sensorutils.hpp | 187 bDouble = floor(0.5 + ((max + min) / 2)); in getSensorAttributes() 212 while (((mDouble - floor(mDouble)) / mDouble) > (1.0 / 255)) in getSensorAttributes() 258 while (((fabs(bDouble) - floor(fabs(bDouble))) / fabs(bDouble)) > in getSensorAttributes()
|