/openbmc/phosphor-fan-presence/control/json/actions/ |
H A D | mapped_floor.cpp | 34 uint64_t addFloorOffset(uint64_t floor, T offset, const std::string& actionName) in addFloorOffset() argument 41 auto newFloor = static_cast<T>(floor) + offset; in addFloorOffset() 48 return floor; in addFloorOffset() 167 auto floor = floorEntry["floor"].get<uint64_t>(); in setFloorTable() local 170 std::move(floor)); in setFloorTable() 367 auto floor = _defaultFloor ? *_defaultFloor : zone.getDefaultFloor(); in run() local 368 zone.setFloorHold(getUniqueName(), floor, true); in run() 421 std::optional<uint64_t> floor; in run() local 435 floor = tableFloor; in run() 441 floor = tableFloor; 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__ 176 test_ftoi floor.s, a2, f0, 0xbfa00000, 1, -3, FSR_I /* -1.25 * 2 */ 177 test_ftoi floor.s, a2, f0, 0xbfc00000, 0, -2, FSR_I /* -1.5 */ 178 test_ftoi floor.s, a2, f0, 0xbf800000, 1, -2, FSR__ /* -1 * 2 */ 179 test_ftoi floor.s, a2, f0, 0xbf800000, 0, -1, FSR__ /* -1 */ [all …]
|
/openbmc/linux/drivers/mtd/devices/ |
H A D | docg3.c | 1466 int floor; in sysfs_dev2docg3() local 1469 floor = attr->attr.name[1] - '0'; in sysfs_dev2docg3() 1470 if (floor < 0 || floor >= DOC_MAX_NBFLOORS) in sysfs_dev2docg3() 1473 return docg3_floors[floor]->priv; in sysfs_dev2docg3() 1559 int floor; in doc_register_sysfs() local 1563 for (floor = 0; in doc_register_sysfs() 1564 floor < DOC_MAX_NBFLOORS && cascade->floors[floor]; in doc_register_sysfs() 1565 floor++) { in doc_register_sysfs() 1567 ret = device_create_file(dev, &doc_sys_attrs[floor][i]); in doc_register_sysfs() 1578 device_remove_file(dev, &doc_sys_attrs[floor][i]); in doc_register_sysfs() [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 334 if (range_is_outside_limits(start, end, floor, ceiling, pdmask)) in free_hugepd_range() 349 unsigned long floor, unsigned long ceiling) in hugetlb_free_pte_range() argument 353 if (range_is_outside_limits(addr, end, floor, ceiling, PMD_MASK)) in hugetlb_free_pte_range() 363 unsigned long floor, unsigned long ceiling) in hugetlb_free_pmd_range() argument 385 hugetlb_free_pte_range(tlb, pmd, addr, end, floor, ceiling); in hugetlb_free_pmd_range() 400 addr, next, floor, ceiling); in hugetlb_free_pmd_range() 403 if (range_is_outside_limits(start, end, floor, ceiling, PUD_MASK)) in hugetlb_free_pmd_range() [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-ampere/meta-mitchell/recipes-phosphor/fans/phosphor-fan/ |
H A D | events.json | 94 // Set a raised fan floor when any PLDM temperature sensor is nonfunctional 134 // Set a raised fan floor when any temperature sensor is nonfunctional
|
/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. 397 Sets the fans to a configured floor when a number of members within the group 399 below the configured count, the floor hold is released. 406 "floor": 18000, 413 for 3 seconds, a floor hold will be requested with a value of 18000. Otherwise, 414 the floor hold will be released (if it was previously requested). 438 Sets the fan floor to the defined zone's default fan floor when a service 440 providing the sensors, the fan floor is allowed to be set normally again. 446 This action can be used to set a floor value based on 2 or more groups having [all …]
|
/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 999 if (!pgtable_range_aligned(start, end, floor, ceiling, PMD_MASK)) in free_empty_pte_table() 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() 1039 if (!pgtable_range_aligned(start, end, floor, ceiling, PUD_MASK)) 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() 1079 if (!pgtable_range_aligned(start, end, floor, ceiling, PGDIR_MASK)) in free_empty_pud_table() [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/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/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.BlueRidge2U/ |
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/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/openbmc/poky/meta/recipes-graphics/mesa/mesa-demos/ |
H A D | 0001-mesa-demos-Add-missing-data-files.patch | 227 + return floor( mod( (x1 + p.z) *x0, p.x )); 231 + return floor( mod( (x1 + p.z) *x0, p.x )); 235 + return floor( mod( (x1 + p.z) *x0, p.x )); 239 + return floor( mod( (x1 + p.z) *x0, p.x )); 257 + vec2 i = floor(v + dot(v, C.yy) ); 312 + vec3 i = floor(v + dot(v, C.yyy) ); 360 + vec4 j = p - pParam.w*pParam.w*floor(p * ns.z *ns.z); // mod(p,N*N) 362 + vec4 x_ = floor(j * ns.z) ; 363 + vec4 y_ = floor(j - pParam.w * x_ ) ; // mod(j,N) 404 + p.xyz = floor( fract (vec3(j) * ip.xyz) *pParam.w) * ip.z -1.0; [all …]
|