Lines Matching refs:ssb_drv
130 struct ssb_driver *ssb_drv; in ssb_device_resume() local
134 ssb_drv = drv_to_ssb_drv(dev->driver); in ssb_device_resume()
135 if (ssb_drv && ssb_drv->resume) in ssb_device_resume()
136 err = ssb_drv->resume(ssb_dev); in ssb_device_resume()
147 struct ssb_driver *ssb_drv; in ssb_device_suspend() local
151 ssb_drv = drv_to_ssb_drv(dev->driver); in ssb_device_suspend()
152 if (ssb_drv && ssb_drv->suspend) in ssb_device_suspend()
153 err = ssb_drv->suspend(ssb_dev, state); in ssb_device_suspend()
277 struct ssb_driver *ssb_drv; in ssb_device_shutdown() local
281 ssb_drv = drv_to_ssb_drv(dev->driver); in ssb_device_shutdown()
282 if (ssb_drv && ssb_drv->shutdown) in ssb_device_shutdown()
283 ssb_drv->shutdown(ssb_dev); in ssb_device_shutdown()
289 struct ssb_driver *ssb_drv = drv_to_ssb_drv(dev->driver); in ssb_device_remove() local
291 if (ssb_drv && ssb_drv->remove) in ssb_device_remove()
292 ssb_drv->remove(ssb_dev); in ssb_device_remove()
299 struct ssb_driver *ssb_drv = drv_to_ssb_drv(dev->driver); in ssb_device_probe() local
303 if (ssb_drv && ssb_drv->probe) in ssb_device_probe()
304 err = ssb_drv->probe(ssb_dev, &ssb_dev->id); in ssb_device_probe()
329 const struct ssb_driver *ssb_drv = drv_to_ssb_drv(drv); in ssb_bus_match() local
332 for (id = ssb_drv->id_table; in ssb_bus_match()