__mpi3mr_get...ddr_and_rphy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… __mpi3mr_get...ddr_and_rphy(9) β€” Kernel API Manual, bestie edition πŸ’…

okay so like… you found yourself in the kernel API manual, specifically the __mpi3mr_get...ddr_and_rphy(9) page, and honestly? iconic of you. this is the deep-lore corner of the docs and i'm here to make it make sense. no cap. 🫢


✨ NAME ✨

__mpi3mr_get_tgtdev_by_addr_and_rphy β€” target device search. that's it, that's the whole vibe. it's a lookup girlie. she finds things. πŸ”


🌸 SYNOPSIS 🌸

struct mpi3mr_tgt_dev * __mpi3mr_get_tgtdev_by_addr_and_rphy (struct
mpi3mr_ioc *mrioc , u64 sas_address , struct sas_rphy *rphy );

three things go in, one pointer comes out. very demure, very mindful. πŸŽ€


πŸ’– ARGUMENTS πŸ’–

  • mrioc β€” the adapter instance reference. like, which controller are we even talking about, bestie? this one. πŸ¦‹
  • sas_address β€” the SAS address of the device. it's a u64, it's the device's little name tag at the party. ⭐
  • rphy β€” the SAS transport layer rphy object. yes, that rphy. the transport-layer one. πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

so what does she do? she searches for the target device using the SAS address and the rphy pointer together β€” both of them, not just one, we're thorough here πŸ’… β€” and then she returns the mpi3mr_tgt_dev object. like a bestie who knows exactly which group chat you mean. the way that lookup just works. periodt. ✨


🌈 RETURN 🌈

either a valid tget_dev or NULL. that's the whole range. she either found your device or she didn't, and she's not gonna sugarcoat it. 😭

ngl, if you get NULL back, that's your answer: nothing matched. no extra credit, no consolation prize. πŸ’€

🧚 SEE ALSO 🧚

the kernel file in question lives at ./drivers/scsi/mpi3mr/mpi3mr_transport.c πŸ“ and here's the whole extended friend group, all of them, no one left out:


and that's the page, bestie πŸ’œ mwah πŸ’‹

this lil artifact comes from ./drivers/scsi/mpi3mr, dated October 2026, and it's filed under the manual name __mpi3mr_get...ddr_and_rphy(9) β€” go off, you gorgeous lil kernel doc. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from