Searched refs:phys_state (Results 1 – 9 of 9) sorted by relevance
313 static const char *phys_state_to_str(enum ib_port_phys_state phys_state) in phys_state_to_str() argument326 if (phys_state < ARRAY_SIZE(phys_state_str)) in phys_state_to_str()327 return phys_state_str[phys_state]; in phys_state_to_str()342 return sysfs_emit(buf, "%u: %s\n", attr.phys_state, in phys_state_show()343 phys_state_to_str(attr.phys_state)); in phys_state_show()373 static IB_PORT_ATTR_RO(phys_state);
398 if (nla_put_u8(msg, RDMA_NLDEV_ATTR_PORT_PHYS_STATE, attr.phys_state)) in fill_port_info()
61 attr->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in rxe_query_port()63 attr->phys_state = IB_PORT_PHYS_STATE_POLLING; in rxe_query_port()65 attr->phys_state = IB_PORT_PHYS_STATE_DISABLED; in rxe_query_port()
629 props->phys_state = out_mad->data[33] >> 4; in mlx5_query_mad_ifc_port()
604 props->phys_state = IB_PORT_PHYS_STATE_DISABLED; in mlx5_query_port_roce()627 props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in mlx5_query_port_roce()1495 props->phys_state = rep->port_physical_state; in mlx5_query_hca_port()
872 enum phy_port_state phys_state; member
407 attr->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in erdma_query_port()409 attr->phys_state = IB_PORT_PHYS_STATE_DISABLED; in erdma_query_port()
837 rep->phys_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context()
103 props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in irdma_query_port()106 props->phys_state = IB_PORT_PHYS_STATE_DISABLED; in irdma_query_port()