Home
last modified time | relevance | path

Searched refs:phys_state (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/infiniband/core/
H A Dsysfs.c313 static const char *phys_state_to_str(enum ib_port_phys_state phys_state) in phys_state_to_str() argument
326 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);
H A Dnldev.c398 if (nla_put_u8(msg, RDMA_NLDEV_ATTR_PORT_PHYS_STATE, attr.phys_state)) in fill_port_info()
/linux/drivers/infiniband/sw/rxe/
H A Drxe_verbs.c61 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()
/linux/drivers/infiniband/hw/mlx5/
H A Dmad.c629 props->phys_state = out_mad->data[33] >> 4; in mlx5_query_mad_ifc_port()
H A Dmain.c604 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()
/linux/include/linux/mlx5/
H A Ddriver.h872 enum phy_port_state phys_state; member
/linux/drivers/infiniband/hw/erdma/
H A Derdma_verbs.c407 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c837 rep->phys_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context()
/linux/drivers/infiniband/hw/irdma/
H A Dverbs.c103 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()