Lines Matching refs:psi
2053 struct opa_port_state_info *psi = (struct opa_port_state_info *)data; in __subn_get_opa_psi() local
2055 if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { in __subn_get_opa_psi()
2068 psi->port_states.ledenable_offlinereason = ppd->neighbor_normal << 4; in __subn_get_opa_psi()
2069 psi->port_states.ledenable_offlinereason |= in __subn_get_opa_psi()
2071 psi->port_states.ledenable_offlinereason |= in __subn_get_opa_psi()
2074 psi->port_states.portphysstate_portstate = in __subn_get_opa_psi()
2076 psi->link_width_downgrade_tx_active = in __subn_get_opa_psi()
2078 psi->link_width_downgrade_rx_active = in __subn_get_opa_psi()
2096 struct opa_port_state_info *psi = (struct opa_port_state_info *)data; in __subn_set_opa_psi() local
2099 if (nports != 1 || smp_length_check(sizeof(*psi), max_len)) { in __subn_set_opa_psi()
2109 ls_new = port_states_to_logical_state(&psi->port_states); in __subn_set_opa_psi()
2110 ps_new = port_states_to_phys_state(&psi->port_states); in __subn_set_opa_psi()