Home
last modified time | relevance | path

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

/openbmc/qemu/hw/ssi/
H A Dpnv_spi.c96 if (offset < PNV_SPI_REG_SIZE) { in get_from_offset()
119 (shift_in_count == (PNV_SPI_REG_SIZE + ecc_count))) { in read_from_frame()
334 if (s->N1_bytes > (PNV_SPI_REG_SIZE + 1)) { in calculate_N1()
338 s->N1_bytes = PNV_SPI_REG_SIZE + 1; in calculate_N1()
341 } else if (s->N1_bytes > PNV_SPI_REG_SIZE) { in calculate_N1()
345 s->N1_bytes = PNV_SPI_REG_SIZE; in calculate_N1()
404 if ((s->N1_tx != 0) && (n1_count < PNV_SPI_REG_SIZE)) { in operation_shiftn1()
577 if (s->N2_bytes > (PNV_SPI_REG_SIZE + 1)) { in calculate_N2()
579 s->N2_bytes = PNV_SPI_REG_SIZE + 1; in calculate_N2()
582 } else if (s->N2_bytes > PNV_SPI_REG_SIZE) { in calculate_N2()
[all …]
/openbmc/qemu/include/hw/ssi/
H A Dpnv_spi.h30 #define PNV_SPI_REG_SIZE 8 macro
64 uint8_t seq_op[PNV_SPI_REG_SIZE];