Home
last modified time | relevance | path

Searched refs:vio_driver_state (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/arch/sparc/kernel/
Dviohs.c16 int vio_ldc_send(struct vio_driver_state *vio, void *data, int len) in vio_ldc_send()
32 static int send_ctrl(struct vio_driver_state *vio, in send_ctrl()
46 static int send_version(struct vio_driver_state *vio, u16 major, u16 minor) in send_version()
64 static int start_handshake(struct vio_driver_state *vio) in start_handshake()
81 static void flush_rx_dring(struct vio_driver_state *vio) in flush_rx_dring()
99 void vio_link_state_change(struct vio_driver_state *vio, int event) in vio_link_state_change()
133 static int handshake_failure(struct vio_driver_state *vio) in handshake_failure()
159 static int process_unknown(struct vio_driver_state *vio, void *arg) in process_unknown()
174 static int send_dreg(struct vio_driver_state *vio) in send_dreg()
210 static int send_rdx(struct vio_driver_state *vio) in send_rdx()
[all …]
/linux-2.6.39/arch/sparc/include/asm/
Dvio.h301 struct vio_driver_state;
303 int (*send_attr)(struct vio_driver_state *vio);
304 int (*handle_attr)(struct vio_driver_state *vio, void *pkt);
305 void (*handshake_complete)(struct vio_driver_state *vio);
314 struct vio_driver_state { struct
387 extern int vio_ldc_send(struct vio_driver_state *vio, void *data, int len); argument
388 extern void vio_link_state_change(struct vio_driver_state *vio, int event);
389 extern void vio_conn_reset(struct vio_driver_state *vio);
390 extern int vio_control_pkt_engine(struct vio_driver_state *vio, void *pkt);
391 extern int vio_validate_sid(struct vio_driver_state *vio,
[all …]
/linux-2.6.39/drivers/net/
Dsunvnet.h29 struct vio_driver_state vio;
43 static inline struct vnet_port *to_vnet_port(struct vio_driver_state *vio) in to_vnet_port()
Dsunvnet.c58 static int vnet_send_attr(struct vio_driver_state *vio) in vnet_send_attr()
87 static int handle_attr_info(struct vio_driver_state *vio, in handle_attr_info()
119 static int handle_attr_ack(struct vio_driver_state *vio, in handle_attr_ack()
127 static int handle_attr_nack(struct vio_driver_state *vio, in handle_attr_nack()
135 static int vnet_handle_attr(struct vio_driver_state *vio, void *arg) in vnet_handle_attr()
154 static void vnet_handshake_complete(struct vio_driver_state *vio) in vnet_handshake_complete()
334 struct vio_driver_state *vio = &port->vio; in vnet_walk_rx_one()
362 struct vio_driver_state *vio = &port->vio; in vnet_walk_rx()
396 struct vio_driver_state *vio = &port->vio; in vnet_rx()
506 struct vio_driver_state *vio = &port->vio; in vnet_event()
/linux-2.6.39/drivers/block/
Dsunvdc.c47 struct vio_driver_state vio;
75 static inline struct vdc_port *to_vdc_port(struct vio_driver_state *vio) in to_vdc_port()
111 static void vdc_finish(struct vio_driver_state *vio, int err, int waiting_for) in vdc_finish()
122 static void vdc_handshake_complete(struct vio_driver_state *vio) in vdc_handshake_complete()
140 static int vdc_send_attr(struct vio_driver_state *vio) in vdc_send_attr()
162 static int vdc_handle_attr(struct vio_driver_state *vio, void *arg) in vdc_handle_attr()
267 struct vio_driver_state *vio = &port->vio; in vdc_event()