Lines Matching full:entry

112 	/* entry must be first member of struct */
113 struct intel_pmt_entry entry; member
120 struct crashlog_entry entry[]; member
131 struct intel_pmt_entry *entry = &crashlog->entry; in pmt_crashlog_rmw() local
132 u32 reg = readl(entry->disc_table + control->offset); in pmt_crashlog_rmw()
141 writel(reg, entry->disc_table + control->offset); in pmt_crashlog_rmw()
148 u32 reg = readl(crashlog->entry.disc_table + status->offset); in pmt_crashlog_rc()
165 static bool pmt_crashlog_supported(struct intel_pmt_entry *entry, u32 *crash_type, u32 *version) in pmt_crashlog_supported() argument
167 u32 discovery_header = readl(entry->disc_table + CONTROL_OFFSET); in pmt_crashlog_supported()
499 static int pmt_crashlog_header_decode(struct intel_pmt_entry *entry, in pmt_crashlog_header_decode() argument
502 void __iomem *disc_table = entry->disc_table; in pmt_crashlog_header_decode()
503 struct intel_pmt_header *header = &entry->header; in pmt_crashlog_header_decode()
508 if (!pmt_crashlog_supported(entry, &type, &version)) in pmt_crashlog_header_decode()
512 crashlog = container_of(entry, struct crashlog_entry, entry); in pmt_crashlog_header_decode()
524 entry->attr_grp = crashlog->info->attr_grp; in pmt_crashlog_header_decode()
545 struct crashlog_entry *crashlog = &priv->entry[i]; in pmt_crashlog_remove()
547 intel_pmt_dev_destroy(&crashlog->entry, &pmt_crashlog_ns); in pmt_crashlog_remove()
560 size = struct_size(priv, entry, intel_vsec_dev->num_resources); in pmt_crashlog_probe()
568 struct intel_pmt_entry *entry = &priv->entry[priv->num_entries].entry; in pmt_crashlog_probe() local
570 ret = intel_pmt_dev_create(entry, &pmt_crashlog_ns, intel_vsec_dev, i); in pmt_crashlog_probe()