Lines Matching defs:device
8 #include <ddk/device.h>
15 #include <zircon/device/ethernet.h>
43 zx_device_t* device;
371 // this must be last since this can trigger releasing the device
372 device_remove(eth->device);
582 status = device_add(eth->usb_device, &args, ð->device);
584 zxlogf(ERROR, "ax88772b: failed to create device: %d\n", status);
598 static zx_status_t ax88772b_bind(void* ctx, zx_device_t* device) {
600 zx_status_t result = device_get_protocol(device, ZX_PROTOCOL_USB, &usb);
653 eth->usb_device = device;