Lines Matching refs:psi
2011 struct opa_port_state_info *psi = (struct opa_port_state_info *)data; in __subn_get_opa_psi() local
2013 if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { in __subn_get_opa_psi()
2026 psi->port_states.ledenable_offlinereason = ppd->neighbor_normal << 4; in __subn_get_opa_psi()
2027 psi->port_states.ledenable_offlinereason |= in __subn_get_opa_psi()
2029 psi->port_states.ledenable_offlinereason |= in __subn_get_opa_psi()
2032 psi->port_states.portphysstate_portstate = in __subn_get_opa_psi()
2034 psi->link_width_downgrade_tx_active = in __subn_get_opa_psi()
2036 psi->link_width_downgrade_rx_active = in __subn_get_opa_psi()
2054 struct opa_port_state_info *psi = (struct opa_port_state_info *)data; in __subn_set_opa_psi() local
2057 if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { in __subn_set_opa_psi()
2067 ls_new = port_states_to_logical_state(&psi->port_states); in __subn_set_opa_psi()
2068 ps_new = port_states_to_phys_state(&psi->port_states); in __subn_set_opa_psi()