Home
last modified time | relevance | path

Searched refs:cir_regs (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/arch/mips/ite-boards/generic/
Dit8172_cir.c44 volatile struct it8172_cir_regs *cir_regs[NUM_CIR_PORTS] = { variable
58 cir_regs[port]->bdlr = cir->baud_rate & 0xff; in cir_port_init()
59 cir_regs[port]->bdhr = (cir->baud_rate >> 8) & 0xff; in cir_port_init()
62 cir_regs[port]->rcr = (CIR_SET_RDWOS(cir->rdwos) | CIR_SET_RXDCR(cir->rxdcr)); in cir_port_init()
65 cir_regs[port]->cfr = (CIR_SET_CF(cir->cfq) | CIR_SET_HS(cir->hcfs)); in cir_port_init()
68 data = cir_regs[port]->mstcr & 0xf3; in cir_port_init()
70 cir_regs[port]->mstcr = data; in cir_port_init()
86 cir_regs[cir->port]->mstcr |= CIR_FIFO_CLEAR; in clear_fifo()
91 cir_regs[cir->port]->rcr |= CIR_RXEN; in enable_receiver()
96 cir_regs[cir->port]->rcr &= ~CIR_RXEN; in disable_receiver()
[all …]