hv_dev 121 drivers/hv/vmbus_drv.c static void print_alias_name(struct hv_device *hv_dev, char *alias_name) hv_dev 125 drivers/hv/vmbus_drv.c sprintf(&alias_name[i], "%02x", hv_dev->dev_type.b[i/2]); hv_dev 166 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 168 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 170 drivers/hv/vmbus_drv.c return sprintf(buf, "%d\n", hv_dev->channel->offermsg.child_relid); hv_dev 177 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 179 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 181 drivers/hv/vmbus_drv.c return sprintf(buf, "%d\n", hv_dev->channel->state); hv_dev 188 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 190 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 192 drivers/hv/vmbus_drv.c return sprintf(buf, "%d\n", hv_dev->channel->offermsg.monitorid); hv_dev 199 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 201 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 204 drivers/hv/vmbus_drv.c hv_dev->channel->offermsg.offer.if_type.b); hv_dev 211 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 213 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 216 drivers/hv/vmbus_drv.c hv_dev->channel->offermsg.offer.if_instance.b); hv_dev 223 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 226 drivers/hv/vmbus_drv.c print_alias_name(hv_dev, alias_name); hv_dev 235 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 237 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 240 drivers/hv/vmbus_drv.c return sprintf(buf, "%d\n", hv_dev->channel->numa_node); hv_dev 249 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 251 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 254 drivers/hv/vmbus_drv.c channel_pending(hv_dev->channel, hv_dev 263 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 265 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 268 drivers/hv/vmbus_drv.c channel_pending(hv_dev->channel, hv_dev 277 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 279 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 282 drivers/hv/vmbus_drv.c channel_latency(hv_dev->channel, hv_dev 291 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 293 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 296 drivers/hv/vmbus_drv.c channel_latency(hv_dev->channel, hv_dev 305 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 307 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 310 drivers/hv/vmbus_drv.c channel_conn_id(hv_dev->channel, hv_dev 319 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 321 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 324 drivers/hv/vmbus_drv.c channel_conn_id(hv_dev->channel, hv_dev 332 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 336 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 339 drivers/hv/vmbus_drv.c ret = hv_ringbuffer_get_debuginfo(&hv_dev->channel->outbound, hv_dev 351 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 355 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 358 drivers/hv/vmbus_drv.c ret = hv_ringbuffer_get_debuginfo(&hv_dev->channel->outbound, hv_dev 370 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 374 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 377 drivers/hv/vmbus_drv.c ret = hv_ringbuffer_get_debuginfo(&hv_dev->channel->outbound, hv_dev 389 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 393 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 396 drivers/hv/vmbus_drv.c ret = hv_ringbuffer_get_debuginfo(&hv_dev->channel->outbound, hv_dev 408 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 412 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 415 drivers/hv/vmbus_drv.c ret = hv_ringbuffer_get_debuginfo(&hv_dev->channel->outbound, hv_dev 426 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 430 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 433 drivers/hv/vmbus_drv.c ret = hv_ringbuffer_get_debuginfo(&hv_dev->channel->inbound, &inbound); hv_dev 444 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 448 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 451 drivers/hv/vmbus_drv.c ret = hv_ringbuffer_get_debuginfo(&hv_dev->channel->inbound, &inbound); hv_dev 462 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 466 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 469 drivers/hv/vmbus_drv.c ret = hv_ringbuffer_get_debuginfo(&hv_dev->channel->inbound, &inbound); hv_dev 481 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 485 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 488 drivers/hv/vmbus_drv.c ret = hv_ringbuffer_get_debuginfo(&hv_dev->channel->inbound, &inbound); hv_dev 500 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 504 drivers/hv/vmbus_drv.c if (!hv_dev->channel) hv_dev 507 drivers/hv/vmbus_drv.c ret = hv_ringbuffer_get_debuginfo(&hv_dev->channel->inbound, &inbound); hv_dev 519 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 520 drivers/hv/vmbus_drv.c struct vmbus_channel *channel = hv_dev->channel, *cur_sc; hv_dev 556 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 557 drivers/hv/vmbus_drv.c return sprintf(buf, "0x%x\n", hv_dev->vendor_id); hv_dev 565 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 566 drivers/hv/vmbus_drv.c return sprintf(buf, "0x%x\n", hv_dev->device_id); hv_dev 574 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 590 drivers/hv/vmbus_drv.c old = hv_dev->driver_override; hv_dev 592 drivers/hv/vmbus_drv.c hv_dev->driver_override = driver_override; hv_dev 595 drivers/hv/vmbus_drv.c hv_dev->driver_override = NULL; hv_dev 607 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 611 drivers/hv/vmbus_drv.c len = snprintf(buf, PAGE_SIZE, "%s\n", hv_dev->driver_override); hv_dev 660 drivers/hv/vmbus_drv.c const struct hv_device *hv_dev = device_to_hv_device(dev); hv_dev 663 drivers/hv/vmbus_drv.c if (!hv_dev->channel->offermsg.monitor_allocated && hv_dev 868 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(device); hv_dev 871 drivers/hv/vmbus_drv.c if (is_hvsock_channel(hv_dev->channel)) hv_dev 874 drivers/hv/vmbus_drv.c if (hv_vmbus_get_id(drv, hv_dev)) hv_dev 991 drivers/hv/vmbus_drv.c struct hv_device *hv_dev = device_to_hv_device(device); hv_dev 992 drivers/hv/vmbus_drv.c struct vmbus_channel *channel = hv_dev->channel; hv_dev 997 drivers/hv/vmbus_drv.c kfree(hv_dev); hv_dev 90 drivers/input/serio/hyperv-keyboard.c struct hv_device *hv_dev; hv_dev 100 drivers/input/serio/hyperv-keyboard.c static void hv_kbd_on_receive(struct hv_device *hv_dev, hv_dev 103 drivers/input/serio/hyperv-keyboard.c struct hv_kbd_dev *kbd_dev = hv_get_drvdata(hv_dev); hv_dev 119 drivers/input/serio/hyperv-keyboard.c dev_err(&hv_dev->device, hv_dev 138 drivers/input/serio/hyperv-keyboard.c dev_err(&hv_dev->device, hv_dev 172 drivers/input/serio/hyperv-keyboard.c pm_wakeup_hard_event(&hv_dev->device); hv_dev 177 drivers/input/serio/hyperv-keyboard.c dev_err(&hv_dev->device, hv_dev 182 drivers/input/serio/hyperv-keyboard.c static void hv_kbd_handle_received_packet(struct hv_device *hv_dev, hv_dev 220 drivers/input/serio/hyperv-keyboard.c dev_err(&hv_dev->device, hv_dev 227 drivers/input/serio/hyperv-keyboard.c hv_kbd_on_receive(hv_dev, msg, msg_sz); hv_dev 231 drivers/input/serio/hyperv-keyboard.c dev_err(&hv_dev->device, hv_dev 241 drivers/input/serio/hyperv-keyboard.c struct hv_device *hv_dev = context; hv_dev 245 drivers/input/serio/hyperv-keyboard.c foreach_vmbus_pkt(desc, hv_dev->channel) { hv_dev 249 drivers/input/serio/hyperv-keyboard.c hv_kbd_handle_received_packet(hv_dev, desc, bytes_recvd, hv_dev 254 drivers/input/serio/hyperv-keyboard.c static int hv_kbd_connect_to_vsp(struct hv_device *hv_dev) hv_dev 256 drivers/input/serio/hyperv-keyboard.c struct hv_kbd_dev *kbd_dev = hv_get_drvdata(hv_dev); hv_dev 267 drivers/input/serio/hyperv-keyboard.c error = vmbus_sendpacket(hv_dev->channel, request, hv_dev 281 drivers/input/serio/hyperv-keyboard.c dev_err(&hv_dev->device, hv_dev 312 drivers/input/serio/hyperv-keyboard.c static int hv_kbd_probe(struct hv_device *hv_dev, hv_dev 326 drivers/input/serio/hyperv-keyboard.c kbd_dev->hv_dev = hv_dev; hv_dev 330 drivers/input/serio/hyperv-keyboard.c hv_set_drvdata(hv_dev, kbd_dev); hv_dev 332 drivers/input/serio/hyperv-keyboard.c hv_serio->dev.parent = &hv_dev->device; hv_dev 335 drivers/input/serio/hyperv-keyboard.c strlcpy(hv_serio->name, dev_name(&hv_dev->device), hv_dev 337 drivers/input/serio/hyperv-keyboard.c strlcpy(hv_serio->phys, dev_name(&hv_dev->device), hv_dev 343 drivers/input/serio/hyperv-keyboard.c error = vmbus_open(hv_dev->channel, hv_dev 348 drivers/input/serio/hyperv-keyboard.c hv_dev); hv_dev 352 drivers/input/serio/hyperv-keyboard.c error = hv_kbd_connect_to_vsp(hv_dev); hv_dev 358 drivers/input/serio/hyperv-keyboard.c device_init_wakeup(&hv_dev->device, true); hv_dev 363 drivers/input/serio/hyperv-keyboard.c vmbus_close(hv_dev->channel); hv_dev 370 drivers/input/serio/hyperv-keyboard.c static int hv_kbd_remove(struct hv_device *hv_dev) hv_dev 372 drivers/input/serio/hyperv-keyboard.c struct hv_kbd_dev *kbd_dev = hv_get_drvdata(hv_dev); hv_dev 375 drivers/input/serio/hyperv-keyboard.c vmbus_close(hv_dev->channel); hv_dev 378 drivers/input/serio/hyperv-keyboard.c hv_set_drvdata(hv_dev, NULL); hv_dev 1133 drivers/net/hyperv/rndis_filter.c struct hv_device *hv_dev = ndev_ctx->device_ctx; hv_dev 1146 drivers/net/hyperv/rndis_filter.c ret = vmbus_sendpacket(hv_dev->channel, init_packet, hv_dev 96 drivers/uio/uio_hv_generic.c struct hv_device *hv_dev = chan->device_obj; hv_dev 97 drivers/uio/uio_hv_generic.c struct hv_uio_private_data *pdata = hv_get_drvdata(hv_dev); hv_dev 110 drivers/uio/uio_hv_generic.c struct hv_device *hv_dev = channel->primary_channel->device_obj; hv_dev 111 drivers/uio/uio_hv_generic.c struct hv_uio_private_data *pdata = hv_get_drvdata(hv_dev); hv_dev 154 drivers/uio/uio_hv_generic.c struct hv_device *hv_dev = new_sc->primary_channel->device_obj; hv_dev 155 drivers/uio/uio_hv_generic.c struct device *device = &hv_dev->device;