adxl313_fifo_reset(9)
π
adxl313_fifo_reset (9) β Kernel API Manual π
okay bestie, welcome to the adxl313_fifo_reset page β¨ yes, this is a section 9 kernel API manual, and yes, we're gonna read it together. grab a lil snack π
πΈ NAME πΈ
adxl313_fifo_reset β reset the FIFO and interrupt status registers π«Ά literally that's the whole job, and she does it flawlessly.
β¨ SYNOPSIS β¨
void adxl313_fifo_reset (struct adxl313_data *data );
no cap, that's it. one argument, zero return value. iconic minimalism π
π¦ ARGUMENTS π¦
dataβ the device data. that's the one and only thing you hand her π
π DESCRIPTION π
okay so here's the tea β β this function resets the FIFO status registers. that's the main character move.
the way that reading out status registers clears the FIFO and interrupt configurationβ¦ mmh. so like, do not evaluate regmap return values. i'm so serious π the read itself is doing the work, so checking the return is not the vibe.
also β ignore particular read register content. the register content is not processed any further. it's giving "don't look at it, just let it happen" energy β¨
and because none of that content goes anywhere else, the function returns void. no return value, no crumbs, nothing to collect π«Ά periodt.
π₯ SEE ALSO π₯
- Kernel file
./drivers/iio/accel/adxl313_core.cβ go read the source, bestie, she's right there π adxl313_is_act_inact_ac(9)adxl313_core_probe(9)
and that's the whole page, bestie!! π this one lives under ./drivers/iio/accel, dated October 2026, and she's filed as adxl313_fifo_reset(9) β go forth and reset those FIFO status registers, you absolute legend ππ
π¦ 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