Home
last modified time | relevance | path

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

/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];
/openbmc/qemu/hw/ssi/
H A Dpnv_spi.c96 if (offset < PNV_SPI_REG_SIZE) { in get_from_offset()
332 if (s->N1_bytes > (PNV_SPI_REG_SIZE + 1)) { in calculate_N1()
336 s->N1_bytes = PNV_SPI_REG_SIZE + 1; in calculate_N1()
339 } else if (s->N1_bytes > PNV_SPI_REG_SIZE) { in calculate_N1()
343 s->N1_bytes = PNV_SPI_REG_SIZE; in calculate_N1()
575 if (s->N2_bytes > (PNV_SPI_REG_SIZE + 1)) { in calculate_N2()
577 s->N2_bytes = PNV_SPI_REG_SIZE + 1; in calculate_N2()
580 } else if (s->N2_bytes > PNV_SPI_REG_SIZE) { in calculate_N2()
582 s->N2_bytes = PNV_SPI_REG_SIZE; in calculate_N2()
638 PNV_SPI_REG_SIZE)) { in operation_shiftn2()
[all …]