Home
last modified time | relevance | path

Searched refs:phys_state (Results 1 – 8 of 8) 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 Ddevice.c2092 port_attr->phys_state = IB_PORT_PHYS_STATE_DISABLED; in iw_query_port()
2099 port_attr->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in iw_query_port()
2102 port_attr->phys_state = in iw_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()
/linux/include/uapi/rdma/
H A Dib_user_verbs.h331 __u8 phys_state; member
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c149 props->phys_state = out_mad->data[33] >> 4; in mthca_query_port()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c793 rep->phys_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context()
/linux/drivers/infiniband/hw/efa/
H A Defa_verbs.c333 props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in efa_query_port()
/linux/drivers/infiniband/hw/irdma/
H A Dverbs.c102 props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in irdma_query_port()
105 props->phys_state = IB_PORT_PHYS_STATE_DISABLED; in irdma_query_port()