Home
last modified time | relevance | path

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

/trusted-firmware-a/drivers/arm/gic/v3/
A Dgic600_multichip.c72 unsigned int spi_id_max) in set_gicd_chipr_n() argument
95 if (spi_id_min == 0 && spi_id_max == 0) { in set_gicd_chipr_n()
97 spi_id_max = GIC600_SPI_ID_MIN; in set_gicd_chipr_n()
101 spi_blocks = SPI_BLOCKS_VALUE(spi_id_min, spi_id_max); in set_gicd_chipr_n()
165 unsigned int i, spi_id_min, spi_id_max, blocks_of_32; in gic600_multichip_validate_data() local
180 if ((spi_id_min != 0) || (spi_id_max != 0)) { in gic600_multichip_validate_data()
184 !(spi_id_max < GIC600_SPI_ID_MAX) || in gic600_multichip_validate_data()
185 !(spi_id_min <= spi_id_max) || in gic600_multichip_validate_data()
186 !((spi_id_max - spi_id_min + 1) % 32 == 0)) { in gic600_multichip_validate_data()
189 spi_id_max, i); in gic600_multichip_validate_data()
[all …]
A Dgic600_multichip_private.h53 #define SPI_BLOCKS_VALUE(spi_id_min, spi_id_max) \ argument
54 (((spi_id_max) - (spi_id_min) + 1) / \
69 #define SPI_BLOCKS_TILL_MAX(spi_id_max) ((1 << (((spi_id_max) + 1) >> 5)) - 1) argument
73 #define BLOCKS_OF_32(spi_id_min, spi_id_max) \ argument
74 SPI_BLOCKS_TILL_MAX(spi_id_max) ^ \

Completed in 3 milliseconds