Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/input/serio/
Dhyperv-keyboard.c90 struct hv_device *hv_dev; member
100 static void hv_kbd_on_receive(struct hv_device *hv_dev, in hv_kbd_on_receive() argument
103 struct hv_kbd_dev *kbd_dev = hv_get_drvdata(hv_dev); in hv_kbd_on_receive()
119 dev_err(&hv_dev->device, in hv_kbd_on_receive()
138 dev_err(&hv_dev->device, in hv_kbd_on_receive()
172 pm_wakeup_hard_event(&hv_dev->device); in hv_kbd_on_receive()
177 dev_err(&hv_dev->device, in hv_kbd_on_receive()
182 static void hv_kbd_handle_received_packet(struct hv_device *hv_dev, in hv_kbd_handle_received_packet() argument
220 dev_err(&hv_dev->device, in hv_kbd_handle_received_packet()
227 hv_kbd_on_receive(hv_dev, msg, msg_sz); in hv_kbd_handle_received_packet()
[all …]
/Linux-v5.4/drivers/hv/
Dvmbus_drv.c93 static void print_alias_name(struct hv_device *hv_dev, char *alias_name) in print_alias_name() argument
97 sprintf(&alias_name[i], "%02x", hv_dev->dev_type.b[i/2]); in print_alias_name()
138 struct hv_device *hv_dev = device_to_hv_device(dev); in id_show() local
140 if (!hv_dev->channel) in id_show()
142 return sprintf(buf, "%d\n", hv_dev->channel->offermsg.child_relid); in id_show()
149 struct hv_device *hv_dev = device_to_hv_device(dev); in state_show() local
151 if (!hv_dev->channel) in state_show()
153 return sprintf(buf, "%d\n", hv_dev->channel->state); in state_show()
160 struct hv_device *hv_dev = device_to_hv_device(dev); in monitor_id_show() local
162 if (!hv_dev->channel) in monitor_id_show()
[all …]
/Linux-v5.4/drivers/uio/
Duio_hv_generic.c96 struct hv_device *hv_dev = chan->device_obj; in hv_uio_channel_cb() local
97 struct hv_uio_private_data *pdata = hv_get_drvdata(hv_dev); in hv_uio_channel_cb()
110 struct hv_device *hv_dev = channel->primary_channel->device_obj; in hv_uio_rescind() local
111 struct hv_uio_private_data *pdata = hv_get_drvdata(hv_dev); in hv_uio_rescind()
154 struct hv_device *hv_dev = new_sc->primary_channel->device_obj; in hv_uio_new_channel() local
155 struct device *device = &hv_dev->device; in hv_uio_new_channel()
/Linux-v5.4/drivers/net/hyperv/
Drndis_filter.c1132 struct hv_device *hv_dev = ndev_ctx->device_ctx; in rndis_set_subchannel() local
1145 ret = vmbus_sendpacket(hv_dev->channel, init_packet, in rndis_set_subchannel()