scsi_is_sas_rphy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay bestie, welcome to the scsi_is_sas_rphy(9) page from the Kernel API Manual β€” and it's lowkey here to answer one tiny iconic question: check if a struct device represents a SAS remote PHY. That's the whole assignment, no cap. πŸ’…


✨ SYNOPSIS ✨

The signature is exactly this, bestie β€” yes, keep the spacing:

int scsi_is_sas_rphy (const struct device *dev );

It's giving β€œsmall function, big main character energy.” πŸ¦‹


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device to check. That's the one and only argument, periodt. πŸ’–

πŸ”₯ RETURN πŸ”₯

1 if the device represents a SAS remote PHY, 0 else. Literally binary, bestie β€” no in-between, no maybes, no β€œit depends.” ✨


πŸ¦‹ SEE ALSO πŸ¦‹

Okay so this page chills in the Kernel file ./drivers/scsi/scsi_transport_sas.c, and it rolls with a whole squad of linked besties. Obsessed with this friend group, honestly:

Mwah πŸ’– β€” source/version: ./drivers/scsi, date: October 2026. Bye bestie, go check those devices! 🫢✨

πŸ“¦ where this page comes from