Lines Matching refs:port_caps
238 fun_link_modes_to_ethtool(fp->port_caps, ks->link_modes.supported); in fun_get_link_ksettings()
239 if (fp->port_caps & (FUN_PORT_CAP_RX_PAUSE | FUN_PORT_CAP_TX_PAUSE)) in fun_get_link_ksettings()
324 if (fp->port_caps & FUN_PORT_CAP_VPORT) in fun_set_link_ksettings()
330 !(fp->port_caps & FUN_PORT_CAP_AUTONEG)) in fun_set_link_ksettings()
337 fun_link_modes_to_ethtool(fp->port_caps, supported); in fun_set_link_ksettings()
344 new_advert &= fp->port_caps; in fun_set_link_ksettings()
371 if (fp->port_caps & FUN_PORT_CAP_VPORT) in fun_set_pauseparam()
378 if (pause->tx_pause && !(fp->port_caps & FUN_PORT_CAP_TX_PAUSE)) in fun_set_pauseparam()
380 if (pause->rx_pause && !(fp->port_caps & FUN_PORT_CAP_RX_PAUSE)) in fun_set_pauseparam()
409 if (fp->port_caps & FUN_PORT_CAP_VPORT) in fun_set_phys_id()
626 if (fp->port_caps & FUN_PORT_CAP_STATS) { in fun_get_sset_count()
645 if (fp->port_caps & FUN_PORT_CAP_STATS) { in fun_get_strings()
758 if (fp->port_caps & FUN_PORT_CAP_STATS) in fun_get_ethtool_stats()
852 if (!(fp->port_caps & FUN_PORT_CAP_STATS)) in fun_get_pause_stats()
864 if (!(fp->port_caps & FUN_PORT_CAP_STATS)) in fun_get_802_3_stats()
881 if (!(fp->port_caps & FUN_PORT_CAP_STATS)) in fun_get_802_3_ctrl_stats()
905 if (!(fp->port_caps & FUN_PORT_CAP_STATS)) in fun_get_rmon_stats()
937 if (!(fp->port_caps & FUN_PORT_CAP_STATS)) in fun_get_fec_stats()
1100 if (!(fp->port_caps & FUN_PORT_CAP_FEC_NONE)) in fun_set_fecparam()
1105 if (!(fp->port_caps & FUN_PORT_CAP_FEC_FC)) in fun_set_fecparam()
1110 if (!(fp->port_caps & FUN_PORT_CAP_FEC_RS)) in fun_set_fecparam()
1132 if (fp->port_caps & FUN_PORT_CAP_VPORT) { in fun_get_port_module_page()