mpt3sas_base_get_iocstate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual corner for mpt3sas_base_get_iocstate(9) πŸ’… this one is short and sweet: it's literally the function that gets the current state of a MPT adapter. no cap.

πŸ’– NAME πŸ’–

mpt3sas_base_get_iocstate β€” Get the current state of a MPT adapter.

✨ SYNOPSIS ✨

here's the exact signature, copied with love and zero edits:

u32 mpt3sas_base_get_iocstate (struct MPT3SAS_ADAPTER *ioc , int cooked
);

yes, ioc and cooked are the whole vibe. iconic.

πŸŽ€ ARGUMENTS πŸŽ€

  • ioc β€” Pointer to MPT_ADAPTER structure. yes, MPT_ADAPTER exactly as written, don't come for me πŸ™ˆ
  • cooked β€” Request raw or cooked IOC state. raw or cooked, pick your fighter ✨

πŸ”₯ RETURN πŸ”₯

if cooked==0, you get all IOC Doorbell register bits πŸ‘‘ otherwise you get just the Doorbell bits in MPI_IOC_STATE_MASK. periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

the friend group is huge and honestly iconic. first up, the kernel file:

  • ./drivers/scsi/mpt3sas/mpt3sas_base.c

and now the whole squad, no skips, no cuts:


that's the whole page, bestie 🫢 source/version: ./drivers/scsi/mpt3sas, date: October 2026, and the page is mpt3sas_base_get_iocstate(9). mwah πŸ’‹

πŸ“¦ where this page comes from