Lines Matching refs:vio
379 int (*send_attr)(struct vio_driver_state *vio);
380 int (*handle_attr)(struct vio_driver_state *vio, void *pkt);
381 void (*handshake_complete)(struct vio_driver_state *vio);
444 static inline bool vio_version_before(struct vio_driver_state *vio,
447 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor;
453 static inline bool vio_version_after(struct vio_driver_state *vio,
456 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor;
462 static inline bool vio_version_after_eq(struct vio_driver_state *vio,
465 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor;
472 do { if (vio->debug & VIO_DEBUG_##TYPE) \
473 printk(KERN_INFO "vio: ID[%lu] " f, \
474 vio->vdev->channel_id, ## a); \
496 int vio_ldc_send(struct vio_driver_state *vio, void *data, int len);
497 void vio_link_state_change(struct vio_driver_state *vio, int event);
498 void vio_conn_reset(struct vio_driver_state *vio);
499 int vio_control_pkt_engine(struct vio_driver_state *vio, void *pkt);
500 int vio_validate_sid(struct vio_driver_state *vio,
502 u32 vio_send_sid(struct vio_driver_state *vio);
503 int vio_ldc_alloc(struct vio_driver_state *vio,
505 void vio_ldc_free(struct vio_driver_state *vio);
506 int vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev,
511 void vio_port_up(struct vio_driver_state *vio);