Lines Matching refs:bcr
263 unsigned char bsr, bcr; in synquacer_i2c_master_start() local
271 bcr = readb(i2c->base + SYNQUACER_I2C_REG_BCR); in synquacer_i2c_master_start()
272 dev_dbg(i2c->dev, "bsr:0x%02x, bcr:0x%02x\n", bsr, bcr); in synquacer_i2c_master_start()
275 !(bcr & SYNQUACER_I2C_BCR_MSS)) { in synquacer_i2c_master_start()
282 writeb(bcr | SYNQUACER_I2C_BCR_SCC, in synquacer_i2c_master_start()
285 if (bcr & SYNQUACER_I2C_BCR_MSS) { in synquacer_i2c_master_start()
291 writeb(bcr | SYNQUACER_I2C_BCR_MSS | in synquacer_i2c_master_start()
300 bcr = readb(i2c->base + SYNQUACER_I2C_REG_BCR); in synquacer_i2c_master_start()
301 dev_dbg(i2c->dev, "bsr:0x%02x, bcr:0x%02x\n", bsr, bcr); in synquacer_i2c_master_start()
304 !(bcr & SYNQUACER_I2C_BCR_MSS)) { in synquacer_i2c_master_start()
367 unsigned char bsr, bcr; in synquacer_i2c_isr() local
370 bcr = readb(i2c->base + SYNQUACER_I2C_REG_BCR); in synquacer_i2c_isr()
372 dev_dbg(i2c->dev, "bsr:0x%02x, bcr:0x%02x\n", bsr, bcr); in synquacer_i2c_isr()
374 if (bcr & SYNQUACER_I2C_BCR_BER) { in synquacer_i2c_isr()
380 !(bcr & SYNQUACER_I2C_BCR_MSS)) { in synquacer_i2c_isr()