drivers/platform/x86/intel/int1092/intel_sar.h
Source file repositories/reference/linux-study-clean/drivers/platform/x86/intel/int1092/intel_sar.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/platform/x86/intel/int1092/intel_sar.h- Extension
.h- Size
- 2684 bytes
- Lines
- 87
- Domain
- Driver Families
- Bucket
- drivers/platform
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
struct wwan_device_mode_infostruct wwan_device_mode_configurationstruct wwan_supported_infostruct wwan_sar_context
Annotated Snippet
struct wwan_device_mode_info {
int device_mode;
int bandtable_index;
int antennatable_index;
int sartable_index;
};
/**
* Structure wwan_device_mode_configuration - device configuration
* Holds the data that is configured and obtained on probe event.
* The data is updated from the BIOS sensor information.
* @version: Mode configuration version
* @total_dev_mode: Total number of device modes
* @device_mode_info: pointer to structure wwan_device_mode_info
*/
struct wwan_device_mode_configuration {
int version;
int total_dev_mode;
struct wwan_device_mode_info *device_mode_info;
};
/**
* Structure wwan_supported_info - userspace datastore
* Holds the data that is obtained from userspace
* The data is updated from the userspace and send value back in the
* structure format that is mentioned here.
* @reg_mode_needed: regulatory mode set by user for tests
* @bios_table_revision: Version of SAR table
* @num_supported_modes: Total supported modes based on reg_mode
*/
struct wwan_supported_info {
int reg_mode_needed;
int bios_table_revision;
int num_supported_modes;
};
/**
* Structure wwan_sar_context - context of SAR
* Holds the complete context as long as the driver is in existence
* The context holds instance of the data used for different cases.
* @guid: Group id
* @handle: store acpi handle
* @reg_value: regulatory value
* Regulatory 0: FCC, 1: CE, 2: ISED
* @sar_device: platform_device type
* @sar_kobject: kobject for sysfs
* @supported_data: wwan_supported_info struct
* @sar_data: wwan_device_mode_info struct
* @config_data: wwan_device_mode_configuration array struct
*/
struct wwan_sar_context {
guid_t guid;
acpi_handle handle;
int reg_value;
struct platform_device *sar_device;
struct wwan_supported_info supported_data;
struct wwan_device_mode_info sar_data;
struct wwan_device_mode_configuration config_data[MAX_REGULATORY];
};
#endif /* INTEL_SAR_H */
Annotation
- Detected declarations: `struct wwan_device_mode_info`, `struct wwan_device_mode_configuration`, `struct wwan_supported_info`, `struct wwan_sar_context`.
- Atlas domain: Driver Families / drivers/platform.
- 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.