Home | History | Annotate | Download | only in spi

Lines Matching defs:spi_present_mask

240 	uint32_t spi_present_mask;
287 spi_present_mask = mcpgpio_spi_present_mask_fdt(sc);
288 if (spi_present_mask == 0) {
299 spi_present_mask = __BIT(device_cfdata(self)->cf_flags & 0x7);
306 if (spi_present_mask == 0 ||
308 spi_present_mask >= __BIT(4)) ||
310 spi_present_mask >= __BIT(8))) {
313 spi_present_mask);
316 nchips = popcount32(spi_present_mask);
322 for (bank = 0; spi_present_mask != 0; spi_present_mask &= ~__BIT(ha)) {
325 ha = ffs32(spi_present_mask) - 1;