Lines Matching refs:NS_DBG
173 #define NS_DBG(args...) \ macro
1158 NS_DBG("switch_to_ready_state: switch to %s state\n", in ns_switch_to_ready_state()
1268 NS_DBG("find_operation: operation found, index: %d, state: %s, nxstate %s\n", in ns_find_operation()
1277 NS_DBG("find_operation: no operation found, try again with state %s\n", in ns_find_operation()
1283 NS_DBG("find_operation: no operations found\n"); in ns_find_operation()
1290 NS_DBG("find_operation: BUG, operation must be known if address is input\n"); in ns_find_operation()
1294 NS_DBG("find_operation: there is still ambiguity\n"); in ns_find_operation()
1429 NS_DBG("read_page: page %d not written\n", ns->regs.row); in ns_read_page()
1435 NS_DBG("read_page: page %d written, reading from %d\n", in ns_read_page()
1453 NS_DBG("read_page: page %d not allocated\n", ns->regs.row); in ns_read_page()
1456 NS_DBG("read_page: page %d allocated, reading from %d\n", in ns_read_page()
1477 NS_DBG("erase_sector: freeing page %d\n", ns->regs.row + i); in ns_erase_sector()
1485 NS_DBG("erase_sector: freeing page %d\n", ns->regs.row+i); in ns_erase_sector()
1507 NS_DBG("prog_page: writing page %d\n", ns->regs.row); in ns_prog_page()
1544 NS_DBG("prog_page: allocating page %d\n", ns->regs.row); in ns_prog_page()
1600 NS_DBG("do_state_action: (ACTION_CPY:) copy %d bytes to int buf, raw offset %d\n", in ns_do_state_action()
1637 NS_DBG("do_state_action: erase sector at address %#x, off = %d\n", in ns_do_state_action()
1677 NS_DBG("do_state_action: copy %d bytes from int buf to (%#x, %#x), raw off = %d\n", in ns_do_state_action()
1692 NS_DBG("do_state_action: set internal offset to 0\n"); in ns_do_state_action()
1702 NS_DBG("do_state_action: set internal offset to %d\n", ns->geom.pgsz/2); in ns_do_state_action()
1707 NS_DBG("do_state_action: set internal offset to %d\n", ns->geom.pgsz); in ns_do_state_action()
1712 NS_DBG("do_state_action: BUG! unknown action\n"); in ns_do_state_action()
1733 NS_DBG("switch_state: operation is known, switch to the next state, " in ns_switch_state()
1749 NS_DBG("switch_state: operation is unknown, try to find it\n"); in ns_switch_state()
1764 NS_DBG("switch_state: double the column number for 16x device\n"); in ns_switch_state()
1783 NS_DBG("switch_state: operation complete, switch to STATE_READY state\n"); in ns_switch_state()
1797 NS_DBG("switch_state: the next state is data I/O, switch, " in ns_switch_state()
1885 NS_DBG("read_byte: return %#x status\n", ns->regs.status); in ns_nand_read_byte()
1906 NS_DBG("read_byte: read ID byte %d, total = %d\n", ns->regs.count, ns->regs.num); in ns_nand_read_byte()
1915 NS_DBG("read_byte: all bytes were read\n"); in ns_nand_read_byte()
1981 NS_DBG("command byte corresponding to %s state accepted\n", in ns_nand_write_byte()
1993 NS_DBG("write_byte: operation isn't known yet, identify it\n"); in ns_nand_write_byte()
2040 NS_DBG("write_byte: address byte %#x was accepted (%d bytes input, %d expected)\n", in ns_nand_write_byte()
2044 NS_DBG("address (%#x, %#x) is accepted\n", ns->regs.row, ns->regs.column); in ns_nand_write_byte()
2105 NS_DBG("write_buf: %d bytes were written\n", ns->regs.count); in ns_nand_write_buf()