| /arch/sparc/kernel/ |
| D | vio.c | 71 struct vio_dev *vdev = to_vio_dev(dev); in vio_device_probe() local 78 id = vio_match_device(drv->id_table, vdev); in vio_device_probe() 84 if (vdev->tx_irq == 0 && vdev->tx_ino != ~0UL) in vio_device_probe() 85 vdev->tx_irq = sun4v_build_virq(vdev->cdev_handle, in vio_device_probe() 86 vdev->tx_ino); in vio_device_probe() 88 if (vdev->rx_irq == 0 && vdev->rx_ino != ~0UL) in vio_device_probe() 89 vdev->rx_irq = sun4v_build_virq(vdev->cdev_handle, in vio_device_probe() 90 vdev->rx_ino); in vio_device_probe() 93 return drv->probe(vdev, id); in vio_device_probe() 98 struct vio_dev *vdev = to_vio_dev(dev); in vio_device_remove() local [all …]
|
| D | viohs.c | 169 vio->vdev->channel_id); in process_unknown() 741 cfg.tx_irq = vio->vdev->tx_irq; in vio_ldc_alloc() 742 cfg.rx_irq = vio->vdev->rx_irq; in vio_ldc_alloc() 744 lp = ldc_alloc(vio->vdev->channel_id, &cfg, event_arg, vio->name); in vio_ldc_alloc() 780 vio->name, vio->vdev->channel_id, err); in vio_port_up() 792 vio->name, vio->vdev->channel_id, err); in vio_port_up() 812 int vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev, in vio_driver_init() argument 849 vio->vdev = vdev; in vio_driver_init()
|
| D | ds.c | 1158 static int ds_probe(struct vio_dev *vdev, const struct vio_device_id *id) in ds_probe() argument 1181 val = mdesc_get_property(hp, vdev->mp, "id", NULL); in ds_probe() 1202 ds_cfg.tx_irq = vdev->tx_irq; in ds_probe() 1203 ds_cfg.rx_irq = vdev->rx_irq; in ds_probe() 1205 lp = ldc_alloc(vdev->channel_id, &ds_cfg, dp, "DS"); in ds_probe()
|
| /arch/um/drivers/ |
| D | virtio_uml.c | 41 container_of(_vdev, struct virtio_uml_device, vdev) 51 struct virtio_device vdev; member 393 virtio_device_for_each_vq((&vu_dev->vdev), vq) { in vu_req_read_message() 435 virtio_device_for_each_vq((&vu_dev->vdev), vq) { in vu_req_interrupt() 441 virtio_config_changed(&vu_dev->vdev); in vu_req_interrupt() 791 vu_dev = to_virtio_uml_device(vq->vdev); in vu_notify() 821 static void vu_get(struct virtio_device *vdev, unsigned offset, in vu_get() argument 824 struct virtio_uml_device *vu_dev = to_virtio_uml_device(vdev); in vu_get() 829 static void vu_set(struct virtio_device *vdev, unsigned offset, in vu_set() argument 832 struct virtio_uml_device *vu_dev = to_virtio_uml_device(vdev); in vu_set() [all …]
|
| D | virt-pci.c | 32 struct virtio_device *vdev; member 488 struct virtio_device *vdev = vq->vdev; in um_pci_handle_irq_message() local 489 struct um_pci_device *dev = vdev->priv; in um_pci_handle_irq_message() 511 dev_err(&vdev->dev, "unexpected virt-pci message %d\n", msg->op); in um_pci_handle_irq_message() 518 struct virtio_device *vdev = vq->vdev; in um_pci_cmd_vq_cb() local 519 struct um_pci_device *dev = vdev->priv; in um_pci_cmd_vq_cb() 577 err = virtio_find_vqs(dev->vdev, 2, vqs, vqs_info, NULL); in um_pci_init_vqs() 584 virtio_device_ready(dev->vdev); in um_pci_init_vqs() 598 static void __um_pci_virtio_platform_remove(struct virtio_device *vdev, in __um_pci_virtio_platform_remove() argument 601 virtio_reset_device(vdev); in __um_pci_virtio_platform_remove() [all …]
|
| /arch/powerpc/include/asm/ |
| D | vio.h | 140 extern int vio_h_cop_sync(struct vio_dev *vdev, struct vio_pfo_op *op); 146 extern const void *vio_get_attribute(struct vio_dev *vdev, char *which,
|
| /arch/um/include/linux/ |
| D | virtio-uml.h | 10 void virtio_uml_set_no_vq_suspend(struct virtio_device *vdev,
|
| /arch/sparc/include/asm/ |
| D | vio.h | 430 struct vio_dev *vdev; member 474 vio->vdev->channel_id, ## a); \ 499 int vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev, 506 u64 vio_vdev_node(struct mdesc_handle *hp, struct vio_dev *vdev);
|
| /arch/s390/kernel/ |
| D | setup.c | 199 int vdev; in condev_setup() local 201 vdev = simple_strtoul(str, &str, 0); in condev_setup() 202 if (vdev >= 0 && vdev < 65536) { in condev_setup() 203 console_devno = vdev; in condev_setup()
|
| /arch/powerpc/platforms/pseries/ |
| D | vio.c | 1096 int vio_h_cop_sync(struct vio_dev *vdev, struct vio_pfo_op *op) in vio_h_cop_sync() argument 1098 struct device *dev = &vdev->dev; in vio_h_cop_sync() 1108 vdev->resource_id, in vio_h_cop_sync() 1653 const void *vio_get_attribute(struct vio_dev *vdev, char *which, int *length) in vio_get_attribute() argument 1655 return of_get_property(vdev->dev.of_node, which, length); in vio_get_attribute()
|