Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/i2c/busses/
Di2c-cpm.c194 cbd_t __iomem *tbdf; in cpm_i2c_parse_message() local
201 tbdf = cpm->tbase + tx; in cpm_i2c_parse_message()
216 out_be16(&tbdf->cbd_datlen, pmsg->len + 1); in cpm_i2c_parse_message()
217 out_be16(&tbdf->cbd_sc, 0); in cpm_i2c_parse_message()
220 setbits16(&tbdf->cbd_sc, BD_I2C_START); in cpm_i2c_parse_message()
223 setbits16(&tbdf->cbd_sc, BD_SC_LAST | BD_SC_WRAP); in cpm_i2c_parse_message()
241 setbits16(&tbdf->cbd_sc, BD_SC_READY); in cpm_i2c_parse_message()
248 setbits16(&tbdf->cbd_sc, BD_SC_READY | BD_SC_INTRPT); in cpm_i2c_parse_message()
255 cbd_t __iomem *tbdf; in cpm_i2c_check_message() local
261 tbdf = cpm->tbase + tx; in cpm_i2c_check_message()
[all …]
/linux-2.6.39/arch/powerpc/boot/
Dcpm-serial.c74 static struct cpm_bd *tbdf, *rbdf; variable
150 tbdf = rbdf + 1; in cpm_serial_open()
151 tbdf->addr = (u8 *)rbdf - 2; in cpm_serial_open()
152 tbdf->sc = 0x2000; in cpm_serial_open()
153 tbdf->len = 1; in cpm_serial_open()
167 while (tbdf->sc & 0x8000) in cpm_serial_putc()
172 tbdf->addr[0] = c; in cpm_serial_putc()
174 tbdf->sc |= 0x8000; in cpm_serial_putc()