Searched refs:ONFI_CRC_BASE (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | nand_onfi.c | 63 if ((onfi_crc16(ONFI_CRC_BASE, ((uint8_t *)ep) + 2, len - 2) in nand_flash_detect_ext_param_page() 188 crc = onfi_crc16(ONFI_CRC_BASE, (u8 *)&pbuf[i], 254); in nand_onfi_detect() 206 crc = onfi_crc16(ONFI_CRC_BASE, (u8 *)pbuf, 254); in nand_onfi_detect()
|
H A D | nand_jedec.c | 67 crc = onfi_crc16(ONFI_CRC_BASE, (u8 *)p, 510); in nand_jedec_detect()
|
/openbmc/linux/include/linux/mtd/ |
H A D | onfi.h | 128 #define ONFI_CRC_BASE 0x4F4E macro
|
/openbmc/u-boot/include/linux/mtd/ |
H A D | rawnand.h | 354 #define ONFI_CRC_BASE 0x4F4E macro
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_base.c | 3139 if ((onfi_crc16(ONFI_CRC_BASE, ((uint8_t *)ep) + 2, len - 2) in nand_flash_detect_ext_param_page() 3228 if (onfi_crc16(ONFI_CRC_BASE, (uint8_t *)p, 254) == in nand_flash_detect_onfi() 3342 if (onfi_crc16(ONFI_CRC_BASE, (uint8_t *)p, 510) == in nand_flash_detect_jedec()
|