/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 | 17 build-aux/scripts/compute-symver-floor | 2 ++ 20 diff --git a/build-aux/scripts/compute-symver-floor b/build-aux/scripts/compute-symver-floor 22 --- a/build-aux/scripts/compute-symver-floor 23 +++ 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 | 221 // Set a fan floor if an OCC isn't active 251 "floor": 10400 256 // Set a raised fan floor when any temperature sensor is nonfunctional 379 "floor": 10400 1492 "name": "set pcie floor index", 1644 { "value": 1, "floor": 7000 }, 1645 { "value": 2, "floor": 8000 }, number 1646 { "value": 3, "floor": 9000 } number 1660 { "value": 1, "floor": 8000 }, 1661 { "value": 2, "floor" number 220 "floor": 10400 global() number 348 "floor": 10400 global() number 1613 { "value": 1, "floor": 7000 }, global() number 1614 { "value": 2, "floor": 8000 }, global() number 1615 { "value": 3, "floor": 9000 } global() number 1629 { "value": 1, "floor": 8000 }, global() number 1630 { "value": 2, "floor": 9000 }, global() number 1631 { "value": 3, "floor": 9500 } global() number 1647 { "value": 3, "floor": 10400 } global() number 1662 { "value": 2, "floor": 10400 }, global() number 1663 { "value": 3, "floor": 10400 } global() number [all...] |
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Bonnell/ |
H A D | events.json | 181 // Set a fan floor if an OCC isn't active 211 "floor": 17000 216 // Set a raised fan floor when any temperature or altitude sensor is 285 "floor": 17000 587 "name": "set pcie floor index", 816 "floors": [{ "value": 1, "floor": 6200 }] 828 "floors": [{ "value": 1, "floor": 6800 }] 840 "floors": [{ "value": 1, "floor": 7400 }] 852 "floors": [{ "value": 1, "floor": 8500 }] 864 "floors": [{ "value": 1, "floor" 180 "floor": 17000 global() number 254 "floor": 17000 global() number 785 "floors": [{ "value": 1, "floor": 6200 }] global() number 797 "floors": [{ "value": 1, "floor": 6800 }] global() number 809 "floors": [{ "value": 1, "floor": 7400 }] global() number 821 "floors": [{ "value": 1, "floor": 8500 }] global() number 833 "floors": [{ "value": 1, "floor": 9800 }] global() number [all...] |
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier1S4U/ |
H A D | events.json | 211 // Set a fan floor if an OCC isn't active 241 "floor": 10400 246 // Set a raised fan floor when any temperature sensor is nonfunctional 349 "floor": 10400 1177 "name": "set pcie floor index", 1332 { "value": 1, "floor": 6000 }, 1333 { "value": 2, "floor": 7000 }, number 1334 { "value": 3, "floor": 8000 } number 1348 { "value": 1, "floor": 7000 }, 1349 { "value": 2, "floor" number 210 "floor": 10400 global() number 318 "floor": 10400 global() number 1301 { "value": 1, "floor": 6000 }, global() number 1302 { "value": 2, "floor": 7000 }, global() number 1303 { "value": 3, "floor": 8000 } global() number 1317 { "value": 1, "floor": 7000 }, global() number 1318 { "value": 2, "floor": 9000 }, global() number 1319 { "value": 3, "floor": 9500 } global() number 1335 { "value": 3, "floor": 10400 } global() number 1350 { "value": 2, "floor": 10400 }, global() number 1351 { "value": 3, "floor": 10400 } global() number 1374 { "value": 1, "floor": 7000 }, global() number 1375 { "value": 2, "floor": 8000 }, global() number 1376 { "value": 3, "floor": 9000 } global() number 1390 { "value": 1, "floor": 8000 }, global() number 1391 { "value": 2, "floor": 9000 }, global() number 1392 { "value": 3, "floor": 9500 } global() number 1406 { "value": 1, "floor": 9000 }, global() number 1407 { "value": 2, "floor": 9500 }, global() number 1408 { "value": 3, "floor": 10400 } global() number 1422 { "value": 1, "floor": 9500 }, global() number 1423 { "value": 2, "floor": 10400 }, global() number 1424 { "value": 3, "floor": 10400 } global() number [all...] |
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier2U/ |
H A D | events.json | 403 // Set a fan floor if an OCC isn't active 433 "floor": 18000 438 // Set a raised fan floor when any temperature or altitude sensor is 567 "floor": 18000 1679 "name": "set pcie floor index", 1909 { "value": 1, "floor": 5600 }, 1910 { "value": 2, "floor": 9000 }, 1911 { "value": 3, "floor": 9000 }, 1912 { "value": 4, "floor": 9200 }, 1913 { "value": 5, "floor" 402 "floor": 18000 global() number 536 "floor": 18000 global() number 1878 { "value": 1, "floor": 5600 }, global() number 1879 { "value": 2, "floor": 9000 }, global() number 1880 { "value": 3, "floor": 9000 }, global() number 1881 { "value": 4, "floor": 9200 }, global() number 1882 { "value": 5, "floor": 10600 } global() number 1896 { "value": 1, "floor": 7800 }, global() number 1897 { "value": 2, "floor": 10700 }, global() number 1898 { "value": 3, "floor": 11300 }, global() number 1899 { "value": 4, "floor": 12700 }, global() number 1900 { "value": 5, "floor": 13900 } global() number 1914 { "value": 1, "floor": 10300 }, global() number 1915 { "value": 2, "floor": 12100 }, global() number 1916 { "value": 3, "floor": 14400 }, global() number 1917 { "value": 4, "floor": 16300 }, global() number 1918 { "value": 5, "floor": 17200 } global() number 1932 { "value": 1, "floor": 12700 }, global() number 1933 { "value": 2, "floor": 13500 }, global() number 1934 { "value": 3, "floor": 17400 }, global() number 1935 { "value": 4, "floor": 18000 }, global() number 1936 { "value": 5, "floor": 18000 } global() number 1950 { "value": 1, "floor": 15000 }, global() number 1951 { "value": 2, "floor": 15500 }, global() number 1952 { "value": 3, "floor": 18000 }, global() number 1953 { "value": 4, "floor": 18000 }, global() number 1954 { "value": 5, "floor": 18000 } global() number [all...] |
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.BlueRidge2U/ |
H A D | events.json | 403 // Set a fan floor if an OCC isn't active 433 "floor": 17000 438 // Set a raised fan floor when any temperature or altitude sensor is 567 "floor": 17000 1679 "name": "set pcie floor index", 1909 { "value": 1, "floor": 5600 }, 1910 { "value": 2, "floor": 9000 }, 1911 { "value": 3, "floor": 9000 }, 1912 { "value": 4, "floor": 9200 }, 1913 { "value": 5, "floor" 402 "floor": 17000 global() number 536 "floor": 17000 global() number 1878 { "value": 1, "floor": 5600 }, global() number 1879 { "value": 2, "floor": 9000 }, global() number 1880 { "value": 3, "floor": 9000 }, global() number 1881 { "value": 4, "floor": 9200 }, global() number 1882 { "value": 5, "floor": 10600 } global() number 1896 { "value": 1, "floor": 7800 }, global() number 1897 { "value": 2, "floor": 10700 }, global() number 1898 { "value": 3, "floor": 11300 }, global() number 1899 { "value": 4, "floor": 12700 }, global() number 1900 { "value": 5, "floor": 13900 } global() number 1914 { "value": 1, "floor": 10300 }, global() number 1915 { "value": 2, "floor": 12100 }, global() number 1916 { "value": 3, "floor": 14400 }, global() number 1917 { "value": 4, "floor": 16300 }, global() number 1918 { "value": 5, "floor": 17000 } global() number 1932 { "value": 1, "floor": 12700 }, global() number 1933 { "value": 2, "floor": 13500 }, global() number 1934 { "value": 3, "floor": 17000 }, global() number 1935 { "value": 4, "floor": 17000 }, global() number 1936 { "value": 5, "floor": 17000 } global() number 1950 { "value": 1, "floor": 15000 }, global() number 1951 { "value": 2, "floor": 15500 }, global() number 1952 { "value": 3, "floor": 17000 }, global() number 1953 { "value": 4, "floor": 17000 }, global() number 1954 { "value": 5, "floor": 17000 } global() number [all...] |
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Everest/ |
H A D | events.json | 325 // Set a fan floor if an OCC isn't active 355 "floor": 11300 360 // Set a raised fan floor when any temperature or altitude sensor is 524 "floor": 11300 2175 "name": "set pcie floor index", 2405 { "value": 1, "floor": 3800 }, 2406 { "value": 2, "floor": 4200 }, 2407 { "value": 3, "floor": 4600 }, 2408 { "value": 4, "floor": 6500 } number 2422 { "value": 1, "floor" 324 "floor": 11300 global() number 493 "floor": 11300 global() number 2374 { "value": 1, "floor": 3800 }, global() number 2375 { "value": 2, "floor": 4200 }, global() number 2376 { "value": 3, "floor": 4600 }, global() number 2377 { "value": 4, "floor": 6500 } global() number 2391 { "value": 1, "floor": 4400 }, global() number 2392 { "value": 2, "floor": 4800 }, global() number 2393 { "value": 3, "floor": 5400 }, global() number 2394 { "value": 4, "floor": 7500 } global() number 2409 { "value": 2, "floor": 5600 }, global() number 2410 { "value": 3, "floor": 6500 }, global() number 2411 { "value": 4, "floor": 9000 } global() number 2425 { "value": 1, "floor": 5800 }, global() number 2426 { "value": 2, "floor": 6700 }, global() number 2427 { "value": 3, "floor": 7700 }, global() number 2428 { "value": 4, "floor": 11300 } global() number 2442 { "value": 1, "floor": 6900 }, global() number 2443 { "value": 2, "floor": 7900 }, global() number 2444 { "value": 3, "floor": 9200 }, global() number 2445 { "value": 4, "floor": 11300 } global() number [all...] |
/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 …]
|