Lines Matching refs:cbd_sc
205 out_be16(&tbdf->cbd_sc, 0); in cpm_i2c_parse_message()
208 setbits16(&tbdf->cbd_sc, BD_I2C_START); in cpm_i2c_parse_message()
211 setbits16(&tbdf->cbd_sc, BD_SC_LAST | BD_SC_WRAP); in cpm_i2c_parse_message()
223 out_be16(&rbdf->cbd_sc, BD_SC_EMPTY | BD_SC_INTRPT); in cpm_i2c_parse_message()
226 setbits16(&rbdf->cbd_sc, BD_SC_WRAP); in cpm_i2c_parse_message()
229 setbits16(&tbdf->cbd_sc, BD_SC_READY); in cpm_i2c_parse_message()
236 setbits16(&tbdf->cbd_sc, BD_SC_READY | BD_SC_INTRPT); in cpm_i2c_parse_message()
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()
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()