Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/hwtracing/intel_th/
Dcore.c31 struct intel_th_driver *thdrv = to_intel_th_driver(driver); in intel_th_match() local
35 (!thdrv->enable || !thdrv->disable)) in intel_th_match()
50 struct intel_th_driver *thdrv = to_intel_th_driver(dev->driver); in intel_th_probe() local
70 ret = thdrv->probe(to_intel_th_device(dev)); in intel_th_probe()
74 if (thdrv->attr_group) { in intel_th_probe()
75 ret = sysfs_create_group(&thdev->dev.kobj, thdrv->attr_group); in intel_th_probe()
87 thdrv->remove(thdev); in intel_th_probe()
100 struct intel_th_driver *thdrv = to_intel_th_driver(dev->driver); in intel_th_remove() local
148 if (thdrv->attr_group) in intel_th_remove()
149 sysfs_remove_group(&thdev->dev.kobj, thdrv->attr_group); in intel_th_remove()
[all …]
Dintel_th.h234 int intel_th_driver_register(struct intel_th_driver *thdrv);
235 void intel_th_driver_unregister(struct intel_th_driver *thdrv);