/linux-6.1.9/drivers/infiniband/hw/usnic/ |
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-6.1.9/drivers/infiniband/core/ |
D | sysfs.c | 361 static const char *phys_state_to_str(enum ib_port_phys_state phys_state) in phys_state_to_str() argument 374 if (phys_state < ARRAY_SIZE(phys_state_str)) in phys_state_to_str() 375 return phys_state_str[phys_state]; in phys_state_to_str() 390 return sysfs_emit(buf, "%u: %s\n", attr.phys_state, in phys_state_show() 391 phys_state_to_str(attr.phys_state)); in phys_state_show() 421 static IB_PORT_ATTR_RO(phys_state);
|
D | uverbs_std_types_device.c | 172 resp->phys_state = attr->phys_state; in copy_port_attr_to_resp()
|
D | device.c | 2031 port_attr->phys_state = IB_PORT_PHYS_STATE_DISABLED; in iw_query_port() 2038 port_attr->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in iw_query_port() 2041 port_attr->phys_state = in iw_query_port()
|
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_verbs.c | 172 props->phys_state = resp->attrs.phys_state; in pvrdma_query_port()
|
D | pvrdma_verbs.h | 145 u8 phys_state; member
|
/linux-6.1.9/drivers/infiniband/sw/rxe/ |
D | rxe.c | 99 port->attr.phys_state = RXE_PORT_PHYS_STATE; in rxe_init_port_param()
|
D | rxe_verbs.c | 42 attr->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in rxe_query_port() 44 attr->phys_state = IB_PORT_PHYS_STATE_POLLING; in rxe_query_port() 46 attr->phys_state = IB_PORT_PHYS_STATE_DISABLED; in rxe_query_port()
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
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()
|
D | verbs.c | 1381 props->phys_state = driver_pstate(ppd); in query_port()
|
/linux-6.1.9/drivers/infiniband/hw/mlx5/ |
D | mad.c | 575 props->phys_state = out_mad->data[33] >> 4; in mlx5_query_mad_ifc_port()
|
D | main.c | 526 props->phys_state = IB_PORT_PHYS_STATE_DISABLED; in mlx5_query_port_roce() 549 props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in mlx5_query_port_roce() 1313 props->phys_state = rep->port_physical_state; in mlx5_query_hca_port()
|
/linux-6.1.9/drivers/infiniband/hw/erdma/ |
D | erdma_verbs.c | 338 attr->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in erdma_query_port() 340 attr->phys_state = IB_PORT_PHYS_STATE_DISABLED; in erdma_query_port()
|
/linux-6.1.9/include/uapi/rdma/ |
D | ib_user_verbs.h | 303 __u8 phys_state; member
|
/linux-6.1.9/Documentation/ABI/stable/ |
D | sysfs-class-infiniband | 45 What: /sys/class/infiniband/<device>/ports/<port-num>/phys_state 67 phys_state: (RO) Port physical state (Sleep, Polling,
|
/linux-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_main.c | 251 props->phys_state = props->state == IB_PORT_ACTIVE ? in hns_roce_query_port()
|
/linux-6.1.9/include/linux/mlx5/ |
D | driver.h | 870 enum phy_port_state phys_state; member
|
/linux-6.1.9/drivers/infiniband/hw/mlx4/ |
D | main.c | 682 props->phys_state = out_mad->data[33] >> 4; in ib_link_query_port() 782 props->phys_state = state_to_phys_state(props->state); in eth_link_query_port() 799 props->phys_state = state_to_phys_state(props->state); in eth_link_query_port()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | vport.c | 690 rep->phys_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context()
|
/linux-6.1.9/drivers/infiniband/hw/mthca/ |
D | mthca_provider.c | 149 props->phys_state = out_mad->data[33] >> 4; in mthca_query_port()
|
/linux-6.1.9/drivers/infiniband/hw/ocrdma/ |
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-6.1.9/drivers/infiniband/sw/siw/ |
D | siw_verbs.c | 179 attr->phys_state = sdev->state == IB_PORT_ACTIVE ? in siw_query_port()
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
D | qib_verbs.c | 1204 props->phys_state = dd->f_ibphys_portstate(ppd->lastibcstat); in qib_query_port()
|
/linux-6.1.9/drivers/infiniband/hw/bnxt_re/ |
D | ib_verbs.c | 207 port_attr->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in bnxt_re_query_port() 210 port_attr->phys_state = IB_PORT_PHYS_STATE_DISABLED; in bnxt_re_query_port()
|
/linux-6.1.9/drivers/infiniband/hw/efa/ |
D | efa_verbs.c | 276 props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in efa_query_port()
|