| /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()
|
| /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 …]
|
| /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,
|
| H A D | sysfs-bus-iio-adc-mcp3564 | 33 floor. This offset is effectively canceled at every conversion,
|
| /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()
|
| /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()
|
| H A D | 104-quad-8.c | 700 struct counter_count *count, u64 *floor) in quad8_count_floor_read() argument 703 *floor = 0; in quad8_count_floor_read()
|
| /linux/arch/arm64/mm/ |
| H A D | mmu.c | 1429 unsigned long floor, unsigned long ceiling, in pgtable_range_aligned() argument 1433 if (start < floor) in pgtable_range_aligned() 1580 unsigned long end, unsigned long floor, in free_empty_pte_table() argument 1597 if (!pgtable_range_aligned(start, end, floor, ceiling, PMD_MASK)) in free_empty_pte_table() 1617 unsigned long end, unsigned long floor, in free_empty_pmd_table() argument 1631 free_empty_pte_table(pmdp, addr, next, floor, ceiling); in free_empty_pmd_table() 1637 if (!pgtable_range_aligned(start, end, floor, ceiling, PUD_MASK)) in free_empty_pmd_table() 1657 unsigned long end, unsigned long floor, in free_empty_pud_table() argument 1671 free_empty_pmd_table(pudp, addr, next, floor, ceiling); in free_empty_pud_table() 1677 if (!pgtable_range_aligned(start, end, floor, ceiling, P4D_MASK)) in free_empty_pud_table() [all …]
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | palmas-pmic.txt | 41 ti,roof-floor - This takes as optional argument on platform supporting 78 ti,roof-floor = <1>; /* ENABLE1 control */
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | pp_alloc_fail.py | 98 want_fails = math.floor(pkts / 512 / 3.1)
|
| /linux/include/linux/mtd/ |
| H A D | doc2000.h | 161 char floor, chip; member
|
| /linux/drivers/hv/ |
| H A D | hv_balloon.c | 1261 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/lib/crc/x86/ |
| H A D | crc32c-3way.S | 105 # Compute floor(len / 24) to get num qwords to process from each lane.
|
| /linux/tools/testing/vma/include/ |
| H A D | stubs.h | 54 unsigned long floor, unsigned long ceiling) in free_pgd_range() argument
|
| /linux/Documentation/admin-guide/pm/ |
| H A D | intel_uncore_frequency_scaling.rst | 148 floor frequency will be used (elc_floor_freq_khz attribute below) 160 This attribute is used to get/set the efficiency latency floor frequency.
|
| /linux/Documentation/translations/zh_CN/power/ |
| H A D | opp.rst | 75 dev_pm_opp_find_freq_{ceil, floor}, dev_pm_opp_get_voltage,
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | display_mode_util.c | 187 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/Documentation/userspace-api/media/drivers/ |
| H A D | ccs.rst | 57 dropping some data on the floor. Analogue crop, on the other hand, means that
|
| /linux/tools/perf/util/ |
| H A D | stat-display.c | 698 fmt = floor(sc) != sc ? "%'*.2f " : "%'*.0f "; in print_counter_value_std() 700 fmt = floor(sc) != sc ? "%*.2f " : "%*.0f "; in print_counter_value_std() 719 const char *fmt = floor(sc) != sc ? "%.2f%s" : "%.0f%s"; in print_counter_value_csv()
|
| /linux/mm/ |
| H A D | memory.c | 200 unsigned long floor, unsigned long ceiling) in free_pmd_range() argument 216 if (start < floor) in free_pmd_range() 234 unsigned long floor, unsigned long ceiling) in free_pud_range() argument 246 free_pmd_range(tlb, pud, addr, next, floor, ceiling); in free_pud_range() 250 if (start < floor) in free_pud_range() 268 unsigned long floor, unsigned long ceiling) in free_p4d_range() argument 280 free_pud_range(tlb, p4d, addr, next, floor, ceiling); in free_p4d_range() 284 if (start < floor) in free_p4d_range() 313 unsigned long floor, unsigned long ceiling) in free_pgd_range() argument 345 if (addr < floor) { in free_pgd_range() [all …]
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | Kconfig.profile | 36 floor on the autosuspend delay.
|
| /linux/arch/arm/boot/dts/nvidia/ |
| H A D | tegra114-asus-tf701t.dts | 1453 ti,roof-floor = <1>; 1463 ti,roof-floor = <3>; 1513 ti,roof-floor = <3>;
|
| /linux/samples/bpf/ |
| H A D | xdp_sample_user.c | 584 if (val - floor(val) < 0.5) in sample_round() 585 return floor(val); in sample_round()
|
| /linux/drivers/media/tuners/ |
| H A D | mt2063.c | 355 #define floor(n, d) (((n) < 0) ? (-((-(n))/(d))) - ((n)%(d) != 0) : (n)/(d)) macro 608 floor((s32) (pNode->min_ - f_Center), (s32) f_Step); in MT2063_ChooseFirstIF()
|
| /linux/drivers/staging/most/Documentation/ |
| H A D | driver_usage.txt | 218 frame_size = floor(MTU_USB / bandwidth_sync) * bandwidth_sync
|