Lines Matching refs:cmdbuf_add
45 static void cmdbuf_add(struct pt3_i2cbuf *cbuf, enum ctl_cmd cmd) in cmdbuf_add() function
62 cmdbuf_add(cbuf, I_END); in put_end()
64 cmdbuf_add(cbuf, I_END); in put_end()
69 cmdbuf_add(cbuf, I_DATA_H); in put_start()
70 cmdbuf_add(cbuf, I_CLOCK_H); in put_start()
71 cmdbuf_add(cbuf, I_DATA_L); in put_start()
72 cmdbuf_add(cbuf, I_CLOCK_L); in put_start()
80 cmdbuf_add(cbuf, (val & mask) ? I_DATA_H_NOP : I_DATA_L_NOP); in put_byte_write()
81 cmdbuf_add(cbuf, I_DATA_H_ACK0); in put_byte_write()
90 cmdbuf_add(cbuf, I_DATA_H_READ); in put_byte_read()
91 cmdbuf_add(cbuf, (i == size - 1) ? I_DATA_H_NOP : I_DATA_L_NOP); in put_byte_read()
97 cmdbuf_add(cbuf, I_DATA_L); in put_stop()
98 cmdbuf_add(cbuf, I_CLOCK_H); in put_stop()
99 cmdbuf_add(cbuf, I_DATA_H); in put_stop()