Lines Matching refs:NS_ERR
177 #define NS_ERR(args...) \ macro
518 NS_ERR("cannot create \"nandsim_wear_report\" debugfs entry\n"); in ns_debugfs_create()
546 NS_ERR("alloc_device: cache file not readable\n"); in ns_alloc_device()
551 NS_ERR("alloc_device: cache file not writeable\n"); in ns_alloc_device()
559 NS_ERR("alloc_device: unable to allocate pages written array\n"); in ns_alloc_device()
565 NS_ERR("alloc_device: unable to allocate file buf\n"); in ns_alloc_device()
583 NS_ERR("alloc_device: unable to allocate page array\n"); in ns_alloc_device()
592 NS_ERR("cache_create: unable to create kmem_cache\n"); in ns_alloc_device()
649 NS_ERR("init_nandsim: nandsim is already initialized\n"); in ns_init()
677 NS_ERR("init_nandsim: unknown page size %u\n", ns->geom.pgsz); in ns_init()
701 NS_ERR("too many partitions.\n"); in ns_init()
710 NS_ERR("bad partition size.\n"); in ns_init()
715 NS_ERR("unable to allocate memory.\n"); in ns_init()
726 NS_ERR("too many partitions.\n"); in ns_init()
732 NS_ERR("unable to allocate memory.\n"); in ns_init()
768 NS_ERR("init_nandsim: unable to allocate %u bytes for the internal buffer\n", in ns_init()
816 NS_ERR("invalid badblocks.\n"); in ns_parse_badblocks()
821 NS_ERR("invalid badblocks.\n"); in ns_parse_badblocks()
845 NS_ERR("invalid weakblocks.\n"); in ns_parse_weakblocks()
857 NS_ERR("unable to allocate memory.\n"); in ns_parse_weakblocks()
896 NS_ERR("invalid weakpages.\n"); in ns_parse_weakpages()
908 NS_ERR("unable to allocate memory.\n"); in ns_parse_weakpages()
947 NS_ERR("invalid gravepagess.\n"); in ns_parse_gravepages()
959 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()
1004 NS_ERR("Erase counter total overflow\n"); in ns_update_wear()
1007 NS_ERR("Erase counter overflow for erase block %u\n", erase_block_no); in ns_update_wear()
1064 NS_ERR("get_state_name: unknown state, BUG\n"); in ns_get_state_name()
1131 NS_ERR("get_state_by_command: unknown command, BUG\n"); in ns_get_state_by_command()
1443 NS_ERR("read_page: read error for page %d ret %ld\n", ns->regs.row, (long)tx); in ns_read_page()
1517 NS_ERR("prog_page: read error for page %d ret %ld\n", ns->regs.row, (long)tx); in ns_prog_page()
1528 NS_ERR("prog_page: write error for page %d ret %ld\n", ns->regs.row, (long)tx); in ns_prog_page()
1535 NS_ERR("prog_page: write error for page %d ret %ld\n", ns->regs.row, (long)tx); in ns_prog_page()
1553 NS_ERR("prog_page: error allocating memory for page %d\n", ns->regs.row); in ns_prog_page()
1594 NS_ERR("do_state_action: column number is too large\n"); in ns_do_state_action()
1621 NS_ERR("do_state_action: device is write-protected, ignore sector erase\n"); in ns_do_state_action()
1627 NS_ERR("do_state_action: wrong sector address (%#x)\n", ns->regs.row); in ns_do_state_action()
1667 NS_ERR("do_state_action: too few bytes were input (%d instead of %d)\n", in ns_do_state_action()
1698 NS_ERR("do_state_action: BUG! can't skip half of page for non-512" in ns_do_state_action()
1821 NS_ERR("switch_state: BUG! unknown data state\n"); in ns_switch_state()
1851 NS_ERR("switch_state: BUG! unknown address state\n"); in ns_switch_state()
1870 NS_ERR("read_byte: chip is disabled, return %#x\n", (uint)outb); in ns_nand_read_byte()
1874 NS_ERR("read_byte: ALE or CLE pin is high, return %#x\n", (uint)outb); in ns_nand_read_byte()
1930 NS_ERR("write_byte: chip is disabled, ignore write\n"); in ns_nand_write_byte()
1934 NS_ERR("write_byte: ALE and CLE pins are high simultaneously, ignore write\n"); in ns_nand_write_byte()
1951 NS_ERR("write_byte: unknown command %#x\n", (uint)byte); in ns_nand_write_byte()
2023 NS_ERR("write_byte: address (%#x) isn't expected, expected state is %s, switch to STATE_READY\n", in ns_nand_write_byte()
2031 NS_ERR("write_byte: no more address bytes expected\n"); in ns_nand_write_byte()
2055 NS_ERR("write_byte: data input (%#x) isn't expected, state is %s, switch to %s\n", in ns_nand_write_byte()
2088 NS_ERR("write_buf: data input isn't expected, state is %s, switch to STATE_READY\n", in ns_nand_write_buf()
2096 NS_ERR("write_buf: too many input bytes\n"); in ns_nand_write_buf()
2115 NS_ERR("read_buf: chip is disabled\n"); in ns_nand_read_buf()
2119 NS_ERR("read_buf: ALE or CLE pin is high\n"); in ns_nand_read_buf()
2139 NS_ERR("read_buf: too many bytes to read\n"); in ns_nand_read_buf()
2224 NS_ERR("BCH ECC support is disabled\n"); in ns_attach_chip()
2234 NS_ERR("BCH not available on small page devices\n"); in ns_attach_chip()
2239 NS_ERR("Invalid BCH value %u\n", bch); in ns_attach_chip()
2268 NS_ERR("wrong bus width (%d), use only 8 or 16\n", bus_width); in ns_init_module()
2274 NS_ERR("unable to allocate core structures.\n"); in ns_init_module()
2295 NS_ERR("bbt has to be 0..2\n"); in ns_init_module()
2340 NS_ERR("Could not scan NAND Simulator device\n"); in ns_init_module()
2352 NS_ERR("overridesize is too big\n"); in ns_init_module()