Lines Matching refs:i2400m

181 ssize_t i2400mu_bus_bm_cmd_send(struct i2400m *i2400m,  in i2400mu_bus_bm_cmd_send()  argument
186 struct device *dev = i2400m_dev(i2400m); in i2400mu_bus_bm_cmd_send()
187 struct i2400mu *i2400mu = container_of(i2400m, struct i2400mu, i2400m); in i2400mu_bus_bm_cmd_send()
193 i2400m, _cmd, cmd_size); in i2400mu_bus_bm_cmd_send()
197 if (_cmd != i2400m->bm_cmd_buf) in i2400mu_bus_bm_cmd_send()
198 memmove(i2400m->bm_cmd_buf, _cmd, cmd_size); in i2400mu_bus_bm_cmd_send()
199 cmd = i2400m->bm_cmd_buf; in i2400mu_bus_bm_cmd_send()
201 memset(i2400m->bm_cmd_buf + cmd_size, 0, cmd_size_a - cmd_size); in i2400mu_bus_bm_cmd_send()
207 result = i2400mu_tx_bulk_out(i2400mu, i2400m->bm_cmd_buf, cmd_size); in i2400mu_bus_bm_cmd_send()
223 i2400m, _cmd, cmd_size, result); in i2400mu_bus_bm_cmd_send()
248 struct i2400m *i2400m = &i2400mu->i2400m; in i2400mu_notif_submit() local
256 i2400m->bm_ack_buf, I2400M_BM_ACK_BUF_SIZE, in i2400mu_notif_submit()
276 ssize_t i2400mu_bus_bm_wait_for_ack(struct i2400m *i2400m, in i2400mu_bus_bm_wait_for_ack() argument
281 struct device *dev = i2400m_dev(i2400m); in i2400mu_bus_bm_wait_for_ack()
282 struct i2400mu *i2400mu = container_of(i2400m, struct i2400mu, i2400m); in i2400mu_bus_bm_wait_for_ack()
291 i2400m, ack, ack_size); in i2400mu_bus_bm_wait_for_ack()
292 BUG_ON(_ack == i2400m->bm_ack_buf); in i2400mu_bus_bm_wait_for_ack()
345 memcpy(ack + offset, i2400m->bm_ack_buf, len); in i2400mu_bus_bm_wait_for_ack()
356 i2400m, ack, ack_size, (long) result); in i2400mu_bus_bm_wait_for_ack()