iosf_mbi_write(9)
π NAME π
Hiii bestie!! Welcome to the Kernel API Manual page for iosf_mbi_write β aka the MailBox unmasked write command. π This is the lil' function that writes stuff into a mailbox register, and yes, it's giving main character energy. β¨
β¨ SYNOPSIS β¨
int iosf_mbi_write (u8 port , u8 opcode , u32 offset , u32 mdr );
π¦ ARGUMENTS π¦
portβ the port indicating which subunit is being accessed. It's literally telling you where the vibe check is happening. πopcodeβ the port specific read or write opcode. Port-specific, iykyk. πoffsetβ the register address offset. Basically the address-y address of the register. πmdrβ the register data to be written. This is the actual data going into the register, no cap. πΎ
πΈ DESCRIPTION πΈ
Locking is handled by a spinlock β and it cannot sleep. Like, cannot sleep, periodt. ππ΄ So don't be out here dreaming of snoozing inside this thing.
Locking is handled by spinlock - cannot sleep. Fr fr, do not even try it. π«π€
π RETURN π
Nonzero on error. That's the whole return vibe β if something goes wrong, you get a nonzero value back. ππ
π SEE ALSO π
- Kernel file:
./arch/x86/include/asm/iosf_mbi.hπ§ iosf_mbi_read(9)iosf_mbi_modify(9)iosf_mbi_punit_acquire(9)iosf_mbi_punit_release(9)iosf_mbi_block_punit_i2c_access(9)iosf_mbi_register_pmic_bus_access_notifier(9)iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(9)iosf_mbi_assert_punit_acquired(9)
mwah π this lil' page comes from ./arch/x86/include/asm, dated October 2026, and it's all about iosf_mbi_write(9) β bye bestie, slay your kernel adventures! π«Άπ
π¦ 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