Lines Matching refs:NS_ERR
191 #define NS_ERR(args...) \ macro
537 NS_ERR("cannot create \"nandsim\" debugfs directory, err %d\n", in nandsim_debugfs_create()
582 NS_ERR("alloc_device: cache file not readable\n"); in alloc_device()
587 NS_ERR("alloc_device: cache file not writeable\n"); in alloc_device()
594 NS_ERR("alloc_device: unable to allocate pages written array\n"); in alloc_device()
600 NS_ERR("alloc_device: unable to allocate file buf\n"); in alloc_device()
610 NS_ERR("alloc_device: unable to allocate page array\n"); in alloc_device()
619 NS_ERR("cache_create: unable to create kmem_cache\n"); in alloc_device()
676 NS_ERR("init_nandsim: nandsim is already initialized\n"); in init_nandsim()
707 NS_ERR("init_nandsim: unknown page size %u\n", ns->geom.pgsz); in init_nandsim()
731 NS_ERR("too many partitions.\n"); in init_nandsim()
741 NS_ERR("bad partition size.\n"); in init_nandsim()
754 NS_ERR("too many partitions.\n"); in init_nandsim()
790 NS_ERR("init_nandsim: unable to allocate %u bytes for the internal buffer\n", in init_nandsim()
830 NS_ERR("invalid badblocks.\n"); in parse_badblocks()
835 NS_ERR("invalid badblocks.\n"); in parse_badblocks()
859 NS_ERR("invalid weakblocks.\n"); in parse_weakblocks()
871 NS_ERR("unable to allocate memory.\n"); in parse_weakblocks()
910 NS_ERR("invalid weakpagess.\n"); in parse_weakpages()
922 NS_ERR("unable to allocate memory.\n"); in parse_weakpages()
961 NS_ERR("invalid gravepagess.\n"); in parse_gravepages()
973 NS_ERR("unable to allocate memory.\n"); in parse_gravepages()
1022 NS_ERR("Too many erase blocks for wear reporting\n"); in setup_wear_reporting()
1027 NS_ERR("Too many erase blocks for wear reporting\n"); in setup_wear_reporting()
1043 NS_ERR("Erase counter total overflow\n"); in update_wear()
1046 NS_ERR("Erase counter overflow for erase block %u\n", erase_block_no); in update_wear()
1103 NS_ERR("get_state_name: unknown state, BUG\n"); in get_state_name()
1170 NS_ERR("get_state_by_command: unknown command, BUG\n"); in get_state_by_command()
1488 NS_ERR("read_page: read error for page %d ret %ld\n", ns->regs.row, (long)tx); in read_page()
1562 NS_ERR("prog_page: read error for page %d ret %ld\n", ns->regs.row, (long)tx); in prog_page()
1572 NS_ERR("prog_page: write error for page %d ret %ld\n", ns->regs.row, (long)tx); in prog_page()
1579 NS_ERR("prog_page: write error for page %d ret %ld\n", ns->regs.row, (long)tx); in prog_page()
1597 NS_ERR("prog_page: error allocating memory for page %d\n", ns->regs.row); in prog_page()
1638 NS_ERR("do_state_action: column number is too large\n"); in do_state_action()
1665 NS_ERR("do_state_action: device is write-protected, ignore sector erase\n"); in do_state_action()
1671 NS_ERR("do_state_action: wrong sector address (%#x)\n", ns->regs.row); in do_state_action()
1711 NS_ERR("do_state_action: too few bytes were input (%d instead of %d)\n", in do_state_action()
1742 NS_ERR("do_state_action: BUG! can't skip half of page for non-512" in do_state_action()
1868 NS_ERR("switch_state: BUG! unknown data state\n"); in switch_state()
1898 NS_ERR("switch_state: BUG! unknown address state\n"); in switch_state()
1917 NS_ERR("read_byte: chip is disabled, return %#x\n", (uint)outb); in ns_nand_read_byte()
1921 NS_ERR("read_byte: ALE or CLE pin is high, return %#x\n", (uint)outb); in ns_nand_read_byte()
1977 NS_ERR("write_byte: chip is disabled, ignore write\n"); in ns_nand_write_byte()
1981 NS_ERR("write_byte: ALE and CLE pins are high simultaneously, ignore write\n"); in ns_nand_write_byte()
1998 NS_ERR("write_byte: unknown command %#x\n", (uint)byte); in ns_nand_write_byte()
2067 NS_ERR("write_byte: address (%#x) isn't expected, expected state is %s, " in ns_nand_write_byte()
2075 NS_ERR("write_byte: no more address bytes expected\n"); in ns_nand_write_byte()
2099 NS_ERR("write_byte: data input (%#x) isn't expected, state is %s, " in ns_nand_write_byte()
2158 NS_ERR("write_buf: data input isn't expected, state is %s, " in ns_nand_write_buf()
2166 NS_ERR("write_buf: too many input bytes\n"); in ns_nand_write_buf()
2185 NS_ERR("read_buf: chip is disabled\n"); in ns_nand_read_buf()
2189 NS_ERR("read_buf: ALE or CLE pin is high\n"); in ns_nand_read_buf()
2209 NS_ERR("read_buf: too many bytes to read\n"); in ns_nand_read_buf()
2235 NS_ERR("wrong bus width (%d), use only 8 or 16\n", bus_width); in ns_init_module()
2243 NS_ERR("unable to allocate core structures.\n"); in ns_init_module()
2273 NS_ERR("bbt has to be 0..2\n"); in ns_init_module()
2311 NS_ERR("cannot scan NAND Simulator device\n"); in ns_init_module()
2320 NS_ERR("BCH ECC support is disabled\n"); in ns_init_module()
2329 NS_ERR("bch not available on small page devices\n"); in ns_init_module()
2334 NS_ERR("invalid bch value %u\n", bch); in ns_init_module()
2347 NS_ERR("can't register NAND Simulator\n"); in ns_init_module()
2356 NS_ERR("overridesize is too big\n"); in ns_init_module()