Lines Matching refs:DBG
44 #define DBG(x...) fprintf(stderr, x) macro
46 #define DBG(x...) macro
110 DBG("failed to open interface %S\n", interface_name); in do_usb_open()
162 DBG("usb_write %zu\n", len); in Write()
170 DBG("AdbWriteEndpointSync returned %d, errno: %d\n", ret, errno); in Write()
186 DBG("usb_write NULL handle\n"); in Write()
190 DBG("usb_write failed: %d\n", errno); in Write()
201 DBG("usb_read %zu\n", len); in Read()
208 DBG("usb_read got: %lu, expected: %zu, errno: %d\n", read, xfer, errno); in Read()
222 DBG("usb_read NULL handle\n"); in Read()
226 DBG("usb_read failed: %d\n", errno); in Read()
261 DBG("usb_close\n"); in Close()
273 DBG("usb_reset currently unsupported\n\n"); in Reset()
288 DBG("skipping device %x:%x\n", device_desc.idVendor, device_desc.idProduct); in recognized_device()
294 DBG("skipping device %x:%x, failed to find interface\n", device_desc.idVendor, in recognized_device()
301 DBG("skipping device %x:%x, incorrect number of endpoints\n", device_desc.idVendor, in recognized_device()
327 DBG("skipping device %x:%x, not selected by callback\n", device_desc.idVendor, in recognized_device()
332 DBG("found device %x:%x (%s)\n", device_desc.idVendor, device_desc.idProduct, in recognized_device()
364 DBG("attempting to open interface %S\n", next_interface->device_name); in find_usb_device()