Home
last modified time | relevance | path

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

/linux/drivers/platform/x86/intel/
H A Dvsec.c86 struct intel_vsec_device *intel_vsec_dev = dev_to_ivdev(dev); in intel_vsec_dev_release() local
88 xa_erase(&auxdev_array, intel_vsec_dev->id); in intel_vsec_dev_release()
91 ida_free(intel_vsec_dev->ida, intel_vsec_dev->auxdev.id); in intel_vsec_dev_release()
94 kfree(intel_vsec_dev->resource); in intel_vsec_dev_release()
95 kfree(intel_vsec_dev); in intel_vsec_dev_release()
99 struct intel_vsec_device *intel_vsec_dev, in intel_vsec_add_aux() argument
102 struct auxiliary_device *auxdev = &intel_vsec_dev->auxdev; in intel_vsec_add_aux()
108 ret = xa_alloc(&auxdev_array, &intel_vsec_dev->id, intel_vsec_dev, in intel_vsec_add_aux()
111 kfree(intel_vsec_dev->resource); in intel_vsec_add_aux()
112 kfree(intel_vsec_dev); in intel_vsec_add_aux()
[all …]
H A Dtpmi.c343 struct intel_vsec_device *intel_vsec_dev = dev_to_ivdev(auxdev->dev.parent); in tpmi_get_feature_status() local
344 struct intel_tpmi_info *tpmi_info = auxiliary_get_drvdata(&intel_vsec_dev->auxdev); in tpmi_get_feature_status()
361 struct intel_vsec_device *intel_vsec_dev = dev_to_ivdev(auxdev->dev.parent); in tpmi_get_debugfs_dir() local
362 struct intel_tpmi_info *tpmi_info = auxiliary_get_drvdata(&intel_vsec_dev->auxdev); in tpmi_get_debugfs_dir()
/linux/drivers/platform/x86/intel/pmt/
H A 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()
H A Dtelemetry.c290 struct intel_vsec_device *intel_vsec_dev = auxdev_to_ivdev(auxdev); in pmt_telem_probe() local
295 size = struct_size(priv, entry, intel_vsec_dev->num_resources); in pmt_telem_probe()
302 for (i = 0; i < intel_vsec_dev->num_resources; i++) { in pmt_telem_probe()
306 ret = intel_pmt_dev_create(entry, &pmt_telem_ns, intel_vsec_dev, i); in pmt_telem_probe()
H A Dclass.c338 struct intel_vsec_device *intel_vsec_dev, int idx) in intel_pmt_dev_create() argument
340 struct device *dev = &intel_vsec_dev->auxdev.dev; in intel_pmt_dev_create()
344 disc_res = &intel_vsec_dev->resource[idx]; in intel_pmt_dev_create()
354 ret = intel_pmt_populate_entry(entry, intel_vsec_dev, disc_res); in intel_pmt_dev_create()
/linux/include/linux/
H A Dintel_vsec.h127 struct intel_vsec_device *intel_vsec_dev,