Lines Matching refs:tbdf
194 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()
273 in_be16(&tbdf->cbd_sc), in_be16(&rbdf->cbd_sc)); in cpm_i2c_check_message()
275 if (in_be16(&tbdf->cbd_sc) & BD_SC_NAK) { in cpm_i2c_check_message()
291 in_be16(&tbdf->cbd_sc)); in cpm_i2c_check_message()
293 if (in_be16(&tbdf->cbd_sc) & BD_SC_NAK) { in cpm_i2c_check_message()
297 if (in_be16(&tbdf->cbd_sc) & BD_SC_UN) { in cpm_i2c_check_message()
301 if (in_be16(&tbdf->cbd_sc) & BD_SC_CL) { in cpm_i2c_check_message()
318 cbd_t __iomem *tbdf; in cpm_i2c_xfer() local
335 tbdf = cpm->tbase; in cpm_i2c_xfer()
368 (in_be16(&tbdf[tptr].cbd_sc) & BD_SC_NAK) || in cpm_i2c_xfer()
373 !(in_be16(&tbdf[tptr].cbd_sc) & BD_SC_READY), in cpm_i2c_xfer()
435 cbd_t __iomem *tbdf; in cpm_i2c_setup() local
530 tbdf = cpm->tbase; in cpm_i2c_setup()
548 out_be32(&tbdf[i].cbd_bufaddr, cpm->txdma[i]); in cpm_i2c_setup()