Lines Matching defs:device
14 #include <ddk/device.h>
282 log(RPC_IN, "devhost[%s] create device stub drv='%s'\n", path, name);
295 // no name means a dummy proxy device
324 // since the newly created device is not visible to
327 log(RPC_IN, "devhost[%s] create device drv='%s' args='%s'\n", path, name, args);
343 // named driver -- ask it to create the device
351 // magic cookie for device create handshake
370 log(ERROR, "devhost[%s] driver create() failed to create a device!", path);
401 log(ERROR, "devhost[%s] bind to removed device disallowed\n", path);
417 printf("devhost: WARNING: driver '%s' did not add device in bind()\n", name);
448 // call suspend on the device this devhost is rooted on
449 zx_device_t* device = ios->dev;
450 while (device->parent != nullptr) {
451 device = device->parent;
454 r = devhost_device_suspend(device, msg.value);
533 // the device was released, and will no longer be used, so we will free
701 // Send message to devcoordinator asking to add child device to
702 // parent device. Called under devhost api lock.
800 // Send message to devcoordinator informing it that this device
805 log(ERROR, "removing device %p, ios is nullptr\n", dev);
809 log(DEVLC, "removing device %p, ios %p\n", dev, ios);
826 devhost_rpc(dev, dc_msg_t::Op::kRemoveDevice, nullptr, "remove-device", &rsp,
880 "bind-device", &rsp, sizeof(rsp), nullptr);