Lines Matching refs:sdriver
154 struct siox_driver *sdriver = in siox_poll() local
168 if (sdriver && !unsync_error) in siox_poll()
169 sdriver->set_data(sdevice, sdevice->status_written, in siox_poll()
195 struct siox_driver *sdriver = in siox_poll() local
211 if (!sdriver || unsync_error) in siox_poll()
270 if (sdriver && connected) in siox_poll()
271 sdriver->get_data(sdevice, &smaster->buf[i]); in siox_poll()
517 struct siox_driver *sdriver = to_siox_driver(dev->driver); in siox_probe() local
520 return sdriver->probe(sdevice); in siox_probe()
525 struct siox_driver *sdriver = in siox_remove() local
529 if (sdriver->remove) in siox_remove()
530 sdriver->remove(sdevice); in siox_remove()
536 struct siox_driver *sdriver; in siox_shutdown() local
541 sdriver = container_of(dev->driver, struct siox_driver, driver); in siox_shutdown()
542 if (sdriver->shutdown) in siox_shutdown()
543 sdriver->shutdown(sdevice); in siox_shutdown()
930 int __siox_driver_register(struct siox_driver *sdriver, struct module *owner) in __siox_driver_register() argument
937 if (!sdriver->probe || in __siox_driver_register()
938 (!sdriver->set_data && !sdriver->get_data)) { in __siox_driver_register()
940 sdriver->driver.name); in __siox_driver_register()
944 sdriver->driver.owner = owner; in __siox_driver_register()
945 sdriver->driver.bus = &siox_bus_type; in __siox_driver_register()
947 ret = driver_register(&sdriver->driver); in __siox_driver_register()
950 sdriver->driver.name, ret); in __siox_driver_register()