| /linux/drivers/infiniband/hw/ionic/ |
| H A D | ionic_ibdev.c | 89 attr->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in ionic_query_port() 92 attr->phys_state = IB_PORT_PHYS_STATE_POLLING; in ionic_query_port() 95 attr->phys_state = IB_PORT_PHYS_STATE_DISABLED; in ionic_query_port()
|
| /linux/drivers/infiniband/core/ |
| H A D | sysfs.c | 313 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 D | device.c | 2091 port_attr->phys_state = IB_PORT_PHYS_STATE_DISABLED; in iw_query_port() 2098 port_attr->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in iw_query_port() 2101 port_attr->phys_state = in iw_query_port()
|
| /linux/drivers/infiniband/hw/usnic/ |
| H A D | usnic_ib_verbs.c | 361 props->phys_state = IB_PORT_PHYS_STATE_DISABLED; in usnic_ib_query_port() 364 props->phys_state = in usnic_ib_query_port() 368 props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in usnic_ib_query_port()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | mad.c | 1199 u32 logical_state, u32 phys_state, int local_mad) in set_port_states() argument 1205 ret = port_states_transition_allowed(ppd, logical_state, phys_state); in set_port_states() 1216 if ((phys_state != IB_PORTPHYSSTATE_NOP) && in set_port_states() 1220 logical_state, phys_state); in set_port_states() 1231 if (phys_state == IB_PORTPHYSSTATE_NOP) in set_port_states() 1235 if (phys_state == IB_PORTPHYSSTATE_NOP) { in set_port_states() 1237 } else if (phys_state == IB_PORTPHYSSTATE_POLLING) { in set_port_states() 1241 } else if (phys_state == IB_PORTPHYSSTATE_DISABLED) { in set_port_states() 1245 phys_state); in set_port_states()
|
| H A D | verbs.c | 1381 props->phys_state = driver_pstate(ppd); in query_port()
|
| /linux/drivers/infiniband/sw/rxe/ |
| H A D | rxe_verbs.c | 67 attr->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in rxe_query_port() 69 attr->phys_state = IB_PORT_PHYS_STATE_POLLING; in rxe_query_port() 71 attr->phys_state = IB_PORT_PHYS_STATE_DISABLED; in rxe_query_port()
|
| /linux/drivers/infiniband/hw/mana/ |
| H A D | main.c | 630 props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in mana_ib_query_port() 633 props->phys_state = IB_PORT_PHYS_STATE_DISABLED; in mana_ib_query_port()
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | mad.c | 629 props->phys_state = out_mad->data[33] >> 4; in mlx5_query_mad_ifc_port()
|
| H A D | main.c | 603 props->phys_state = IB_PORT_PHYS_STATE_DISABLED; in mlx5_query_port_roce() 626 props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in mlx5_query_port_roce() 1485 props->phys_state = rep->port_physical_state; in mlx5_query_hca_port()
|
| /linux/include/uapi/rdma/ |
| H A D | ib_user_verbs.h | 331 __u8 phys_state; member
|
| /linux/drivers/infiniband/hw/mlx4/ |
| H A D | main.c | 686 props->phys_state = out_mad->data[33] >> 4; in ib_link_query_port() 786 props->phys_state = state_to_phys_state(props->state); in eth_link_query_port() 803 props->phys_state = state_to_phys_state(props->state); in eth_link_query_port()
|
| /linux/include/linux/mlx5/ |
| H A D | driver.h | 869 enum phy_port_state phys_state; member
|
| /linux/drivers/infiniband/hw/mthca/ |
| H A D | mthca_provider.c | 149 props->phys_state = out_mad->data[33] >> 4; in mthca_query_port()
|
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_main.c | 321 props->phys_state = props->state == IB_PORT_ACTIVE ? in hns_roce_query_port()
|
| /linux/drivers/infiniband/hw/erdma/ |
| H A D | erdma_verbs.c | 404 attr->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in erdma_query_port() 406 attr->phys_state = IB_PORT_PHYS_STATE_DISABLED; in erdma_query_port()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | vport.c | 793 rep->phys_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context()
|
| /linux/drivers/infiniband/hw/ocrdma/ |
| H A D | ocrdma_verbs.c | 166 props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in ocrdma_query_port() 169 props->phys_state = IB_PORT_PHYS_STATE_DISABLED; in ocrdma_query_port()
|
| /linux/drivers/infiniband/sw/siw/ |
| H A D | siw_verbs.c | 193 attr->phys_state = attr->state == IB_PORT_ACTIVE ? in siw_query_port()
|
| /linux/drivers/infiniband/hw/qedr/ |
| H A D | verbs.c | 232 attr->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in qedr_query_port() 235 attr->phys_state = IB_PORT_PHYS_STATE_DISABLED; in qedr_query_port()
|
| /linux/drivers/infiniband/hw/efa/ |
| H A D | efa_verbs.c | 333 props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in efa_query_port()
|
| /linux/drivers/infiniband/hw/bnxt_re/ |
| H A D | ib_verbs.c | 301 port_attr->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in bnxt_re_query_port() 304 port_attr->phys_state = IB_PORT_PHYS_STATE_DISABLED; in bnxt_re_query_port()
|
| /linux/drivers/infiniband/hw/irdma/ |
| H A D | verbs.c | 102 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()
|
| /linux/include/rdma/ |
| H A D | ib_verbs.h | 719 u8 phys_state; 717 u8 phys_state; global() member
|