Searched refs:number_spi_ports (Results 1 – 1 of 1) sorted by relevance
17 static int number_spi_ports; variable197 if (number_spi_ports == 0) { in cvm_oct_spi_init()199 IRQF_SHARED, "SPI", &number_spi_ports); in cvm_oct_spi_init()203 number_spi_ports++; in cvm_oct_spi_init()218 number_spi_ports--; in cvm_oct_spi_uninit()219 if (number_spi_ports == 0) { in cvm_oct_spi_uninit()224 free_irq(OCTEON_IRQ_RML, &number_spi_ports); in cvm_oct_spi_uninit()