Lines Matching refs:speed
3116 port_cfg->speed = BFA_PORT_SPEED_AUTO; in bfa_fcport_attach()
3190 fcport->speed = pevent->link_state.speed; in bfa_fcport_update_linkinfo()
3218 bfa_trc(fcport->bfa, fcport->speed); in bfa_fcport_update_linkinfo()
3225 fcport->speed = BFA_PORT_SPEED_UNKNOWN; in bfa_fcport_reset_linkinfo()
3526 trunk->attr.speed = scn->trunk_speed; in bfa_trunk_scn()
3534 lattr->speed = tlink->speed; in bfa_trunk_scn()
3538 fcport->speed = tlink->speed; in bfa_trunk_scn()
3546 bfa_trc(fcport->bfa, lattr->speed); in bfa_trunk_scn()
3592 fcport->trunk.attr.speed = BFA_PORT_SPEED_UNKNOWN; in bfa_trunk_iocdisable()
3599 fcport->trunk.attr.link_attr[i].speed = in bfa_trunk_iocdisable()
3823 bfa_fcport_cfg_speed(struct bfa_s *bfa, enum bfa_port_speed speed) in bfa_fcport_cfg_speed() argument
3827 bfa_trc(bfa, speed); in bfa_fcport_cfg_speed()
3832 (speed == BFA_PORT_SPEED_16GBPS)) in bfa_fcport_cfg_speed()
3834 if ((speed != BFA_PORT_SPEED_AUTO) && (speed > fcport->speed_sup)) { in bfa_fcport_cfg_speed()
3842 if ((speed == BFA_PORT_SPEED_1GBPS) && in bfa_fcport_cfg_speed()
3847 if (!(speed == BFA_PORT_SPEED_1GBPS || in bfa_fcport_cfg_speed()
3848 speed == BFA_PORT_SPEED_2GBPS || in bfa_fcport_cfg_speed()
3849 speed == BFA_PORT_SPEED_4GBPS || in bfa_fcport_cfg_speed()
3850 speed == BFA_PORT_SPEED_8GBPS || in bfa_fcport_cfg_speed()
3851 speed == BFA_PORT_SPEED_16GBPS || in bfa_fcport_cfg_speed()
3852 speed == BFA_PORT_SPEED_AUTO)) in bfa_fcport_cfg_speed()
3855 if (speed != BFA_PORT_SPEED_10GBPS) in bfa_fcport_cfg_speed()
3859 fcport->cfg.speed = speed; in bfa_fcport_cfg_speed()
3872 return fcport->speed; in bfa_fcport_get_speed()
3900 (fcport->cfg.speed == BFA_PORT_SPEED_16GBPS)) in bfa_fcport_cfg_topology()
4063 attr->pport_cfg.speed = fcport->cfg.speed; in bfa_fcport_get_attr()
4065 attr->speed = fcport->speed; in bfa_fcport_get_attr()
4310 if ((fcport->cfg.speed != BFA_PORT_SPEED_AUTO) && in bfa_fcport_cfg_bbcr()
4311 (fcport->cfg.speed < bfa_ioc_speed_sup(&bfa->ioc))) in bfa_fcport_cfg_bbcr()
5063 bfa_trc(rp->bfa, rp->rport_info.speed); in bfa_rport_send_fwspeed()
5070 m->speed = (u8)rp->rport_info.speed; in bfa_rport_send_fwspeed()
5198 bfa_rport_speed(struct bfa_rport_s *rport, enum bfa_port_speed speed) in bfa_rport_speed() argument
5200 WARN_ON(speed == 0); in bfa_rport_speed()
5201 WARN_ON(speed == BFA_PORT_SPEED_AUTO); in bfa_rport_speed()
5204 rport->rport_info.speed = speed; in bfa_rport_speed()
6041 lb_req->speed = loopback->speed; in bfa_fcdiag_loopback_send()
6049 bfa_trc(fcdiag, loopback->speed); in bfa_fcdiag_loopback_send()
6101 enum bfa_port_speed speed, u32 lpcnt, u32 pat, in bfa_fcdiag_loopback() argument
6128 if (!(speed == BFA_PORT_SPEED_1GBPS || in bfa_fcdiag_loopback()
6129 speed == BFA_PORT_SPEED_2GBPS || in bfa_fcdiag_loopback()
6130 speed == BFA_PORT_SPEED_4GBPS || in bfa_fcdiag_loopback()
6131 speed == BFA_PORT_SPEED_8GBPS || in bfa_fcdiag_loopback()
6132 speed == BFA_PORT_SPEED_16GBPS || in bfa_fcdiag_loopback()
6133 speed == BFA_PORT_SPEED_AUTO)) { in bfa_fcdiag_loopback()
6134 bfa_trc(fcdiag, speed); in bfa_fcdiag_loopback()
6139 if (speed > attr.speed_supported) in bfa_fcdiag_loopback()
6142 if (speed != BFA_PORT_SPEED_10GBPS) { in bfa_fcdiag_loopback()
6143 bfa_trc(fcdiag, speed); in bfa_fcdiag_loopback()
6151 if ((speed == BFA_PORT_SPEED_1GBPS) && in bfa_fcdiag_loopback()
6153 bfa_trc(fcdiag, speed); in bfa_fcdiag_loopback()
6160 if (!(speed == BFA_PORT_SPEED_1GBPS || in bfa_fcdiag_loopback()
6161 speed == BFA_PORT_SPEED_2GBPS || in bfa_fcdiag_loopback()
6162 speed == BFA_PORT_SPEED_4GBPS || in bfa_fcdiag_loopback()
6163 speed == BFA_PORT_SPEED_8GBPS || in bfa_fcdiag_loopback()
6164 speed == BFA_PORT_SPEED_16GBPS || in bfa_fcdiag_loopback()
6165 speed == BFA_PORT_SPEED_AUTO)) in bfa_fcdiag_loopback()
6168 if (speed != BFA_PORT_SPEED_10GBPS) in bfa_fcdiag_loopback()
6185 loopback.speed = speed; in bfa_fcdiag_loopback()
6734 dport->result.speed = msg->info.testcomp.speed; in bfa_dport_scn()
6740 bfa_trc(dport->bfa, dport->result.speed); in bfa_dport_scn()