scsi_is_sas_rphy(9)
πΈ 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:
sas_remove_children(9)sas_remove_host(9)sas_get_address(9)sas_tlr_supported(9)sas_disable_tlr(9)sas_enable_tlr(9)sas_ata_ncq_prio_supported(9)sas_phy_alloc(9)sas_phy_add(9)sas_phy_free(9)sas_phy_delete(9)scsi_is_sas_phy(9)sas_port_alloc(9)sas_port_alloc_num(9)sas_port_add(9)sas_port_free(9)sas_port_delete(9)scsi_is_sas_port(9)sas_port_get_phy(9)sas_port_add_phy(9)sas_port_delete_phy(9)sas_rphy_initialize(9)sas_end_device_alloc(9)sas_expander_alloc(9)sas_rphy_add(9)sas_rphy_free(9)sas_rphy_delete(9)sas_rphy_unlink(9)sas_rphy_remove(9)sas_attach_transport(9)sas_release_transport(9)
Mwah π β source/version: ./drivers/scsi, date: October 2026. Bye bestie, go check those devices! π«Άβ¨
π¦ 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