Home
last modified time | relevance | path

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

/linux-6.1.9/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
/linux-6.1.9/drivers/net/can/usb/
Dusb_8dev.c242 struct usb_8dev_cmd_msg outmsg; in usb_8dev_cmd_open() local
249 memset(&outmsg, 0, sizeof(outmsg)); in usb_8dev_cmd_open()
250 outmsg.command = USB_8DEV_OPEN; in usb_8dev_cmd_open()
251 outmsg.opt1 = USB_8DEV_BAUD_MANUAL; in usb_8dev_cmd_open()
252 outmsg.data[0] = bt->prop_seg + bt->phase_seg1; in usb_8dev_cmd_open()
253 outmsg.data[1] = bt->phase_seg2; in usb_8dev_cmd_open()
254 outmsg.data[2] = bt->sjw; in usb_8dev_cmd_open()
258 memcpy(&outmsg.data[3], &bebrp, sizeof(bebrp)); in usb_8dev_cmd_open()
269 memcpy(&outmsg.data[5], &beflags, sizeof(beflags)); in usb_8dev_cmd_open()
271 return usb_8dev_send_cmd(priv, &outmsg, &inmsg); in usb_8dev_cmd_open()
[all …]