Searched refs:link_cfg (Results 1 – 5 of 5) sorted by relevance
200 u8 old_link = pi->link_cfg.link_ok; in cxgbe_dev_link_update()209 if (pi->link_cfg.link_ok != old_link || in cxgbe_dev_link_update()220 ETH_LINK_UP : pi->link_cfg.link_ok; in cxgbe_dev_link_update()221 new_link.link_autoneg = pi->link_cfg.autoneg; in cxgbe_dev_link_update()223 new_link.link_speed = pi->link_cfg.speed; in cxgbe_dev_link_update()246 if (pi->link_cfg.link_ok) in cxgbe_dev_set_link_up()275 if (!pi->link_cfg.link_ok) in cxgbe_dev_set_link_down()789 struct link_config *lc = &pi->link_cfg; in cxgbe_flow_ctrl_get()812 struct link_config *lc = &pi->link_cfg; in cxgbe_flow_ctrl_set()834 &pi->link_cfg); in cxgbe_flow_ctrl_set()
717 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_100M) in cxgbe_print_port_info()719 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_1G) in cxgbe_print_port_info()721 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_10G) in cxgbe_print_port_info()723 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_25G) in cxgbe_print_port_info()725 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_40G) in cxgbe_print_port_info()727 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_50G) in cxgbe_print_port_info()729 if (pi->link_cfg.pcaps & FW_PORT_CAP32_SPEED_100G) in cxgbe_print_port_info()1640 &pi->link_cfg); in cxgbe_link_start()1908 fw_caps_to_speed_caps(pi->port_type, pi->link_cfg.pcaps, in cxgbe_get_speed_caps()1911 if (!(pi->link_cfg.pcaps & FW_PORT_CAP32_ANEG)) in cxgbe_get_speed_caps()
36 struct link_config link_cfg; /* link configuration info */ member
877 init_link_config(&p->link_cfg, pcaps, acaps); in t4vf_port_init()
4544 struct link_config *lc = &pi->link_cfg; in t4_handle_get_port_info()4719 struct link_config *lc = &pi->link_cfg; in t4_reset_link_config()5500 init_link_config(&pi->link_cfg, pcaps, acaps); in t4_port_init()