Lines Matching refs:link_state
191 static const char * linda_link_state_text ( unsigned int link_state ) { in linda_link_state_text() argument
192 switch ( link_state ) { in linda_link_state_text()
211 unsigned int link_state; in linda_link_state_changed() local
217 link_state = BIT_GET ( &ibcstatus, LinkState ); in linda_link_state_changed()
221 linda_link_state_text ( link_state ), in linda_link_state_changed()
227 ( ( link_state >= LINDA_LINK_STATE_INIT ) ? 1 : 0 ) ); in linda_link_state_changed()
229 ( ( link_state >= LINDA_LINK_STATE_ACTIVE ) ? 1 : 0 ) ); in linda_link_state_changed()
233 ibdev->port_state = ( link_state + 1 ); in linda_link_state_changed()
251 unsigned int link_state; in linda_link_state_check() local
256 link_state = BIT_GET ( &ibcstatus, LinkState ); in linda_link_state_check()
257 if ( link_state == new_link_state ) in linda_link_state_check()
263 linda, linda_link_state_text ( link_state ) ); in linda_link_state_check()
278 unsigned int link_state; in linda_set_port_info() local
283 link_state = ( port_state - 1 ); in linda_set_port_info()
285 linda_link_state_text ( link_state ), link_state ); in linda_set_port_info()
287 BIT_SET ( &ibcctrl, LinkCmd, link_state ); in linda_set_port_info()
294 linda_link_state_check ( linda, link_state ); in linda_set_port_info()