Home
last modified time | relevance | path

Searched refs:ONFI_CRC_BASE (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_onfi.c63 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 Dnand_jedec.c67 crc = onfi_crc16(ONFI_CRC_BASE, (u8 *)p, 510); in nand_jedec_detect()
/openbmc/linux/include/linux/mtd/
H A Donfi.h128 #define ONFI_CRC_BASE 0x4F4E macro
/openbmc/u-boot/include/linux/mtd/
H A Drawnand.h354 #define ONFI_CRC_BASE 0x4F4E macro
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_base.c3139 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()