ti_sci_reset_of_xlate(9)
π ti_sci_reset_of_xlate(9) π
okay so bestie, welcome to the Kernel API Manual β section 9, the fancy kernel one π. today we're learning about ti_sci_reset_of_xlate, and honestly? she's a translator. a little matchmaker. an icon. let's get into it π¦
β¨ NAME β¨
ti_sci_reset_of_xlate β translate a set of OF arguments to a reset ID. literally her whole job. no cap π
πΈ SYNOPSIS πΈ
int ti_sci_reset_of_xlate (struct reset_controller_dev *rcdev , const
struct of_phandle_args *reset_spec );
π ARGUMENTS π
rcdevβ the reset controller entity. that's the main character right there πreset_specβ the OF reset argument specifier. the little details she's working with π«Ά
π DESCRIPTION π
so what does she actually do? she performs the translation of the reset argument specifier values defined in a reset consumer device node. yes, that's a real sentence and yes it's a lot π
the way that this works is: the function allocates a reset control structure for that device reset, and that structure is gonna be used by the driver for performing any reset functions on that reset. slay.
also β an idr structure gets allocated and used to map to the reset control structure. and that idr? the driver uses it to do reset lookups. lowkey the idr is the real MVP here πβ¨
β RETURN β
0 for a successful request, else a corresponding error value. so if you get 0, she ate. if you get an error value, that's the kernel telling you what went wrong, bestie π
π₯ SEE ALSO π₯
- Kernel file
./drivers/reset/reset-ti-sci.cstructti_sci_reset_control(9) struct ti_sci_reset_data(9)ti_sci_reset_set(9)ti_sci_reset_assert(9)ti_sci_reset_deassert(9)ti_sci_reset_status(9)
go read the whole reset-ti-sci.c, iykyk π§π
that's the whole page bestie, go forth and translate those OF arguments π
this came from ./drivers/reset, version October 2026 β that's the source and the date rolled into one cute little sign-off ππ«Ά π
π¦ 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