include/uapi/scsi/scsi_bsg_mpi3mr.h
Source file repositories/reference/linux-study-clean/include/uapi/scsi/scsi_bsg_mpi3mr.h
File Facts
- System
- Linux kernel
- Corpus path
include/uapi/scsi/scsi_bsg_mpi3mr.h- Extension
.h- Size
- 15560 bytes
- Lines
- 582
- Domain
- Repository Root And Misc
- Bucket
- include
- Inferred role
- Repository Root And Misc: implementation source
- Status
- source implementation candidate
Why This File Exists
Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.h
Detected Declarations
struct mpi3_driver_info_layoutstruct mpi3mr_bsg_in_adpinfostruct mpi3mr_bsg_adp_resetstruct mpi3mr_change_countstruct mpi3mr_device_map_infostruct mpi3mr_all_tgt_infostruct mpi3mr_logdata_enablestruct mpi3mr_bsg_out_pel_enablestruct mpi3mr_logdata_entrystruct mpi3mr_bsg_in_log_datastruct mpi3mr_hdb_entrystruct mpi3mr_bsg_in_hdb_statusstruct mpi3mr_bsg_out_repost_hdbstruct mpi3mr_bsg_out_upload_hdbstruct mpi3mr_bsg_out_refresh_hdb_triggersstruct mpi3mr_bsg_drv_cmdstruct mpi3mr_bsg_in_reply_bufstruct mpi3mr_buf_entrystruct mpi3mr_buf_entry_liststruct mpi3mr_bsg_mptcmdstruct mpi3mr_bsg_packetstruct mpi3_nvme_encapsulated_requeststruct mpi3_nvme_encapsulated_error_replystruct mpi3_scsi_task_mgmt_requeststruct mpi3_scsi_task_mgmt_replyenum command
Annotated Snippet
struct mpi3_driver_info_layout {
__le32 information_length;
__u8 driver_signature[12];
__u8 os_name[16];
__u8 os_version[12];
__u8 driver_name[20];
__u8 driver_version[32];
__u8 driver_release_date[20];
__le32 driver_capabilities;
};
/**
* struct mpi3mr_bsg_in_adpinfo - Adapter information request
* data returned by the driver.
*
* @adp_type: Adapter type
* @rsvd1: Reserved
* @pci_dev_id: PCI device ID of the adapter
* @pci_dev_hw_rev: PCI revision of the adapter
* @pci_subsys_dev_id: PCI subsystem device ID of the adapter
* @pci_subsys_ven_id: PCI subsystem vendor ID of the adapter
* @pci_dev: PCI device
* @pci_func: PCI function
* @pci_bus: PCI bus
* @rsvd2: Reserved
* @pci_seg_id: PCI segment ID
* @app_intfc_ver: version of the application interface definition
* @rsvd3: Reserved
* @rsvd4: Reserved
* @rsvd5: Reserved
* @driver_info: Driver Information (Version/Name)
*/
struct mpi3mr_bsg_in_adpinfo {
__u32 adp_type;
__u32 rsvd1;
__u32 pci_dev_id;
__u32 pci_dev_hw_rev;
__u32 pci_subsys_dev_id;
__u32 pci_subsys_ven_id;
__u32 pci_dev:5;
__u32 pci_func:3;
__u32 pci_bus:8;
__u16 rsvd2;
__u32 pci_seg_id;
__u32 app_intfc_ver;
__u8 adp_state;
__u8 rsvd3;
__u16 rsvd4;
__u32 rsvd5[2];
struct mpi3_driver_info_layout driver_info;
};
/**
* struct mpi3mr_bsg_adp_reset - Adapter reset request
* payload data to the driver.
*
* @reset_type: Reset type
* @rsvd1: Reserved
* @rsvd2: Reserved
*/
struct mpi3mr_bsg_adp_reset {
__u8 reset_type;
__u8 rsvd1;
__u16 rsvd2;
};
/**
* struct mpi3mr_change_count - Topology change count
* returned by the driver.
*
* @change_count: Topology change count
* @rsvd: Reserved
*/
struct mpi3mr_change_count {
__u16 change_count;
__u16 rsvd;
};
/**
* struct mpi3mr_device_map_info - Target device mapping
* information
*
* @handle: Firmware device handle
* @perst_id: Persistent ID assigned by the firmware
* @target_id: Target ID assigned by the driver
* @bus_id: Bus ID assigned by the driver
* @rsvd1: Reserved
* @rsvd2: Reserved
*/
struct mpi3mr_device_map_info {
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct mpi3_driver_info_layout`, `struct mpi3mr_bsg_in_adpinfo`, `struct mpi3mr_bsg_adp_reset`, `struct mpi3mr_change_count`, `struct mpi3mr_device_map_info`, `struct mpi3mr_all_tgt_info`, `struct mpi3mr_logdata_enable`, `struct mpi3mr_bsg_out_pel_enable`, `struct mpi3mr_logdata_entry`, `struct mpi3mr_bsg_in_log_data`.
- Atlas domain: Repository Root And Misc / include.
- Implementation status: source implementation candidate.
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.