HomeSort by: relevance | last modified time | path
    Searched defs:chanregbase (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/arch/mips/sibyte/dev/
sbscn.c 1725 u_long chanregbase = MIPS_PHYS_TO_KSEG1(addr + (chan * 0x100)); local in function:sbscn_init
1736 while ((READ_REG(chanregbase + 0x20) & 0x08) == 0 && --timo)
1744 WRITE_REG(chanregbase + 0x50, 2 << 4); /* reset receiver */
1745 WRITE_REG(chanregbase + 0x50, 3 << 4); /* reset transmitter */
1750 WRITE_REG(chanregbase + 0x00, mode1);
1751 WRITE_REG(chanregbase + 0x10, mode2);
1752 WRITE_REG(chanregbase + 0x30, brc);
1757 WRITE_REG(chanregbase + 0x50,M_DUART_RX_EN | M_DUART_TX_EN);
sbscn.c 1725 u_long chanregbase = MIPS_PHYS_TO_KSEG1(addr + (chan * 0x100)); local in function:sbscn_init
1736 while ((READ_REG(chanregbase + 0x20) & 0x08) == 0 && --timo)
1744 WRITE_REG(chanregbase + 0x50, 2 << 4); /* reset receiver */
1745 WRITE_REG(chanregbase + 0x50, 3 << 4); /* reset transmitter */
1750 WRITE_REG(chanregbase + 0x00, mode1);
1751 WRITE_REG(chanregbase + 0x10, mode2);
1752 WRITE_REG(chanregbase + 0x30, brc);
1757 WRITE_REG(chanregbase + 0x50,M_DUART_RX_EN | M_DUART_TX_EN);

Completed in 22 milliseconds