Lines Matching refs:tw_sm_c_100
17 r100->tw_sm_c_100.working_start = 1; in flexcop_i2c_operation()
20 fc->write_ibi_reg(fc, tw_sm_c_100, ibi_zero); in flexcop_i2c_operation()
21 fc->write_ibi_reg(fc, tw_sm_c_100, *r100); /* initiating i2c operation */ in flexcop_i2c_operation()
24 r = fc->read_ibi_reg(fc, tw_sm_c_100); in flexcop_i2c_operation()
26 if (!r.tw_sm_c_100.no_base_addr_ack_error) { in flexcop_i2c_operation()
27 if (r.tw_sm_c_100.st_done) { in flexcop_i2c_operation()
46 int len = r100.tw_sm_c_100.total_bytes, in flexcop_i2c_read4()
60 r100.tw_sm_c_100.no_base_addr_ack_error = i2c->no_base_addr; in flexcop_i2c_read4()
65 r100.tw_sm_c_100.no_base_addr_ack_error = i2c->no_base_addr; in flexcop_i2c_read4()
73 buf[0] = r100.tw_sm_c_100.data1_reg; in flexcop_i2c_read4()
91 int len = r100.tw_sm_c_100.total_bytes; /* remember total_bytes is buflen-1 */ in flexcop_i2c_write4()
95 r100.tw_sm_c_100.data1_reg = buf[0]; in flexcop_i2c_write4()
124 r100.tw_sm_c_100.chipaddr = chipaddr; in flexcop_i2c_request()
125 r100.tw_sm_c_100.twoWS_rw = op; in flexcop_i2c_request()
126 r100.tw_sm_c_100.twoWS_port_reg = i2c->port; in flexcop_i2c_request()
141 r100.tw_sm_c_100.total_bytes = bytes_to_transfer - 1; in flexcop_i2c_request()
142 r100.tw_sm_c_100.baseaddr = addr; in flexcop_i2c_request()