Searched refs:vdev (Results 1 – 8 of 8) sorted by relevance
/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() 743 cfg.tx_irq = vio->vdev->tx_irq; in vio_ldc_alloc() 744 cfg.rx_irq = vio->vdev->rx_irq; in vio_ldc_alloc() 746 lp = ldc_alloc(vio->vdev->channel_id, &cfg, event_arg, vio->name); in vio_ldc_alloc() 782 vio->name, vio->vdev->channel_id, err); in vio_port_up() 794 vio->name, vio->vdev->channel_id, err); in vio_port_up() 814 int vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev, in vio_driver_init() argument 851 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() 1239 static int ds_remove(struct vio_dev *vdev) in ds_remove() argument
|
/arch/um/drivers/ |
D | virtio_uml.c | 43 container_of(_vdev, struct virtio_uml_device, vdev) 46 struct virtio_device vdev; member 326 virtio_config_changed(&vu_dev->vdev); in vu_req_interrupt() 694 static void vu_get(struct virtio_device *vdev, unsigned offset, in vu_get() argument 697 struct virtio_uml_device *vu_dev = to_virtio_uml_device(vdev); in vu_get() 702 static void vu_set(struct virtio_device *vdev, unsigned offset, in vu_set() argument 705 struct virtio_uml_device *vu_dev = to_virtio_uml_device(vdev); in vu_set() 710 static u8 vu_get_status(struct virtio_device *vdev) in vu_get_status() argument 712 struct virtio_uml_device *vu_dev = to_virtio_uml_device(vdev); in vu_get_status() 717 static void vu_set_status(struct virtio_device *vdev, u8 status) in vu_set_status() argument [all …]
|
/arch/powerpc/include/asm/ |
D | vio.h | 139 extern int vio_h_cop_sync(struct vio_dev *vdev, struct vio_pfo_op *op); 145 extern const void *vio_get_attribute(struct vio_dev *vdev, char *which,
|
/arch/sparc/include/asm/ |
D | vio.h | 430 struct vio_dev *vdev; member 474 vio->vdev->channel_id, ## a); \ 506 int vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev, 513 u64 vio_vdev_node(struct mdesc_handle *hp, struct vio_dev *vdev);
|
/arch/s390/kernel/ |
D | setup.c | 146 int vdev; in condev_setup() local 148 vdev = simple_strtoul(str, &str, 0); in condev_setup() 149 if (vdev >= 0 && vdev < 65536) { in condev_setup() 150 console_devno = vdev; in condev_setup()
|
/arch/powerpc/platforms/pseries/ |
D | vio.c | 1106 int vio_h_cop_sync(struct vio_dev *vdev, struct vio_pfo_op *op) in vio_h_cop_sync() argument 1108 struct device *dev = &vdev->dev; in vio_h_cop_sync() 1118 vdev->resource_id, in vio_h_cop_sync() 1625 const void *vio_get_attribute(struct vio_dev *vdev, char *which, int *length) in vio_get_attribute() argument 1627 return of_get_property(vdev->dev.of_node, which, length); in vio_get_attribute()
|