Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/boot/
Dcpm-serial.c74 static struct cpm_bd *tbdf, *rbdf; variable
145 rbdf = cbd_addr; in cpm_serial_open()
146 rbdf->addr = (u8 *)rbdf - 1; in cpm_serial_open()
147 rbdf->sc = 0xa000; in cpm_serial_open()
148 rbdf->len = 1; in cpm_serial_open()
150 tbdf = rbdf + 1; in cpm_serial_open()
151 tbdf->addr = (u8 *)rbdf - 2; in cpm_serial_open()
180 return !(rbdf->sc & 0x8000); in cpm_serial_tstc()
191 c = rbdf->addr[0]; in cpm_serial_getc()
193 rbdf->sc |= 0x8000; in cpm_serial_getc()
/linux-2.6.39/drivers/i2c/busses/
Di2c-cpm.c195 cbd_t __iomem *rbdf; in cpm_i2c_parse_message() local
202 rbdf = cpm->rbase + rx; in cpm_i2c_parse_message()
234 out_be16(&rbdf->cbd_datlen, 0); in cpm_i2c_parse_message()
235 out_be16(&rbdf->cbd_sc, BD_SC_EMPTY | BD_SC_INTRPT); in cpm_i2c_parse_message()
238 setbits16(&rbdf->cbd_sc, BD_SC_WRAP); in cpm_i2c_parse_message()
256 cbd_t __iomem *rbdf; in cpm_i2c_check_message() local
262 rbdf = cpm->rbase + rx; in cpm_i2c_check_message()
273 in_be16(&tbdf->cbd_sc), in_be16(&rbdf->cbd_sc)); in cpm_i2c_check_message()
279 if (in_be16(&rbdf->cbd_sc) & BD_SC_EMPTY) { in cpm_i2c_check_message()
284 if (in_be16(&rbdf->cbd_sc) & BD_SC_OV) { in cpm_i2c_check_message()
[all …]