Lines Matching full:subsystem

55  * struct minidump_subsystem - Subsystem's SMEM Table of content
56 * @status : Subsystem toc init status
58 * @encryption_status: Encryption status for this subsystem
59 * @encryption_required : Decides to encrypt the subsystem regions or not
60 * @region_count : Number of regions added in this subsystem toc
61 * @regions_baseptr : regions base pointer of the subsystem
106 static int qcom_add_minidump_segments(struct rproc *rproc, struct minidump_subsystem *subsystem, in qcom_add_minidump_segments() argument
122 seg_cnt = le32_to_cpu(subsystem->region_count); in qcom_add_minidump_segments()
123 ptr = ioremap((unsigned long)le64_to_cpu(subsystem->regions_baseptr), in qcom_add_minidump_segments()
152 struct minidump_subsystem *subsystem; in qcom_minidump() local
164 /* Get subsystem table of contents using the minidump id */ in qcom_minidump()
165 subsystem = &toc->subsystems[minidump_id]; in qcom_minidump()
171 if (subsystem->regions_baseptr == 0 || in qcom_minidump()
172 le32_to_cpu(subsystem->status) != 1 || in qcom_minidump()
173 le32_to_cpu(subsystem->enabled) != MINIDUMP_SS_ENABLED) { in qcom_minidump()
177 if (le32_to_cpu(subsystem->encryption_status) != MINIDUMP_SS_ENCR_DONE) { in qcom_minidump()
188 ret = qcom_add_minidump_segments(rproc, subsystem, rproc_dumpfn_t); in qcom_minidump()
391 * @name: Subsystem's SSR name
392 * @nb: notifier_block to be invoked upon subsystem's state change
399 * Return: a subsystem cookie on success, ERR_PTR on failure.
417 * @notify: subsystem cookie returned from qcom_register_ssr_notifier