msa311_wait_for_next_data(9)
β¨ msa311_wait_for_next_data β¨
okay so bestie, welcome to the Kernel API Manual π this little cutie lives in the kernel, and it's the function you call when you're like "pls, i just woke up, give me the next accel data whenever it's ready" β that's the whole vibe. she waits. she's patient. she's literally the after-resume data bouncer π«Ά
πΈ NAME πΈ
msa311_wait_for_next_data β wait for the next accel data to be available after resume β¨
Like, yes, that's it. That's her whole job. Iconic behaviour honestly π
π¦ SYNOPSIS π¦
int msa311_wait_for_next_data (struct msa311_priv *msa311 );
π ARGUMENTS π
msa311β the MSA311 internal private state π like, the driver's own little diary of everything it knows about itself. you hand her that and she's good to go.
β RETURN β
0β slay, success, we ate π-EINTRβ themsleepgot interrupted π like someone rudely poked her mid-nap-ERRNOβ any other failures, no cap π
fr fr, check your return values bestie β 0 means happy, the negatives mean go read your errno π
π₯ SEE ALSO π₯
- Kernel file
./drivers/iio/accel/msa311.cπ struct msa311_priv(9)msa311_get_odr(9)msa311_set_odr(9)msa311_set_pwr_mode(9)msa311_get_axis(9)
all her besties, all in the same friend group, go read them too, iykyk π
mwah π that's the whole page. sourced straight from ./drivers/iio/accel, dated October 2026 β no cap, that's the version and the date, go off periodt π§ββοΈβ¨
π¦ 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