Lines Matching refs:NS_DBG
187 #define NS_DBG(args...) \ macro
1197 NS_DBG("switch_to_ready_state: switch to %s state\n", get_state_name(STATE_READY)); in switch_to_ready_state()
1306 NS_DBG("find_operation: operation found, index: %d, state: %s, nxstate %s\n", in find_operation()
1314 NS_DBG("find_operation: no operation found, try again with state %s\n", in find_operation()
1320 NS_DBG("find_operation: no operations found\n"); in find_operation()
1327 NS_DBG("find_operation: BUG, operation must be known if address is input\n"); in find_operation()
1331 NS_DBG("find_operation: there is still ambiguity\n"); in find_operation()
1475 NS_DBG("read_page: page %d not written\n", ns->regs.row); in read_page()
1481 NS_DBG("read_page: page %d written, reading from %d\n", in read_page()
1498 NS_DBG("read_page: page %d not allocated\n", ns->regs.row); in read_page()
1501 NS_DBG("read_page: page %d allocated, reading from %d\n", in read_page()
1522 NS_DBG("erase_sector: freeing page %d\n", ns->regs.row + i); in erase_sector()
1530 NS_DBG("erase_sector: freeing page %d\n", ns->regs.row+i); in erase_sector()
1552 NS_DBG("prog_page: writing page %d\n", ns->regs.row); in prog_page()
1588 NS_DBG("prog_page: allocating page %d\n", ns->regs.row); in prog_page()
1644 NS_DBG("do_state_action: (ACTION_CPY:) copy %d bytes to int buf, raw offset %d\n", in do_state_action()
1681 NS_DBG("do_state_action: erase sector at address %#x, off = %d\n", in do_state_action()
1721 NS_DBG("do_state_action: copy %d bytes from int buf to (%#x, %#x), raw off = %d\n", in do_state_action()
1736 NS_DBG("do_state_action: set internal offset to 0\n"); in do_state_action()
1746 NS_DBG("do_state_action: set internal offset to %d\n", ns->geom.pgsz/2); in do_state_action()
1751 NS_DBG("do_state_action: set internal offset to %d\n", ns->geom.pgsz); in do_state_action()
1756 NS_DBG("do_state_action: BUG! unknown action\n"); in do_state_action()
1777 NS_DBG("switch_state: operation is known, switch to the next state, " in switch_state()
1799 NS_DBG("switch_state: operation is unknown, try to find it\n"); in switch_state()
1812 NS_DBG("switch_state: double the column number for 16x device\n"); in switch_state()
1831 NS_DBG("switch_state: operation complete, switch to STATE_READY state\n"); in switch_state()
1845 NS_DBG("switch_state: the next state is data I/O, switch, " in switch_state()
1932 NS_DBG("read_byte: return %#x status\n", ns->regs.status); in ns_nand_read_byte()
1953 NS_DBG("read_byte: read ID byte %d, total = %d\n", ns->regs.count, ns->regs.num); in ns_nand_read_byte()
1962 NS_DBG("read_byte: all bytes were read\n"); in ns_nand_read_byte()
2027 NS_DBG("command byte corresponding to %s state accepted\n", in ns_nand_write_byte()
2039 NS_DBG("write_byte: operation isn't known yet, identify it\n"); in ns_nand_write_byte()
2084 NS_DBG("write_byte: address byte %#x was accepted (%d bytes input, %d expected)\n", in ns_nand_write_byte()
2088 NS_DBG("address (%#x, %#x) is accepted\n", ns->regs.row, ns->regs.column); in ns_nand_write_byte()
2139 NS_DBG("device_ready\n"); in ns_device_ready()
2147 NS_DBG("read_word\n"); in ns_nand_read_word()
2175 NS_DBG("write_buf: %d bytes were written\n", ns->regs.count); in ns_nand_write_buf()