/linux-4.1.27/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 | 500 (priv->port_state.flags & MLX4_EN_PORT_ANE)) in mlx4_en_autoneg_get() 768 cmd->autoneg = (priv->port_state.flags & MLX4_EN_PORT_ANC) ? in ethtool_get_ptys_settings() 774 cmd->lp_advertising |= (priv->port_state.flags & MLX4_EN_PORT_ANC) ? in ethtool_get_ptys_settings() 796 trans_type = priv->port_state.transceiver; in ethtool_get_default_settings() 823 priv->port_state.flags & MLX4_EN_PORT_ANC, in mlx4_en_get_settings() 824 priv->port_state.flags & MLX4_EN_PORT_ANE); in mlx4_en_get_settings() 832 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 | 502 struct mlx4_en_port_state port_state; member
|
D | eq.c | 282 return s_state[slave].port_state[port]; in mlx4_get_slave_port_state() 299 s_state[slave].port_state[port] = state; in mlx4_set_slave_port_state()
|
D | mlx4.h | 488 enum slave_port_state port_state[MLX4_MAX_PORTS + 1]; member
|
D | en_netdev.c | 1245 if (priv->port_state.link_state) { in mlx4_en_do_set_rx_mode()
|
/linux-4.1.27/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 | 888 vport->port_state, vport->fc_ns_retry, vport->fc_flag); in lpfc_linkdown_port() 1068 mb->mbxStatus, vport->port_state); in lpfc_mbx_cmpl_clear_la() 1142 if (vport->port_state != LPFC_FLOGI || vport->fc_flag & FC_PT2PT_PLOGI) in lpfc_mbx_cmpl_local_config_link() 1150 pmb->u.mb.mbxStatus, vport->port_state); in lpfc_mbx_cmpl_local_config_link() 1157 vport->port_state); in lpfc_mbx_cmpl_local_config_link() 1194 mboxq->u.mb.mbxStatus, vport->port_state); in lpfc_mbx_cmpl_reg_fcfi() 1214 if (vport->port_state != LPFC_FLOGI) { in lpfc_mbx_cmpl_reg_fcfi() 1463 if (phba->pport->port_state != LPFC_FLOGI && in lpfc_register_fcf() 1985 phba->pport->port_state, LPFC_VPORT_UNKNOWN); in lpfc_sli4_fcf_rr_next_proc() 1986 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() 492 vport->port_state = LPFC_FABRIC_CFG_LINK; in lpfc_issue_reg_vfi() 542 "HBA state x%x\n", phba->pport->port_state); in lpfc_issue_unreg_vfi() 555 rc, phba->pport->port_state); in lpfc_issue_unreg_vfi() 993 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 | 357 vport->port_state); in lpfc_gen_req() 711 if (vport->port_state >= LPFC_DISC_AUTH) { in lpfc_cmpl_ct_cmd_gid_ft() 837 if (vport->port_state >= LPFC_DISC_AUTH) { in lpfc_cmpl_ct_cmd_gff_id() 1219 if (vport->port_state < LPFC_NS_QRY) in lpfc_ns_cmd() 1220 vport->port_state = LPFC_NS_QRY; in lpfc_ns_cmd() 1455 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() 675 vport->port_state = LPFC_FDISC; in lpfc_rcv_logo() 1542 did, mb->mbxStatus, vport->port_state, in lpfc_cmpl_reglogin_reglogin_issue()
|
D | lpfc.h | 305 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() 5293 if ((vport->port_state > LPFC_FLOGI) && in lpfc_get_host_fabric_name() 5657 if (vport->port_state == LPFC_VPORT_READY) in lpfc_set_vport_symbolic_name()
|
D | lpfc_init.c | 3449 if (vport->port_state != LPFC_VPORT_READY) in lpfc_scan_finished() 4266 if ((phba->pport->port_state < LPFC_FLOGI) && in lpfc_sli4_perform_vport_cvl() 4267 (phba->pport->port_state != LPFC_VPORT_FAILED)) in lpfc_sli4_perform_vport_cvl() 4270 if ((vport != phba->pport) && (vport->port_state < LPFC_FDISC) in lpfc_sli4_perform_vport_cvl() 4271 && (vport->port_state != LPFC_VPORT_FAILED)) in lpfc_sli4_perform_vport_cvl() 4478 (vports[i]->port_state > LPFC_FDISC)) { in lpfc_sli4_async_fip_evt() 4498 vport->port_state = LPFC_FDISC; in lpfc_sli4_async_fip_evt()
|
D | lpfc_mbox.c | 2167 vport->port_state, phba->fc_topology_changed); in lpfc_reg_vfi()
|
/linux-4.1.27/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 | 700 char *iscsi_get_ipaddress_state_name(enum iscsi_ipaddress_state port_state) in iscsi_get_ipaddress_state_name() argument 706 if (iscsi_ipaddress_state_names[i].value == port_state) { in iscsi_get_ipaddress_state_name() 4248 iscsi_host_attr(port_state, ISCSI_HOST_PARAM_PORT_STATE); 4337 uint32_t port_state = ihost->port_state; in iscsi_get_port_state_name() local 4340 if (iscsi_port_state_names[i].value & port_state) { in iscsi_get_port_state_name()
|
/linux-4.1.27/drivers/net/bonding/ |
D | bond_3ad.c | 463 partner->port_state = lacpdu->actor_state; in __record_pdu() 473 partner->port_state |= AD_STATE_SYNCHRONIZATION; in __record_pdu() 476 partner->port_state &= ~AD_STATE_SYNCHRONIZATION; in __record_pdu() 528 … (lacpdu->actor_state & AD_STATE_AGGREGATION) != (partner->port_state & AD_STATE_AGGREGATION)) { in __update_selected() 560 (admin->port_state & AD_STATE_AGGREGATION) in __update_default_selected() 561 != (oper->port_state & AD_STATE_AGGREGATION)) { in __update_default_selected() 746 lacpdu->partner_state = partner->port_state; in __update_lacpdu_from_port() 905 (port->partner_oper.port_state & AD_STATE_SYNCHRONIZATION) && in ad_mux_machine() 929 !(port->partner_oper.port_state & AD_STATE_SYNCHRONIZATION) || in ad_mux_machine() 1094 port->partner_oper.port_state &= ~AD_STATE_AGGREGATION; in ad_rx_machine() [all …]
|
D | bond_procfs.c | 220 port->partner_oper.port_state); in bond_info_show_slave()
|
/linux-4.1.27/drivers/infiniband/hw/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 | 812 shca->sport[0].port_state = IB_PORT_DOWN; in ehca_probe() 823 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.1.27/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 | 277 uint32_t port_state; member 484 iscsi_get_ipaddress_state_name(enum iscsi_ipaddress_state port_state);
|
/linux-4.1.27/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.1.27/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.1.27/include/net/ |
D | bond_3ad.h | 208 u16 port_state; member
|
/linux-4.1.27/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.1.27/drivers/net/dsa/ |
D | mv88e6xxx.h | 251 u8 port_state[DSA_MAX_PORTS]; member
|
D | mv88e6xxx.c | 1081 ps->port_state[port] = stp_state; in mv88e6xxx_port_stp_update() 1240 mv88e6xxx_set_port_state(ds, port, ps->port_state[port]); in mv88e6xxx_bridge_work()
|
/linux-4.1.27/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.1.27/drivers/scsi/pm8001/ |
D | pm8001_sas.h | 245 u8 port_state; member
|
D | pm8001_init.c | 258 pm8001_ha->port[i].port_state = 0; in pm8001_alloc()
|
D | pm80xx_hwi.c | 2858 port->port_state = portstate; in hw_event_sas_phy_up() 2943 port->port_state = portstate; in hw_event_sata_phy_up() 2983 port->port_state = portstate; in hw_event_phy_down()
|
D | pm8001_hwi.c | 3370 port->port_state = portstate; in hw_event_sas_phy_up() 3451 port->port_state = portstate; in hw_event_sata_phy_up() 3489 port->port_state = portstate; in hw_event_phy_down()
|
/linux-4.1.27/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 150 enum ib_port_state port_state; in ocrdma_query_port() local 162 port_state = IB_PORT_ACTIVE; in ocrdma_query_port() 165 port_state = IB_PORT_DOWN; in ocrdma_query_port() 174 props->state = port_state; in ocrdma_query_port()
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
D | main.c | 1917 enum ib_port_state port_state = IB_PORT_NOP; in mlx4_ib_scan_netdevs() local 1944 port_state = (netif_running(curr_netdev) && netif_carrier_ok(curr_netdev)) ? in mlx4_ib_scan_netdevs() 1952 if (port_state == IB_PORT_DOWN && in mlx4_ib_scan_netdevs()
|
/linux-4.1.27/drivers/scsi/be2iscsi/ |
D | be_iscsi.c | 756 ihost->port_state = (phba->state == BE_ADAPTER_LINK_UP) ? in beiscsi_get_port_state()
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 1883 ihost->port_state = state; in qla4xxx_set_port_state()
|