Lines Matching refs:NS_ERR

178 #define NS_ERR(args...) \  macro
516 NS_ERR("cannot create \"nandsim_wear_report\" debugfs entry\n"); in ns_debugfs_create()
544 NS_ERR("alloc_device: cache file not readable\n"); in ns_alloc_device()
549 NS_ERR("alloc_device: cache file not writeable\n"); in ns_alloc_device()
557 NS_ERR("alloc_device: unable to allocate pages written array\n"); in ns_alloc_device()
563 NS_ERR("alloc_device: unable to allocate file buf\n"); in ns_alloc_device()
581 NS_ERR("alloc_device: unable to allocate page array\n"); in ns_alloc_device()
590 NS_ERR("cache_create: unable to create kmem_cache\n"); in ns_alloc_device()
647 NS_ERR("init_nandsim: nandsim is already initialized\n"); in ns_init()
675 NS_ERR("init_nandsim: unknown page size %u\n", ns->geom.pgsz); in ns_init()
699 NS_ERR("too many partitions.\n"); in ns_init()
708 NS_ERR("bad partition size.\n"); in ns_init()
713 NS_ERR("unable to allocate memory.\n"); in ns_init()
724 NS_ERR("too many partitions.\n"); in ns_init()
730 NS_ERR("unable to allocate memory.\n"); in ns_init()
766 NS_ERR("init_nandsim: unable to allocate %u bytes for the internal buffer\n", in ns_init()
814 NS_ERR("invalid badblocks.\n"); in ns_parse_badblocks()
819 NS_ERR("invalid badblocks.\n"); in ns_parse_badblocks()
843 NS_ERR("invalid weakblocks.\n"); in ns_parse_weakblocks()
855 NS_ERR("unable to allocate memory.\n"); in ns_parse_weakblocks()
894 NS_ERR("invalid weakpages.\n"); in ns_parse_weakpages()
906 NS_ERR("unable to allocate memory.\n"); in ns_parse_weakpages()
945 NS_ERR("invalid gravepagess.\n"); in ns_parse_gravepages()
957 NS_ERR("unable to allocate memory.\n"); in ns_parse_gravepages()
988 NS_ERR("Too many erase blocks for wear reporting\n"); in ns_setup_wear_reporting()
993 NS_ERR("Too many erase blocks for wear reporting\n"); in ns_setup_wear_reporting()
1009 NS_ERR("Erase counter total overflow\n"); in ns_update_wear()
1012 NS_ERR("Erase counter overflow for erase block %u\n", erase_block_no); in ns_update_wear()
1069 NS_ERR("get_state_name: unknown state, BUG\n"); in ns_get_state_name()
1136 NS_ERR("get_state_by_command: unknown command, BUG\n"); in ns_get_state_by_command()
1448 NS_ERR("read_page: read error for page %d ret %ld\n", ns->regs.row, (long)tx); in ns_read_page()
1522 NS_ERR("prog_page: read error for page %d ret %ld\n", ns->regs.row, (long)tx); in ns_prog_page()
1533 NS_ERR("prog_page: write error for page %d ret %ld\n", ns->regs.row, (long)tx); in ns_prog_page()
1540 NS_ERR("prog_page: write error for page %d ret %ld\n", ns->regs.row, (long)tx); in ns_prog_page()
1558 NS_ERR("prog_page: error allocating memory for page %d\n", ns->regs.row); in ns_prog_page()
1599 NS_ERR("do_state_action: column number is too large\n"); in ns_do_state_action()
1626 NS_ERR("do_state_action: device is write-protected, ignore sector erase\n"); in ns_do_state_action()
1632 NS_ERR("do_state_action: wrong sector address (%#x)\n", ns->regs.row); in ns_do_state_action()
1672 NS_ERR("do_state_action: too few bytes were input (%d instead of %d)\n", in ns_do_state_action()
1703 NS_ERR("do_state_action: BUG! can't skip half of page for non-512" in ns_do_state_action()
1833 NS_ERR("switch_state: BUG! unknown data state\n"); in ns_switch_state()
1863 NS_ERR("switch_state: BUG! unknown address state\n"); in ns_switch_state()
1882 NS_ERR("read_byte: chip is disabled, return %#x\n", (uint)outb); in ns_nand_read_byte()
1886 NS_ERR("read_byte: ALE or CLE pin is high, return %#x\n", (uint)outb); in ns_nand_read_byte()
1942 NS_ERR("write_byte: chip is disabled, ignore write\n"); in ns_nand_write_byte()
1946 NS_ERR("write_byte: ALE and CLE pins are high simultaneously, ignore write\n"); in ns_nand_write_byte()
1963 NS_ERR("write_byte: unknown command %#x\n", (uint)byte); in ns_nand_write_byte()
2035 NS_ERR("write_byte: address (%#x) isn't expected, expected state is %s, switch to STATE_READY\n", in ns_nand_write_byte()
2043 NS_ERR("write_byte: no more address bytes expected\n"); in ns_nand_write_byte()
2067 NS_ERR("write_byte: data input (%#x) isn't expected, state is %s, switch to %s\n", in ns_nand_write_byte()
2100 NS_ERR("write_buf: data input isn't expected, state is %s, switch to STATE_READY\n", in ns_nand_write_buf()
2108 NS_ERR("write_buf: too many input bytes\n"); in ns_nand_write_buf()
2127 NS_ERR("read_buf: chip is disabled\n"); in ns_nand_read_buf()
2131 NS_ERR("read_buf: ALE or CLE pin is high\n"); in ns_nand_read_buf()
2151 NS_ERR("read_buf: too many bytes to read\n"); in ns_nand_read_buf()
2221 NS_ERR("BCH ECC support is disabled\n"); in ns_attach_chip()
2231 NS_ERR("BCH not available on small page devices\n"); in ns_attach_chip()
2236 NS_ERR("Invalid BCH value %u\n", bch); in ns_attach_chip()
2265 NS_ERR("wrong bus width (%d), use only 8 or 16\n", bus_width); in ns_init_module()
2271 NS_ERR("unable to allocate core structures.\n"); in ns_init_module()
2292 NS_ERR("bbt has to be 0..2\n"); in ns_init_module()
2337 NS_ERR("Could not scan NAND Simulator device\n"); in ns_init_module()
2349 NS_ERR("overridesize is too big\n"); in ns_init_module()