Lines Matching full:vio
119 /* VIO disk specific structures and defines */
212 /* VIO net specific structures and defines */
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);
391 /* Protects VIO handshake and, optionally, driver private state. */
444 static inline bool vio_version_before(struct vio_driver_state *vio, in vio_version_before() argument
447 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_before()
453 static inline bool vio_version_after(struct vio_driver_state *vio, in vio_version_after() argument
456 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_after()
462 static inline bool vio_version_after_eq(struct vio_driver_state *vio, in vio_version_after_eq() argument
465 u32 have = (u32)vio->ver.major << 16 | vio->ver.minor; in vio_version_after_eq()
472 do { if (vio->debug & VIO_DEBUG_##TYPE) \
473 printk(KERN_INFO "vio: ID[%lu] " f, \
474 vio->vdev->channel_id, ## a); \
489 int vio_ldc_send(struct vio_driver_state *vio, void *data, int len);
490 void vio_link_state_change(struct vio_driver_state *vio, int event);
491 void vio_conn_reset(struct vio_driver_state *vio);
492 int vio_control_pkt_engine(struct vio_driver_state *vio, void *pkt);
493 int vio_validate_sid(struct vio_driver_state *vio,
495 u32 vio_send_sid(struct vio_driver_state *vio);
496 int vio_ldc_alloc(struct vio_driver_state *vio,
498 void vio_ldc_free(struct vio_driver_state *vio);
499 int vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev,
504 void vio_port_up(struct vio_driver_state *vio);