include/linux/hisi_acc_qm.h
Source file repositories/reference/linux-study-clean/include/linux/hisi_acc_qm.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/hisi_acc_qm.h- Extension
.h- Size
- 15898 bytes
- Lines
- 637
- Domain
- Core OS
- Bucket
- Core Kernel Interface
- Inferred role
- Core OS: operation-table or driver-model contract
- Status
- pattern implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Defines an operation table; this is where Linux turns generic core objects into subsystem-specific behavior.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/bitfield.hlinux/debugfs.hlinux/iopoll.hlinux/module.hlinux/pci.h
Detected Declarations
struct qm_dev_algstruct qm_dev_dfxstruct dfx_diff_registersstruct qm_dfxstruct debugfs_filestruct qm_debugstruct qm_shaper_factorstruct qm_dmastruct hisi_qm_statusstruct hisi_qmstruct hisi_qm_err_maskstruct hisi_qm_err_infostruct hisi_qm_err_statusstruct hisi_qm_err_inistruct hisi_qm_cap_infostruct hisi_qm_cap_query_infostruct hisi_qm_cap_recordstruct hisi_qm_cap_tablesstruct hisi_qm_liststruct hisi_qm_poll_datastruct qm_err_isolatestruct qm_rsv_bufstruct qm_channelstruct hisi_qmstruct hisi_qp_statusstruct hisi_qp_opsstruct instance_backlogstruct hisi_qpstruct hisi_acc_sgl_poolenum qm_stop_reasonenum qm_stateenum qp_stateenum qm_hw_verenum qm_fun_typeenum qm_debug_fileenum qm_vf_stateenum qm_misc_ctl_bitsenum qm_cap_bitsenum acc_err_resultfunction vfs_num_setfunction mode_setfunction uacce_mode_setfunction hisi_qm_init_listfunction hisi_qm_add_listfunction hisi_qm_del_list
Annotated Snippet
struct pci_driver *hisi_sec_get_pf_driver(void);
struct pci_driver *hisi_hpre_get_pf_driver(void);
struct pci_driver *hisi_zip_get_pf_driver(void);
#endif
Annotation
- Immediate include surface: `linux/bitfield.h`, `linux/debugfs.h`, `linux/iopoll.h`, `linux/module.h`, `linux/pci.h`.
- Detected declarations: `struct qm_dev_alg`, `struct qm_dev_dfx`, `struct dfx_diff_registers`, `struct qm_dfx`, `struct debugfs_file`, `struct qm_debug`, `struct qm_shaper_factor`, `struct qm_dma`, `struct hisi_qm_status`, `struct hisi_qm`.
- Atlas domain: Core OS / Core Kernel Interface.
- Implementation status: pattern implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.