Lines Matching refs:rx
244 struct scmi_msg rx; member
558 xfer->rx.len = raw->desc->max_msg_size; in scmi_xfer_raw_get_init()
779 ret = scmi_raw_message_receive(rd->raw, rd->rx.buf, rd->rx.len, in scmi_dbg_raw_mode_common_read()
796 rd->rx.buf, rd->rx_size); in scmi_dbg_raw_mode_common_read()
902 rd->rx.len = raw->desc->max_msg_size + sizeof(u32); in scmi_dbg_raw_mode_open()
903 rd->rx.buf = kzalloc(rd->rx.len, GFP_KERNEL); in scmi_dbg_raw_mode_open()
904 if (!rd->rx.buf) { in scmi_dbg_raw_mode_open()
912 kfree(rd->rx.buf); in scmi_dbg_raw_mode_open()
931 kfree(rd->rx.buf); in scmi_dbg_raw_mode_release()
1275 msg_size = xfer->rx.len + sizeof(u32); in scmi_xfer_raw_collect()
1288 memcpy(++m, xfer->rx.buf, xfer->rx.len); in scmi_xfer_raw_collect()
1405 memset(xfer->rx.buf, 0x00, xfer->rx.len); in scmi_xfer_raw_fill()
1437 xfer.rx.len = raw->desc->max_msg_size; in scmi_raw_error_report()
1438 xfer.rx.buf = kzalloc(xfer.rx.len, GFP_ATOMIC); in scmi_raw_error_report()
1439 if (!xfer.rx.buf) { in scmi_raw_error_report()
1454 kfree(xfer.rx.buf); in scmi_raw_error_report()