ti_iodelay_alloc_pins(9)
π ti_iodelay_alloc_pins β the kernel API manual, but make it make sense
okay so bestie, welcome to the Kernel API Manual entry for ti_iodelay_alloc_pins(9) and ngl this one is short but it matters. It's the little helper that gets your iodelay pins their whole entire structure situation set up. Lowkey the backstage crew of the pin control world. Periodt.
β¨ NAME β¨
ti_iodelay_alloc_pins β literally allocates the structures you need for pins for iodelay π
Like, that's the whole vibe. It's giving "set the stage so the pins can perform."
πΈ SYNOPSIS πΈ
int ti_iodelay_alloc_pins (struct device *dev , struct ti_iodelay_device
*iod , u32 base_phy );
that's it, that's the whole signature π«Ά three args, one int coming back atcha.
π¦ ARGUMENTS π¦
devβ the Device pointer π« you know her, you love her, she's the device doing the thing.iodβ the iodelay device π this is the iodelay device in question, no cap.base_phyβ the Base Physical Address π₯ au32, and yes it's physical, and yes it's the base.
π RETURN π
0 if all went fine β and bestie we LOVE a zero π β else appropriate error value. So like, if you get anything that isn't 0, that's your signal something went sideways. Check it. Please. π
β SEE ALSO β
go read these next, iykyk π§ the main character file is ./drivers/pinctrl/ti/pinctrl-ti-iodelay.c and then the whole friend group:
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_extract(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_probe(9)
fr fr don't skip the SEE ALSO list, that's where the lore lives π
and that's the page! π sourced from ./drivers/pinctrl/ti, dated October 2026, and it's ti_iodelay_alloc_pins(9) signing off β stay slay, keep your error codes in check, mwah π
β¨
π¦ 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