thdrv 31 drivers/hwtracing/intel_th/core.c struct intel_th_driver *thdrv = to_intel_th_driver(driver); thdrv 35 drivers/hwtracing/intel_th/core.c (!thdrv->enable || !thdrv->disable)) thdrv 50 drivers/hwtracing/intel_th/core.c struct intel_th_driver *thdrv = to_intel_th_driver(dev->driver); thdrv 70 drivers/hwtracing/intel_th/core.c ret = thdrv->probe(to_intel_th_device(dev)); thdrv 74 drivers/hwtracing/intel_th/core.c if (thdrv->attr_group) { thdrv 75 drivers/hwtracing/intel_th/core.c ret = sysfs_create_group(&thdev->dev.kobj, thdrv->attr_group); thdrv 87 drivers/hwtracing/intel_th/core.c thdrv->remove(thdev); thdrv 100 drivers/hwtracing/intel_th/core.c struct intel_th_driver *thdrv = to_intel_th_driver(dev->driver); thdrv 146 drivers/hwtracing/intel_th/core.c if (thdrv->attr_group) thdrv 147 drivers/hwtracing/intel_th/core.c sysfs_remove_group(&thdev->dev.kobj, thdrv->attr_group); thdrv 151 drivers/hwtracing/intel_th/core.c thdrv->remove(thdev); thdrv 220 drivers/hwtracing/intel_th/core.c struct intel_th_driver *thdrv = thdrv 225 drivers/hwtracing/intel_th/core.c if (!thdrv) thdrv 228 drivers/hwtracing/intel_th/core.c if (!try_module_get(thdrv->driver.owner)) thdrv 238 drivers/hwtracing/intel_th/core.c if (thdrv->activate) thdrv 239 drivers/hwtracing/intel_th/core.c ret = thdrv->activate(thdev); thdrv 254 drivers/hwtracing/intel_th/core.c module_put(thdrv->driver.owner); thdrv 261 drivers/hwtracing/intel_th/core.c struct intel_th_driver *thdrv = thdrv 265 drivers/hwtracing/intel_th/core.c if (!thdrv) thdrv 268 drivers/hwtracing/intel_th/core.c if (thdrv->deactivate) thdrv 269 drivers/hwtracing/intel_th/core.c thdrv->deactivate(thdev); thdrv 277 drivers/hwtracing/intel_th/core.c module_put(thdrv->driver.owner); thdrv 337 drivers/hwtracing/intel_th/core.c int intel_th_driver_register(struct intel_th_driver *thdrv) thdrv 339 drivers/hwtracing/intel_th/core.c if (!thdrv->probe || !thdrv->remove) thdrv 342 drivers/hwtracing/intel_th/core.c thdrv->driver.bus = &intel_th_bus; thdrv 344 drivers/hwtracing/intel_th/core.c return driver_register(&thdrv->driver); thdrv 348 drivers/hwtracing/intel_th/core.c void intel_th_driver_unregister(struct intel_th_driver *thdrv) thdrv 350 drivers/hwtracing/intel_th/core.c driver_unregister(&thdrv->driver); thdrv 791 drivers/hwtracing/intel_th/core.c struct intel_th_driver *thdrv; thdrv 799 drivers/hwtracing/intel_th/core.c thdrv = to_intel_th_driver(dev->driver); thdrv 800 drivers/hwtracing/intel_th/core.c fops = fops_get(thdrv->fops); thdrv 229 drivers/hwtracing/intel_th/intel_th.h int intel_th_driver_register(struct intel_th_driver *thdrv); thdrv 230 drivers/hwtracing/intel_th/intel_th.h void intel_th_driver_unregister(struct intel_th_driver *thdrv);