Lines Matching refs:NS_DBG
174 #define NS_DBG(args...) \ macro
1163 NS_DBG("switch_to_ready_state: switch to %s state\n", in ns_switch_to_ready_state()
1273 NS_DBG("find_operation: operation found, index: %d, state: %s, nxstate %s\n", in ns_find_operation()
1282 NS_DBG("find_operation: no operation found, try again with state %s\n", in ns_find_operation()
1288 NS_DBG("find_operation: no operations found\n"); in ns_find_operation()
1295 NS_DBG("find_operation: BUG, operation must be known if address is input\n"); in ns_find_operation()
1299 NS_DBG("find_operation: there is still ambiguity\n"); in ns_find_operation()
1434 NS_DBG("read_page: page %d not written\n", ns->regs.row); in ns_read_page()
1440 NS_DBG("read_page: page %d written, reading from %d\n", in ns_read_page()
1458 NS_DBG("read_page: page %d not allocated\n", ns->regs.row); in ns_read_page()
1461 NS_DBG("read_page: page %d allocated, reading from %d\n", in ns_read_page()
1482 NS_DBG("erase_sector: freeing page %d\n", ns->regs.row + i); in ns_erase_sector()
1490 NS_DBG("erase_sector: freeing page %d\n", ns->regs.row+i); in ns_erase_sector()
1512 NS_DBG("prog_page: writing page %d\n", ns->regs.row); in ns_prog_page()
1549 NS_DBG("prog_page: allocating page %d\n", ns->regs.row); in ns_prog_page()
1605 NS_DBG("do_state_action: (ACTION_CPY:) copy %d bytes to int buf, raw offset %d\n", in ns_do_state_action()
1642 NS_DBG("do_state_action: erase sector at address %#x, off = %d\n", in ns_do_state_action()
1682 NS_DBG("do_state_action: copy %d bytes from int buf to (%#x, %#x), raw off = %d\n", in ns_do_state_action()
1697 NS_DBG("do_state_action: set internal offset to 0\n"); in ns_do_state_action()
1707 NS_DBG("do_state_action: set internal offset to %d\n", ns->geom.pgsz/2); in ns_do_state_action()
1712 NS_DBG("do_state_action: set internal offset to %d\n", ns->geom.pgsz); in ns_do_state_action()
1717 NS_DBG("do_state_action: BUG! unknown action\n"); in ns_do_state_action()
1738 NS_DBG("switch_state: operation is known, switch to the next state, " in ns_switch_state()
1762 NS_DBG("switch_state: operation is unknown, try to find it\n"); in ns_switch_state()
1776 NS_DBG("switch_state: double the column number for 16x device\n"); in ns_switch_state()
1795 NS_DBG("switch_state: operation complete, switch to STATE_READY state\n"); in ns_switch_state()
1809 NS_DBG("switch_state: the next state is data I/O, switch, " in ns_switch_state()
1897 NS_DBG("read_byte: return %#x status\n", ns->regs.status); in ns_nand_read_byte()
1918 NS_DBG("read_byte: read ID byte %d, total = %d\n", ns->regs.count, ns->regs.num); in ns_nand_read_byte()
1927 NS_DBG("read_byte: all bytes were read\n"); in ns_nand_read_byte()
1993 NS_DBG("command byte corresponding to %s state accepted\n", in ns_nand_write_byte()
2005 NS_DBG("write_byte: operation isn't known yet, identify it\n"); in ns_nand_write_byte()
2052 NS_DBG("write_byte: address byte %#x was accepted (%d bytes input, %d expected)\n", in ns_nand_write_byte()
2056 NS_DBG("address (%#x, %#x) is accepted\n", ns->regs.row, ns->regs.column); in ns_nand_write_byte()
2117 NS_DBG("write_buf: %d bytes were written\n", ns->regs.count); in ns_nand_write_buf()