Home
last modified time | relevance | path

Searched refs:vdev (Results 1 – 10 of 10) sorted by relevance

/arch/sparc/kernel/
A Dvio.c84 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()
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()
192 dp = vdev->dp; in show_pciobppath_attr()
327 vdev = kzalloc(sizeof(*vdev), GFP_KERNEL); in vio_create_one()
328 if (!vdev) { in vio_create_one()
338 memset(vdev->compat, 0, sizeof(vdev->compat)); in vio_create_one()
395 dev_name(&vdev->dev), vdev->tx_ino, vdev->rx_ino); in vio_create_one()
404 if (vdev->dp) in vio_create_one()
[all …]
A Dviohs.c169 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()
A Dds.c1158 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/
A Dvirtio_pcidev.c36 struct virtio_device *vdev; member
407 struct virtio_device *vdev = vq->vdev; in virtio_pcidev_handle_irq_message() local
437 struct virtio_device *vdev = vq->vdev; in virtio_pcidev_cmd_vq_cb() local
498 virtio_reset_device(vdev); in __virtio_pcidev_virtio_platform_remove()
499 vdev->config->del_vqs(vdev); in __virtio_pcidev_virtio_platform_remove()
519 err = of_platform_default_populate(vdev->dev.of_node, NULL, &vdev->dev); in virtio_pcidev_virtio_platform_probe()
529 vdev->config->del_vqs(vdev); in virtio_pcidev_virtio_platform_probe()
544 dev->vdev = vdev; in virtio_pcidev_virtio_probe()
545 vdev->priv = dev; in virtio_pcidev_virtio_probe()
572 vdev->config->del_vqs(vdev); in virtio_pcidev_virtio_probe()
[all …]
A Dvirtio_uml.c51 struct virtio_device vdev; member
451 virtio_config_changed(&vu_dev->vdev); in vu_req_interrupt()
803 vu_dev = to_virtio_uml_device(vq->vdev); in vu_notify()
1085 vu_del_vqs(vdev); in vu_find_vqs()
1101 vring_transport_features(vdev); in vu_finalize_features()
1129 struct virtio_device *vdev = in virtio_uml_release_dev() local
1167 virtio_break_device(&vu_dev->vdev); in vu_of_conn_broken()
1224 vu_dev->vdev.dev.parent = &pdev->dev; in virtio_uml_probe()
1254 put_device(&vu_dev->vdev.dev); in virtio_uml_probe()
1269 unregister_virtio_device(&vu_dev->vdev); in virtio_uml_remove()
[all …]
/arch/powerpc/include/asm/
A Dvio.h140 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/
A Dvirtio-uml.h10 void virtio_uml_set_no_vq_suspend(struct virtio_device *vdev,
/arch/sparc/include/asm/
A Dvio.h430 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/
A Dsetup.c204 int vdev; in condev_setup() local
206 vdev = simple_strtoul(str, &str, 0); in condev_setup()
207 if (vdev >= 0 && vdev < 65536) { in condev_setup()
208 console_devno = vdev; in condev_setup()
/arch/powerpc/platforms/pseries/
A Dvio.c1096 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()

Completed in 36 milliseconds