Home
last modified time | relevance | path

Searched refs:outmsg (Results 1 – 4 of 4) sorted by relevance

/drivers/hv/
Dhv_utils_transport.c20 kfree(hvt->outmsg); in hvt_reset()
21 hvt->outmsg = NULL; in hvt_reset()
46 if (!hvt->outmsg) { in hvt_op_read()
56 if (!copy_to_user(buf, hvt->outmsg, hvt->outmsg_len)) in hvt_op_read()
61 kfree(hvt->outmsg); in hvt_op_read()
62 hvt->outmsg = NULL; in hvt_op_read()
155 kfree(hvt->outmsg); in hvt_transport_free()
252 if (hvt->outmsg) { in hvutil_transport_send()
257 hvt->outmsg = kzalloc(len, GFP_KERNEL); in hvutil_transport_send()
258 if (hvt->outmsg) { in hvutil_transport_send()
[all …]
Dhv_utils_transport.h30 u8 *outmsg; /* message to the userspace */ member
/drivers/net/can/usb/
Dusb_8dev.c245 struct usb_8dev_cmd_msg outmsg; in usb_8dev_cmd_open() local
252 memset(&outmsg, 0, sizeof(outmsg)); in usb_8dev_cmd_open()
253 outmsg.command = USB_8DEV_OPEN; in usb_8dev_cmd_open()
254 outmsg.opt1 = USB_8DEV_BAUD_MANUAL; in usb_8dev_cmd_open()
255 outmsg.data[0] = bt->prop_seg + bt->phase_seg1; in usb_8dev_cmd_open()
256 outmsg.data[1] = bt->phase_seg2; in usb_8dev_cmd_open()
257 outmsg.data[2] = bt->sjw; in usb_8dev_cmd_open()
261 memcpy(&outmsg.data[3], &bebrp, sizeof(bebrp)); in usb_8dev_cmd_open()
272 memcpy(&outmsg.data[5], &beflags, sizeof(beflags)); in usb_8dev_cmd_open()
274 return usb_8dev_send_cmd(priv, &outmsg, &inmsg); in usb_8dev_cmd_open()
[all …]
/drivers/visorbus/
Dvisorchipset.c302 struct controlvm_message outmsg; in controlvm_respond_chipset_init() local
304 controlvm_init_response(&outmsg, msg_hdr, response); in controlvm_respond_chipset_init()
305 outmsg.cmd.init_chipset.features = features; in controlvm_respond_chipset_init()
307 CONTROLVM_QUEUE_REQUEST, &outmsg); in controlvm_respond_chipset_init()
342 struct controlvm_message outmsg; in controlvm_respond() local
344 controlvm_init_response(&outmsg, msg_hdr, response); in controlvm_respond()
345 if (outmsg.hdr.flags.test_message == 1) in controlvm_respond()
348 outmsg.cmd.device_change_state.state = *state; in controlvm_respond()
349 outmsg.cmd.device_change_state.flags.phys_device = 1; in controlvm_respond()
352 CONTROLVM_QUEUE_REQUEST, &outmsg); in controlvm_respond()
[all …]