Lines Matching defs:device
9 #include <ddk/device.h>
153 // TODO: Only usb_request_queue if the device is online.
233 // TODO: Check that the device is online before sending ETH_STATUS_ONLINE.
318 // Send an initialization message to the device.
341 // Check the PHY, this is optional and may not be supported by the device.
362 // Query the device for a MAC address.
371 zxlogf(ERROR, "Couldn't get device physical address\n");
425 static zx_status_t rndishost_bind(void* ctx, zx_device_t* device) {
428 zx_status_t status = device_get_protocol(device, ZX_PROTOCOL_USB, &usb);
442 // interface will be classified as USB_CLASS_WIRELESS when the device is
507 eth->usb_zxdev = device;
551 zxlogf(ERROR, "rndishost: failed to create device: %d\n", status);
562 // TODO: Save the thread in rndishost_t and join when we release the device.
579 // covers the tethered device case.