isst_store_cmd(9)
π isst_store_cmd(9) β the kernel API manual, but make it make sense
okay so bestie, welcome to the isst_store_cmd page β¨ this one lives in the Kernel API Manual, section 9, and honestly? it's short, it's sweet, and it's about to be your new fave little hash-table helper. no cap. π
β¨ NAME β¨
isst_store_cmd β store a command into a hash table ποΈπ
like, literally just yeet the command into the hash table. that's the whole vibe.
πΈ SYNOPSIS πΈ
int isst_store_cmd (int cmd , int sub_cmd , u32 cpu , int mbox_cmd_type
, u32 param , u64 data );
six args, one int coming back at you. she's compact, she's focused, she knows what she wants π«Ά
π¦ ARGUMENTS π¦
okay so here's the roster, no skips, no cuts π
cmdβ the Mailbox command. this is the main character of the whole call tbh πsub_cmdβ the Mailbox sub-command or the MSR id. yes, it's giving dual purpose. iykyk πcpuβ the target CPU for the command. gotta know which cpu we're talking to, fr fr π―mbox_cmd_typeβ tells you whether this is a Mailbox command or an MSR command. pick a lane bestie πparamβ the Mailbox parameter πdataβ the Mailbox request data or the MSR data. again with the either/or, she contains multitudes β¨
π DESCRIPTION π
here's the tea β β isst_store_cmd stores the command into a hash table if there's no such command already stored. so if it's new, it goes in. simple. iconic. π
but if the command is already stored? then it just updates the latest parameter and data for that command. no duplicate entries, no drama, just a glow-up on the existing one π₯
so basically: first time β insert. next time β update. she's efficient like that π§
β RETURN β
the return value is the result of the store to the hash table:
0β success, we ate πβ- others β failure ππ
that's it, that's the whole return contract. 0 is the good one, everything else is a no from her π
π SEE ALSO π
- Kernel file:
./drivers/platform/x86/intel/speed_select_if/isst_if_common.cβ go read the source bestie, it's right there π isst_resume_common(9)isst_if_mbox_cmd_invalid(9)isst_if_mbox_cmd_set_req(9)isst_if_get_pci_dev(9)isst_if_cdev_register(9)isst_if_cdev_unregister(9)
the whole friend group, all linked above β go say hi to the rest of the isst_if_* girlies π«ΆπΈ
okay that's the page!! mwah π this came to you straight from ./drivers/platform/x86/intel/s... (you know the file, the one up there β¬οΈ) and it's dated October 2026, so mark your calendar bestie ποΈβ¨ bye now, go store some commands responsibly π¦π
π¦ 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