Lines Matching refs:sx_board
163 static struct specialix_board sx_board[SX_NBOARD] = {
204 return bp - sx_board;
219 return &sx_board[SX_BOARD(port - sx_port)];
1403 if (board >= SX_NBOARD || !(sx_board[board].flags & SX_BOARD_PRESENT)) {
1408 bp = &sx_board[board];
2253 spin_lock_init(&sx_board[i].lock);
2261 if (sx_board[i].base && !sx_probe(&sx_board[i]))
2270 if (sx_board[i].flags & SX_BOARD_PRESENT) {
2282 sx_board[i].irq = pdev->irq;
2284 sx_board[i].base = pci_resource_start(pdev, 2);
2286 sx_board[i].flags |= SX_BOARD_IS_PCI;
2287 if (!sx_probe(&sx_board[i]))
2333 sx_board[i].base = iobase[i];
2334 sx_board[i].irq = irq[i];
2335 sx_board[i].count = 0;
2352 if (sx_board[i].flags & SX_BOARD_PRESENT)
2353 sx_release_io_range(&sx_board[i]);