ti_iodelay_extract(9)
π ti_iodelay_extract β bestie edition π
okay so this is a page from the Kernel API Manual (that's the manual name, bestie, consider it folded in π«Ά) and it's all about ti_iodelay_extract, which is literally justβ¦ pulling bits out of a register. tiny function, huge slay.
β¨ NAME β¨
ti_iodelay_extract β extract bits for a field. that's it. that's the whole job. she extracts, she serves, she leaves πΈ
π SYNOPSIS π
u32 ti_iodelay_extract (u32 val , u32 mask );
like look at her. two args. returns a u32. no cap, it's giving minimalism π
π¦ ARGUMENTS π¦
valβ the register value. the raw thing you're digging into, the main character of this whole operation πmaskβ the mask. this is what tells the function which bits actually matter, iykyk π₯
β RETURN β
she gives you back the extracted value, and it's appropriately shifted β so like, don't go shifting it again yourself, she already did the work π
π SEE ALSO π
okay this is the part where the original just. lists. everything. and honestly? respect. here's the whole friend group, all from the kernel file ./drivers/pinctrl/ti/pinctrl-ti-iodelay.c:
struct ti_iodelay_reg_data(9)struct ti_iodelay_reg_values(9)struct ti_iodelay_cfg(9)struct ti_iodelay_pingroup(9)struct ti_iodelay_device(9)ti_iodelay_compute_dpe(9)ti_iodelay_pinconf_set(9)ti_iodelay_pinconf_deinit_dev(9)ti_iodelay_pinconf_init_dev(9)ti_iodelay_get_pingroup(9)ti_iodelay_offset_to_pin(9)ti_iodelay_node_iterator(9)ti_iodelay_dt_node_to_map(9)ti_iodelay_pinconf_group_get(9)ti_iodelay_pinconf_group_set(9)ti_iodelay_pin_to_offset(9)ti_iodelay_pinconf_group_dbg_show(9)ti_iodelay_alloc_pins(9)ti_iodelay_probe(9)
ngl bestie, the return value is shifted β that's a fact, not a vibe. don't double-shift and then come crying to me π
β¨ and that's the page!! β¨ it lives under ./drivers/pinctrl/ti (yes that's the source path, she's short but she's mighty π) and it's dated October 2026 β future iconic behavior fr fr. ti_iodelay_extract(9), out. ππ§ββοΈ
π¦ 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