Lines Matching refs:card_base

223   int card_base, scc_cmd, scc_data;  member
253 static int setup_adapter(int card_base, int type, int n) __init;
471 int __init setup_adapter(int card_base, int type, int n) { in setup_adapter() argument
478 int tmr_base = card_base + hw[type].tmr_offset; in setup_adapter()
479 int scc_base = card_base + hw[type].scc_offset; in setup_adapter()
486 hw[type].name, card_base); in setup_adapter()
494 priv->card_base = card_base; in setup_adapter()
525 outb(0, card_base + TWIN_DMA_CFG); in setup_adapter()
526 inb(card_base + TWIN_CLR_TMR1); in setup_adapter()
527 inb(card_base + TWIN_CLR_TMR2); in setup_adapter()
528 outb((info->twin_serial_cfg = TWIN_EI), card_base + TWIN_SERIAL_CFG); in setup_adapter()
545 inb(card_base + TWIN_CLR_TMR1); in setup_adapter()
554 hw[type].name, card_base, irq); in setup_adapter()
568 priv->card_base = card_base; in setup_adapter()
586 dev->base_addr = card_base; in setup_adapter()
610 request_region(card_base, hw[type].io_size, "dmascc"); in setup_adapter()
615 chipnames[chip], card_base, irq); in setup_adapter()
636 outb_p(0, priv->card_base + PI_DREQ_MASK); in write_scc()
639 outb(1, priv->card_base + PI_DREQ_MASK); in write_scc()
660 outb_p(0, priv->card_base + PI_DREQ_MASK); in write_scc_data()
662 outb(1, priv->card_base + PI_DREQ_MASK); in write_scc_data()
683 outb_p(0, priv->card_base + PI_DREQ_MASK); in read_scc()
686 outb(1, priv->card_base + PI_DREQ_MASK); in read_scc()
704 outb_p(0, priv->card_base + PI_DREQ_MASK); in read_scc_data()
706 outb(1, priv->card_base + PI_DREQ_MASK); in read_scc_data()
716 int card_base = priv->card_base; in scc_open() local
826 card_base + TWIN_SERIAL_CFG); in scc_open()
833 card_base + TWIN_SERIAL_CFG); in scc_open()
841 card_base + TWIN_SERIAL_CFG); in scc_open()
858 int card_base = priv->card_base; in scc_close() local
866 card_base + TWIN_SERIAL_CFG); in scc_close()
872 if (priv->type == TYPE_TWIN) outb(0, card_base + TWIN_DMA_CFG); in scc_close()
1003 int is, card_base = info->priv[0].card_base; in scc_isr() local
1004 while ((is = ~inb(card_base + TWIN_INT_REG)) & in scc_isr()
1009 inb(card_base + TWIN_CLR_TMR1); in scc_isr()
1012 inb(card_base + TWIN_CLR_TMR2); in scc_isr()
1186 priv->card_base + TWIN_DMA_CFG); in tx_on()
1223 priv->card_base + TWIN_DMA_CFG); in rx_on()
1245 outb(0, priv->card_base + TWIN_DMA_CFG); in rx_off()
1279 outb(0, priv->card_base + TWIN_DMA_CFG); in es_isr()