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()
884 int __siox_driver_register(struct siox_driver *sdriver, struct module *owner) in __siox_driver_register() argument
891 if (!sdriver->probe || in __siox_driver_register()
892 (!sdriver->set_data && !sdriver->get_data)) { in __siox_driver_register()
894 sdriver->driver.name); in __siox_driver_register()
898 sdriver->driver.owner = owner; in __siox_driver_register()
899 sdriver->driver.bus = &siox_bus_type; in __siox_driver_register()
901 ret = driver_register(&sdriver->driver); in __siox_driver_register()
904 sdriver->driver.name, ret); in __siox_driver_register()