Home
last modified time | relevance | path

Searched refs:XenbusStateConnected (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/linux/drivers/xen/xenbus/
H A Dxenbus_probe_frontend.c136 if (dev->state != XenbusStateConnected) { in xenbus_frontend_dev_shutdown()
219 return (xendev->state < XenbusStateConnected || in is_device_connecting()
220 (xendev->state == XenbusStateConnected && in is_device_connecting()
255 } else if (xendev->state < XenbusStateConnected) { in print_device_status()
393 case XenbusStateConnected: in xenbus_reset_frontend()
427 case XenbusStateConnected: in xenbus_check_frontend()
/openbmc/linux/include/xen/interface/io/
H A Dxenbus.h27 XenbusStateConnected = 4, enumerator
/openbmc/qemu/include/hw/xen/interface/io/
H A Dxenbus.h35 XenbusStateConnected = 4, enumerator
/openbmc/linux/drivers/net/xen-netback/
H A Dxenbus.c329 case XenbusStateConnected: in set_backend_state()
343 case XenbusStateConnected: in set_backend_state()
355 case XenbusStateConnected: in set_backend_state()
357 backend_switch_state(be, XenbusStateConnected); in set_backend_state()
367 case XenbusStateConnected: in set_backend_state()
382 case XenbusStateConnected: in set_backend_state()
434 case XenbusStateConnected: in frontend_changed()
435 set_backend_state(be, XenbusStateConnected); in frontend_changed()
/openbmc/linux/drivers/scsi/
H A Dxen-scsifront.c748 info->dev_state_path, "%d", XenbusStateConnected); in scsifront_sdev_configure()
1110 if (device_state == XenbusStateConnected) { in scsifront_do_lun_hotplug()
1113 "%d", XenbusStateConnected); in scsifront_do_lun_hotplug()
1167 case XenbusStateConnected: in scsifront_backend_changed()
1172 xenbus_switch_state(dev, XenbusStateConnected); in scsifront_backend_changed()
1181 if (dev->state != XenbusStateConnected) in scsifront_backend_changed()
1182 xenbus_switch_state(dev, XenbusStateConnected); in scsifront_backend_changed()
1200 xenbus_switch_state(dev, XenbusStateConnected); in scsifront_backend_changed()
/openbmc/linux/drivers/input/misc/
H A Dxen-kbdfront.c510 xenbus_switch_state(dev, XenbusStateConnected); in xenkbd_backend_changed()
513 case XenbusStateConnected: in xenkbd_backend_changed()
519 if (dev->state != XenbusStateConnected) in xenkbd_backend_changed()
520 xenbus_switch_state(dev, XenbusStateConnected); in xenkbd_backend_changed()
/openbmc/linux/drivers/char/tpm/
H A Dxen-tpmfront.c384 case XenbusStateConnected: in backend_changed()
385 if (dev->state == XenbusStateConnected) in backend_changed()
394 xenbus_switch_state(dev, XenbusStateConnected); in backend_changed()
/openbmc/qemu/hw/char/
H A Dxen_console.c193 if (xen_device_backend_get_state(&con->xendev) != XenbusStateConnected) { in con_event()
327 case XenbusStateConnected: in xen_console_frontend_changed()
328 if (backend_state == XenbusStateConnected) { in xen_console_frontend_changed()
342 xen_device_backend_set_state(xendev, XenbusStateConnected); in xen_console_frontend_changed()
/openbmc/qemu/hw/xen/
H A Dxen-legacy-backend.c367 xendev->fe_state != XenbusStateConnected) { in xen_be_try_initialise()
394 xen_be_set_state(xendev, XenbusStateConnected); in xen_be_try_initialise()
409 if (xendev->fe_state != XenbusStateConnected) { in xen_be_try_connected()
483 case XenbusStateConnected: in xen_be_check_state()
H A Dxen-bus-helper.c28 XS_STATE(XenbusStateConnected),
H A Dxen_pvdev.c148 [XenbusStateConnected] = "Connected", in xenbus_strstate()
/openbmc/qemu/hw/net/
H A Dxen_nic.c265 if (xen_device_backend_get_state(&netdev->xendev) != XenbusStateConnected) { in net_rx_packet()
464 case XenbusStateConnected: in xen_netdev_frontend_changed()
465 if (backend_state == XenbusStateConnected) { in xen_netdev_frontend_changed()
480 xen_device_backend_set_state(xendev, XenbusStateConnected); in xen_netdev_frontend_changed()
/openbmc/linux/drivers/video/fbdev/
H A Dxen-fbfront.c628 xenbus_switch_state(dev, XenbusStateConnected); in xenfb_backend_changed()
631 case XenbusStateConnected: in xenfb_backend_changed()
637 if (dev->state != XenbusStateConnected) in xenfb_backend_changed()
639 xenbus_switch_state(dev, XenbusStateConnected); in xenfb_backend_changed()
/openbmc/linux/drivers/xen/
H A Dpvcalls-back.c1097 case XenbusStateConnected: in set_backend_state()
1110 case XenbusStateConnected: in set_backend_state()
1113 xenbus_switch_state(dev, XenbusStateConnected); in set_backend_state()
1123 case XenbusStateConnected: in set_backend_state()
1140 case XenbusStateConnected: in set_backend_state()
1163 case XenbusStateConnected: in pvcalls_back_changed()
1164 set_backend_state(dev, XenbusStateConnected); in pvcalls_back_changed()
H A Dxen-scsiback.c1130 case XenbusStateConnected: in scsiback_do_1lun_hotplug()
1145 "%d", XenbusStateConnected)) { in scsiback_do_1lun_hotplug()
1190 xenbus_switch_state(dev, XenbusStateConnected); in scsiback_frontend_changed()
1193 case XenbusStateConnected: in scsiback_frontend_changed()
1196 if (dev->state == XenbusStateConnected) in scsiback_frontend_changed()
1199 xenbus_switch_state(dev, XenbusStateConnected); in scsiback_frontend_changed()
/openbmc/linux/sound/xen/
H A Dxen_snd_front.c269 case XenbusStateConnected: in sndback_changed()
277 xenbus_switch_state(xb_dev, XenbusStateConnected); in sndback_changed()
/openbmc/qemu/hw/display/
H A Dxenfb.c133 if (xenfb->c.xendev.be_state != XenbusStateConnected) in xenfb_kbd_event()
727 if (xenfb->c.xendev.be_state != XenbusStateConnected) in xenfb_update()
959 xendev->fe_state == XenbusStateConnected && in fb_frontend_changed()
960 xendev->be_state == XenbusStateConnected) { in fb_frontend_changed()
962 xen_be_set_state(xendev, XenbusStateConnected); in fb_frontend_changed()
/openbmc/linux/drivers/block/xen-blkback/
H A Dxenbus.c88 if (blkif->be->dev->state == XenbusStateConnected) in xen_update_blkif_status()
93 if (blkif->be->dev->state != XenbusStateConnected) in xen_update_blkif_status()
804 case XenbusStateConnected: in frontend_changed()
810 if (dev->state == XenbusStateConnected) in frontend_changed()
952 err = xenbus_switch_state(dev, XenbusStateConnected); in connect()
/openbmc/linux/drivers/xen/xen-pciback/
H A Dxenbus.c189 err = xenbus_switch_state(pdev->xdev, XenbusStateConnected); in xen_pcibk_attach()
534 case XenbusStateConnected: in xen_pcibk_frontend_changed()
538 xenbus_switch_state(xdev, XenbusStateConnected); in xen_pcibk_frontend_changed()
/openbmc/linux/drivers/pci/
H A Dxen-pcifront.c851 xenbus_switch_state(pdev->xdev, XenbusStateConnected); in pcifront_connect()
884 if (prev_state == XenbusStateConnected) { in pcifront_try_disconnect()
924 } else if (state != XenbusStateConnected) { in pcifront_detach_devices()
1006 case XenbusStateConnected: in pcifront_backend_changed()
/openbmc/qemu/hw/block/
H A Dxen-block.c437 case XenbusStateConnected: in xen_block_frontend_changed()
438 if (backend_state == XenbusStateConnected) { in xen_block_frontend_changed()
452 xen_device_backend_set_state(xendev, XenbusStateConnected); in xen_block_frontend_changed()
/openbmc/linux/net/9p/
H A Dtrans_xen.c523 case XenbusStateConnected: in xen_9pfs_front_changed()
524 xenbus_switch_state(dev, XenbusStateConnected); in xen_9pfs_front_changed()
/openbmc/linux/drivers/tty/hvc/
H A Dhvc_xen.c551 case XenbusStateConnected: in xencons_backend_changed()
552 xenbus_switch_state(dev, XenbusStateConnected); in xencons_backend_changed()
/openbmc/linux/drivers/gpu/drm/xen/
H A Dxen_drm_front.c659 case XenbusStateConnected: in displback_changed()
668 xenbus_switch_state(xb_dev, XenbusStateConnected); in displback_changed()
/openbmc/linux/drivers/block/
H A Dxen-blkfront.c2027 xenbus_switch_state(info->xbdev, XenbusStateConnected); in blkif_recover()
2393 xenbus_switch_state(info->xbdev, XenbusStateConnected); in blkfront_connect()
2440 case XenbusStateConnected: in blkback_changed()
2453 (dev->state != XenbusStateConnected)) { in blkback_changed()

12