STRUCT MPT3_IOCTL_PCI_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct mpt3_ioctl_pci_info(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸŽ€ β€” this one's a struct, and honestly? she's cute, she's compact, she's giving "little bitfield that could" energy. Let's get into it πŸ’–


🌸 NAME 🌸

struct mpt3_ioctl_pci_info β€” pci device info πŸ¦‹

and like, here's what all the little members are about, no cap:

  • @device β€” pci device id
  • @function β€” pci function id
  • @bus β€” pci bus id
  • @segment_id β€” pci segment id

✨ SYNOPSIS ✨

okay here's the actual shape of her, verbatim, don't touch, she's perfect πŸ’…

struct mpt3_ioctl_pci_info {
    union {
      struct {
        uint32_t device:5;
        uint32_t function:3;
        uint32_t bus:24;
      } bits;
      uint32_t word;
    } u;
    uint32_t segment_id;
 };

like β€” look at that union. the way she packs device:5, function:3 and bus:24 into a single word?? main character bitfield behaviour fr fr πŸ‘‘ the segment_id gets her own whole uint32_t because she's special πŸ’œ


🧚 Members 🧚

literally the members section. that's it. that's the section. (the deets live up in NAME, bestie β€” go look πŸ‘€)


πŸ”₯ SEE ALSO πŸ”₯

the whole friend group 🫢 go say hi:

  • Kernel file ./drivers/scsi/mpt3sas/mpt3sas_ctl.h
  • struct mpt3_ioctl_header(9)
  • struct mpt3_ioctl_diag_reset(9)
  • struct mpt3_ioctl_iocinfo(9)
  • struct mpt3_ioctl_eventquery(9)
  • struct mpt3_ioctl_eventenable(9)
  • struct MPT3_IOCTL_EVENTS(9)
  • struct mpt3_ioctl_eventreport(9)
  • struct mpt3_ioctl_command(9)
  • struct mpt3_ioctl_btdh_mapping(9)
  • struct mpt3_diag_register(9)
  • struct mpt3_diag_unregister(9)
  • struct mpt3_diag_query(9)
  • struct mpt3_diag_release(9)
  • struct mpt3_diag_read_buffer(9)
  • struct mpt3_addnl_diag_query(9)
  • struct mpt3_enable_diag_sbr_reload(9)
  • struct mpt3_passthru_command(9)

iykyk 😌


ngl there's no EXAMPLES, no RETURN VALUE, no WARNINGS here β€” she's a header struct, she doesn't need all that drama πŸ’€ don't come for me, that's just what the page says.

okay that's the whole thing, you ate that πŸ“ this one lives in ./drivers/scsi/mpt3sas, dated October 2026, and the page itself is struct mpt3_ioctl_pci_info(9) β€” mwah, love u, bye πŸ’‹πŸŒˆ

πŸ“¦ where this page comes from