Home
last modified time | relevance | path

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

/tf-a-ffa_el3_spmc/drivers/arm/gic/v3/
A Dgic600_multichip.c72 unsigned int spi_id_min, in set_gicd_chipr_n() argument
95 if (spi_id_min == 0 && spi_id_max == 0) { in set_gicd_chipr_n()
96 spi_id_min = GIC600_SPI_ID_MIN; in set_gicd_chipr_n()
100 spi_block_min = SPI_BLOCK_MIN_VALUE(spi_id_min); in set_gicd_chipr_n()
149 unsigned int i, spi_id_min, spi_id_max, blocks_of_32; in gic600_multichip_validate_data() local
164 if ((spi_id_min != 0) || (spi_id_max != 0)) { in gic600_multichip_validate_data()
167 if (!(spi_id_min >= GIC600_SPI_ID_MIN) || in gic600_multichip_validate_data()
169 !(spi_id_min <= spi_id_max) || in gic600_multichip_validate_data()
170 !((spi_id_max - spi_id_min + 1) % 32 == 0)) { in gic600_multichip_validate_data()
172 "Chip %u\n", spi_id_min, in gic600_multichip_validate_data()
[all …]
A Dgic600_multichip_private.h56 #define SPI_BLOCK_MIN_VALUE(spi_id_min) \ argument
57 (((spi_id_min) - GIC600_SPI_ID_MIN) / \
59 #define SPI_BLOCKS_VALUE(spi_id_min, spi_id_max) \ argument
60 (((spi_id_max) - (spi_id_min) + 1) / \
73 #define SPI_BLOCKS_TILL_MIN(spi_id_min) ((1 << ((spi_id_min) >> 5)) - 1) argument
75 #define BLOCKS_OF_32(spi_id_min, spi_id_max) \ argument
77 SPI_BLOCKS_TILL_MIN(spi_id_min)

Completed in 2 milliseconds