Lines Matching refs:debug
131 debug("."); in usb_show_progress()
183 debug("Get Max LUN -> len = %i, result = %i\n", len, (int) *result); in usb_get_max_lun()
201 debug("\n\nProbing for storage\n"); in usb_stor_probe_device()
222 debug("Cannot bind driver\n"); in usb_stor_probe_device()
235 debug("%s: Found device %p\n", __func__, udev); in usb_stor_probe_device()
237 debug("usb_stor_get_info: Invalid device\n"); in usb_stor_probe_device()
279 debug("partype: %d\n", blkdev->part_type); in usb_stor_probe_device()
281 debug("partype: %d\n", blkdev->part_type); in usb_stor_probe_device()
283 debug("%s: Found device %p\n", __func__, udev); in usb_stor_probe_device()
316 debug("i=%d\n", i); in usb_stor_scan()
392 debug("Bulk xfer 0x%lx(%d) try #%d\n", in us_one_transfer()
398 debug("bulk_msg returned %d xferred %d/%d\n", in us_one_transfer()
408 debug("stalled ->clearing endpoint" \ in us_one_transfer()
414 debug("bulk transferred" \ in us_one_transfer()
424 debug("Device NAKed bulk_msg\n"); in us_one_transfer()
427 debug("bulk transferred with error"); in us_one_transfer()
429 debug(" %ld, but data ok\n", in us_one_transfer()
434 debug(" %ld, data %d\n", in us_one_transfer()
469 debug("BBB_reset\n"); in usb_stor_BBB_reset()
476 debug("RESET:stall\n"); in usb_stor_BBB_reset()
482 debug("BBB_reset result %d: status %lX reset\n", in usb_stor_BBB_reset()
488 debug("BBB_reset result %d: status %lX clearing IN endpoint\n", in usb_stor_BBB_reset()
494 debug("BBB_reset result %d: status %lX clearing OUT endpoint\n", in usb_stor_BBB_reset()
496 debug("BBB_reset done\n"); in usb_stor_BBB_reset()
509 debug("CB_reset\n"); in usb_stor_CB_reset()
521 debug("CB_reset result %d: status %lX clearing endpoint halt\n", in usb_stor_CB_reset()
526 debug("CB_reset done\n"); in usb_stor_CB_reset()
556 debug("usb_stor_BBB_comdat:cmdlen too large\n"); in usb_stor_BBB_comdat()
576 debug("usb_stor_BBB_comdat:usb_bulk_msg error\n"); in usb_stor_BBB_comdat()
599 debug("CBI gets a command: Try %d\n", 5 - retry); in usb_stor_CB_comdat()
611 debug("CB_transport: control msg returned %d, status %lX\n", in usb_stor_CB_comdat()
617 debug(" stall during command found," \ in usb_stor_CB_comdat()
623 debug(" error during command %02X" \ in usb_stor_CB_comdat()
630 debug("CB_transport: control msg returned %d," \ in usb_stor_CB_comdat()
636 debug("CBI attempted to transfer data," \ in usb_stor_CB_comdat()
670 debug("Got interrupt data 0x%x, transferred %d status 0x%lX\n", in usb_stor_CBI_get_status()
722 debug("COMMAND phase\n"); in usb_stor_BBB_transport()
725 debug("failed to send CBW status %ld\n", in usb_stor_BBB_transport()
739 debug("DATA phase\n"); in usb_stor_BBB_transport()
749 debug("DATA:stall\n"); in usb_stor_BBB_transport()
758 debug("usb_bulk_msg error status %ld\n", in usb_stor_BBB_transport()
772 debug("STATUS phase\n"); in usb_stor_BBB_transport()
779 debug("STATUS:stall\n"); in usb_stor_BBB_transport()
787 debug("usb_bulk_msg error status %ld\n", in usb_stor_BBB_transport()
803 debug("!CSWSIGNATURE\n"); in usb_stor_BBB_transport()
807 debug("!Tag\n"); in usb_stor_BBB_transport()
811 debug(">PHASE\n"); in usb_stor_BBB_transport()
815 debug("=PHASE\n"); in usb_stor_BBB_transport()
819 debug("transferred %dB instead of %ldB\n", in usb_stor_BBB_transport()
823 debug("FAILED\n"); in usb_stor_BBB_transport()
844 debug("command / Data returned %d, status %lX\n", in usb_stor_CB_transport()
851 debug(" USB CBI Command Error\n"); in usb_stor_CB_transport()
859 debug(" USB CBI Command Good\n"); in usb_stor_CB_transport()
867 debug("ERROR %lX\n", us->pusb_dev->status); in usb_stor_CB_transport()
875 debug("No auto request and good\n"); in usb_stor_CB_transport()
888 debug("auto request returned %d\n", result); in usb_stor_CB_transport()
894 debug(" AUTO REQUEST ERROR %ld\n", in usb_stor_CB_transport()
898 debug("autorequest returned 0x%02X 0x%02X 0x%02X 0x%02X\n", in usb_stor_CB_transport()
988 debug("inquiry returns %d\n", i); in usb_inquiry()
1013 debug("Request Sense returned %02X %02X %02X\n", in usb_request_sense()
1082 debug("read10: start %lx blocks %x\n", start, blocks); in usb_read_10()
1099 debug("write10: start %lx blocks %x\n", start, blocks); in usb_write_10()
1152 debug("\nusb_read: udev %d\n", block_dev->devnum); in usb_stor_read()
1154 debug("\nusb_read: udev %d\n", block_dev->devnum); in usb_stor_read()
1157 debug("%s: No device\n", __func__); in usb_stor_read()
1169 debug("\nusb_read: dev %d startblk " LBAF ", blccnt " LBAF " buffer %" in usb_stor_read()
1186 debug("Read ERROR\n"); in usb_stor_read()
1199 debug("usb_read: end startblk " LBAF in usb_stor_read()
1205 debug("\n"); in usb_stor_read()
1235 debug("\nusb_read: udev %d\n", block_dev->devnum); in usb_stor_write()
1237 debug("\nusb_read: udev %d\n", block_dev->devnum); in usb_stor_write()
1240 debug("%s: No device\n", __func__); in usb_stor_write()
1253 debug("\nusb_write: dev %d startblk " LBAF ", blccnt " LBAF " buffer %" in usb_stor_write()
1272 debug("Write ERROR\n"); in usb_stor_write()
1285 debug("usb_write: end startblk " LBAF ", blccnt %x buffer %" in usb_stor_write()
1290 debug("\n"); in usb_stor_write()
1311 debug("Not mass storage\n"); in usb_storage_probe()
1319 debug("\n\nUSB Mass Storage device detected\n"); in usb_storage_probe()
1330 debug("Transport: "); in usb_storage_probe()
1333 debug("Control/Bulk\n"); in usb_storage_probe()
1339 debug("Control/Bulk/Interrupt\n"); in usb_storage_probe()
1344 debug("Bulk/Bulk/Bulk\n"); in usb_storage_probe()
1381 debug("Endpoints In %d Out %d Int %d\n", in usb_storage_probe()
1388 debug("Problems with device\n"); in usb_storage_probe()
1431 debug(" address %d\n", dev_desc->target); in usb_stor_get_info()
1434 debug("%s: usb_inquiry() failed\n", __func__); in usb_stor_get_info()
1446 debug("%s: unknown/unsupported device\n", __func__); in usb_stor_get_info()
1463 debug("ISO Vers %X, Response Data %X\n", usb_stor_buf[2], in usb_stor_get_info()
1482 debug("Read Capacity returns: 0x%08x, 0x%08x\n", cap[0], cap[1]); in usb_stor_get_info()
1494 debug("Capacity = 0x%08x, blocksz = 0x%08x\n", capacity, blksz); in usb_stor_get_info()
1499 debug(" address %d\n", dev_desc->target); in usb_stor_get_info()