Searched refs:DEBUGP (Results 1 - 19 of 19) sorted by relevance

/linux-4.1.27/drivers/char/pcmcia/
H A Dcm4040_cs.c46 #define DEBUGP(n, rdr, x, args...) do { \ macro
115 DEBUGP(4, dev, "waking up read_wait\n"); cm4040_do_poll()
122 DEBUGP(4, dev, "waking up write_wait\n"); cm4040_do_poll()
146 DEBUGP(4, dev, "BulkOut empty (i=%d)\n", i); wait_for_bulk_out_ready()
151 DEBUGP(4, dev, "wait_event_interruptible_timeout(timeout=%ld\n", wait_for_bulk_out_ready()
159 DEBUGP(4, dev, "woke up: BulkOut empty\n"); wait_for_bulk_out_ready()
161 DEBUGP(4, dev, "woke up: BulkOut full, returning 0 :(\n"); wait_for_bulk_out_ready()
163 DEBUGP(4, dev, "woke up: signal arrived\n"); wait_for_bulk_out_ready()
194 DEBUGP(3, dev, "BulkIn full (i=%d)\n", i); wait_for_bulk_in_ready()
199 DEBUGP(4, dev, "wait_event_interruptible_timeout(timeout=%ld\n", wait_for_bulk_in_ready()
206 DEBUGP(4, dev, "woke up: BulkIn full\n"); wait_for_bulk_in_ready()
208 DEBUGP(4, dev, "woke up: BulkIn not full, returning 0 :(\n"); wait_for_bulk_in_ready()
210 DEBUGP(4, dev, "woke up: signal arrived\n"); wait_for_bulk_in_ready()
226 DEBUGP(2, dev, "-> cm4040_read(%s,%d)\n", current->comm, current->pid); cm4040_read()
235 DEBUGP(4, dev, "filep->f_flags O_NONBLOCK set\n"); cm4040_read()
236 DEBUGP(2, dev, "<- cm4040_read (failure)\n"); cm4040_read()
246 DEBUGP(5, dev, "wait_for_bulk_in_ready rc=%.2x\n", rc); cm4040_read()
247 DEBUGP(2, dev, "<- cm4040_read (failed)\n"); cm4040_read()
263 DEBUGP(6, dev, "BytesToRead=%zu\n", bytes_to_read);
268 DEBUGP(6, dev, "Min=%zu\n", min_bytes_to_read);
273 DEBUGP(5, dev, "wait_for_bulk_in_ready rc=%.2x\n", rc);
274 DEBUGP(2, dev, "<- cm4040_read (failed)\n");
294 DEBUGP(5, dev, "wait_for_bulk_in_ready rc=%.2x\n", rc);
295 DEBUGP(2, dev, "<- cm4040_read (failed)\n");
303 DEBUGP(5, dev, "write_sync_reg c=%.2x\n", rc);
304 DEBUGP(2, dev, "<- cm4040_read (failed)\n");
313 DEBUGP(2, dev, "<- cm4040_read (successfully)\n");
326 DEBUGP(2, dev, "-> cm4040_write(%s,%d)\n", current->comm, current->pid);
329 DEBUGP(2, dev, "<- cm4040_write empty read (successfully)\n");
334 DEBUGP(2, dev, "<- cm4040_write buffersize=%Zd < 5\n", count);
339 DEBUGP(4, dev, "filep->f_flags O_NONBLOCK set\n");
340 DEBUGP(4, dev, "<- cm4040_write (failure)\n");
377 DEBUGP(5, dev, "write_sync_reg c=%.2Zx\n", rc);
378 DEBUGP(2, dev, "<- cm4040_write (failed)\n");
385 DEBUGP(4, dev, "start \n");
390 DEBUGP(5, dev, "wait_for_bulk_out_ready rc=%.2Zx\n",
392 DEBUGP(2, dev, "<- cm4040_write (failed)\n");
401 DEBUGP(4, dev, "end\n");
406 DEBUGP(5, dev, "write_sync_reg c=%.2Zx\n", rc);
407 DEBUGP(2, dev, "<- cm4040_write (failed)\n");
414 DEBUGP(2, dev, "<- cm4040_write (successfully)\n");
430 DEBUGP(2, dev, "<- cm4040_poll(%u)\n", mask);
461 DEBUGP(4, dev, "filep->f_flags O_NONBLOCK set\n");
471 DEBUGP(2, dev, "<- cm4040_open (successfully)\n");
484 DEBUGP(2, dev, "-> cm4040_close(maj/min=%d.%d)\n", imajor(inode),
499 DEBUGP(2, dev, "<- cm4040_close\n");
507 DEBUGP(3, dev, "-> cm4040_reader_release\n");
509 DEBUGP(3, dev, KERN_INFO MODULE_NAME ": delaying release "
513 DEBUGP(3, dev, "<- cm4040_reader_release\n");
543 DEBUGP(2, dev, "device " DEVICE_NAME "%d at %pR\n", devno,
545 DEBUGP(2, dev, "<- reader_config (succ)\n");
H A Dcm4000_cs.c52 #define DEBUGP(n, rdr, x, args...) do { \ macro
325 DEBUGP(3, dev, "-> parse_atr: dev->atr_len = %i\n", dev->atr_len); parse_atr()
328 DEBUGP(5, dev, "parse_atr: atr_len < 3\n"); parse_atr()
346 DEBUGP(5, dev, "Card says FiDi is 0x%.2x\n", dev->ta1); parse_atr()
353 DEBUGP(5, dev, "Yi=%.2x\n", ch & 0xf0); parse_atr()
363 DEBUGP(5, dev, "card is capable of T=1\n"); parse_atr()
366 DEBUGP(5, dev, "card is capable of T=0\n"); parse_atr()
372 DEBUGP(5, dev, "ix=%d noHist=%d any_t1=%d\n", parse_atr()
375 DEBUGP(5, dev, "length error\n"); parse_atr()
388 DEBUGP(5, dev, "bad checksum\n"); parse_atr()
426 DEBUGP(3, dev, "-> set_cardparameter\n"); set_cardparameter()
430 DEBUGP(5, dev, "flags1 = 0x%02x\n", dev->flags1); set_cardparameter()
435 DEBUGP(5, dev, "baudv = %i -> write 0x%02x\n", dev->baudv, set_cardparameter()
446 DEBUGP(3, dev, "<- set_cardparameter\n"); set_cardparameter()
460 DEBUGP(3, dev, "-> set_protocol\n"); set_protocol()
461 DEBUGP(5, dev, "ptsreq->Protocol = 0x%.8x, ptsreq->Flags=0x%.8x, " set_protocol()
477 DEBUGP(5, dev, "Ta(1) from ATR is 0x%.2x\n", dev->ta1); set_protocol()
484 DEBUGP(5, dev, "pts0=%.2x, pts1=%.2x, pts2=%.2x, pts3=%.2x\n", set_protocol()
495 DEBUGP(5, dev, "Enable access to the messages buffer\n"); set_protocol()
501 DEBUGP(5, dev, "Enable message buffer -> flags1 = 0x%.2x\n", set_protocol()
505 DEBUGP(5, dev, "Write challenge to buffer: "); set_protocol()
518 DEBUGP(5, dev, "Set number of bytes to write\n");
526 DEBUGP(5, dev, "Waiting for NumRecBytes getting valid\n");
530 DEBUGP(5, dev, "NumRecBytes is valid\n");
536 DEBUGP(5, dev, "Timeout waiting for NumRecBytes getting "
542 DEBUGP(5, dev, "Reading NumRecBytes\n");
546 DEBUGP(2, dev, "NumRecBytes = %i\n", num_bytes_read);
557 DEBUGP(5, dev, "Timeout reading num_bytes_read\n");
562 DEBUGP(5, dev, "Reset the CARDMAN CONTROLLER\n");
566 DEBUGP(5, dev, "Read PPS reply\n");
573 DEBUGP(2, dev, "PTSreply: ");
580 DEBUGP(5, dev, "Clear Tactive in Flags1\n");
600 DEBUGP(3, dev, "<- set_protocol\n");
631 DEBUGP(3, dev, "-> terminate_monitor\n");
641 DEBUGP(5, dev, "Now allow last cycle of monitor!\n");
645 DEBUGP(5, dev, "Delete timer\n");
651 DEBUGP(3, dev, "<- terminate_monitor\n");
670 DEBUGP(7, dev, "-> monitor_card\n");
674 DEBUGP(4, dev, "About to stop monitor\n");
683 DEBUGP(2, dev, "<- monitor_card (we are done now)\n");
689 DEBUGP(4, dev, "Couldn't get IO lock\n");
695 DEBUGP(7, dev, "dev->flags0 = 0x%2x\n", dev->flags0);
696 DEBUGP(7, dev, "smartcard present: %s\n",
698 DEBUGP(7, dev, "cardman present: %s\n",
712 DEBUGP(4, dev, "set IS_CMM_ABSENT bit\n");
715 DEBUGP(4, dev, "clear IS_CMM_ABSENT bit "
724 DEBUGP(4, dev, "clear IS_CMM_ABSENT bit (card is inserted)\n");
729 DEBUGP(7, dev, "believe ATR is already valid (do nothing)\n");
736 DEBUGP(4, dev, "M_CARDOFF\n");
759 DEBUGP(4, dev, "M_FETCH_ATR\n");
761 DEBUGP(4, dev, "Reset BAUDV to 9600\n");
773 DEBUGP(4, dev, "M_TIMEOUT_WAIT\n");
780 DEBUGP(4, dev, "M_READ_ATR_LEN\n");
795 DEBUGP(4, dev, "Current ATR_LEN = %i\n", dev->atr_len);
798 DEBUGP(4, dev, "M_READ_ATR\n");
805 DEBUGP(4, dev, "Deactivate T_Active flags\n");
824 DEBUGP(4, dev, "monitor_card: ATR valid\n");
831 DEBUGP(4, dev, "Perform AUTOPPS\n");
839 DEBUGP(4, dev, "AUTOPPS ret SUCC\n");
843 DEBUGP(4, dev, "AUTOPPS failed: "
861 DEBUGP(4, dev, "AUTOPPS already active "
864 DEBUGP(4, dev, "No AUTOPPS necessary "
868 DEBUGP(4, dev, "Do NOT perform AUTOPPS "
874 DEBUGP(4, dev, "ATR invalid\n");
879 DEBUGP(4, dev, "M_BAD_CARD\n");
885 DEBUGP(4, dev, "ATR checksum (0x%.2x, should "
890 DEBUGP(4, dev, "ATR length error\n");
892 DEBUGP(4, dev, "card damaged or wrong way "
904 DEBUGP(7, dev, "Unknown action\n");
909 DEBUGP(7, dev, "release_io\n");
914 DEBUGP(7, dev, "<- monitor_card (returns with timer)\n");
929 DEBUGP(2, dev, "-> cmm_read(%s,%d)\n", current->comm, current->pid);
987 DEBUGP(4, dev, "begin read answer\n");
992 DEBUGP(4, dev, "read1 j=%d\n", j);
999 DEBUGP(4, dev, "read2 j=%d\n", j);
1009 DEBUGP(4, dev, "T=0 and count > buffer\n");
1019 DEBUGP(4, dev, "Clear T1Active\n");
1040 DEBUGP(2, dev, "<- cmm_read returns: rc = %Zi\n",
1059 DEBUGP(2, dev, "-> cmm_write(%s,%d)\n", current->comm, current->pid);
1066 DEBUGP(4, dev, "T0 short write\n");
1079 DEBUGP(4, dev, "bad csum\n");
1104 DEBUGP(4, dev, "invalid ATR\n");
1130 DEBUGP(4, dev, "IO error\n");
1155 DEBUGP(1, dev, "set dev->flags1 = 0x%.2x\n", dev->flags1);
1159 DEBUGP(4, dev, "Xmit data\n");
1168 DEBUGP(4, dev, "dev->flags = 0x%.2x - set address "
1173 DEBUGP(4, dev, "Apply inverse convention for 0x%.2x "
1184 DEBUGP(4, dev, "Xmit done\n");
1189 DEBUGP(4, dev, "T=0 assumes 0 byte reply\n");
1214 DEBUGP(4, dev, "T=0 set Procedure byte (inverse-reverse) "
1218 DEBUGP(4, dev, "T=0 set Procedure byte 0x%.2x\n", dev->sbuf[1]);
1222 DEBUGP(1, dev, "set NumSendBytes = 0x%.2x\n",
1226 DEBUGP(1, dev, "Trigger CARDMAN CONTROLLER (0x%.2x)\n",
1239 DEBUGP(4, dev, "Wait for xmit done\n");
1246 DEBUGP(4, dev, "timeout waiting for xmit done\n");
1261 DEBUGP(4, dev, "infolen=%d\n", infolen);
1267 DEBUGP(4, dev, "timeout waiting for infoLen\n");
1285 DEBUGP(1, dev, "NumRecBytes inc (reset timeout)\n");
1299 DEBUGP(1, dev, "NoProcedure byte set\n");
1303 DEBUGP(1, dev, "NoProcedure byte unset "
1306 DEBUGP(1, dev, "Read procedure byte 0x%.2x\n",
1311 DEBUGP(1, dev, "T0Done flag (read reply)\n");
1319 DEBUGP(1, dev, "timeout waiting for numRecBytes\n");
1324 DEBUGP(1, dev, "Wait for T0Done bit to be set\n");
1331 DEBUGP(1, dev, "timeout waiting for T0Done\n");
1337 DEBUGP(4, dev, "Read procedure byte 0x%.2x\n",
1341 DEBUGP(4, dev, "Read NumRecBytes = %i\n", dev->rlen);
1347 DEBUGP(4, dev, "dev->rlen = %i, dev->rpos = %i, nr = %i\n",
1351 DEBUGP(4, dev, "Reset SM\n");
1355 DEBUGP(4, dev, "Write failed but clear T_Active\n");
1368 DEBUGP(2, dev, "<- cmm_write\n");
1374 DEBUGP(3, dev, "-> start_monitor\n");
1376 DEBUGP(5, dev, "create, init and add timer\n");
1381 DEBUGP(5, dev, "monitor already running\n");
1382 DEBUGP(3, dev, "<- start_monitor\n");
1387 DEBUGP(3, dev, "-> stop_monitor\n");
1389 DEBUGP(5, dev, "stopping monitor\n");
1395 DEBUGP(5, dev, "monitor already stopped\n");
1396 DEBUGP(3, dev, "<- stop_monitor\n");
1416 DEBUGP(3, dev, "cmm_ioctl(device=%d.%d) %s\n", imajor(inode),
1424 DEBUGP(4, dev, "DEV_OK false\n");
1429 DEBUGP(4, dev, "CMM_ABSENT flag set\n");
1435 DEBUGP(4, dev, "ioctype mismatch\n");
1439 DEBUGP(4, dev, "iocnr mismatch\n");
1444 DEBUGP(4, dev, "iocdir=%.4x iocr=%.4x iocw=%.4x iocsize=%d cmd=%.4x\n",
1459 DEBUGP(4, dev, " ... in CM_IOCGSTATUS\n");
1479 DEBUGP(4, dev, "... in CM_IOCGATR\n");
1517 DEBUGP(4, dev, "... in CM_IOCARDOFF\n");
1519 DEBUGP(4, dev, " Card inserted\n");
1521 DEBUGP(2, dev, " No card inserted\n");
1524 DEBUGP(4, dev, " Card powered\n");
1526 DEBUGP(2, dev, " Card not powered\n");
1546 DEBUGP(4, dev, "Set Flags0=0x42 \n");
1581 DEBUGP(4, dev, "... in CM_IOCSPTS\n");
1624 DEBUGP(4, dev, "... in default (unknown IOCTL code)\n");
1657 DEBUGP(2, dev, "-> cmm_open(device=%d.%d process=%s,%d)\n",
1684 DEBUGP(2, dev, "<- cmm_open\n");
1706 DEBUGP(2, dev, "-> cmm_close(maj/min=%d.%d)\n",
1716 DEBUGP(2, dev, "cmm_close\n");
1727 DEBUGP(3, dev, "-> cmm_cm4000_release\n");
1738 DEBUGP(3, dev, "<- cmm_cm4000_release\n");
/linux-4.1.27/arch/mips/kernel/
H A Dsignal-common.h17 # define DEBUGP(fmt, args...) printk("%s: " fmt, __func__, ##args) macro
19 # define DEBUGP(fmt, args...) macro
H A Dsignal_n32.c145 DEBUGP("SIG deliver (%s:%d): sp=0x%p pc=0x%lx ra=0x%lx\n", setup_rt_frame_n32()
H A Dsignal.c461 DEBUGP("SIG deliver (%s:%d): sp=0x%p pc=0x%lx ra=0x%lx\n", setup_frame()
508 DEBUGP("SIG deliver (%s:%d): sp=0x%p pc=0x%lx ra=0x%lx\n", setup_rt_frame()
H A Dsignal32.c524 DEBUGP("SIG deliver (%s:%d): sp=0x%p pc=0x%lx ra=0x%lx\n", setup_frame_32()
571 DEBUGP("SIG deliver (%s:%d): sp=0x%p pc=0x%lx ra=0x%lx\n", setup_rt_frame_32()
/linux-4.1.27/arch/frv/kernel/
H A Dmodule.c20 #define DEBUGP printk
22 #define DEBUGP(fmt...) macro
/linux-4.1.27/arch/hexagon/kernel/
H A Dmodule.c28 #define DEBUGP printk
30 #define DEBUGP(fmt , ...) macro
49 DEBUGP("Section %d is %s\n", i, module_frob_arch_sections()
94 DEBUGP("Applying relocations in section %u to section %u base=%p\n", apply_relocate_add()
108 DEBUGP("%d: value=%08x loc=%p reloc=%d symbol=%s\n", apply_relocate_add()
127 DEBUGP("B22_PCREL contents: %08X.\n", *location); apply_relocate_add()
131 DEBUGP("Contents after reloc: %08x\n", *location); apply_relocate_add()
/linux-4.1.27/arch/cris/kernel/
H A Dmodule.c27 #define DEBUGP printk
29 #define DEBUGP(fmt , ...) macro
54 DEBUGP ("Applying add relocate section %u to %u\n", relsec, apply_relocate_add()
/linux-4.1.27/arch/m68k/kernel/
H A Dmodule.c15 #define DEBUGP printk
17 #define DEBUGP(fmt...) macro
33 DEBUGP("Applying relocate section %u to %u\n", relsec, apply_relocate()
73 DEBUGP("Applying relocate_add section %u to %u\n", relsec, apply_relocate_add()
/linux-4.1.27/lib/
H A Dts_bm.c49 #define DEBUGP printk
51 #define DEBUGP(args, format...) macro
77 DEBUGP("Searching in position %d (%c)\n", bm_find()
86 DEBUGP("found!\n"); bm_find()
/linux-4.1.27/arch/x86/kernel/
H A Dmodule.c39 #define DEBUGP(fmt, ...) \
42 #define DEBUGP(fmt, ...) \ macro
110 DEBUGP("Applying relocate section %u to %u\n", apply_relocate()
151 DEBUGP("Applying relocate section %u to %u\n", apply_relocate_add()
163 DEBUGP("type %d st_value %Lx r_addend %Lx loc %Lx\n", apply_relocate_add()
/linux-4.1.27/arch/tile/kernel/
H A Dmodule.c28 #define DEBUGP printk macro
30 #define DEBUGP(fmt...) macro
134 DEBUGP("Applying relocate section %u to %u\n", relsec, apply_relocate_add()
/linux-4.1.27/arch/mn10300/kernel/
H A Dmodule.c30 #define DEBUGP printk
32 #define DEBUGP(fmt, ...) macro
69 DEBUGP("Applying relocate section %u to %u\n", apply_relocate_add()
/linux-4.1.27/arch/m32r/kernel/
H A Dmodule.c26 #define DEBUGP printk
28 #define DEBUGP(fmt...) macro
88 DEBUGP("Applying relocate section %u to %u\n", relsec, apply_relocate_add()
/linux-4.1.27/arch/parisc/kernel/
H A Dmodule.c71 #define DEBUGP printk
73 #define DEBUGP(fmt...) macro
403 DEBUGP("GOT ENTRY %d[%x] val %lx\n", i, i*sizeof(struct got_entry), get_got()
556 DEBUGP("Applying relocate section %u to %u\n", relsec, apply_relocate_add()
580 DEBUGP("Symbol %s loc 0x%x val 0x%x addend 0x%x: %s\n", apply_relocate_add()
692 DEBUGP("Applying relocate section %u to %u\n", relsec, apply_relocate_add()
734 DEBUGP("LTOFF21L Symbol %s loc %p val %lx\n", apply_relocate_add()
745 DEBUGP("LTOFF14R Symbol %s loc %p val %lx\n", apply_relocate_add()
752 DEBUGP("PCREL22F Symbol %s loc %p val %lx\n", apply_relocate_add()
784 DEBUGP("STUB FOR %s loc %lx, val %lx+%lx at %lx\n", apply_relocate_add()
806 DEBUGP("FDESC for %s at %p points to %lx\n", apply_relocate_add()
813 DEBUGP("Non local FPTR64 Symbol %s loc %p val %lx\n", apply_relocate_add()
844 DEBUGP("register_unwind_table(), sect = %d at 0x%p - 0x%p (gp=0x%lx)\n", register_unwind_table()
898 DEBUGP("module %s: strtab %p, symhdr %p\n", module_finalize()
917 DEBUGP("OLD num_symtab %lu\n", nsyms); module_finalize()
932 DEBUGP("NEW num_symtab %lu\n", nsyms); module_finalize()
/linux-4.1.27/arch/alpha/kernel/
H A Dmodule.c27 #define DEBUGP printk
29 #define DEBUGP(fmt...) macro
155 DEBUGP("Applying relocate section %u to %u\n", relsec, apply_relocate_add()
/linux-4.1.27/arch/ia64/kernel/
H A Dmodule.c42 # define DEBUGP printk macro
45 # define DEBUGP(fmt , a...) macro
488 DEBUGP("%s: core.plt=%lx, init.plt=%lx, got=%lx, fdesc=%lx\n", module_frob_arch_sections()
733 DEBUGP("%s: patching ld8 at %p to mov\n", __func__, location); do_reloc()
767 DEBUGP("%s: [%p]<-%016lx = %s(%lx)\n", __func__, location, val, do_reloc()
803 DEBUGP("%s: applying section %u (%u relocs) to %u\n", __func__, apply_relocate_add()
831 DEBUGP("%s: placing gp at 0x%lx\n", __func__, gp); apply_relocate_add()
891 DEBUGP("%s: name=%s, gp=%lx, num_init=%lu, num_core=%lu\n", __func__, register_unwind_table()
900 DEBUGP("%s: core: handle=%p [%p-%p)\n", __func__, register_unwind_table()
906 DEBUGP("%s: init: handle=%p [%p-%p)\n", __func__, register_unwind_table()
914 DEBUGP("%s: init: entry=%p\n", __func__, mod->init); module_finalize()
/linux-4.1.27/arch/s390/kernel/
H A Dmodule.c36 #define DEBUGP printk
38 #define DEBUGP(fmt , ...) macro
408 DEBUGP("Applying relocate section %u to %u\n", apply_relocate_add()

Completed in 521 milliseconds