Home
last modified time | relevance | path

Searched refs:ecc_count (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/ssi/
H A Dpnv_spi.c78 static uint8_t read_from_frame(PnvSpi *s, uint8_t nr_bytes, uint8_t ecc_count, in read_from_frame() argument
86 if ((ecc_count != 0) && in read_from_frame()
87 (shift_in_count == (PNV_SPI_REG_SIZE + ecc_count))) { in read_from_frame()
103 uint8_t ecc_count; in spi_response() local
136 ecc_count = 0; in spi_response()
139 ecc_count = 1; in spi_response()
151 shift_in_count = read_from_frame(s, s->N1_bytes, ecc_count, shift_in_count); in spi_response()
167 shift_in_count = read_from_frame(s, s->N2_bytes, ecc_count, shift_in_count); in spi_response()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dvf610_nfc.c558 u8 ecc_count; in vf610_nfc_correct_data() local
563 ecc_count = ecc_status & ECC_STATUS_ERR_COUNT; in vf610_nfc_correct_data()
566 return ecc_count; in vf610_nfc_correct_data()