Lines Matching refs:i2c_bussel_reg
157 if (bp->i2c_bussel_reg != NULL) in bbc_i2c_writeb()
158 writeb(client->bus, bp->i2c_bussel_reg); in bbc_i2c_writeb()
187 if (bp->i2c_bussel_reg != NULL) in bbc_i2c_readb()
188 writeb(client->bus, bp->i2c_bussel_reg); in bbc_i2c_readb()
312 bp->i2c_bussel_reg = of_ioremap(&op->resource[1], 0, 0x1, "bbc_i2c_bussel"); in attach_one_i2c()
313 if (!bp->i2c_bussel_reg) in attach_one_i2c()
352 if (bp->i2c_bussel_reg) in attach_one_i2c()
353 of_iounmap(&op->resource[1], bp->i2c_bussel_reg, 1); in attach_one_i2c()
375 if (bp->i2c_bussel_reg) in bbc_i2c_probe()
376 of_iounmap(&op->resource[0], bp->i2c_bussel_reg, 1); in bbc_i2c_probe()
395 if (bp->i2c_bussel_reg) in bbc_i2c_remove()
396 of_iounmap(&op->resource[0], bp->i2c_bussel_reg, 1); in bbc_i2c_remove()