drivers/soc/qcom/pdr_internal.h
Source file repositories/reference/linux-study-clean/drivers/soc/qcom/pdr_internal.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/soc/qcom/pdr_internal.h- Extension
.h- Size
- 2904 bytes
- Lines
- 104
- Domain
- Driver Families
- Bucket
- drivers/soc
- 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
linux/soc/qcom/pdr.h
Detected Declarations
struct servreg_location_entrystruct servreg_get_domain_list_reqstruct servreg_get_domain_list_respstruct servreg_register_listener_reqstruct servreg_register_listener_respstruct servreg_restart_pd_reqstruct servreg_restart_pd_respstruct servreg_state_updated_indstruct servreg_set_ack_reqstruct servreg_set_ack_respstruct servreg_loc_pfr_reqstruct servreg_loc_pfr_resp
Annotated Snippet
struct servreg_location_entry {
char name[SERVREG_NAME_LENGTH + 1];
u8 service_data_valid;
u32 service_data;
u32 instance;
};
struct servreg_get_domain_list_req {
char service_name[SERVREG_NAME_LENGTH + 1];
u8 domain_offset_valid;
u32 domain_offset;
};
struct servreg_get_domain_list_resp {
struct qmi_response_type_v01 resp;
u8 total_domains_valid;
u16 total_domains;
u8 db_rev_count_valid;
u16 db_rev_count;
u8 domain_list_valid;
u32 domain_list_len;
struct servreg_location_entry domain_list[SERVREG_DOMAIN_LIST_LENGTH];
};
struct servreg_register_listener_req {
u8 enable;
char service_path[SERVREG_NAME_LENGTH + 1];
};
struct servreg_register_listener_resp {
struct qmi_response_type_v01 resp;
u8 curr_state_valid;
enum servreg_service_state curr_state;
};
struct servreg_restart_pd_req {
char service_path[SERVREG_NAME_LENGTH + 1];
};
struct servreg_restart_pd_resp {
struct qmi_response_type_v01 resp;
};
struct servreg_state_updated_ind {
enum servreg_service_state curr_state;
char service_path[SERVREG_NAME_LENGTH + 1];
u16 transaction_id;
};
struct servreg_set_ack_req {
char service_path[SERVREG_NAME_LENGTH + 1];
u16 transaction_id;
};
struct servreg_set_ack_resp {
struct qmi_response_type_v01 resp;
};
struct servreg_loc_pfr_req {
char service[SERVREG_NAME_LENGTH + 1];
char reason[SERVREG_PFR_LENGTH + 1];
};
struct servreg_loc_pfr_resp {
struct qmi_response_type_v01 rsp;
};
extern const struct qmi_elem_info servreg_get_domain_list_req_ei[];
extern const struct qmi_elem_info servreg_get_domain_list_resp_ei[];
extern const struct qmi_elem_info servreg_register_listener_req_ei[];
extern const struct qmi_elem_info servreg_register_listener_resp_ei[];
extern const struct qmi_elem_info servreg_restart_pd_req_ei[];
extern const struct qmi_elem_info servreg_restart_pd_resp_ei[];
extern const struct qmi_elem_info servreg_state_updated_ind_ei[];
extern const struct qmi_elem_info servreg_set_ack_req_ei[];
extern const struct qmi_elem_info servreg_set_ack_resp_ei[];
extern const struct qmi_elem_info servreg_loc_pfr_req_ei[];
extern const struct qmi_elem_info servreg_loc_pfr_resp_ei[];
#endif
Annotation
- Immediate include surface: `linux/soc/qcom/pdr.h`.
- Detected declarations: `struct servreg_location_entry`, `struct servreg_get_domain_list_req`, `struct servreg_get_domain_list_resp`, `struct servreg_register_listener_req`, `struct servreg_register_listener_resp`, `struct servreg_restart_pd_req`, `struct servreg_restart_pd_resp`, `struct servreg_state_updated_ind`, `struct servreg_set_ack_req`, `struct servreg_set_ack_resp`.
- Atlas domain: Driver Families / drivers/soc.
- 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.