Lines Matching refs:p_physp

61 static uint8_t link_mgr_get_smsl(IN osm_sm_t * sm, IN osm_physp_t * p_physp)
72 (slid = osm_physp_get_base_lid(p_physp)))) {
91 static int link_mgr_set_physp_pi(osm_sm_t * sm, IN osm_physp_t * p_physp,
114 p_node = osm_physp_get_node_ptr(p_physp);
116 p_old_pi = &p_physp->port_info;
118 port_num = osm_physp_get_port_num(p_physp);
127 osm_physp_get_port_guid(p_physp));
161 smsl = link_mgr_get_smsl(sm, p_physp);
168 (p_physp)));
178 (p_physp)));
199 osm_physp_get_port_num(p_physp) != 0)
240 smsl = link_mgr_get_smsl(sm, p_physp);
249 (p_physp)), port_num);
282 p_remote_physp = osm_physp_get_remote(p_physp);
284 if (osm_node_get_type(osm_physp_get_node_ptr(p_physp))
292 (osm_physp_get_node_ptr(p_physp)) ==
356 p_physp->ext_port_info.link_speed_supported & FDR10) {
358 if (!(p_physp->ext_port_info.link_speed_enabled & FDR10))
361 if (p_physp->ext_port_info.link_speed_enabled & FDR10)
365 p_old_epi = &p_physp->ext_port_info;
377 if (osm_node_get_type(p_physp->p_node) == IB_NODE_TYPE_SWITCH &&
378 osm_physp_get_port_num(p_physp) != 0) {
414 osm_physp_calc_link_op_vls(sm->p_log, sm->p_subn, p_physp,
416 mtu = osm_physp_calc_link_mtu(sm->p_log, p_physp,
431 p_physp->vl_high_limit != p_old_pi->vl_high_limit) {
433 p_pi->vl_high_limit = p_physp->vl_high_limit;
447 context.pi_context.port_guid = osm_physp_get_port_guid(p_physp);
470 status = osm_req_set(sm, osm_physp_get_dr_path_ptr(p_physp),
482 cl_ntoh64(p_physp->port_guid),
487 status = osm_req_set(sm, osm_physp_get_dr_path_ptr(p_physp),
504 osm_physp_t *p_physp, *p_physp_remote;
528 p_physp = osm_node_get_physp_ptr(p_node, (uint8_t) i);
529 if (!p_physp)
532 current_state = osm_physp_get_port_state(p_physp);
541 p_physp_remote = osm_physp_get_remote(p_physp);
545 link_mgr_set_physp_pi(sm, p_physp, IB_LINK_DOWN);
558 p_physp->port_num,
560 else if (link_mgr_set_physp_pi(sm, p_physp, link_state))