Home
last modified time | relevance | path

Searched refs:xenbus_device (Results 1 – 25 of 34) sorted by relevance

12

/OK3568_Linux_fs/kernel/include/xen/
H A Dxenbus.h80 struct xenbus_device { struct
93 static inline struct xenbus_device *to_xenbus_device(struct device *dev) in to_xenbus_device() argument
95 return container_of(dev, struct xenbus_device, dev); in to_xenbus_device()
109 int (*probe)(struct xenbus_device *dev,
111 void (*otherend_changed)(struct xenbus_device *dev,
113 int (*remove)(struct xenbus_device *dev);
114 int (*suspend)(struct xenbus_device *dev);
115 int (*resume)(struct xenbus_device *dev);
116 int (*uevent)(struct xenbus_device *, struct kobj_uevent_env *);
118 int (*read_otherend_details)(struct xenbus_device *dev);
[all …]
H A Dxen-front-pgdir-shbuf.h49 struct xenbus_device *xb_dev;
59 struct xenbus_device *xb_dev;
/OK3568_Linux_fs/kernel/drivers/xen/xenbus/
H A Dxenbus_client.c89 int (*map)(struct xenbus_device *dev, struct map_ring_valloc *info,
92 int (*unmap)(struct xenbus_device *dev, void *vaddr);
128 int xenbus_watch_path(struct xenbus_device *dev, const char *path, in xenbus_watch_path()
170 int xenbus_watch_pathfmt(struct xenbus_device *dev, in xenbus_watch_pathfmt()
198 static void xenbus_switch_fatal(struct xenbus_device *, int, int,
202 __xenbus_switch_state(struct xenbus_device *dev, in __xenbus_switch_state()
266 int xenbus_switch_state(struct xenbus_device *dev, enum xenbus_state state) in xenbus_switch_state()
273 int xenbus_frontend_closed(struct xenbus_device *dev) in xenbus_frontend_closed()
281 static void xenbus_va_dev_error(struct xenbus_device *dev, int err, in xenbus_va_dev_error()
316 void xenbus_dev_error(struct xenbus_device *dev, int err, const char *fmt, ...) in xenbus_dev_error()
[all …]
H A Dxenbus_probe.c83 match_device(const struct xenbus_device_id *arr, struct xenbus_device *dev) in match_device()
104 static void free_otherend_details(struct xenbus_device *dev) in free_otherend_details()
111 static void free_otherend_watch(struct xenbus_device *dev) in free_otherend_watch()
121 static int talk_to_otherend(struct xenbus_device *dev) in talk_to_otherend()
133 static int watch_otherend(struct xenbus_device *dev) in watch_otherend()
145 int xenbus_read_otherend_details(struct xenbus_device *xendev, in xenbus_read_otherend_details()
176 struct xenbus_device *dev = in xenbus_otherend_changed()
177 container_of(watch, struct xenbus_device, otherend_watch); in xenbus_otherend_changed()
211 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_probe()
267 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_dev_remove()
[all …]
H A Dxenbus_probe_frontend.c79 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_uevent_frontend()
96 struct xenbus_device *xdev = container_of(w, struct xenbus_device, work); in xenbus_frontend_delayed_resume()
108 struct xenbus_device *xdev = to_xenbus_device(dev); in xenbus_frontend_dev_resume()
121 struct xenbus_device *xdev = to_xenbus_device(dev); in xenbus_frontend_dev_probe()
130 struct xenbus_device *dev = to_xenbus_device(_dev); in xenbus_frontend_dev_shutdown()
192 static int read_backend_details(struct xenbus_device *xendev) in read_backend_details()
199 struct xenbus_device *xendev = to_xenbus_device(dev); in is_device_connecting()
253 struct xenbus_device *xendev = to_xenbus_device(dev); in print_device_status()
H A Dxenbus_probe_backend.c98 struct xenbus_device *xdev; in xenbus_uevent_backend()
225 static int read_frontend_details(struct xenbus_device *xendev) in read_frontend_details()
230 int xenbus_dev_is_online(struct xenbus_device *dev) in xenbus_dev_is_online()
260 struct xenbus_device *xdev; in backend_reclaim_memory()
H A Dxenbus.h129 int xenbus_read_otherend_details(struct xenbus_device *xendev,
/OK3568_Linux_fs/kernel/drivers/net/xen-netback/
H A Dxenbus.c203 static int netback_uevent(struct xenbus_device *xdev, in netback_uevent()
225 struct xenbus_device *dev = be->dev; in backend_create_xenvif()
289 struct xenbus_device *dev = be->dev; in backend_switch_state()
397 struct xenbus_device *dev) in read_xenbus_frontend_xdp()
417 static void frontend_changed(struct xenbus_device *dev, in frontend_changed()
465 static void xen_net_read_rate(struct xenbus_device *dev, in xen_net_read_rate()
501 static int xen_net_read_mac(struct xenbus_device *dev, u8 mac[]) in xen_net_read_mac()
527 struct xenbus_device *dev = xenvif_to_xenbus_device(vif); in xen_net_rate_changed()
545 static int xen_register_credit_watch(struct xenbus_device *dev, in xen_register_credit_watch()
587 struct xenbus_device *dev = xenvif_to_xenbus_device(vif); in xen_mcast_ctrl_changed()
[all …]
H A Dcommon.h264 struct xenbus_device *dev;
339 static inline struct xenbus_device *xenvif_to_xenbus_device(struct xenvif *vif) in xenvif_to_xenbus_device()
/OK3568_Linux_fs/kernel/drivers/block/xen-blkback/
H A Dxenbus.c22 struct xenbus_device *dev;
38 struct xenbus_device *xen_blkbk_xenbus(struct backend_info *be) in xen_blkbk_xenbus()
58 struct xenbus_device *dev = blkif->be->dev; in blkback_name()
383 struct xenbus_device *dev = to_xenbus_device(_dev); \
432 struct xenbus_device *dev = to_xenbus_device(_dev); \
442 static int xenvbd_sysfs_addif(struct xenbus_device *dev) in xenvbd_sysfs_addif()
466 static void xenvbd_sysfs_delif(struct xenbus_device *dev) in xenvbd_sysfs_delif()
530 static int xen_blkbk_remove(struct xenbus_device *dev) in xen_blkbk_remove()
560 struct xenbus_device *dev = be->dev; in xen_blkbk_flush_diskcache()
573 struct xenbus_device *dev = be->dev; in xen_blkbk_discard()
[all …]
/OK3568_Linux_fs/kernel/drivers/xen/
H A Dpvcalls-back.c39 struct xenbus_device *dev;
87 static int pvcalls_back_release_active(struct xenbus_device *dev,
259 static int pvcalls_back_socket(struct xenbus_device *dev, in pvcalls_back_socket()
386 static int pvcalls_back_connect(struct xenbus_device *dev, in pvcalls_back_connect()
432 static int pvcalls_back_release_active(struct xenbus_device *dev, in pvcalls_back_release_active()
457 static int pvcalls_back_release_passive(struct xenbus_device *dev, in pvcalls_back_release_passive()
475 static int pvcalls_back_release(struct xenbus_device *dev, in pvcalls_back_release()
617 static int pvcalls_back_bind(struct xenbus_device *dev, in pvcalls_back_bind()
682 static int pvcalls_back_listen(struct xenbus_device *dev, in pvcalls_back_listen()
709 static int pvcalls_back_accept(struct xenbus_device *dev, in pvcalls_back_accept()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A Dxen-kbdfront.c42 struct xenbus_device *xbdev;
54 static int xenkbd_remove(struct xenbus_device *);
55 static int xenkbd_connect_backend(struct xenbus_device *, struct xenkbd_info *);
200 static int xenkbd_probe(struct xenbus_device *dev, in xenkbd_probe()
398 static int xenkbd_resume(struct xenbus_device *dev) in xenkbd_resume()
407 static int xenkbd_remove(struct xenbus_device *dev) in xenkbd_remove()
423 static int xenkbd_connect_backend(struct xenbus_device *dev, in xenkbd_connect_backend()
499 static void xenkbd_backend_changed(struct xenbus_device *dev, in xenkbd_backend_changed()
/OK3568_Linux_fs/kernel/drivers/char/tpm/
H A Dxen-tpmfront.c22 struct xenbus_device *dev;
251 static int setup_ring(struct xenbus_device *dev, struct tpm_private *priv) in setup_ring()
346 static int tpmfront_probe(struct xenbus_device *dev, in tpmfront_probe()
375 static int tpmfront_remove(struct xenbus_device *dev) in tpmfront_remove()
385 static int tpmfront_resume(struct xenbus_device *dev) in tpmfront_resume()
392 static void backend_changed(struct xenbus_device *dev, in backend_changed()
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dxen-scsifront.c104 struct xenbus_device *dev;
703 struct xenbus_device *dev = info->dev; in scsifront_alloc_ring()
769 struct xenbus_device *dev = info->dev; in scsifront_init_ring()
819 static int scsifront_probe(struct xenbus_device *dev, in scsifront_probe()
875 static int scsifront_resume(struct xenbus_device *dev) in scsifront_resume()
902 static int scsifront_suspend(struct xenbus_device *dev) in scsifront_suspend()
924 static int scsifront_remove(struct xenbus_device *dev) in scsifront_remove()
946 struct xenbus_device *dev = info->dev; in scsifront_disconnect()
969 struct xenbus_device *dev = info->dev; in scsifront_do_lun_hotplug()
1054 static void scsifront_read_backend_params(struct xenbus_device *dev, in scsifront_read_backend_params()
[all …]
/OK3568_Linux_fs/kernel/drivers/video/fbdev/
H A Dxen-fbfront.c58 struct xenbus_device *xbdev;
70 static int xenfb_remove(struct xenbus_device *);
72 static int xenfb_connect_backend(struct xenbus_device *, struct xenfb_info *);
364 static int xenfb_probe(struct xenbus_device *dev, in xenfb_probe()
522 static int xenfb_resume(struct xenbus_device *dev) in xenfb_resume()
531 static int xenfb_remove(struct xenbus_device *dev) in xenfb_remove()
576 static int xenfb_connect_backend(struct xenbus_device *dev, in xenfb_connect_backend()
642 static void xenfb_backend_changed(struct xenbus_device *dev, in xenfb_backend_changed()
/OK3568_Linux_fs/kernel/net/9p/
H A Dtrans_xen.c76 struct xenbus_device *dev;
328 static int xen_9pfs_front_remove(struct xenbus_device *dev) in xen_9pfs_front_remove()
337 static int xen_9pfs_front_alloc_dataring(struct xenbus_device *dev, in xen_9pfs_front_alloc_dataring()
396 static int xen_9pfs_front_probe(struct xenbus_device *dev, in xen_9pfs_front_probe()
503 static int xen_9pfs_front_resume(struct xenbus_device *dev) in xen_9pfs_front_resume()
509 static void xen_9pfs_front_changed(struct xenbus_device *dev, in xen_9pfs_front_changed()
/OK3568_Linux_fs/kernel/drivers/tty/hvc/
H A Dhvc_xen.c37 struct xenbus_device *xbdev;
397 static int xencons_remove(struct xenbus_device *dev) in xencons_remove()
402 static int xencons_connect_backend(struct xenbus_device *dev, in xencons_connect_backend()
462 static int xencons_probe(struct xenbus_device *dev, in xencons_probe()
500 static int xencons_resume(struct xenbus_device *dev) in xencons_resume()
509 static void xencons_backend_changed(struct xenbus_device *dev, in xencons_backend_changed()
/OK3568_Linux_fs/kernel/sound/xen/
H A Dxen_snd_front.c237 static void sndback_changed(struct xenbus_device *xb_dev, in sndback_changed()
298 static int xen_drv_probe(struct xenbus_device *xb_dev, in xen_drv_probe()
314 static int xen_drv_remove(struct xenbus_device *dev) in xen_drv_remove()
H A Dxen_snd_front.h23 struct xenbus_device *xb_dev;
/OK3568_Linux_fs/kernel/drivers/xen/xen-pciback/
H A Dxenbus.c37 static struct xen_pcibk_device *alloc_pdev(struct xenbus_device *xdev) in alloc_pdev()
518 static void xen_pcibk_frontend_changed(struct xenbus_device *xdev, in xen_pcibk_frontend_changed()
684 static int xen_pcibk_xenbus_probe(struct xenbus_device *dev, in xen_pcibk_xenbus_probe()
719 static int xen_pcibk_xenbus_remove(struct xenbus_device *dev) in xen_pcibk_xenbus_remove()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/xen/
H A Dxen_drm_front_cfg.c51 struct xenbus_device *xb_dev = front_info->xb_dev; in xen_drm_front_cfg_card()
H A Dxen_drm_front.h93 struct xenbus_device *xb_dev;
/OK3568_Linux_fs/kernel/drivers/pci/
H A Dxen-pcifront.c41 struct xenbus_device *xdev;
716 static struct pcifront_device *alloc_pdev(struct xenbus_device *xdev) in alloc_pdev()
1081 static void __ref pcifront_backend_changed(struct xenbus_device *xdev, in pcifront_backend_changed()
1116 static int pcifront_xenbus_probe(struct xenbus_device *xdev, in pcifront_xenbus_probe()
1137 static int pcifront_xenbus_remove(struct xenbus_device *xdev) in pcifront_xenbus_remove()
/OK3568_Linux_fs/kernel/drivers/net/
H A Dxen-netfront.c166 struct xenbus_device *xbdev;
1712 static struct net_device *xennet_create_dev(struct xenbus_device *dev) in xennet_create_dev()
1782 static int netfront_probe(struct xenbus_device *dev, in netfront_probe()
1860 static int netfront_resume(struct xenbus_device *dev) in netfront_resume()
1880 static int xen_net_read_mac(struct xenbus_device *dev, u8 mac[]) in xen_net_read_mac()
1972 static int setup_netfront(struct xenbus_device *dev, in setup_netfront()
2115 struct xenbus_device *dev = queue->info->xbdev; in write_queue_xenstore_keys()
2284 static int talk_to_netback(struct xenbus_device *dev, in talk_to_netback()
2521 static void netback_changed(struct xenbus_device *dev, in netback_changed()
2656 static void xennet_bus_close(struct xenbus_device *dev) in xennet_bus_close()
[all …]
/OK3568_Linux_fs/kernel/drivers/block/
H A Dxen-blkfront.c200 struct xenbus_device *xbdev;
1753 static int setup_blkring(struct xenbus_device *dev, in setup_blkring()
1862 static int talk_to_blkback(struct xenbus_device *dev, in talk_to_blkback()
2035 static int blkfront_probe(struct xenbus_device *dev, in blkfront_probe()
2159 static int blkfront_resume(struct xenbus_device *dev) in blkfront_resume()
2221 struct xenbus_device *xbdev = info->xbdev; in blkfront_closing()
2524 static void blkback_changed(struct xenbus_device *dev, in blkback_changed()
2576 static int blkfront_remove(struct xenbus_device *xbdev) in blkfront_remove()
2632 static int blkfront_is_ready(struct xenbus_device *dev) in blkfront_is_ready()
2671 struct xenbus_device *xbdev; in blkif_release()

12