| /linux/drivers/counter/ |
| H A D | i8254.c | 126 struct counter_count *const count, u64 *const ceiling) in i8254_count_ceiling_read() argument 135 *ceiling = (priv->preset[count->id] == 0) ? U16_MAX : priv->preset[count->id]; in i8254_count_ceiling_read() 139 *ceiling = priv->preset[count->id] - 1; in i8254_count_ceiling_read() 142 *ceiling = U16_MAX - 1; in i8254_count_ceiling_read() 144 *ceiling = priv->preset[count->id]; in i8254_count_ceiling_read() 147 *ceiling = U16_MAX; in i8254_count_ceiling_read()
|
| H A D | rz-mtu3-cnt.c | 316 u64 *ceiling) in rz_mtu3_count_ceiling_read() argument 330 *ceiling = priv->mtu_16bit_max[ch_id]; in rz_mtu3_count_ceiling_read() 333 *ceiling = priv->mtu_32bit_max; in rz_mtu3_count_ceiling_read() 347 u64 ceiling) in rz_mtu3_count_ceiling_write() argument 361 if (ceiling > U16_MAX) { in rz_mtu3_count_ceiling_write() 365 priv->mtu_16bit_max[ch_id] = ceiling; in rz_mtu3_count_ceiling_write() 368 if (ceiling > U32_MAX) { in rz_mtu3_count_ceiling_write() 372 priv->mtu_32bit_max = ceiling; in rz_mtu3_count_ceiling_write() 382 rz_mtu3_32bit_ch_write(ch, RZ_MTU3_TGRALW, ceiling); in rz_mtu3_count_ceiling_write() 384 rz_mtu3_16bit_ch_write(ch, RZ_MTU3_TGRA, ceiling); in rz_mtu3_count_ceiling_write()
|
| H A D | stm32-timer-cnt.c | 75 u32 ceiling; in stm32_count_write() local 77 regmap_read(priv->regmap, TIM_ARR, &ceiling); in stm32_count_write() 78 if (val > ceiling) in stm32_count_write() 172 struct counter_count *count, u64 *ceiling) in stm32_count_ceiling_read() argument 179 *ceiling = arr; in stm32_count_ceiling_read() 185 struct counter_count *count, u64 ceiling) in stm32_count_ceiling_write() argument 189 if (ceiling > priv->max_arr) in stm32_count_ceiling_write() 194 regmap_write(priv->regmap, TIM_ARR, ceiling); in stm32_count_ceiling_write()
|
| H A D | 104-quad-8.c | 846 struct counter_count *count, u64 *ceiling) in quad8_count_ceiling_read() argument 857 *ceiling = priv->preset[count->id]; in quad8_count_ceiling_read() 860 *ceiling = LS7267_CNTR_MAX; in quad8_count_ceiling_read() 870 struct counter_count *count, u64 ceiling) in quad8_count_ceiling_write() argument 876 if (ceiling > LS7267_CNTR_MAX) in quad8_count_ceiling_write() 885 priv->preset[count->id] = ceiling; in quad8_count_ceiling_write() 886 ret = quad8_preset_register_set(priv, count->id, ceiling); in quad8_count_ceiling_write()
|
| H A D | intel-qep.c | 176 struct counter_count *count, u64 *ceiling) in intel_qep_ceiling_read() argument 181 *ceiling = intel_qep_readl(qep, INTEL_QEPMAX); in intel_qep_ceiling_read()
|
| /linux/arch/arm64/mm/ |
| H A D | mmu.c | 1429 unsigned long floor, unsigned long ceiling, in pgtable_range_aligned() argument 1436 if (ceiling) { in pgtable_range_aligned() 1437 ceiling &= mask; in pgtable_range_aligned() 1438 if (!ceiling) in pgtable_range_aligned() 1442 if (end - 1 > ceiling - 1) in pgtable_range_aligned() 1581 unsigned long ceiling) in free_empty_pte_table() argument 1597 if (!pgtable_range_aligned(start, end, floor, ceiling, PMD_MASK)) in free_empty_pte_table() 1618 unsigned long ceiling) 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() [all …]
|
| /linux/mm/ |
| H A D | memory.c | 200 unsigned long floor, unsigned long ceiling) in free_pmd_range() argument 218 if (ceiling) { in free_pmd_range() 219 ceiling &= PUD_MASK; in free_pmd_range() 220 if (!ceiling) in free_pmd_range() 223 if (end - 1 > ceiling - 1) 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() 252 if (ceiling) { in free_pud_range() 253 ceiling &= P4D_MASK; in free_pud_range() 254 if (!ceiling) in free_pud_range() [all …]
|
| H A D | internal.h | 447 unsigned long ceiling, bool mm_wr_locked);
|
| H A D | memcontrol.c | 3409 unsigned long ceiling = min(READ_ONCE(memcg->memory.max), in mem_cgroup_wb_stats() local 3413 *pheadroom = min(*pheadroom, ceiling - min(ceiling, used)); in mem_cgroup_wb_stats()
|
| /linux/arch/x86/mm/ |
| H A D | tlb.c | 1807 int ceiling; in tlbflush_write_file() local 1814 if (kstrtoint(buf, 0, &ceiling)) in tlbflush_write_file() 1817 if (ceiling < 0) in tlbflush_write_file() 1820 tlb_single_page_flush_ceiling = ceiling; in tlbflush_write_file()
|
| /linux/kernel/time/ |
| H A D | timeconst.bc | 20 /* Adjustment factor when a ceiling value is used. Use as:
|
| /linux/tools/testing/vma/ |
| H A D | vma_internal.h | 1134 unsigned long ceiling, bool mm_wr_locked) in free_pgtables() argument 1712 unsigned long floor, unsigned long ceiling) in free_pgd_range() argument
|
| /linux/Documentation/virt/kvm/ |
| H A D | halt-polling.rst | 93 | | the ceiling value of the | |
|
| /linux/Documentation/arch/x86/ |
| H A D | boot.rst | 29 Lower the conventional memory ceiling. No overwrite 127 It is desirable to keep the "memory ceiling" -- the highest point in
|
| /linux/include/linux/ |
| H A D | mm.h | 2633 unsigned long end, unsigned long floor, unsigned long ceiling);
|