Searched refs:vdev (Results 1 – 8 of 8) sorted by relevance
/arch/sparc/kernel/ |
D | vio.c | 60 struct vio_dev *vdev = to_vio_dev(dev); in vio_device_probe() local 66 id = vio_match_device(drv->id_table, vdev); in vio_device_probe() 68 error = drv->probe(vdev, id); in vio_device_probe() 76 struct vio_dev *vdev = to_vio_dev(dev); in vio_device_remove() local 80 return drv->remove(vdev); in vio_device_remove() 88 struct vio_dev *vdev = to_vio_dev(dev); in devspec_show() local 91 if (!strcmp(vdev->type, "vnet-port")) in devspec_show() 93 else if (!strcmp(vdev->type, "vdc-port")) in devspec_show() 102 struct vio_dev *vdev = to_vio_dev(dev); in type_show() local 103 return sprintf(buf, "%s\n", vdev->type); in type_show() [all …]
|
D | viohs.c | 167 vio->vdev->channel_id); in process_unknown() 714 cfg.tx_irq = vio->vdev->tx_irq; in vio_ldc_alloc() 715 cfg.rx_irq = vio->vdev->rx_irq; in vio_ldc_alloc() 717 lp = ldc_alloc(vio->vdev->channel_id, &cfg, event_arg); in vio_ldc_alloc() 753 vio->name, vio->vdev->channel_id, err); in vio_port_up() 761 vio->name, vio->vdev->channel_id, err); in vio_port_up() 781 int vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev, in vio_driver_init() argument 813 vio->vdev = vdev; in vio_driver_init()
|
D | ds.c | 1131 static int __devinit ds_probe(struct vio_dev *vdev, in ds_probe() argument 1155 val = mdesc_get_property(hp, vdev->mp, "id", NULL); in ds_probe() 1178 ds_cfg.tx_irq = vdev->tx_irq; in ds_probe() 1179 ds_cfg.rx_irq = vdev->rx_irq; in ds_probe() 1181 lp = ldc_alloc(vdev->channel_id, &ds_cfg, dp); in ds_probe() 1215 static int ds_remove(struct vio_dev *vdev) in ds_remove() argument
|
/arch/s390/kernel/ |
D | setup.c | 139 int vdev; in condev_setup() local 141 vdev = simple_strtoul(str, &str, 0); in condev_setup() 142 if (vdev >= 0 && vdev < 65536) { in condev_setup() 143 console_devno = vdev; in condev_setup()
|
/arch/sparc/include/asm/ |
D | vio.h | 356 struct vio_dev *vdev; member 373 vio->vdev->channel_id, ## a); \ 399 extern int vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev,
|
/arch/powerpc/platforms/iseries/ |
D | vio.c | 195 struct vio_dev *vdev = NULL; in vio_create_viodasd() local 204 vdev = vio_register_device_node(np); in vio_create_viodasd() 205 if (!vdev) in vio_create_viodasd() 208 return vdev; in vio_create_viodasd()
|
/arch/powerpc/include/asm/ |
D | vio.h | 94 extern const void *vio_get_attribute(struct vio_dev *vdev, char *which,
|
/arch/powerpc/kernel/ |
D | vio.c | 1376 const void *vio_get_attribute(struct vio_dev *vdev, char *which, int *length) in vio_get_attribute() argument 1378 return of_get_property(vdev->dev.archdata.of_node, which, length); in vio_get_attribute()
|