Searched refs:number_spi_ports (Results 1 – 1 of 1) sorted by relevance
44 static int number_spi_ports; variable295 if (number_spi_ports == 0) { in cvm_oct_spi_init()297 IRQF_SHARED, "SPI", &number_spi_ports); in cvm_oct_spi_init()301 number_spi_ports++; in cvm_oct_spi_init()316 number_spi_ports--; in cvm_oct_spi_uninit()317 if (number_spi_ports == 0) { in cvm_oct_spi_uninit()322 free_irq(OCTEON_IRQ_RML, &number_spi_ports); in cvm_oct_spi_uninit()