Home
last modified time | relevance | path

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

12

/linux-6.15/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()
/linux-6.15/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 …]
/linux-6.15/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,
H A Dsysfs-bus-counter58 What: /sys/bus/counter/devices/counterX/countY/floor
62 Count value floor for Count Y. This is the lower limit for the
69 Count mode for channel Y. The ceiling and floor values for
80 to the Count Y floor value. The counter freezes at
81 count = ceiling when counting up, and at count = floor
93 A count value boundary is set between the Count Y floor
95 reset to the Count Y floor value at count = ceiling when
97 ceiling value at count = floor when counting down; the
H A Dsysfs-bus-iio-adc-mcp356433 floor. This offset is effectively canceled at every conversion,
/linux-6.15/arch/sparc/mm/
H A Dhugetlbpage.c311 unsigned long floor, unsigned long ceiling) in hugetlb_free_pmd_range() argument
330 if (start < floor) in hugetlb_free_pmd_range()
348 unsigned long floor, unsigned long ceiling) in hugetlb_free_pud_range() argument
363 hugetlb_free_pmd_range(tlb, pud, addr, next, floor, in hugetlb_free_pud_range()
368 if (start < floor) in hugetlb_free_pud_range()
386 unsigned long floor, unsigned long ceiling) in hugetlb_free_pgd_range() argument
393 if (addr < floor) { in hugetlb_free_pgd_range()
414 hugetlb_free_pud_range(tlb, p4d, addr, next, floor, ceiling); in hugetlb_free_pgd_range()
/linux-6.15/arch/arm64/mm/
H A Dmmu.c836 unsigned long floor, unsigned long ceiling, in pgtable_range_aligned() argument
840 if (start < floor) in pgtable_range_aligned()
987 unsigned long end, unsigned long floor, in free_empty_pte_table() argument
1024 unsigned long end, unsigned long floor, in free_empty_pmd_table() argument
1038 free_empty_pte_table(pmdp, addr, next, floor, ceiling); in free_empty_pmd_table()
1064 unsigned long end, unsigned long floor, in free_empty_pud_table() argument
1078 free_empty_pmd_table(pudp, addr, next, floor, ceiling); in free_empty_pud_table()
1104 unsigned long end, unsigned long floor, in free_empty_p4d_table() argument
1118 free_empty_pud_table(p4dp, addr, next, floor, ceiling); in free_empty_p4d_table()
1144 unsigned long floor, unsigned long ceiling) in free_empty_tables() argument
[all …]
/linux-6.15/include/asm-generic/
H A Dhugetlb.h77 unsigned long floor, unsigned long ceiling) in hugetlb_free_pgd_range() argument
79 free_pgd_range(tlb, addr, end, floor, ceiling); in hugetlb_free_pgd_range()
/linux-6.15/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()
H A D104-quad-8.c700 struct counter_count *count, u64 *floor) in quad8_count_floor_read() argument
703 *floor = 0; in quad8_count_floor_read()
/linux-6.15/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()
/linux-6.15/Documentation/devicetree/bindings/regulator/
H A Dpalmas-pmic.txt41 ti,roof-floor - This takes as optional argument on platform supporting
78 ti,roof-floor = <1>; /* ENABLE1 control */
/linux-6.15/arch/sparc/include/asm/
H A Dhugetlb.h55 unsigned long end, unsigned long floor,
/linux-6.15/Documentation/filesystems/
H A Dmultigrain-ts.rst56 not affected and always use the coarse-grained value (subject to the floor).
107 To mitigate this problem, maintain a global floor value that ensures that
110 order. To avoid problems with realtime clock jumps, the floor is managed as a
/linux-6.15/include/linux/mtd/
H A Ddoc2000.h161 char floor, chip; member
/linux-6.15/drivers/hv/
H A Dhv_balloon.c1261 unsigned long floor; in balloon_up() local
1270 floor = compute_balloon_floor(); in balloon_up()
1273 if (avail_pages < num_pages || avail_pages - num_pages < floor) { in balloon_up()
1278 num_pages = avail_pages > floor ? (avail_pages - floor) : 0; in balloon_up()
/linux-6.15/arch/x86/lib/
H A Dcrc32c-3way.S105 # Compute floor(len / 24) to get num qwords to process from each lane.
/linux-6.15/Documentation/admin-guide/pm/
H A Dintel_uncore_frequency_scaling.rst138 floor frequency will be used (elc_floor_freq_khz attribute below)
150 This attribute is used to get/set the efficiency latency floor frequency.
/linux-6.15/Documentation/translations/zh_CN/power/
H A Dopp.rst75 dev_pm_opp_find_freq_{ceil, floor}, dev_pm_opp_get_voltage,
/linux-6.15/tools/testing/vma/
H A Dvma_internal.h735 struct vm_area_struct *vma, unsigned long floor, in free_pgtables() argument
741 (void)floor; in free_pgtables()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddisplay_mode_util.c187 double floor = dml_floor(val, 1); in dml_round() local
189 if (val - floor >= round_pt) in dml_round()
192 return floor; in dml_round()
/linux-6.15/mm/
H A Dmemory.c182 unsigned long floor, unsigned long ceiling) in free_pmd_range() argument
198 if (start < floor) in free_pmd_range()
216 unsigned long floor, unsigned long ceiling) in free_pud_range() argument
232 if (start < floor) in free_pud_range()
250 unsigned long floor, unsigned long ceiling) in free_p4d_range() argument
266 if (start < floor) in free_p4d_range()
286 unsigned long floor, unsigned long ceiling) in free_pgd_range() argument
318 if (addr < floor) { in free_pgd_range()
347 struct vm_area_struct *vma, unsigned long floor, in free_pgtables() argument
375 floor, next ? next->vm_start : ceiling); in free_pgtables()
[all …]
/linux-6.15/Documentation/userspace-api/media/drivers/
H A Dccs.rst57 dropping some data on the floor. Analogue crop, on the other hand, means that
/linux-6.15/Documentation/driver-api/thermal/
H A Dintel_dptf.rst168 When set to 1, the power floor of the system in the current
173 When set to 1, enable reading and notification of the power floor
/linux-6.15/drivers/gpu/drm/i915/
H A DKconfig.profile36 floor on the autosuspend delay.

12