Searched refs:i2c_in (Results 1 – 2 of 2) sorted by relevance
40 sr = i2c_in(&ccsr_i2c->sr); in wait_for_state()84 cr = i2c_in(&ccsr_i2c->cr); in gen_stop()105 if (i2c_in(&ccsr_i2c->ad) == (chip << 1)) { in i2c_write_addr()115 cr = i2c_in(&ccsr_i2c->cr); in i2c_write_addr()151 cr = i2c_in(&ccsr_i2c->cr); in read_data()158 i2c_in(&ccsr_i2c->dr); /* dummy read */ in read_data()171 cr = i2c_in(&ccsr_i2c->cr); in read_data()176 buf[i] = i2c_in(&ccsr_i2c->dr); in read_data()213 cr = i2c_in(&ccsr_i2c->cr); in i2c_read()
32 #define i2c_in(a) mmio_read_8((uintptr_t)(a)) macro