pm8001_phy_control(9)
π pm8001_phy_control(9) π
okay so bestie, welcome to the Kernel API Manual β¨ this one's a lil niche but we're gonna slay it together, mkay?
πΈ NAME πΈ
pm8001_phy_control β so like, here's the tea β: this function should be registered to sas_domain_function_template so it can provide libsas used. and likeβ¦ note: it's just controlling the HBA phy, not other expander phy. if you wanna control other phy, you should use the SMP command instead. iykyk π
β¨ SYNOPSIS β¨
int pm8001_phy_control (struct asd_sas_phy *sas_phy , enum phy_func func
, void *funcdata );
π ARGUMENTS π
sas_phyβ which phy in HBA phys, bestie. like which one we're talking to π«Άfuncβ the operation. the vibe check of what we're actually doing π«funcdataβ alwaysNULL. that's it. that's the whole story π
π¦ SEE ALSO π¦
okay so the kernel file is ./drivers/scsi/pm8001/pm8001_sas.c and here's the whole squad of related functions β go say hi π:
pm8001_find_tag(9), pm8001_tag_free(9), pm8001_tag_alloc(9), pm8001_mem_alloc(9), pm8001_find_ha_by_dev(9), pm8001_scan_start(9), pm8001_task_prep_smp(9), pm8001_task_prep_ata(9), pm8001_task_prep_internal_abort(9), pm8001_task_prep_ssp_tm(9), pm8001_task_prep_ssp(9), pm8001_queue_command(9), pm8001_ccb_task_free(9), pm8001_alloc_dev(9), pm8001_find_dev(9), pm8001_dev_found_notify(9), pm8001_dev_gone_notify(9), pm8001_I_T_nexus_reset(9)
and that's the whole page, bestie β go forth and control those HBA phys π
this lil baddie lives in ./drivers/scsi/pm8001 and it was dated October 2026 β periodt, no cap, the source line ate and left no crumbs ππ
π¦ 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