/freebsd/contrib/ofed/libibverbs/ |
H A D | enum_strs.c | 52 const char *ibv_port_state_str(enum ibv_port_state port_state) in ibv_port_state_str() argument 63 if (port_state < IBV_PORT_NOP || port_state > IBV_PORT_ACTIVE_DEFER) in ibv_port_state_str() 66 return port_state_str[port_state]; in ibv_port_state_str()
|
H A D | verbs.h | 2356 const char *ibv_port_state_str(enum ibv_port_state port_state);
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_link_mgr.c | 92 IN uint8_t port_state) in link_mgr_set_physp_pi() argument 195 ib_port_info_set_port_state(p_pi, port_state); in link_mgr_set_physp_pi() 223 if (port_state == IB_LINK_NO_CHANGE) { in link_mgr_set_physp_pi() 439 if (port_state != IB_LINK_NO_CHANGE && in link_mgr_set_physp_pi() 440 port_state != ib_port_info_get_port_state(p_old_pi)) { in link_mgr_set_physp_pi() 442 if (port_state == IB_LINK_ACTIVE) in link_mgr_set_physp_pi()
|
H A D | osm_dump.c | 381 uint8_t port_state; in dump_topology_node() local 449 port_state = ib_port_info_get_port_state(&p_physp->port_info); in dump_topology_node() 493 port_state == IB_LINK_ACTIVE ? "ACT" : in dump_topology_node() 494 port_state == IB_LINK_ARMED ? "ARM" : in dump_topology_node() 495 port_state == IB_LINK_INIT ? "INI" : "DWN", in dump_topology_node()
|
H A D | osm_console.c | 776 uint8_t port_state = 0; in __get_stats() local 790 port_state = ib_port_info_get_port_state(pi); in __get_stats() 793 if (port_state == IB_LINK_DOWN) in __get_stats() 795 else if (port_state == IB_LINK_ACTIVE) in __get_stats() 806 if (port_state == IB_LINK_DOWN) in __get_stats()
|
H A D | osm_helper.c | 3026 const char *osm_get_port_state_str_fixed_width(IN uint8_t port_state) in osm_get_port_state_str_fixed_width() argument 3028 if (port_state > IB_LINK_ACTIVE) in osm_get_port_state_str_fixed_width() 3029 port_state = IB_LINK_ACTIVE + 1; in osm_get_port_state_str_fixed_width() 3030 return port_state_str_fixed_width[port_state]; in osm_get_port_state_str_fixed_width()
|
/freebsd/contrib/ofed/opensm/libvendor/ |
H A D | osm_vendor_mlx_hca_anafa.c | 137 port_info.port_info.port_state; in __osm_ca_info_init()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | mcp_private.h | 179 u32_t port_state; member
|
H A D | ecore_mng_tlv.c | 565 p_buf->p_val = (u8 *)&p_drv_buf->port_state; in ecore_mfw_get_fcoe_tlv_value() 566 return sizeof(p_drv_buf->port_state); in ecore_mfw_get_fcoe_tlv_value()
|
H A D | ecore_roce_api.h | 212 enum ecore_port_state port_state; member
|
H A D | ecore_rdma_api.h | 223 enum ecore_port_state port_state; member
|
H A D | ecore_mcp_api.h | 376 u8 port_state; member
|
H A D | ecore_rdma.c | 726 port->port_state = p_hwfn->mcp_info->link_output.link_up ? in ecore_rdma_init_port() 1125 p_port->port_state = p_link_output->link_up ? ECORE_RDMA_PORT_UP in ecore_rdma_query_port()
|
/freebsd/contrib/ofed/opensm/include/iba/ |
H A D | ib_types.h | 2089 static inline const char *OSM_API ib_get_port_state_str(IN uint8_t port_state) in ib_get_port_state_str() argument 2091 if (port_state > IB_LINK_ACTIVE) in ib_get_port_state_str() 2092 port_state = IB_LINK_ACTIVE + 1; in ib_get_port_state_str() 2093 return (__ib_port_state_str[port_state]); in ib_get_port_state_str() 4775 IN const uint8_t port_state) in ib_port_info_set_port_state() argument 4777 p_pi->state_info1 = (uint8_t) ((p_pi->state_info1 & 0xF0) | port_state); in ib_port_info_set_port_state()
|
/freebsd/contrib/ofed/opensm/include/opensm/ |
H A D | osm_helper.h | 652 const char *osm_get_port_state_str_fixed_width(IN uint8_t port_state);
|
/freebsd/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_netdev.c | 1026 if (priv->port_state.link_state) { in mlx4_en_do_set_rx_mode() 1030 IF_Mbps(priv->port_state.link_speed)); in mlx4_en_do_set_rx_mode() 1251 IF_Mbps(priv->port_state.link_speed)); in mlx4_en_linkstate() 1861 trans_type = priv->port_state.transceiver; in mlx4_en_calc_media() 1863 switch (priv->port_state.link_speed) { in mlx4_en_calc_media()
|
H A D | mlx4_en_port.c | 78 struct mlx4_en_port_state *state = &priv->port_state; in mlx4_en_QUERY_PORT()
|
H A D | en.h | 548 struct mlx4_en_port_state port_state; member
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_eq.c | 318 return s_state[slave].port_state[port]; in mlx4_get_slave_port_state() 335 s_state[slave].port_state[port] = state; in mlx4_set_slave_port_state()
|
H A D | mlx4.h | 494 enum slave_port_state port_state[MLX4_MAX_PORTS + 1]; member
|
/freebsd/sys/dev/ice/ |
H A D | ice_common.c | 5387 if (!pi || pi->port_state != ICE_SCHED_PORT_STATE_READY) in ice_ena_vsi_rdma_qset() 5493 if (!pi || pi->port_state != ICE_SCHED_PORT_STATE_READY) 5566 if (!pi || pi->port_state != ICE_SCHED_PORT_STATE_READY) 5645 if (!pi || pi->port_state != ICE_SCHED_PORT_STATE_READY) in ice_stat_update32() 5720 if (!pi || pi->port_state != ICE_SCHED_PORT_STATE_READY) in ice_aq_alternate_write()
|
H A D | ice_type.h | 957 u8 port_state; 936 u8 port_state; global() member
|
H A D | ice_sched.c | 885 if (!pi || pi->port_state != ICE_SCHED_PORT_STATE_READY) in ice_sched_clear_port() 888 pi->port_state = ICE_SCHED_PORT_STATE_INIT; in ice_sched_clear_port() 1389 pi->port_state = ICE_SCHED_PORT_STATE_READY; in ice_sched_init_port()
|
/freebsd/sys/dev/mlx5/mlx5_en/ |
H A D | mlx5_en_main.c | 376 u8 port_state; in mlx5e_update_carrier() local 381 port_state = mlx5_query_vport_state(mdev, in mlx5e_update_carrier() 384 if (port_state == VPORT_STATE_UP) { in mlx5e_update_carrier()
|
/freebsd/sys/dev/pms/RefTisa/sallsdk/spc/ |
H A D | sampirsp.c | 1175 bit32 npipps, eventParam,npip,port_state; in mpiHWevent() local 1233 port_state =(npipps & 0xF ); in mpiHWevent() 1234 npipps = npip | port_state; // Make it look like SPCs nipps in mpiHWevent() 1238 phyId, portId,npip,port_state,npipps)); in mpiHWevent()
|