Lines Matching refs:driver
49 driver); in tifm_bus_match()
75 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_probe()
76 driver); in tifm_device_probe()
80 if (dev->driver && drv->probe) { in tifm_device_probe()
97 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_remove()
98 driver); in tifm_device_remove()
100 if (dev->driver && drv->remove) { in tifm_device_remove()
104 sock->dev.driver = NULL; in tifm_device_remove()
116 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_suspend()
117 driver); in tifm_device_suspend()
119 if (dev->driver && drv->suspend) in tifm_device_suspend()
127 struct tifm_driver *drv = container_of(dev->driver, struct tifm_driver, in tifm_device_resume()
128 driver); in tifm_device_resume()
130 if (dev->driver && drv->resume) in tifm_device_resume()
320 drv->driver.bus = &tifm_bus_type; in tifm_register_driver()
322 return driver_register(&drv->driver); in tifm_register_driver()
328 driver_unregister(&drv->driver); in tifm_unregister_driver()