Lines Matching refs:portspeed
3634 enum bfa_port_speed portspeed);
3649 bfa_trc(sfp, sfp->portspeed); in bfa_cb_sfp_state_query()
3658 if (sfp->portspeed) { in bfa_cb_sfp_state_query()
3659 sfp->status = bfa_sfp_speed_valid(sfp, sfp->portspeed); in bfa_cb_sfp_state_query()
3663 sfp->portspeed = BFA_PORT_SPEED_UNKNOWN; in bfa_cb_sfp_state_query()
3953 bfa_sfp_speed_valid(struct bfa_sfp_s *sfp, enum bfa_port_speed portspeed) in bfa_sfp_speed_valid() argument
3960 if (portspeed == BFA_PORT_SPEED_10GBPS) { in bfa_sfp_speed_valid()
3968 if (((portspeed & BFA_PORT_SPEED_16GBPS) && fc3.r.mb1600) || in bfa_sfp_speed_valid()
3969 ((portspeed & BFA_PORT_SPEED_8GBPS) && fc3.r.mb800) || in bfa_sfp_speed_valid()
3970 ((portspeed & BFA_PORT_SPEED_4GBPS) && fc3.r.mb400) || in bfa_sfp_speed_valid()
3971 ((portspeed & BFA_PORT_SPEED_2GBPS) && fc3.r.mb200) || in bfa_sfp_speed_valid()
3972 ((portspeed & BFA_PORT_SPEED_1GBPS) && fc3.r.mb100)) in bfa_sfp_speed_valid()
3975 bfa_trc(sfp, portspeed); in bfa_sfp_speed_valid()
4035 sfp->portspeed = BFA_PORT_SPEED_UNKNOWN; in bfa_sfp_attach()
4131 bfa_sfp_speed(struct bfa_sfp_s *sfp, enum bfa_port_speed portspeed, in bfa_sfp_speed() argument
4134 WARN_ON(portspeed == BFA_PORT_SPEED_UNKNOWN); in bfa_sfp_speed()
4144 sfp->portspeed = portspeed; in bfa_sfp_speed()
4172 return bfa_sfp_speed_valid(sfp, portspeed); in bfa_sfp_speed()