Lines Matching refs:vio_driver_state
356 struct vio_driver_state;
358 int (*send_attr)(struct vio_driver_state *vio);
359 int (*handle_attr)(struct vio_driver_state *vio, void *pkt);
360 void (*handshake_complete)(struct vio_driver_state *vio);
369 struct vio_driver_state { struct
423 static inline bool vio_version_before(struct vio_driver_state *vio, in vio_version_before() argument
432 static inline bool vio_version_after(struct vio_driver_state *vio, in vio_version_after()
441 static inline bool vio_version_after_eq(struct vio_driver_state *vio, in vio_version_after_eq()
475 int vio_ldc_send(struct vio_driver_state *vio, void *data, int len);
476 void vio_link_state_change(struct vio_driver_state *vio, int event);
477 void vio_conn_reset(struct vio_driver_state *vio);
478 int vio_control_pkt_engine(struct vio_driver_state *vio, void *pkt);
479 int vio_validate_sid(struct vio_driver_state *vio,
481 u32 vio_send_sid(struct vio_driver_state *vio);
482 int vio_ldc_alloc(struct vio_driver_state *vio,
484 void vio_ldc_free(struct vio_driver_state *vio);
485 int vio_driver_init(struct vio_driver_state *vio, struct vio_dev *vdev,
490 void vio_port_up(struct vio_driver_state *vio);