Searched refs:phys_state (Results 1 – 16 of 16) sorted by relevance
88 static const char *port_phy_state_str(uint8_t phys_state) in port_phy_state_str() argument90 switch (phys_state) { in port_phy_state_str()567 port_phy_state_str(port_attr.phys_state), port_attr.phys_state); in print_hca_cap()
177 (unsigned)port->phys_state <= in port_dump()178 7 ? port_phy_state_str[port->phys_state] : "???"); in port_dump()
157 if (sys_read_uint(port_dir, SYS_PORT_PHY_STATE, &port->phys_state) < 0) in get_port()275 if (ca.ports[*port]->phys_state != 3) in resolve_ca_port()288 if (up < 0 && ca.ports[i]->phys_state == 5) in resolve_ca_port()302 if (ca.ports[i]->phys_state != 3) { in resolve_ca_port()
164 unsigned phys_state; member
292 switch (attr.phys_state) { in phys_state_show()300 default: return sprintf(buf, "%d: <unknown>\n", attr.phys_state); in phys_state_show()324 static PORT_ATTR_RO(phys_state);
534 resp.phys_state = attr.phys_state; in ib_uverbs_query_port()
529 props->phys_state = out_mad->data[33] >> 4; in mlx5_query_mad_ifc_port()
321 props->phys_state = 3; in mlx5_query_port_roce()332 props->phys_state = 5; in mlx5_query_port_roce()938 props->phys_state = MLX5_GET(hca_vport_context, ctx, in mlx5_query_hca_port()
285 __u8 phys_state; member
325 __u8 phys_state; member
277 port_attr->phys_state = resp.phys_state; in ibv_cmd_query_port()
344 uint8_t phys_state; member
623 props->phys_state = out_mad->data[33] >> 4; in ib_link_query_port()718 props->phys_state = state_to_phys_state(props->state); in eth_link_query_port()737 props->phys_state = state_to_phys_state(props->state); in eth_link_query_port()
164 props->phys_state = out_mad->data[33] >> 4; in mthca_query_port()
5048 ib_port_info_set_port_phys_state(IN uint8_t const phys_state, in ib_port_info_set_port_phys_state() argument5054 (phys_state << IB_PORT_PHYS_STATE_SHIFT)); in ib_port_info_set_port_phys_state()
542 u8 phys_state; member