hw_event_sata_phy_up(9)
π hw_event_sata_phy_up(9) β like, the Kernel API Manual edition π
okay bestie, buckle up, because this one is a tiny little function with a very big job: it's the moment the firmware slides into your DMs to be like "hey girl, a SATA phy just came up." iconic behavior, honestly. β¨
πΈ NAME πΈ
hw_event_sata_phy_up β FW tells me a SATA phy up event.
(no cap, that's the whole vibe: the firmware is the one doing the telling, and we're just here to hear it π)
π¦ SYNOPSIS π¦
void hw_event_sata_phy_up (struct pm8001_hba_info *pm8001_ha , void
*piomb );
she takes two things and returns absolutely nothing (void), because sometimes the real flex is just showing up and doing the work π
β¨ ARGUMENTS β¨
pm8001_haβ our hba card information π«Ά this is the main character: it's the struct that knows everything about the host bus adapter we're dealing with.piombβ IO message buffer π¨ literally the buffer where the IO message is hanging out. that's it, that's the whole thing.
π SEE ALSO π
bestie the cross-reference list here is long and honestly kind of stunning. every single one of these is in the (9) club, so go read them when you're done here π
the kernel file itself, fr fr:
Kernel file ./drivers/scsi/pm8001/pm80xx_hwi.c
table girlies (reading it in):
read_main_config_table(9)read_general_status_table(9)read_phy_attr_table(9)read_inbnd_queue_table(9)read_outbnd_queue_table(9)
table girlies (setting it up):
init_default_table_values(9)update_main_config_table(9)update_inbnd_queue_table(9)update_outbnd_queue_table(9)
init + ready checks, the whole "are we there yet" arc:
the pm80xx config squad π:
pm80xx_set_thermal_config(9)pm80xx_set_sas_protocol_timer_config(9)pm80xx_get_encrypt_info(9)pm80xx_encrypt_update(9)
chip-level main characters:
pm80xx_chip_init(9)pm80xx_fatal_error_uevent_emit(9)pm80xx_fatal_errors(9)pm80xx_chip_soft_rst(9)pm80xx_chip_interrupt_enable(9)pm80xx_chip_interrupt_disable(9)
completion + ack energy:
phy event siblings (she's not the only one, she's just this one) π¦:
the mpi_*_resp receipts, all of them, slay:
mpi_phy_stop_resp(9)mpi_set_controller_config_resp(9)mpi_get_controller_config_resp(9)mpi_get_phy_profile_resp(9)mpi_flash_op_ext_resp(9)mpi_set_phy_profile_resp(9)mpi_kek_management_resp(9)mpi_dek_management_resp(9)ssp_coalesced_comp_resp(9)
the "process the thing" girlies:
phy start/stop/ctl trio:
and the one who handles the interrupts, the icon herself:
π reminder for the group chat: this page came out of ./drivers/scsi/pm8001, dated October 2026, manual name Kernel API Manual β screenshot it, memorize it, put it on your vision board. periodt. ππ§π
π¦ 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