rtl83xx_unlock(9)
π rtl83xx_unlock(9) β the kernel API manual, bestie edition
okay so before we get into it: this page lives in section 9 of the kernel API manual, and it's literally all about rtl83xx_unlock β the tiny little function that lets go of the mutex the regmaps are using πβ¨ yeah. that's the whole vibe.
πΈ NAME πΈ
rtl83xx_unlock β unlocks the mutex used by regmaps π
no cap, that's it. it unlocks the mutex. the one the regmaps use. iconic behaviour, honestly.
β¨ SYNOPSIS β¨
void rtl83xx_unlock (void *ctx );
returns nothing, takes one pointer, does exactly one thing. main character with zero side quests, we love to see it π«Ά
π¦ ARGUMENTS π¦
ctxβ therealtek_privpointer, bestie. that's the whole argument. hand it over and let the function cook π
π DESCRIPTION π
so here's the tea β: this function unlocks the lock that was acquired by rtl83xx_lock. that's the entire plot. rtl83xx_lock grabs it, rtl83xx_unlock releases it β they're giving matched set energy, the way that they're literally a pair ππ
π₯ CONTEXT π₯
it releases the priv->map_lock lock. that's the lock. that's the one. slay π
π RETURN π
nothing π not void-ish nothing in a shady way, just genuinely returns nothing. it's giving "my job here is done" energy, periodt.
π SEE ALSO π
- the kernel file
./drivers/net/dsa/realtek/rtl83xx.cβ go read it, iykyk π rtl83xx_lock(9)β the one that takes the lock this one gives back π«Άrtl83xx_setup_user_mdio(9)rtl83xx_probe(9)rtl83xx_register_switch(9)rtl83xx_unregister_switch(9)rtl83xx_shutdown(9)rtl83xx_remove(9)rtl83xx_port_bridge_join(9)rtl83xx_port_bridge_leave(9)rtl83xx_port_fast_age(9)rtl83xx_port_fdb_add(9)rtl83xx_port_fdb_del(9)rtl83xx_port_fdb_dump(9)rtl83xx_port_mdb_add(9)rtl83xx_port_mdb_del(9)rtl83xx_port_bridge_flags(9)rtl83xx_setup_port_flood_control(9)
like, the whole friend group fr fr π
ok that's the page!! mwah π this gem comes to you from./drivers/net/dsa/realtek, dated October 2026, and it'srtl83xx_unlock(9)β go forth and unlock responsibly, bestie πβ
π¦ 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