STRUCT ACP_HW_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

struct acp_hw_ops β€” ACP PCI driver platform specific ops. Okay so this is the Kernel API Manual page for struct acp_hw_ops(9), and it's literally giving β€œplatform-specific operations for the ACP PCI driver” energy. πŸ’…

✨ SYNOPSIS ✨

Bestie, here's the struct exactly as it shows up, no cap:

       struct acp_hw_ops {
           int (*acp_init)(void __iomem *acp_base, struct device *dev);
           int (*acp_deinit)(void __iomem *acp_base, struct device *dev);
           void (*acp_get_config)(struct pci_dev *pci, struct acp63_dev_data
       *acp_data);
           void (*acp_sdw_dma_irq_thread)(struct acp63_dev_data *acp_data);
           int (*acp_suspend)(struct device *dev);
           int (*acp_resume)(struct device *dev);
           int (*acp_suspend_runtime)(struct device *dev);
           int (*acp_resume_runtime)(struct device *dev);
        };

πŸ‘‘ Members πŸ‘‘

Okay so these are the function pointers inside the struct β€” every single one, periodt:

  • acp_init β€” ACP initialization ✨
  • acp_deinit β€” ACP de-initialization 🧹
  • acp_get_config β€” function to read the acp pin configuration πŸ“Œ
  • acp_sdw_dma_irq_thread β€” ACP SoundWire DMA interrupt thread 🎧
  • acp_suspend β€” ACP system level suspend callback 😴
  • acp_resume β€” ACP system level resume callback 🌀️
  • acp_suspend_runtime β€” ACP runtime suspend callback ⏸️
  • acp_resume_runtime β€” ACP runtime resume callback ▢️

🌈 SEE ALSO 🌈

  • Kernel file ./sound/soc/amd/ps/acp63.h β€” plus struct acp63_dev_data(9), iykyk πŸ¦‹

And that's the whole page, bestie! This cutie came from the Kernel API Manual, source ./sound/soc/amd/ps, dated October 2026, and it's literally struct acp_hw_ops(9). πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from