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()
740 NS_ERR("bad partition size.\n"); in init_nandsim()
745 NS_ERR("unable to allocate memory.\n"); in init_nandsim()
756 NS_ERR("too many partitions.\n"); in init_nandsim()
761 NS_ERR("unable to allocate memory.\n"); in init_nandsim()
795 NS_ERR("init_nandsim: unable to allocate %u bytes for the internal buffer\n", in init_nandsim()
829 NS_ERR("invalid badblocks.\n"); in parse_badblocks()
834 NS_ERR("invalid badblocks.\n"); in parse_badblocks()
858 NS_ERR("invalid weakblocks.\n"); in parse_weakblocks()
870 NS_ERR("unable to allocate memory.\n"); in parse_weakblocks()
909 NS_ERR("invalid weakpagess.\n"); in parse_weakpages()
921 NS_ERR("unable to allocate memory.\n"); in parse_weakpages()
960 NS_ERR("invalid gravepagess.\n"); in parse_gravepages()
972 NS_ERR("unable to allocate memory.\n"); in parse_gravepages()
1021 NS_ERR("Too many erase blocks for wear reporting\n"); in setup_wear_reporting()
1026 NS_ERR("Too many erase blocks for wear reporting\n"); in setup_wear_reporting()
1042 NS_ERR("Erase counter total overflow\n"); in update_wear()
1045 NS_ERR("Erase counter overflow for erase block %u\n", erase_block_no); in update_wear()
1102 NS_ERR("get_state_name: unknown state, BUG\n"); in get_state_name()
1169 NS_ERR("get_state_by_command: unknown command, BUG\n"); in get_state_by_command()
1487 NS_ERR("read_page: read error for page %d ret %ld\n", ns->regs.row, (long)tx); in read_page()
1561 NS_ERR("prog_page: read error for page %d ret %ld\n", ns->regs.row, (long)tx); in prog_page()
1571 NS_ERR("prog_page: write error for page %d ret %ld\n", ns->regs.row, (long)tx); in prog_page()
1578 NS_ERR("prog_page: write error for page %d ret %ld\n", ns->regs.row, (long)tx); in prog_page()
1596 NS_ERR("prog_page: error allocating memory for page %d\n", ns->regs.row); in prog_page()
1637 NS_ERR("do_state_action: column number is too large\n"); in do_state_action()
1664 NS_ERR("do_state_action: device is write-protected, ignore sector erase\n"); in do_state_action()
1670 NS_ERR("do_state_action: wrong sector address (%#x)\n", ns->regs.row); in do_state_action()
1710 NS_ERR("do_state_action: too few bytes were input (%d instead of %d)\n", in do_state_action()
1741 NS_ERR("do_state_action: BUG! can't skip half of page for non-512" in do_state_action()
1867 NS_ERR("switch_state: BUG! unknown data state\n"); in switch_state()
1897 NS_ERR("switch_state: BUG! unknown address state\n"); in switch_state()
1916 NS_ERR("read_byte: chip is disabled, return %#x\n", (uint)outb); in ns_nand_read_byte()
1920 NS_ERR("read_byte: ALE or CLE pin is high, return %#x\n", (uint)outb); in ns_nand_read_byte()
1976 NS_ERR("write_byte: chip is disabled, ignore write\n"); in ns_nand_write_byte()
1980 NS_ERR("write_byte: ALE and CLE pins are high simultaneously, ignore write\n"); in ns_nand_write_byte()
1997 NS_ERR("write_byte: unknown command %#x\n", (uint)byte); in ns_nand_write_byte()
2066 NS_ERR("write_byte: address (%#x) isn't expected, expected state is %s, " in ns_nand_write_byte()
2074 NS_ERR("write_byte: no more address bytes expected\n"); in ns_nand_write_byte()
2098 NS_ERR("write_byte: data input (%#x) isn't expected, state is %s, " in ns_nand_write_byte()
2157 NS_ERR("write_buf: data input isn't expected, state is %s, " in ns_nand_write_buf()
2165 NS_ERR("write_buf: too many input bytes\n"); in ns_nand_write_buf()
2184 NS_ERR("read_buf: chip is disabled\n"); in ns_nand_read_buf()
2188 NS_ERR("read_buf: ALE or CLE pin is high\n"); in ns_nand_read_buf()
2208 NS_ERR("read_buf: too many bytes to read\n"); in ns_nand_read_buf()
2234 NS_ERR("wrong bus width (%d), use only 8 or 16\n", bus_width); in ns_init_module()
2242 NS_ERR("unable to allocate core structures.\n"); in ns_init_module()
2272 NS_ERR("bbt has to be 0..2\n"); in ns_init_module()
2310 NS_ERR("cannot scan NAND Simulator device\n"); in ns_init_module()
2319 NS_ERR("BCH ECC support is disabled\n"); in ns_init_module()
2328 NS_ERR("bch not available on small page devices\n"); in ns_init_module()
2333 NS_ERR("invalid bch value %u\n", bch); in ns_init_module()
2346 NS_ERR("can't register NAND Simulator\n"); in ns_init_module()
2355 NS_ERR("overridesize is too big\n"); in ns_init_module()