Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/platform/x86/intel/pmt/
Dclass.c144 struct resource *disc_res) in intel_pmt_populate_entry() argument
171 entry->base_addr = disc_res->end + 1 + header->base_offset; in intel_pmt_populate_entry()
186 if (disc_res->start >= pci_resource_start(pci_dev, i) && in intel_pmt_populate_entry()
187 (disc_res->start <= pci_resource_end(pci_dev, i))) { in intel_pmt_populate_entry()
289 struct resource *disc_res; in intel_pmt_dev_create() local
292 disc_res = platform_get_resource(pdev, IORESOURCE_MEM, idx); in intel_pmt_dev_create()
293 if (!disc_res) in intel_pmt_dev_create()
304 ret = intel_pmt_populate_entry(entry, &header, &pdev->dev, disc_res); in intel_pmt_dev_create()