Lines Matching refs:xtab
1717 static unsigned short xtab[16] = { in isapnp_valid_irq() local
1735 for (i = 0; i < 16 && !(irq->map & (1<<xtab[i])); i++); in isapnp_valid_irq()
1739 if (!isapnp_check_interrupt(cfg, *value1 = *value2 = xtab[i], idx)) in isapnp_valid_irq()
1743 for (i = 0; i < 16 && xtab[i] != *value1; i++); in isapnp_valid_irq()
1744 for (i++; i < 16 && !(irq->map & (1<<xtab[i])); i++); in isapnp_valid_irq()
1753 *value1 = *value2 = xtab[i]; in isapnp_valid_irq()
1799 static unsigned short xtab[16] = { in isapnp_valid_dma() local
1817 for (i = 0; i < 8 && !(dma->map & (1<<xtab[i])); i++); in isapnp_valid_dma()
1821 if (!isapnp_check_dma(cfg, *value1 = *value2 = xtab[i], idx)) in isapnp_valid_dma()
1825 for (i = 0; i < 8 && xtab[i] != *value1; i++); in isapnp_valid_dma()
1826 for (i++; i < 8 && !(dma->map & (1<<xtab[i])); i++); in isapnp_valid_dma()
1835 *value1 = *value2 = xtab[i]; in isapnp_valid_dma()