Lines Matching refs:tw_sm_c_100
16 r100->tw_sm_c_100.working_start = 1;
19 fc->write_ibi_reg(fc, tw_sm_c_100, ibi_zero);
20 fc->write_ibi_reg(fc, tw_sm_c_100, *r100); /* initiating i2c operation */
23 r = fc->read_ibi_reg(fc, tw_sm_c_100);
25 if (!r.tw_sm_c_100.no_base_addr_ack_error) {
26 if (r.tw_sm_c_100.st_done) {
45 int len = r100.tw_sm_c_100.total_bytes,
50 r100.tw_sm_c_100.no_base_addr_ack_error = i2c->no_base_addr;
55 r100.tw_sm_c_100.no_base_addr_ack_error = i2c->no_base_addr;
63 buf[0] = r100.tw_sm_c_100.data1_reg;
81 int len = r100.tw_sm_c_100.total_bytes; /* remember total_bytes is buflen-1 */
85 r100.tw_sm_c_100.data1_reg = buf[0];
111 r100.tw_sm_c_100.chipaddr = chipaddr;
112 r100.tw_sm_c_100.twoWS_rw = op;
113 r100.tw_sm_c_100.twoWS_port_reg = i2c->port;
135 r100.tw_sm_c_100.total_bytes = bytes_to_transfer - 1;
136 r100.tw_sm_c_100.baseaddr = addr;