Lines Matching refs:vio

23 	struct vio_driver_state vio;  member
256 struct vio_driver_state *vio = &port->vio; in vcc_kick_rx() local
261 disable_irq_nosync(vio->vdev->rx_irq); in vcc_kick_rx()
308 struct vio_driver_state *vio = &port->vio; in vcc_ldc_read() local
315 rv = ldc_rx_reset(vio->lp); in vcc_ldc_read()
327 vccdbgl(vio->lp); in vcc_ldc_read()
329 rv = ldc_read(vio->lp, &pkt, sizeof(pkt)); in vcc_ldc_read()
360 struct vio_driver_state *vio; in vcc_rx_timer() local
367 vio = &port->vio; in vcc_rx_timer()
369 enable_irq(vio->vdev->rx_irq); in vcc_rx_timer()
376 vio_conn_reset(vio); in vcc_rx_timer()
404 vccdbgl(port->vio.lp); in vcc_tx_timer()
406 rv = ldc_write(port->vio.lp, pkt, (VIO_TAG_SIZE + tosend)); in vcc_tx_timer()
434 struct vio_driver_state *vio; in vcc_event() local
440 vio = &port->vio; in vcc_event()
447 vio_link_state_change(vio, event); in vcc_event()
453 vio_conn_reset(vio); in vcc_event()
502 rv = ldc_write(port->vio.lp, &pkt, sizeof(pkt.tag)); in vcc_send_ctl()
583 rv = vio_driver_init(&port->vio, vdev, VDEV_CONSOLE_CON, vcc_versions, in vcc_probe()
588 port->vio.debug = vcc_dbg_vio; in vcc_probe()
591 rv = vio_ldc_alloc(&port->vio, &vcc_ldc_cfg, port); in vcc_probe()
643 vio_port_up(&port->vio); in vcc_probe()
655 vio_ldc_free(&port->vio); in vcc_probe()
693 del_timer_sync(&port->vio.timer); in vcc_remove()
694 vio_ldc_free(&port->vio); in vcc_remove()
703 kfree(port->vio.name); in vcc_remove()
715 MODULE_DEVICE_TABLE(vio, vcc_match);
737 if (unlikely(!port->vio.lp)) { in vcc_open()
742 vccdbgl(port->vio.lp); in vcc_open()
843 vccdbgl(port->vio.lp); in vcc_write()
849 rv = ldc_write(port->vio.lp, pkt, (VIO_TAG_SIZE + tosend)); in vcc_write()
983 kfree(port->vio.name); in vcc_cleanup()