Lines Matching refs:base_reg
75 while (((status = dibx000_read_word(mst, mst->base_reg + 2)) & 0x0100) == 0 && --i > 0) in dibx000_is_i2c_done()
98 dibx000_read_word(mst, mst->base_reg + 2); in dibx000_master_i2c_write()
105 dibx000_write_word(mst, mst->base_reg, data); in dibx000_master_i2c_write()
122 dibx000_write_word(mst, mst->base_reg+1, da); in dibx000_master_i2c_write()
154 dibx000_write_word(mst, mst->base_reg+1, da); in dibx000_master_i2c_read()
162 da = dibx000_read_word(mst, mst->base_reg); in dibx000_master_i2c_read()
181 return dibx000_write_word(mst, mst->base_reg + 3, (u16)(60000 / speed)); in dibx000_i2c_set_speed()
197 return dibx000_write_word(mst, mst->base_reg + 4, intf); in dibx000_i2c_select_interface()
270 tx[0] = (((mst->base_reg + 1) >> 8) & 0xff); in dibx000_i2c_gate_ctrl()
271 tx[1] = ((mst->base_reg + 1) & 0xff); in dibx000_i2c_gate_ctrl()
451 mst->base_reg = 1024; in dibx000_init_i2c_master()
453 mst->base_reg = 768; in dibx000_init_i2c_master()