Lines Matching refs:in_be16
261 in_be16(&tbdf->cbd_sc), in_be16(&rbdf->cbd_sc)); in cpm_i2c_check_message()
263 if (in_be16(&tbdf->cbd_sc) & BD_SC_NAK) { in cpm_i2c_check_message()
267 if (in_be16(&rbdf->cbd_sc) & BD_SC_EMPTY) { in cpm_i2c_check_message()
272 if (in_be16(&rbdf->cbd_sc) & BD_SC_OV) { in cpm_i2c_check_message()
279 in_be16(&tbdf->cbd_sc)); in cpm_i2c_check_message()
281 if (in_be16(&tbdf->cbd_sc) & BD_SC_NAK) { in cpm_i2c_check_message()
285 if (in_be16(&tbdf->cbd_sc) & BD_SC_UN) { in cpm_i2c_check_message()
289 if (in_be16(&tbdf->cbd_sc) & BD_SC_CL) { in cpm_i2c_check_message()
310 out_be16(&i2c_ram->rbptr, in_be16(&i2c_ram->rbase)); in cpm_i2c_xfer()
311 out_be16(&i2c_ram->tbptr, in_be16(&i2c_ram->tbase)); in cpm_i2c_xfer()
323 if (in_be16(&tbdf->cbd_sc) & BD_SC_CL) { in cpm_i2c_xfer()
354 (in_be16(&tbdf[tptr].cbd_sc) & BD_SC_NAK) || in cpm_i2c_xfer()
355 !(in_be16(&rbdf[rptr].cbd_sc) & BD_SC_EMPTY), in cpm_i2c_xfer()
359 !(in_be16(&tbdf[tptr].cbd_sc) & BD_SC_READY), in cpm_i2c_xfer()
458 cpm->i2c_addr = in_be16(&cpm->i2c_ram->rpbase); in cpm_i2c_setup()