/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | en_selftest.c | 126 if (priv->port_state.link_state == 1) in mlx4_en_test_link() 139 if (priv->port_state.link_speed != SPEED_100 && in mlx4_en_test_speed() 140 priv->port_state.link_speed != SPEED_1000 && in mlx4_en_test_speed() 141 priv->port_state.link_speed != SPEED_10000 && in mlx4_en_test_speed() 142 priv->port_state.link_speed != SPEED_20000 && in mlx4_en_test_speed() 143 priv->port_state.link_speed != SPEED_40000 && in mlx4_en_test_speed() 144 priv->port_state.link_speed != SPEED_56000) in mlx4_en_test_speed() 145 return priv->port_state.link_speed; in mlx4_en_test_speed()
|
D | en_ethtool.c | 515 (priv->port_state.flags & MLX4_EN_PORT_ANE)) in mlx4_en_autoneg_get() 783 cmd->autoneg = (priv->port_state.flags & MLX4_EN_PORT_ANC) ? in ethtool_get_ptys_settings() 789 cmd->lp_advertising |= (priv->port_state.flags & MLX4_EN_PORT_ANC) ? in ethtool_get_ptys_settings() 811 trans_type = priv->port_state.transceiver; in ethtool_get_default_settings() 838 priv->port_state.flags & MLX4_EN_PORT_ANC, in mlx4_en_get_settings() 839 priv->port_state.flags & MLX4_EN_PORT_ANE); in mlx4_en_get_settings() 847 ethtool_cmd_speed_set(cmd, priv->port_state.link_speed); in mlx4_en_get_settings()
|
D | en_port.c | 76 struct mlx4_en_port_state *state = &priv->port_state; in mlx4_en_QUERY_PORT()
|
D | mlx4_en.h | 503 struct mlx4_en_port_state port_state; member
|
D | eq.c | 310 return s_state[slave].port_state[port]; in mlx4_get_slave_port_state() 327 s_state[slave].port_state[port] = state; in mlx4_set_slave_port_state()
|
D | mlx4.h | 499 enum slave_port_state port_state[MLX4_MAX_PORTS + 1]; member
|
D | en_netdev.c | 1184 if (priv->port_state.link_state) { in mlx4_en_do_set_rx_mode()
|
/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_vport.c | 72 vport->port_state = LPFC_VPORT_FAILED; in lpfc_vport_set_state() 75 vport->port_state = LPFC_VPORT_UNKNOWN; in lpfc_vport_set_state() 258 ((vport->port_state > LPFC_VPORT_FAILED) && in lpfc_discovery_wait() 259 (vport->port_state < LPFC_VPORT_READY))) { in lpfc_discovery_wait() 265 vport->port_state, vport->fc_flag, in lpfc_discovery_wait() 275 vport->port_state, vport->fc_flag, in lpfc_discovery_wait() 286 vport->port_state, vport->fc_flag, in lpfc_discovery_wait() 423 (pport->port_state < LPFC_FABRIC_CFG_LINK) || in lpfc_vport_create() 601 vport->port_state > LPFC_VPORT_FAILED && in lpfc_vport_delete() 602 vport->port_state < LPFC_VPORT_READY) { in lpfc_vport_delete() [all …]
|
D | lpfc_hbadisc.c | 862 vport->port_state, vport->fc_ns_retry, vport->fc_flag); in lpfc_linkdown_port() 1042 mb->mbxStatus, vport->port_state); in lpfc_mbx_cmpl_clear_la() 1116 if (vport->port_state != LPFC_FLOGI || vport->fc_flag & FC_PT2PT_PLOGI) in lpfc_mbx_cmpl_local_config_link() 1124 pmb->u.mb.mbxStatus, vport->port_state); in lpfc_mbx_cmpl_local_config_link() 1131 vport->port_state); in lpfc_mbx_cmpl_local_config_link() 1168 mboxq->u.mb.mbxStatus, vport->port_state); in lpfc_mbx_cmpl_reg_fcfi() 1188 if (vport->port_state != LPFC_FLOGI) { in lpfc_mbx_cmpl_reg_fcfi() 1437 if (phba->pport->port_state != LPFC_FLOGI && in lpfc_register_fcf() 1959 phba->pport->port_state, LPFC_VPORT_UNKNOWN); in lpfc_sli4_fcf_rr_next_proc() 1960 phba->pport->port_state = LPFC_VPORT_UNKNOWN; in lpfc_sli4_fcf_rr_next_proc() [all …]
|
D | lpfc_els.c | 87 if (vport->port_state >= LPFC_VPORT_READY || in lpfc_els_chk_latt() 103 phba->pport->port_state); in lpfc_els_chk_latt() 318 vport->port_state, in lpfc_prep_els_iocb() 327 cmdSize, vport->port_state, in lpfc_prep_els_iocb() 387 vport->port_state = LPFC_FABRIC_CFG_LINK; in lpfc_issue_fabric_reglogin() 490 vport->port_state = LPFC_FABRIC_CFG_LINK; in lpfc_issue_reg_vfi() 540 "HBA state x%x\n", phba->pport->port_state); in lpfc_issue_unreg_vfi() 553 rc, phba->pport->port_state); in lpfc_issue_unreg_vfi() 991 vport->port_state); in lpfc_cmpl_els_flogi() 1097 vport->port_state, vport->fc_flag); in lpfc_cmpl_els_flogi() [all …]
|
D | lpfc_ct.c | 358 vport->port_state); in lpfc_gen_req() 710 if (vport->port_state >= LPFC_DISC_AUTH) { in lpfc_cmpl_ct_cmd_gid_ft() 836 if (vport->port_state >= LPFC_DISC_AUTH) { in lpfc_cmpl_ct_cmd_gff_id() 1218 if (vport->port_state < LPFC_NS_QRY) in lpfc_ns_cmd() 1219 vport->port_state = LPFC_NS_QRY; in lpfc_ns_cmd() 1454 vport->fc_flag, vport->port_state, cmdcode); in lpfc_fdmi_cmd()
|
D | lpfc_nportdisc.c | 288 if (vport->port_state <= LPFC_FDISC) { in lpfc_rcv_plogi() 353 ndlp->nlp_rpi, vport->port_state, in lpfc_rcv_plogi() 644 if (vport->port_state <= LPFC_FDISC) in lpfc_rcv_logo() 656 (vports[i]->port_state > LPFC_FDISC)) { in lpfc_rcv_logo() 681 vport->port_state = LPFC_FDISC; in lpfc_rcv_logo() 1546 did, mb->mbxStatus, vport->port_state, in lpfc_cmpl_reglogin_reglogin_issue()
|
D | lpfc.h | 307 enum discovery_state port_state; member
|
D | lpfc_sli.c | 2354 pmb->vport->port_state); in lpfc_sli_handle_mb_event() 3709 phba->pport->port_state = LPFC_VPORT_UNKNOWN; in lpfc_sli_brdready_s3() 3755 phba->pport->port_state = LPFC_VPORT_UNKNOWN; in lpfc_sli_brdready_s4() 3915 phba->pport->port_state, psli->sli_flag); in lpfc_sli_brdkill() 4010 phba->pport->port_state, psli->sli_flag); in lpfc_sli_brdreset() 4071 phba->pport->port_state, psli->sli_flag, in lpfc_sli4_brdreset() 4142 phba->pport->port_state, psli->sli_flag); in lpfc_sli_brdrestart_s3() 4156 if (phba->pport->port_state) in lpfc_sli_brdrestart_s3() 4204 phba->pport->port_state, psli->sli_flag); in lpfc_sli_brdrestart_s4() 4310 phba->pport->port_state = LPFC_VPORT_UNKNOWN; in lpfc_sli_chipset_init() [all …]
|
D | lpfc_attr.c | 457 switch (vport->port_state) { in lpfc_link_state_show() 5219 if (vport->port_state < LPFC_VPORT_READY) in lpfc_get_host_port_state() 5296 if ((vport->port_state > LPFC_FLOGI) && in lpfc_get_host_fabric_name() 5660 if (vport->port_state == LPFC_VPORT_READY) in lpfc_set_vport_symbolic_name()
|
D | lpfc_init.c | 3458 if (vport->port_state != LPFC_VPORT_READY) in lpfc_scan_finished() 4280 if ((phba->pport->port_state < LPFC_FLOGI) && in lpfc_sli4_perform_vport_cvl() 4281 (phba->pport->port_state != LPFC_VPORT_FAILED)) in lpfc_sli4_perform_vport_cvl() 4284 if ((vport != phba->pport) && (vport->port_state < LPFC_FDISC) in lpfc_sli4_perform_vport_cvl() 4285 && (vport->port_state != LPFC_VPORT_FAILED)) in lpfc_sli4_perform_vport_cvl() 4492 (vports[i]->port_state > LPFC_FDISC)) { in lpfc_sli4_async_fip_evt() 4518 vport->port_state = LPFC_FDISC; in lpfc_sli4_async_fip_evt()
|
D | lpfc_mbox.c | 2170 vport->port_state, phba->fc_topology_changed); in lpfc_reg_vfi()
|
/linux-4.4.14/drivers/scsi/ |
D | scsi_transport_fc.c | 173 fc_enum_name_search(port_state, fc_port_state, fc_port_state_names) 423 fc_host->port_state = FC_PORTSTATE_UNKNOWN; in fc_host_setup() 708 !((rport->port_state == FC_PORTSTATE_BLOCKED) || \ 709 (rport->port_state == FC_PORTSTATE_DELETED) || \ 710 (rport->port_state == FC_PORTSTATE_NOTPRESENT))) \ 726 if ((rport->port_state == FC_PORTSTATE_BLOCKED) || \ 727 (rport->port_state == FC_PORTSTATE_DELETED) || \ 728 (rport->port_state == FC_PORTSTATE_NOTPRESENT)) \ 869 if ((rport->port_state == FC_PORTSTATE_BLOCKED) || in fc_rport_set_dev_loss_tmo() 870 (rport->port_state == FC_PORTSTATE_DELETED) || in fc_rport_set_dev_loss_tmo() [all …]
|
D | scsi_transport_iscsi.c | 702 char *iscsi_get_ipaddress_state_name(enum iscsi_ipaddress_state port_state) in iscsi_get_ipaddress_state_name() argument 708 if (iscsi_ipaddress_state_names[i].value == port_state) { in iscsi_get_ipaddress_state_name() 4255 iscsi_host_attr(port_state, ISCSI_HOST_PARAM_PORT_STATE); 4344 uint32_t port_state = ihost->port_state; in iscsi_get_port_state_name() local 4347 if (iscsi_port_state_names[i].value & port_state) { in iscsi_get_port_state_name()
|
/linux-4.4.14/drivers/net/bonding/ |
D | bond_3ad.c | 462 partner->port_state = lacpdu->actor_state; in __record_pdu() 472 partner->port_state |= AD_STATE_SYNCHRONIZATION; in __record_pdu() 475 partner->port_state &= ~AD_STATE_SYNCHRONIZATION; in __record_pdu() 527 … (lacpdu->actor_state & AD_STATE_AGGREGATION) != (partner->port_state & AD_STATE_AGGREGATION)) { in __update_selected() 559 (admin->port_state & AD_STATE_AGGREGATION) in __update_default_selected() 560 != (oper->port_state & AD_STATE_AGGREGATION)) { in __update_default_selected() 745 lacpdu->partner_state = partner->port_state; in __update_lacpdu_from_port() 904 (port->partner_oper.port_state & AD_STATE_SYNCHRONIZATION) && in ad_mux_machine() 928 !(port->partner_oper.port_state & AD_STATE_SYNCHRONIZATION) || in ad_mux_machine() 1093 port->partner_oper.port_state &= ~AD_STATE_AGGREGATION; in ad_rx_machine() [all …]
|
D | bond_sysfs_slave.c | 106 ad_port->partner_oper.port_state); in ad_partner_oper_port_state_show()
|
D | bond_procfs.c | 232 port->partner_oper.port_state); in bond_info_show_slave()
|
D | bond_netlink.c | 75 ad_port->partner_oper.port_state)) in bond_fill_slave_info()
|
/linux-4.4.14/drivers/staging/rdma/ehca/ |
D | ehca_sqp.c | 73 shca->sport[port - 1].port_state = IB_PORT_DOWN; in ehca_define_sqp() 106 shca->sport[port - 1].port_state != IB_PORT_ACTIVE && in ehca_define_sqp()
|
D | ehca_irq.c | 403 sport->port_state = IB_PORT_ACTIVE; in parse_ec() 408 sport->port_state = IB_PORT_DOWN; in parse_ec() 422 sport->port_state = IB_PORT_DOWN; in parse_ec() 426 sport->port_state = IB_PORT_ACTIVE; in parse_ec()
|
D | ehca_classes.h | 103 enum ib_port_state port_state; member
|
D | ehca_main.c | 835 shca->sport[0].port_state = IB_PORT_DOWN; in ehca_probe() 846 shca->sport[1].port_state = IB_PORT_DOWN; in ehca_probe()
|
D | ehca_qp.c | 2209 shca->sport[port_num - 1].port_state = IB_PORT_DOWN; in internal_destroy_qp()
|
/linux-4.4.14/include/scsi/ |
D | scsi_transport_fc.h | 342 enum fc_port_state port_state; /* Will only be ONLINE or UNKNOWN */ member 518 enum fc_port_state port_state; member 588 (((struct fc_host_attrs *)(x)->shost_data)->port_state) 776 switch (rport->port_state) { in fc_remote_port_chkready()
|
D | scsi_transport_iscsi.h | 278 uint32_t port_state; member 485 iscsi_get_ipaddress_state_name(enum iscsi_ipaddress_state port_state);
|
/linux-4.4.14/drivers/s390/scsi/ |
D | zfcp_unit.c | 28 if (rport && rport->port_state == FC_PORTSTATE_ONLINE) in zfcp_unit_scsi_scan()
|
D | zfcp_fsf.h | 373 u32 port_state; member
|
/linux-4.4.14/drivers/message/fusion/ |
D | mptfc.c | 988 unsigned port_state; in mptfc_init_host_attr() local 1050 port_state = FC_PORTSTATE_UNKNOWN; in mptfc_init_host_attr() 1052 port_state = FC_PORTSTATE_ONLINE; in mptfc_init_host_attr() 1054 port_state = FC_PORTSTATE_LINKDOWN; in mptfc_init_host_attr() 1055 fc_host_port_state(sh) = port_state; in mptfc_init_host_attr()
|
/linux-4.4.14/include/net/ |
D | bond_3ad.h | 208 u16 port_state; member
|
/linux-4.4.14/drivers/scsi/bfa/ |
D | bfa_defs_fcs.h | 140 u8 port_state; /* one of bfa_lport_state values */ member
|
D | bfa_fcs.h | 675 __be32 port_state; member
|
D | bfa_fcs_lport.c | 2426 templen = sizeof(fcs_port_attr.port_state); in bfa_fcs_lport_fdmi_build_portattr_block() 2427 memcpy(attr->value, &fcs_port_attr.port_state, templen); in bfa_fcs_lport_fdmi_build_portattr_block() 2746 port_attr->port_state = cpu_to_be32(pport_attr.port_state); in bfa_fcs_fdmi_get_portattr() 5918 port_info->port_state = 0; in bfa_fcs_lport_get_info() 5939 port_info->port_state = 0; in bfa_fcs_lport_get_info()
|
D | bfad_attr.c | 162 switch (attr.port_state) { in bfad_im_get_host_port_state()
|
D | bfa_defs_svc.h | 996 enum bfa_port_states port_state; /* current port state */ member
|
D | bfa_svc.c | 4079 attr->port_state = bfa_sm_to_state(hal_port_sm_table, fcport->sm); in bfa_fcport_get_attr() 4085 attr->port_state = BFA_PORT_ST_PREBOOT_DISABLED; in bfa_fcport_get_attr() 4088 attr->port_state = BFA_PORT_ST_IOCDIS; in bfa_fcport_get_attr() 4090 attr->port_state = BFA_PORT_ST_FWMISMATCH; in bfa_fcport_get_attr()
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_mr.h | 209 uint8_t port_state; member
|
D | qla_gs.c | 2289 eiter->a.port_state = cpu_to_be32(1); in qla2x00_fdmiv2_rpa() 2294 "Port State = %x.\n", eiter->a.port_state); in qla2x00_fdmiv2_rpa()
|
D | qla_def.h | 2265 uint32_t port_state; member
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | diag.c | 152 u8 port_state; member 1021 value = link_info.port_state; in hfi1_ioctl() 1112 link_info.port_state = value; in hfi1_ioctl()
|
/linux-4.4.14/drivers/net/dsa/ |
D | mv88e6xxx.h | 418 u8 port_state[DSA_MAX_PORTS]; member
|
D | mv88e6xxx.c | 1121 ps->port_state[port] = stp_state; in mv88e6xxx_port_stp_update() 1919 mv88e6xxx_set_port_state(ds, port, ps->port_state[port]); in mv88e6xxx_bridge_work()
|
/linux-4.4.14/drivers/scsi/pm8001/ |
D | pm8001_sas.h | 247 u8 port_state; member
|
D | pm8001_init.c | 259 pm8001_ha->port[i].port_state = 0; in pm8001_alloc()
|
D | pm80xx_hwi.c | 2910 port->port_state = portstate; in hw_event_sas_phy_up() 2996 port->port_state = portstate; in hw_event_sata_phy_up() 3036 port->port_state = portstate; in hw_event_phy_down()
|
D | pm8001_hwi.c | 3375 port->port_state = portstate; in hw_event_sas_phy_up() 3456 port->port_state = portstate; in hw_event_sata_phy_up() 3494 port->port_state = portstate; in hw_event_phy_down()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_main.c | 63 u8 port_state; in mlx5e_update_carrier() local 65 port_state = mlx5_query_vport_state(mdev, in mlx5e_update_carrier() 68 if (port_state == VPORT_STATE_UP) in mlx5e_update_carrier()
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 209 enum ib_port_state port_state; in ocrdma_query_port() local 221 port_state = IB_PORT_ACTIVE; in ocrdma_query_port() 224 port_state = IB_PORT_DOWN; in ocrdma_query_port() 233 props->state = port_state; in ocrdma_query_port()
|
/linux-4.4.14/drivers/scsi/be2iscsi/ |
D | be_iscsi.c | 756 ihost->port_state = (phba->state == BE_ADAPTER_LINK_UP) ? in beiscsi_get_port_state()
|
/linux-4.4.14/include/linux/mlx5/ |
D | mlx5_ifc.h | 2229 u8 port_state[0x4]; member
|
/linux-4.4.14/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 1882 ihost->port_state = state; in qla4xxx_set_port_state()
|