Home
last modified time | relevance | path

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

/drivers/platform/x86/intel/
Dvsec.c121 struct intel_vsec_device *intel_vsec_dev = dev_to_ivdev(dev); in intel_vsec_dev_release() local
123 xa_erase(&auxdev_array, intel_vsec_dev->id); in intel_vsec_dev_release()
126 ida_free(intel_vsec_dev->ida, intel_vsec_dev->auxdev.id); in intel_vsec_dev_release()
129 kfree(intel_vsec_dev->resource); in intel_vsec_dev_release()
130 kfree(intel_vsec_dev); in intel_vsec_dev_release()
134 struct intel_vsec_device *intel_vsec_dev, in intel_vsec_add_aux() argument
137 struct auxiliary_device *auxdev = &intel_vsec_dev->auxdev; in intel_vsec_add_aux()
140 ret = xa_alloc(&auxdev_array, &intel_vsec_dev->id, intel_vsec_dev, in intel_vsec_add_aux()
143 kfree(intel_vsec_dev->resource); in intel_vsec_add_aux()
144 kfree(intel_vsec_dev); in intel_vsec_add_aux()
[all …]
Dvsec.h54 struct intel_vsec_device *intel_vsec_dev,
Dtpmi.c336 struct intel_vsec_device *intel_vsec_dev = dev_to_ivdev(auxdev->dev.parent); in tpmi_get_feature_status() local
337 struct intel_tpmi_info *tpmi_info = auxiliary_get_drvdata(&intel_vsec_dev->auxdev); in tpmi_get_feature_status()
/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.c305 struct intel_vsec_device *intel_vsec_dev, int idx) in intel_pmt_dev_create() argument
307 struct device *dev = &intel_vsec_dev->auxdev.dev; in intel_pmt_dev_create()
312 disc_res = &intel_vsec_dev->resource[idx]; in intel_pmt_dev_create()