dmtimer_read(9)
dmtimer_read(9) β Kernel API Manual β¨
Okay so welcome to the Kernel API Manual, bestie β this is dmtimer_read(9), and itβs literally about reading timer registers in posted and non-posted mode. π
β¨ SYNOPSIS β¨
u32 dmtimer_read (struct dmtimer *timer , u32 reg );
π ARGUMENTS π
timerβ the timer pointer over which the read operation is performed. Like, this is the timer youβre doing the read through. π«Άregβ the lowest byte holds the register offset. Yep, thatβs the vibe. β¨
π¦ DESCRIPTION π¦
So the posted mode bit is encoded in reg. Important: in posted mode, the write pending bit must be checked. Otherwise, a read of a non completed write will produce an error. π Thatβs the whole warning, and itβs giving βdo not skip this, bestie.β π
πΈ SEE ALSO πΈ
- Kernel file:
./drivers/clocksource/timer-ti-dm.c dmtimer_write(9)omap_dm_timer_request_by_node(9)omap_dm_timer_modify_idlect_mask(9)omap_dm_timer_set_int_disable(9)omap_dm_timer_cap_counter(9)omap_dm_timer_probe(9)omap_dm_timer_remove(9)
Source/version: ./drivers/clocksource Β· Date: October 2026 Β· Page: dmtimer_read(9) β mwah, slay, bye bestie ππ§ββοΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms