summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/raw/nandsim.c
AgeCommit message (Expand)AuthorFilesLines
2023-03-22mtd: rawnand: nandsim: Artificially prevent sequential page readsMiquel Raynal1-1/+16
2022-11-18treewide: use get_random_u32_inclusive() when possibleJason A. Donenfeld1-1/+1
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-2/+2
2022-10-12treewide: use get_random_bytes() when possibleJason A. Donenfeld1-1/+1
2022-10-12treewide: use get_random_{u8,u16}() when possible, part 2Jason A. Donenfeld1-1/+1
2022-10-12treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld1-2/+2
2022-01-23mtd: rawnand: nandsim: Add NS_PAGE_BYTE_SHIFT macro to replace the repeat pat...RinHizakura1-8/+11
2022-01-23mtd: rawnand: nandsim: Merge repeat codes in ns_switch_stateRinHizakura1-13/+6
2022-01-23mtd: rawnand: nandsim: Replace overflow check with kzalloc to single kcallocRinHizakura1-8/+1
2021-01-14mtd: rawnand: nandsim: Fix the logic when selecting Hamming soft ECC engineMiquel Raynal1-4/+3
2020-11-30mtd: nand: ecc-bch: Drop mtd_nand_has_bch()Miquel Raynal1-2/+1
2020-11-30mtd: nand: ecc-bch: Move BCH code to the generic NAND layerMiquel Raynal1-1/+1
2020-09-28mtd: rawnand: Use the new ECC engine type enumerationMiquel Raynal1-2/+2
2020-08-27mtd: rawnand: Rename the ECC algorithm enumeration itemsMiquel Raynal1-2/+2
2020-06-15nandsim: Fix return code testing of ns_find_operation()Richard Weinberger1-1/+1
2020-05-31mtd: rawnand: nandsim: Reorganize ns_cleanup_module()Miquel Raynal1-22/+22
2020-05-31mtd: rawnand: nandsim: Rename a label in ns_init_module()Miquel Raynal1-3/+3
2020-05-31mtd: rawnand: nandsim: Manage lists on error in ns_init_module()Miquel Raynal1-4/+19
2020-05-31mtd: rawnand: nandsim: Fix the label pointing on nand_cleanup()Miquel Raynal1-3/+3
2020-05-31mtd: rawnand: nandsim: Free erase_block_wear on errorMiquel Raynal1-1/+3
2020-05-31mtd: rawnand: nandsim: Use an additional label when freeing the nandsim objectMiquel Raynal1-3/+4
2020-05-31mtd: rawnand: nandsim: Stop using nand_release()Miquel Raynal1-2/+4
2020-05-31mtd: rawnand: nandsim: Free the partition names in ns_free()Miquel Raynal1-6/+6
2020-05-31mtd: rawnand: nandsim: Free the allocated device on error in ns_init()Miquel Raynal1-1/+3
2020-05-31mtd: rawnand: nandsim: Free partition names on error in ns_init()Miquel Raynal1-4/+13
2020-05-31mtd: rawnand: nandsim: Fix the two ns_alloc_device() error pathsMiquel Raynal1-9/+17
2020-05-31mtd: rawnand: nandsim: Remove debugfs entries at unload timeMiquel Raynal1-0/+6
2020-05-31mtd: rawnand: nandsim: Keep track of the created debugfs entriesMiquel Raynal1-4/+6
2020-05-31mtd: rawnand: nandsim: Clean error handlingMiquel Raynal1-19/+27
2020-05-31mtd: rawnand: nandsim: Use a consistent ns_ prefix for all functionsMiquel Raynal1-117/+131
2020-05-31mtd: rawnand: nandsim: Use octal permissionsMiquel Raynal1-1/+1
2020-05-31mtd: rawnand: nandsim: Consistent use of 'ns' instead of 'dev'Miquel Raynal1-4/+4
2020-05-10mtd: rawnand: Take check_only into accountBoris Brezillon1-0/+3
2020-03-30mtd: Convert fallthrough comments into statementsMiquel Raynal1-2/+2
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 150Thomas Gleixner1-14/+1
2019-04-18mtd: nandsim: switch to exec_op interfaceRichard Weinberger1-31/+47
2019-04-18mtd: nandsim: Embed struct nand_chip in struct nandsimRichard Weinberger1-25/+24
2019-04-08mtd: rawnand: Get rid of chip->chipsizeBoris Brezillon1-2/+4
2019-04-08mtd: rawnand: Fill memorg during detectionBoris Brezillon1-0/+5
2019-03-21mtd: rawnand: Mark expected switch fall-throughsGustavo A. R. Silva1-2/+4
2018-12-18Merge tag 'nand/for-4.21' of git://git.infradead.org/linux-mtd into mtd/nextBoris Brezillon1-1/+1
2018-12-07mtd: rawnand: Deprecate the dummy_controller fieldBoris Brezillon1-1/+1
2018-12-03mtd: use DEFINE_SHOW_ATTRIBUTE() instead of open-coding itYangtao Li1-14/+3
2018-10-03mtd: rawnand: Deprecate ->chip_delayBoris Brezillon1-1/+1
2018-10-03mtd: rawnand: Deprecate ->dev_ready() and ->waitfunc()Boris Brezillon1-1/+1
2018-10-03mtd: rawnand: Deprecate ->cmd_ctrl() and ->cmdfunc()Boris Brezillon1-1/+1
2018-10-03mtd: rawnand: Deprecate ->{read, write}_{byte, buf}() hooksBoris Brezillon1-4/+4
2018-10-03mtd: rawnand: Pass a nand_chip object to chip->dev_ready()Boris Brezillon1-1/+1
2018-10-03mtd: rawnand: Pass a nand_chip object to chip->cmd_ctrl()Boris Brezillon1-2/+1
2018-10-03mtd: rawnand: Pass a nand_chip object to chip->write_xxx() hooksBoris Brezillon1-5/+4