HelenOS sources
driver 59 uspace/lib/drv/generic/driver.c static const driver_t *driver;
driver 156 uspace/lib/drv/generic/driver.c errno_t res = driver->driver_ops->dev_add(dev);
driver 190 uspace/lib/drv/generic/driver.c if (driver->driver_ops->dev_remove != NULL)
driver 191 uspace/lib/drv/generic/driver.c rc = driver->driver_ops->dev_remove(dev);
driver 223 uspace/lib/drv/generic/driver.c if (driver->driver_ops->dev_gone != NULL)
driver 224 uspace/lib/drv/generic/driver.c rc = driver->driver_ops->dev_gone(dev);
driver 264 uspace/lib/drv/generic/driver.c if (driver->driver_ops->fun_online != NULL)
driver 265 uspace/lib/drv/generic/driver.c rc = driver->driver_ops->fun_online(fun);
driver 299 uspace/lib/drv/generic/driver.c if (driver->driver_ops->fun_offline != NULL)
driver 300 uspace/lib/drv/generic/driver.c rc = driver->driver_ops->fun_offline(fun);
driver 397 uspace/lib/drv/generic/driver.c " %" PRIun " was found.\n", driver->name, handle);
driver 460 uspace/lib/drv/generic/driver.c driver->name, iface_idx);
driver 470 uspace/lib/drv/generic/driver.c printf("%s: driver_connection_gen error - ", driver->name);
driver 491 uspace/lib/drv/generic/driver.c "invalid interface method.", driver->name);
driver 979 uspace/lib/drv/generic/driver.c driver = drv;
driver 1002 uspace/lib/drv/generic/driver.c rc = devman_driver_register(driver->name);
driver 46 uspace/lib/usbdev/src/driver.c static const usb_driver_t *driver = NULL;
driver 57 uspace/lib/usbdev/src/driver.c assert(driver);
driver 58 uspace/lib/usbdev/src/driver.c assert(driver->ops);
driver 59 uspace/lib/usbdev/src/driver.c assert(driver->ops->device_add);
driver 63 uspace/lib/usbdev/src/driver.c errno_t rc = usb_device_create_ddf(gen_dev, driver->endpoints, &err_msg);
driver 71 uspace/lib/usbdev/src/driver.c rc = driver->ops->device_add(ddf_dev_data_get(gen_dev));
driver 86 uspace/lib/usbdev/src/driver.c assert(driver);
driver 87 uspace/lib/usbdev/src/driver.c assert(driver->ops);
driver 88 uspace/lib/usbdev/src/driver.c if (driver->ops->device_remove == NULL)
driver 93 uspace/lib/usbdev/src/driver.c const errno_t ret = driver->ops->device_remove(usb_dev);
driver 110 uspace/lib/usbdev/src/driver.c assert(driver);
driver 111 uspace/lib/usbdev/src/driver.c assert(driver->ops);
driver 112 uspace/lib/usbdev/src/driver.c if (driver->ops->device_gone == NULL)
driver 115 uspace/lib/usbdev/src/driver.c const errno_t ret = driver->ops->device_gone(usb_dev);
driver 131 uspace/lib/usbdev/src/driver.c assert(driver);
driver 132 uspace/lib/usbdev/src/driver.c assert(driver->ops);
driver 133 uspace/lib/usbdev/src/driver.c if (driver->ops->function_online == NULL)
driver 135 uspace/lib/usbdev/src/driver.c return driver->ops->function_online(fun);
driver 147 uspace/lib/usbdev/src/driver.c assert(driver);
driver 148 uspace/lib/usbdev/src/driver.c assert(driver->ops);
driver 149 uspace/lib/usbdev/src/driver.c if (driver->ops->function_offline == NULL)
driver 151 uspace/lib/usbdev/src/driver.c return driver->ops->function_offline(fun);
driver 179 uspace/lib/usbdev/src/driver.c driver = drv;
driver 76 uspace/lib/usbhost/src/hcd.c int hc_driver_main(const hc_driver_t *driver)
driver 79 uspace/lib/usbhost/src/hcd.c .name = driver->name,
driver 84 uspace/lib/usbhost/src/hcd.c hc_driver = driver;
driver 591 uspace/srv/devman/client_conn.c driver_t *driver = driver_find_by_name(&drivers_list, drvname);
driver 595 uspace/srv/devman/client_conn.c if (driver == NULL) {
driver 600 uspace/srv/devman/client_conn.c async_answer_1(icall, EOK, driver->handle);
driver 61 uspace/srv/devman/devman.h struct driver *driver;
driver 423 uspace/srv/devman/driver.c static void pass_devices_to_driver(driver_t *driver, dev_tree_t *tree)
driver 429 uspace/srv/devman/driver.c driver->name);
driver 431 uspace/srv/devman/driver.c fibril_mutex_lock(&driver->driver_mutex);
driver 437 uspace/srv/devman/driver.c link = driver->devices.head.next;
driver 438 uspace/srv/devman/driver.c while (link != &driver->devices.head) {
driver 454 uspace/srv/devman/driver.c fibril_mutex_unlock(&driver->driver_mutex);
driver 457 uspace/srv/devman/driver.c add_device(driver, dev, tree);
driver 461 uspace/srv/devman/driver.c fibril_mutex_lock(&driver->driver_mutex);
driver 463 uspace/srv/devman/driver.c fibril_mutex_unlock(&driver->driver_mutex);
driver 481 uspace/srv/devman/driver.c fibril_mutex_lock(&driver->driver_mutex);
driver 486 uspace/srv/devman/driver.c link = driver->devices.head.next;
driver 498 uspace/srv/devman/driver.c log_msg(LOG_DEFAULT, LVL_DEBUG, "Driver `%s' enters running state.", driver->name);
driver 499 uspace/srv/devman/driver.c driver->state = DRIVER_RUNNING;
driver 501 uspace/srv/devman/driver.c fibril_mutex_unlock(&driver->driver_mutex);
driver 513 uspace/srv/devman/driver.c void initialize_running_driver(driver_t *driver, dev_tree_t *tree)
driver 516 uspace/srv/devman/driver.c driver->name);
driver 522 uspace/srv/devman/driver.c pass_devices_to_driver(driver, tree);
driver 817 uspace/srv/devman/driver.c errno_t driver_get_devices(driver_t *driver, devman_handle_t *hdl_buf,
driver 823 uspace/srv/devman/driver.c fibril_mutex_lock(&driver->driver_mutex);
driver 827 uspace/srv/devman/driver.c act_cnt = list_count(&driver->devices);
driver 831 uspace/srv/devman/driver.c fibril_mutex_unlock(&driver->driver_mutex);
driver 836 uspace/srv/devman/driver.c list_foreach(driver->devices, driver_devices, dev_node_t, dev) {
driver 844 uspace/srv/devman/driver.c fibril_mutex_unlock(&driver->driver_mutex);
driver 68 uspace/srv/devman/drv_conn.c driver_t *driver = NULL;
driver 84 uspace/srv/devman/drv_conn.c driver = driver_find_by_name(&drivers_list, drv_name);
driver 85 uspace/srv/devman/drv_conn.c if (driver == NULL) {
driver 96 uspace/srv/devman/drv_conn.c fibril_mutex_lock(&driver->driver_mutex);
driver 98 uspace/srv/devman/drv_conn.c if (driver->sess) {
driver 101 uspace/srv/devman/drv_conn.c driver->name);
driver 102 uspace/srv/devman/drv_conn.c fibril_mutex_unlock(&driver->driver_mutex);
driver 107 uspace/srv/devman/drv_conn.c switch (driver->state) {
driver 111 uspace/srv/devman/drv_conn.c driver->name);
driver 112 uspace/srv/devman/drv_conn.c driver->state = DRIVER_STARTING;
driver 124 uspace/srv/devman/drv_conn.c driver->name);
driver 125 uspace/srv/devman/drv_conn.c driver->sess = async_callback_receive(EXCHANGE_PARALLEL);
driver 126 uspace/srv/devman/drv_conn.c if (!driver->sess) {
driver 127 uspace/srv/devman/drv_conn.c fibril_mutex_unlock(&driver->driver_mutex);
driver 132 uspace/srv/devman/drv_conn.c async_sess_args_set(driver->sess, INTERFACE_DDF_DEVMAN, 0, 0);
driver 136 uspace/srv/devman/drv_conn.c driver->name);
driver 143 uspace/srv/devman/drv_conn.c fid_t fid = fibril_create(init_running_drv, driver);
driver 146 uspace/srv/devman/drv_conn.c "for driver `%s'.", driver->name);
driver 147 uspace/srv/devman/drv_conn.c fibril_mutex_unlock(&driver->driver_mutex);
driver 153 uspace/srv/devman/drv_conn.c fibril_mutex_unlock(&driver->driver_mutex);
driver 156 uspace/srv/devman/drv_conn.c return driver;
driver 528 uspace/srv/devman/drv_conn.c driver_t *driver = dev->drv;
driver 531 uspace/srv/devman/drv_conn.c if (driver)
driver 578 uspace/srv/devman/drv_conn.c driver_t *driver = (driver_t *) drv;
driver 580 uspace/srv/devman/drv_conn.c initialize_running_driver(driver, &device_tree);
driver 582 uspace/srv/devman/drv_conn.c driver->name);
driver 590 uspace/srv/devman/drv_conn.c driver_t *driver = NULL;
driver 612 uspace/srv/devman/drv_conn.c driver = client->driver;
driver 614 uspace/srv/devman/drv_conn.c if (driver == NULL) {
driver 624 uspace/srv/devman/drv_conn.c if (client->driver != NULL) {
driver 629 uspace/srv/devman/drv_conn.c client->driver = devman_driver_register(&call);
driver 639 uspace/srv/devman/drv_conn.c devman_drv_fun_online(&call, driver);
driver 642 uspace/srv/devman/drv_conn.c devman_drv_fun_offline(&call, driver);
driver 398 uspace/srv/devman/fun.c driver_t *driver = dev->drv;
driver 401 uspace/srv/devman/fun.c if (driver)
driver 111 uspace/srv/devman/main.c driver_t *driver = dev->drv;
driver 115 uspace/srv/devman/main.c if (driver == NULL) {
driver 122 uspace/srv/devman/main.c if (!driver->sess) {
driver 124 uspace/srv/devman/main.c "Could not forward to driver `%s'.", driver->name);
driver 132 uspace/srv/devman/main.c fun->pathname, driver->name);
driver 136 uspace/srv/devman/main.c dev->pfun->pathname, driver->name);
driver 139 uspace/srv/devman/main.c async_exch_t *exch = async_exchange_begin(driver->sess);
driver 182 uspace/srv/devman/main.c driver_t *driver = NULL;
driver 188 uspace/srv/devman/main.c driver = dev->pfun->dev->drv;
driver 194 uspace/srv/devman/main.c if (driver == NULL) {
driver 201 uspace/srv/devman/main.c if (!driver->sess) {
driver 203 uspace/srv/devman/main.c "Could not forward to driver `%s'.", driver->name);
driver 211 uspace/srv/devman/main.c fun->pathname, driver->name);
driver 215 uspace/srv/devman/main.c dev->pfun->pathname, driver->name);
driver 218 uspace/srv/devman/main.c async_exch_t *exch = async_exchange_begin(driver->sess);
driver 248 uspace/srv/devman/main.c driver_t *driver = dev->drv;
driver 253 uspace/srv/devman/main.c async_exch_t *exch = async_exchange_begin(driver->sess);
driver 259 uspace/srv/devman/main.c fun->pathname, driver->name);
driver 52 uspace/srv/devman/match.c static int compute_match_score(match_id_t *driver, match_id_t *device)
driver 54 uspace/srv/devman/match.c if (str_cmp(driver->id, device->id) == 0) {
driver 58 uspace/srv/devman/match.c return driver->score * device->score;
HelenOS homepage, sources at GitHub