mv_save_cached_regs(9)
β¨ NAME β¨
okay so bestie, welcome to mv_save_cached_regs from the Kernel API Manual (section 9) π
β this page is literally about how to (re-)initialize cached port registers. That's the whole name, no cap:
mv_save_cached_regs β (re-)initialize cached port registers
πΈ SYNOPSIS πΈ
void mv_save_cached_regs (struct ata_port *ap );
π ARGUMENTS π
apβ the port whose registers we are caching π«Ά
π DESCRIPTION π
So the vibe is: initialize the local cache of port registers, so that reading them over and over again can be avoided on the hotter paths of this driver π₯. It saves a few microseconds each time we switch to/from EDMA mode to perform (eg.) a drive cache flush β.
π¦ SEE ALSO π¦
Kernel file ./drivers/ata/sata_mv.c β and the whole squad is here π:
mv_write_cached_reg(9),mv_stop_edma_engine(9),mv_port_start(9),mv_port_stop(9),mv_fill_sg(9),mv_sff_irq_clear(9)mv_check_atapi_dma(9),mv_bmdma_setup(9),mv_bmdma_start(9),mv_bmdma_stop_ap(9),mv_bmdma_status(9)mv_qc_prep(9),mv_qc_prep_iie(9),mv_sff_check_status(9),mv_send_fis(9),mv_qc_issue_fis(9),mv_qc_issue(9)mv_err_intr(9),mv_host_intr(9),mv_interrupt(9),mv_port_init(9),mv_init_host(9)mv_platform_probe(9),mv_print_info(9),mv_pci_init_one(9)
mwah π β that's the tea from ./drivers/ata, dated October 2026, for mv_save_cached_regs(9).
π¦ 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