• Home
  • Raw
  • Download

Lines Matching full:vio

14 #include <asm/vio.h>
29 struct vio_driver_state vio; member
264 struct vio_driver_state *vio = &port->vio; in vcc_kick_rx() local
269 disable_irq_nosync(vio->vdev->rx_irq); in vcc_kick_rx()
316 struct vio_driver_state *vio = &port->vio; in vcc_ldc_read() local
323 rv = ldc_rx_reset(vio->lp); in vcc_ldc_read()
335 vccdbgl(vio->lp); in vcc_ldc_read()
337 rv = ldc_read(vio->lp, &pkt, sizeof(pkt)); in vcc_ldc_read()
368 struct vio_driver_state *vio; in vcc_rx_timer() local
375 vio = &port->vio; in vcc_rx_timer()
377 enable_irq(vio->vdev->rx_irq); in vcc_rx_timer()
384 vio_conn_reset(vio); in vcc_rx_timer()
412 vccdbgl(port->vio.lp); in vcc_tx_timer()
414 rv = ldc_write(port->vio.lp, pkt, (VIO_TAG_SIZE + tosend)); in vcc_tx_timer()
442 struct vio_driver_state *vio; in vcc_event() local
448 vio = &port->vio; in vcc_event()
455 vio_link_state_change(vio, event); in vcc_event()
461 vio_conn_reset(vio); in vcc_event()
510 rv = ldc_write(port->vio.lp, &pkt, sizeof(pkt.tag)); in vcc_send_ctl()
558 * @vdev: Pointer to VIO device of the new VCC port
559 * @id: VIO device ID
563 * domain. Sets up VIO/LDC link between the guest & control
595 rv = vio_driver_init(&port->vio, vdev, VDEV_CONSOLE_CON, vcc_versions, in vcc_probe()
600 port->vio.debug = vcc_dbg_vio; in vcc_probe()
603 rv = vio_ldc_alloc(&port->vio, &vcc_ldc_cfg, port); in vcc_probe()
660 vio_port_up(&port->vio); in vcc_probe()
672 vio_ldc_free(&port->vio); in vcc_probe()
683 * @vdev: Pointer to VIO device of the VCC port
686 * VIO/LDC link between guest and primary domains.
717 del_timer_sync(&port->vio.timer); in vcc_remove()
718 vio_ldc_free(&port->vio); in vcc_remove()
727 kfree(port->vio.name); in vcc_remove()
741 MODULE_DEVICE_TABLE(vio, vcc_match);
768 if (unlikely(!port->vio.lp)) { in vcc_open()
773 vccdbgl(port->vio.lp); in vcc_open()
889 vccdbgl(port->vio.lp); in vcc_write()
895 rv = ldc_write(port->vio.lp, pkt, (VIO_TAG_SIZE + tosend)); in vcc_write()
1054 kfree(port->vio.name); in vcc_cleanup()
1136 pr_err("VCC: VIO driver registration failed\n"); in vcc_init()
1139 vccdbg("VCC: VIO driver registered successfully\n"); in vcc_init()
1148 vccdbg("VCC: VIO driver unregistered\n"); in vcc_exit()