Home
last modified time | relevance | path

Searched refs:floor (Results 1 – 25 of 100) sorted by relevance

1234

/openbmc/phosphor-fan-presence/control/json/actions/
H A Dmapped_floor.cpp41 auto newFloor = static_cast<T>(floor) + offset; in addFloorOffset()
48 return floor; in addFloorOffset()
420 std::optional<uint64_t> floor; in run() local
434 floor = tableFloor; in run()
440 floor = tableFloor; in run()
448 if (!floor) in run()
452 floor = *floorTable.defaultFloor; in run()
456 floor = *_defaultFloor; in run()
460 floor = zone.getDefaultFloor(); in run()
468 newFloor = floor; in run()
[all …]
/openbmc/linux/include/linux/
H A Drandom.h98 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 Dtest_fp0_conv.S164 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 Ddocg3.c1466 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 Dhugetlbpage.c306 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 Dfix_cflags_handling.patch18 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 Dhugetlbpage.c106 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 Dsysfs-devices-platform-docg36 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 Dthermal-control-modes.md13 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 Dhugetlbpage.c434 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 D0001-Link-with-libm-for-floor-function.patch4 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 Devents.md242 floor/target below the one that is held.
247 that parameter to help choose a fan floor.
399 "floor": 18000,
431 Sets the fan floor to the defined zone's default fan floor when a service
457 { "value": 1, "floor": 2000 },
458 { "value": 2, "floor": 3000 },
459 { "value": 3, "floor": 4000 },
460 { "value": 4, "floor": 5000 },
461 { "value": 5, "floor": 6000 }
480 valid floor value it finds. If it doesn't find any valid floor values, it will
[all …]
/openbmc/phosphor-fan-presence/control/config_files/p10bmc/com.ibm.Hardware.Chassis.Model.Rainier4U/
H A Devents.json190 // 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 Devents.json150 // 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 Dmmu.c831 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 Devents.json294 // 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 Devents.json180 // 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 Devents.json372 // 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-host-ipmid/test/dbus-sdr/
H A Dsensorcommands_unittest.cpp370 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/intel-ipmi-oem/tests/
H A Dtest_sensorcommands.cpp369 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/linux/include/asm-generic/
H A Dhugetlb.h71 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 Di8254.c233 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 Dlv0104cs.c278 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/fb-ipmi-oem/include/
H A Dsensorutils.hpp188 bDouble = floor(0.5 + ((max + min) / 2)); in getSensorAttributes()
213 while (((mDouble - floor(mDouble)) / mDouble) > (1.0 / 255)) in getSensorAttributes()
259 while (((fabs(bDouble) - floor(fabs(bDouble))) / fabs(bDouble)) > in getSensorAttributes()
/openbmc/openbmc/poky/meta/recipes-graphics/mesa/mesa-demos/
H A D0001-mesa-demos-Add-missing-data-files.patch227 + 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) );
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;
417 + vec4 i = floor(v + dot(v, C.yyyy) );
[all …]

1234