Lines Matching refs:txmsg
333 struct hsi_msg *txmsg, *rxmsg; in cs_hsi_alloc_data() local
345 txmsg = hsi_alloc_msg(1, GFP_KERNEL); in cs_hsi_alloc_data()
346 if (!txmsg) { in cs_hsi_alloc_data()
350 txmsg->channel = cs_char_data.channel_id_data; in cs_hsi_alloc_data()
351 txmsg->destructor = cs_hsi_data_destructor; in cs_hsi_alloc_data()
352 txmsg->context = hi; in cs_hsi_alloc_data()
355 hi->data_tx_msg = txmsg; in cs_hsi_alloc_data()
707 struct hsi_msg *txmsg; in cs_hsi_write_on_data() local
731 txmsg = hi->data_tx_msg; in cs_hsi_write_on_data()
732 sg_init_one(txmsg->sgt.sgl, address, hi->buf_size); in cs_hsi_write_on_data()
733 txmsg->complete = cs_hsi_write_on_data_complete; in cs_hsi_write_on_data()
734 ret = hsi_async_write(hi->cl, txmsg); in cs_hsi_write_on_data()
736 cs_hsi_data_write_error(hi, txmsg); in cs_hsi_write_on_data()