Home
last modified time | relevance | path

Searched refs:disc_table (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/platform/x86/intel/pmt/
H A Dcrashlog.c67 u32 control = readl(entry->disc_table + CONTROL_OFFSET); in pmt_crashlog_complete()
75 u32 control = readl(entry->disc_table + CONTROL_OFFSET); in pmt_crashlog_disabled()
99 u32 control = readl(entry->disc_table + CONTROL_OFFSET); in pmt_crashlog_set_disable()
109 writel(control, entry->disc_table + CONTROL_OFFSET); in pmt_crashlog_set_disable()
114 u32 control = readl(entry->disc_table + CONTROL_OFFSET); in pmt_crashlog_set_clear()
119 writel(control, entry->disc_table + CONTROL_OFFSET); in pmt_crashlog_set_clear()
129 writel(control, entry->disc_table + CONTROL_OFFSET); in pmt_crashlog_set_execute()
229 void __iomem *disc_table = entry->disc_table; in pmt_crashlog_header_decode() local
239 header->access_type = GET_ACCESS(readl(disc_table)); in pmt_crashlog_header_decode()
240 header->guid = readl(disc_table + GUID_OFFSET); in pmt_crashlog_header_decode()
[all …]
H A Dtelemetry.c47 u32 guid = readl(entry->disc_table + TELEM_GUID_OFFSET); in pmt_telem_region_overlaps()
50 u32 type = TELEM_TYPE(readl(entry->disc_table)); in pmt_telem_region_overlaps()
64 void __iomem *disc_table = entry->disc_table; in pmt_telem_header_decode() local
69 header->access_type = TELEM_ACCESS(readl(disc_table)); in pmt_telem_header_decode()
70 header->guid = readl(disc_table + TELEM_GUID_OFFSET); in pmt_telem_header_decode()
71 header->base_offset = readl(disc_table + TELEM_BASE_OFFSET); in pmt_telem_header_decode()
74 header->size = TELEM_SIZE(readl(disc_table)); in pmt_telem_header_decode()
H A Dclass.c314 entry->disc_table = devm_ioremap_resource(dev, disc_res); in intel_pmt_dev_create()
315 if (IS_ERR(entry->disc_table)) in intel_pmt_dev_create()
316 return PTR_ERR(entry->disc_table); in intel_pmt_dev_create()
H A Dclass.h24 void __iomem *disc_table; member
/openbmc/linux/drivers/platform/x86/intel/
H A Dsdsi.c99 struct disc_table { struct
547 static int sdsi_get_layout(struct sdsi_priv *priv, struct disc_table *table) in sdsi_get_layout()
566 struct disc_table *disc_table, struct resource *disc_res) in sdsi_map_mbox_registers() argument
568 u32 access_type = FIELD_GET(DT_ACCESS_TYPE, disc_table->access_info); in sdsi_map_mbox_registers()
569 u32 size = FIELD_GET(DT_SIZE, disc_table->access_info); in sdsi_map_mbox_registers()
570 u32 tbir = FIELD_GET(DT_TBIR, disc_table->offset); in sdsi_map_mbox_registers()
571 u32 offset = DT_OFFSET(disc_table->offset); in sdsi_map_mbox_registers()
617 struct disc_table disc_table; in sdsi_probe() local
637 memcpy_fromio(&disc_table, disc_addr, DISC_TABLE_SIZE); in sdsi_probe()
639 priv->guid = disc_table.guid; in sdsi_probe()
[all …]