Home
last modified time | relevance | path

Searched refs:ceiling (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/counter/
H A Dstm32-lptimer-cnt.c26 u32 ceiling; member
62 ret = regmap_write(priv->regmap, STM32_LPTIM_ARR, priv->ceiling); in stm32_lptim_set_enable_state()
241 u64 *ceiling) in stm32_lptim_cnt_ceiling_read() argument
245 *ceiling = priv->ceiling; in stm32_lptim_cnt_ceiling_read()
252 u64 ceiling) in stm32_lptim_cnt_ceiling_write() argument
259 if (ceiling > STM32_LPTIM_MAX_ARR) in stm32_lptim_cnt_ceiling_write()
262 priv->ceiling = ceiling; in stm32_lptim_cnt_ceiling_write()
428 priv->ceiling = STM32_LPTIM_MAX_ARR; in stm32_lptim_cnt_probe()
H A Di8254.c126 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 Drz-mtu3-cnt.c316 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 Dti-eqep.c322 u64 *ceiling) in ti_eqep_position_ceiling_read() argument
329 *ceiling = qposmax; in ti_eqep_position_ceiling_read()
336 u64 ceiling) in ti_eqep_position_ceiling_write() argument
340 if (ceiling != (u32)ceiling) in ti_eqep_position_ceiling_write()
343 regmap_write(priv->regmap32, QPOSMAX, ceiling); in ti_eqep_position_ceiling_write()
H A Dstm32-timer-cnt.c75 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 D104-quad-8.c846 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 Dintel-qep.c176 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 Dmmu.c836 unsigned long floor, unsigned long ceiling, in pgtable_range_aligned() argument
843 if (ceiling) { in pgtable_range_aligned()
844 ceiling &= mask; in pgtable_range_aligned()
845 if (!ceiling) in pgtable_range_aligned()
849 if (end - 1 > ceiling - 1) in pgtable_range_aligned()
988 unsigned long ceiling) in free_empty_pte_table() argument
1004 if (!pgtable_range_aligned(start, end, floor, ceiling, PMD_MASK)) in free_empty_pte_table()
1025 unsigned long ceiling) in free_empty_pmd_table() argument
1038 free_empty_pte_table(pmdp, addr, next, floor, ceiling); in free_empty_pmd_table()
1044 if (!pgtable_range_aligned(start, end, floor, ceiling, PUD_MASK)) in free_empty_pmd_table()
[all …]
/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()
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-counter43 What: /sys/bus/counter/devices/counterX/countY/ceiling
47 Count value ceiling for Count Y. This is the upper limit for the
61 Count mode for channel Y. The ceiling and floor values for
71 the Count Y ceiling value, while the lower limit is set
73 count = ceiling when counting up, and at count = floor
86 value and the Count Y ceiling value. The counter is
87 reset to the Count Y floor value at count = ceiling when
89 ceiling value at count = floor when counting down; the
/linux/mm/
H A Dmemory.c200 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 Dinternal.h341 unsigned long ceiling, bool mm_wr_locked);
H A Dmemcontrol.c3175 unsigned long ceiling = min(READ_ONCE(memcg->memory.max), in mem_cgroup_wb_stats() local
3179 *pheadroom = min(*pheadroom, ceiling - min(ceiling, used)); in mem_cgroup_wb_stats()
/linux/arch/sparc/include/asm/
H A Dhugetlb.h56 unsigned long ceiling);
/linux/arch/x86/mm/
H A Dtlb.c1318 int ceiling; in tlbflush_write_file()
1325 if (kstrtoint(buf, 0, &ceiling)) in tlbflush_write_file()
1328 if (ceiling < 0) in tlbflush_write_file()
1331 tlb_single_page_flush_ceiling = ceiling; in tlbflush_write_file()
1321 int ceiling; tlbflush_write_file() local
/linux/kernel/time/
H A Dtimeconst.bc20 /* Adjustment factor when a ceiling value is used. Use as:
/linux/Documentation/driver-api/
H A Dgeneric-counter.rst293 supported by this driver ("direction", "enable", and "ceiling") and to
312 struct counter_count *count, u64 *ceiling);
314 struct counter_count *count, u64 ceiling);
/linux/Documentation/virt/kvm/
H A Dhalt-polling.rst93 | | the ceiling value of the | |
/linux/Documentation/arch/x86/
H A Dboot.rst29 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 Dmm.h2383 unsigned long end, unsigned long floor, unsigned long ceiling);