Home
last modified time | relevance | path

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

/drivers/platform/x86/intel/
Dvsec.c131 struct intel_vsec_device *intel_vsec_dev = dev_to_ivdev(dev); in intel_vsec_dev_release() local
133 xa_erase(&auxdev_array, intel_vsec_dev->id); in intel_vsec_dev_release()
136 ida_free(intel_vsec_dev->ida, intel_vsec_dev->auxdev.id); in intel_vsec_dev_release()
139 kfree(intel_vsec_dev->resource); in intel_vsec_dev_release()
140 kfree(intel_vsec_dev); in intel_vsec_dev_release()
144 struct intel_vsec_device *intel_vsec_dev, in intel_vsec_add_aux() argument
147 struct auxiliary_device *auxdev = &intel_vsec_dev->auxdev; in intel_vsec_add_aux()
150 ret = xa_alloc(&auxdev_array, &intel_vsec_dev->id, intel_vsec_dev, in intel_vsec_add_aux()
153 kfree(intel_vsec_dev->resource); in intel_vsec_add_aux()
154 kfree(intel_vsec_dev); in intel_vsec_add_aux()
[all …]
Dvsec.h47 struct intel_vsec_device *intel_vsec_dev,
/drivers/platform/x86/intel/pmt/
Dtelemetry.c105 struct intel_vsec_device *intel_vsec_dev = auxdev_to_ivdev(auxdev); in pmt_telem_probe() local
110 size = struct_size(priv, entry, intel_vsec_dev->num_resources); in pmt_telem_probe()
117 for (i = 0; i < intel_vsec_dev->num_resources; i++) { in pmt_telem_probe()
120 ret = intel_pmt_dev_create(entry, &pmt_telem_ns, intel_vsec_dev, i); in pmt_telem_probe()
Dcrashlog.c272 struct intel_vsec_device *intel_vsec_dev = auxdev_to_ivdev(auxdev); in pmt_crashlog_probe() local
277 size = struct_size(priv, entry, intel_vsec_dev->num_resources); in pmt_crashlog_probe()
284 for (i = 0; i < intel_vsec_dev->num_resources; i++) { in pmt_crashlog_probe()
287 ret = intel_pmt_dev_create(entry, &pmt_crashlog_ns, intel_vsec_dev, i); in pmt_crashlog_probe()
Dclass.c306 struct intel_vsec_device *intel_vsec_dev, int idx) in intel_pmt_dev_create() argument
308 struct device *dev = &intel_vsec_dev->auxdev.dev; in intel_pmt_dev_create()
313 disc_res = &intel_vsec_dev->resource[idx]; in intel_pmt_dev_create()