Lines Matching refs:NS_DBG

187 #define NS_DBG(args...) \  macro
1196 NS_DBG("switch_to_ready_state: switch to %s state\n", get_state_name(STATE_READY)); in switch_to_ready_state()
1305 NS_DBG("find_operation: operation found, index: %d, state: %s, nxstate %s\n", in find_operation()
1313 NS_DBG("find_operation: no operation found, try again with state %s\n", in find_operation()
1319 NS_DBG("find_operation: no operations found\n"); in find_operation()
1326 NS_DBG("find_operation: BUG, operation must be known if address is input\n"); in find_operation()
1330 NS_DBG("find_operation: there is still ambiguity\n"); in find_operation()
1474 NS_DBG("read_page: page %d not written\n", ns->regs.row); in read_page()
1480 NS_DBG("read_page: page %d written, reading from %d\n", in read_page()
1497 NS_DBG("read_page: page %d not allocated\n", ns->regs.row); in read_page()
1500 NS_DBG("read_page: page %d allocated, reading from %d\n", in read_page()
1521 NS_DBG("erase_sector: freeing page %d\n", ns->regs.row + i); in erase_sector()
1529 NS_DBG("erase_sector: freeing page %d\n", ns->regs.row+i); in erase_sector()
1551 NS_DBG("prog_page: writing page %d\n", ns->regs.row); in prog_page()
1587 NS_DBG("prog_page: allocating page %d\n", ns->regs.row); in prog_page()
1643 NS_DBG("do_state_action: (ACTION_CPY:) copy %d bytes to int buf, raw offset %d\n", in do_state_action()
1680 NS_DBG("do_state_action: erase sector at address %#x, off = %d\n", in do_state_action()
1720 NS_DBG("do_state_action: copy %d bytes from int buf to (%#x, %#x), raw off = %d\n", in do_state_action()
1735 NS_DBG("do_state_action: set internal offset to 0\n"); in do_state_action()
1745 NS_DBG("do_state_action: set internal offset to %d\n", ns->geom.pgsz/2); in do_state_action()
1750 NS_DBG("do_state_action: set internal offset to %d\n", ns->geom.pgsz); in do_state_action()
1755 NS_DBG("do_state_action: BUG! unknown action\n"); in do_state_action()
1776 NS_DBG("switch_state: operation is known, switch to the next state, " in switch_state()
1798 NS_DBG("switch_state: operation is unknown, try to find it\n"); in switch_state()
1811 NS_DBG("switch_state: double the column number for 16x device\n"); in switch_state()
1830 NS_DBG("switch_state: operation complete, switch to STATE_READY state\n"); in switch_state()
1844 NS_DBG("switch_state: the next state is data I/O, switch, " in switch_state()
1931 NS_DBG("read_byte: return %#x status\n", ns->regs.status); in ns_nand_read_byte()
1952 NS_DBG("read_byte: read ID byte %d, total = %d\n", ns->regs.count, ns->regs.num); in ns_nand_read_byte()
1961 NS_DBG("read_byte: all bytes were read\n"); in ns_nand_read_byte()
2026 NS_DBG("command byte corresponding to %s state accepted\n", in ns_nand_write_byte()
2038 NS_DBG("write_byte: operation isn't known yet, identify it\n"); in ns_nand_write_byte()
2083 NS_DBG("write_byte: address byte %#x was accepted (%d bytes input, %d expected)\n", in ns_nand_write_byte()
2087 NS_DBG("address (%#x, %#x) is accepted\n", ns->regs.row, ns->regs.column); in ns_nand_write_byte()
2138 NS_DBG("device_ready\n"); in ns_device_ready()
2146 NS_DBG("read_word\n"); in ns_nand_read_word()
2174 NS_DBG("write_buf: %d bytes were written\n", ns->regs.count); in ns_nand_write_buf()