Lines Matching full:onenand
13 * Flex-OneNAND support
27 #include <linux/mtd/onenand.h>
39 /* Default Flex-OneNAND boundary and lock respectively */
43 MODULE_PARM_DESC(flex_bdry, "SLC Boundary information for Flex-OneNAND"
50 /* Default OneNAND/Flex-OneNAND OTP options*/
54 MODULE_PARM_DESC(otp, "Corresponding behaviour of OneNAND in OTP"
63 * flexonenand_oob_128 - oob info for Flex-Onenand with 4KB page
96 * onenand_oob_128 - oob info for OneNAND with 4KB page
99 * 4Gb M-die OneNAND Flash (KFM4G16Q4M, KFN8G16Q4M). Rev. 1.3, Apr. 2010
194 * onenand_readw - [OneNAND Interface] Read OneNAND register
197 * Read OneNAND register
205 * onenand_writew - [OneNAND Interface] Write OneNAND register with value
209 * Write OneNAND register with value
218 * @this: onenand chip data structure
235 * @this: onenand chip data structure
298 * @this: - OneNAND device structure
329 * @this: OneNAND device structure
330 * @block: Block number on Flex-OneNAND
361 * onenand_get_density - [DEFAULT] Get OneNAND density
362 * @dev_id: OneNAND device ID
364 * Get OneNAND density from device ID
373 * flexonenand_region - [Flex-OneNAND] Return erase region of addr
389 * onenand_command - [DEFAULT] Send command to OneNAND device
395 * Send command to OneNAND device. This function is used for middle/large page
522 * @this: onenand chip structure
549 * Wait for command done. This applies to all OneNAND command
551 * according to general OneNAND specs
627 * onenand_interrupt - [DEFAULT] onenand interrupt handler
628 * @irq: onenand interrupt number
678 printk(KERN_INFO "OneNAND: There's no interrupt. " in onenand_try_interrupt_wait()
691 * onenand_setup_wait - [OneNAND Interface] setup onenand wait method
694 * There's two method to wait onenand work
711 IRQF_SHARED, "onenand", this)) { in onenand_setup_wait()
749 * onenand_read_bufferram - [OneNAND Interface] Read the bufferram area
785 * onenand_sync_read_bufferram - [OneNAND Interface] Read the bufferram area with Sync. Burst mode
825 * onenand_write_bufferram - [OneNAND Interface] Write the bufferram area
1063 * onenand_recover_lsb - [Flex-OneNAND] Recover LSB page data
1080 /* Recovery is only for Flex-OneNAND */ in onenand_recover_lsb()
1106 * onenand_mlc_read_ops_nolock - MLC OneNAND read main and/or out-of-band
1111 * MLC OneNAND / Flex-OneNAND has 4KB page size and 4KB dataram.
1208 * onenand_read_ops_nolock - [OneNAND Interface] OneNAND read main and/or out-of-band
1213 * OneNAND read main and/or out-of-band data
1337 * onenand_read_oob_nolock - [MTD Interface] OneNAND read out-of-band
1342 * OneNAND read out-of-band data from the spare area
1531 * onenand_bbt_read_oob - [MTD Interface] OneNAND read out-of-band for bbt scan
1536 * OneNAND read out-of-band data from the spare area for bbt scan
1790 * onenand_write_ops_nolock - [OneNAND Interface] write main and/or out-of-band
1877 * 2 PLANE, MLC, and Flex-OneNAND do not support in onenand_write_ops_nolock()
1921 * 2 PLANE, MLC, and Flex-OneNAND wait here in onenand_write_ops_nolock()
1971 * onenand_write_oob_nolock - [INTERN] OneNAND write out-of-band
1976 * OneNAND write out-of-band
2285 /* region is set for Flex-OneNAND */ in onenand_block_by_block_erase()
2388 /* region is set for Flex-OneNAND (no mb erase) */ in onenand_erase()
2497 * onenand_do_lock_cmd - [OneNAND Interface] Lock or unlock block(s)
2613 * onenand_check_lock_status - [OneNAND Interface] Check lock status
2614 * @this: onenand chip data structure
2647 * onenand_unlock_all - [OneNAND Interface] unlock all blocks
2694 * onenand_otp_command - Send OTP specific command to OneNAND device
2769 * onenand_otp_write_oob_nolock - [INTERN] OneNAND write out-of-band, specific to OTP
2774 * OneNAND write out-of-band only for OTP
3001 * For Flex-OneNAND, we write lock mark to 1st word of sector 4 of in do_otp_lock()
3210 * For Flex-OneNAND, we write lock mark to 1st word of sector 4 of in onenand_lock_user_prot_reg()
3234 printk(KERN_DEBUG "[OneNAND] Invalid option selected for OTP\n"); in onenand_lock_user_prot_reg()
3244 * onenand_check_features - Check and set OneNAND features
3247 * Check and set OneNAND features
3303 /* Some OneNAND has continuous lock scheme */ in onenand_check_features()
3356 printk(KERN_INFO "OneNAND version = 0x%04x\n", version); in onenand_print_device_info()
3385 printk(KERN_DEBUG "OneNAND Manufacturer: %s (0x%0x)\n", name, manuf); in onenand_check_maf()
3569 /* Change only once for SDP Flex-OneNAND */ in flexonenand_set_boundary()
3649 * onenand_chip_probe - [OneNAND Interface] The generic chip probe
3652 * OneNAND detection method:
3673 /* Reset OneNAND to read default register values */ in onenand_chip_probe()
3689 /* Check OneNAND device */ in onenand_chip_probe()
3697 * onenand_probe - [OneNAND Interface] Probe the OneNAND device
3721 /* Check OneNAND features */ in onenand_probe()
3738 * For Flex-OneNAND, chipsize represents maximum possible device size. in onenand_probe()
3743 /* OneNAND page size & block size */ in onenand_probe()
3751 /* Pages per a block are always 64 in OneNAND */ in onenand_probe()
3754 * Flex-OneNAND SLC area has 64 pages per block. in onenand_probe()
3755 * Flex-OneNAND MLC area has 128 pages per block. in onenand_probe()
3792 * onenand_suspend - [MTD Interface] Suspend the OneNAND flash
3801 * onenand_resume - [MTD Interface] Resume the OneNAND flash
3816 * onenand_scan - [OneNAND Interface] Scan for the OneNAND device
3862 printk(KERN_INFO "OneNAND Sync. Burst Read support\n"); in onenand_scan()
3985 /* Change Flex-OneNAND boundaries if required */ in onenand_scan()
3994 * onenand_release - [OneNAND Interface] Free resources held by the OneNAND device
4027 MODULE_DESCRIPTION("Generic OneNAND flash driver code");