Home
last modified time | relevance | path

Searched refs:linkup (Results 1 - 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dintr.c142 * handle_linkup_change - finish linkup/down state changes
144 * @linkup: link state information
146 * Handle a linkup or link down notification.
152 void handle_linkup_change(struct hfi1_devdata *dd, u32 linkup) in handle_linkup_change() argument
157 if (!(ppd->linkup ^ !!linkup)) in handle_linkup_change()
160 if (linkup) { in handle_linkup_change()
162 * Quick linkup and all link up on the simulator does not in handle_linkup_change()
210 ppd->linkup = 1; in handle_linkup_change()
219 ppd->linkup in handle_linkup_change()
[all...]
H A Dhfi.h809 u32 linkup; member
1472 void handle_linkup_change(struct hfi1_devdata *dd, u32 linkup);
H A Dinit.c909 ppd->linkup = 0; in hfi1_init()
1059 ppd->linkup = 0; in shutdown_device()
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dintr.c100 * handle_linkup_change - finish linkup/down state changes
102 * @linkup: link state information
104 * Handle a linkup or link down notification.
110 void handle_linkup_change(struct hfi1_devdata *dd, u32 linkup) in handle_linkup_change() argument
115 if (!(ppd->linkup ^ !!linkup)) in handle_linkup_change()
118 if (linkup) { in handle_linkup_change()
120 * Quick linkup and all link up on the simulator does not in handle_linkup_change()
168 ppd->linkup = 1; in handle_linkup_change()
177 ppd->linkup in handle_linkup_change()
[all...]
H A Dhfi.h758 u32 linkup; member
1420 void handle_linkup_change(struct hfi1_devdata *dd, u32 linkup);
/kernel/linux/linux-5.10/include/linux/
H A Dif_team.h35 bool linkup; /* either state.linkup or user.linkup */ member
38 bool linkup; member
45 bool linkup; member
85 return port->linkup && team_port_enabled(port); in team_port_txable()
/kernel/linux/linux-6.6/include/linux/
H A Dif_team.h35 bool linkup; /* either state.linkup or user.linkup */ member
38 bool linkup; member
45 bool linkup; member
85 return port->linkup && team_port_enabled(port); in team_port_txable()
/kernel/linux/linux-5.10/drivers/net/team/
H A Dteam.c86 info.link_up = port->linkup; in team_lower_state_changed()
93 bool new_linkup = port->user.linkup_enabled ? port->user.linkup : in team_refresh_port_linkup()
94 port->state.linkup; in team_refresh_port_linkup()
96 if (port->linkup != new_linkup) { in team_refresh_port_linkup()
97 port->linkup = new_linkup; in team_refresh_port_linkup()
1129 static void __team_port_change_port_added(struct team_port *port, bool linkup);
1470 ctx->data.bool_val = port->user.linkup; in team_user_linkup_option_get()
1481 port->user.linkup = ctx->data.bool_val; in team_user_linkup_option_set()
2719 (port->state.linkup && in team_nl_fill_one_port_get()
2930 static void __team_port_change_send(struct team_port *port, bool linkup) in __team_port_change_send() argument
2980 __team_port_change_check(struct team_port *port, bool linkup) __team_port_change_check() argument
2987 __team_port_change_port_added(struct team_port *port, bool linkup) __team_port_change_port_added() argument
3000 team_port_change_check(struct team_port *port, bool linkup) team_port_change_check() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/team/
H A Dteam.c87 info.link_up = port->linkup; in team_lower_state_changed()
94 bool new_linkup = port->user.linkup_enabled ? port->user.linkup : in team_refresh_port_linkup()
95 port->state.linkup; in team_refresh_port_linkup()
97 if (port->linkup != new_linkup) { in team_refresh_port_linkup()
98 port->linkup = new_linkup; in team_refresh_port_linkup()
1132 static void __team_port_change_port_added(struct team_port *port, bool linkup);
1467 ctx->data.bool_val = port->user.linkup; in team_user_linkup_option_get()
1477 port->user.linkup = ctx->data.bool_val; in team_user_linkup_option_set()
2711 (port->state.linkup && in team_nl_fill_one_port_get()
2923 static void __team_port_change_send(struct team_port *port, bool linkup) in __team_port_change_send() argument
2973 __team_port_change_check(struct team_port *port, bool linkup) __team_port_change_check() argument
2980 __team_port_change_port_added(struct team_port *port, bool linkup) __team_port_change_port_added() argument
2993 team_port_change_check(struct team_port *port, bool linkup) team_port_change_check() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_ptp.h278 void ice_ptp_link_change(struct ice_pf *pf, u8 port, bool linkup);
314 static inline void ice_ptp_link_change(struct ice_pf *pf, u8 port, bool linkup) in ice_ptp_link_change() argument
H A Dice_ptp.c1364 * @linkup: Link is up or down
1366 void ice_ptp_link_change(struct ice_pf *pf, u8 port, bool linkup) in ice_ptp_link_change() argument
1381 ptp_port->link_up = linkup; in ice_ptp_link_change()
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/emac/
H A Demac-sgmii.c246 static int emac_sgmii_common_link_change(struct emac_adapter *adpt, bool linkup) in emac_sgmii_common_link_change() argument
251 if (linkup) { in emac_sgmii_common_link_change()
/kernel/linux/linux-6.6/drivers/net/ethernet/qualcomm/emac/
H A Demac-sgmii.c248 static int emac_sgmii_common_link_change(struct emac_adapter *adpt, bool linkup) in emac_sgmii_common_link_change() argument
253 if (linkup) { in emac_sgmii_common_link_change()
/kernel/linux/linux-6.6/drivers/pci/endpoint/functions/
H A Dpci-epf-ntb.c91 bool linkup; member
673 ntb_epc->linkup = true; in epf_ntb_cmd_handler()
674 if (ntb->epc[PRIMARY_INTERFACE]->linkup && in epf_ntb_cmd_handler()
675 ntb->epc[SECONDARY_INTERFACE]->linkup) { in epf_ntb_cmd_handler()
686 ntb_epc->linkup = false; in epf_ntb_cmd_handler()
1573 ntb_epc->linkup = false; in epf_ntb_epc_create_interface()
H A Dpci-epf-vntb.c132 bool linkup; member
298 ntb->linkup = true; in epf_ntb_cmd_handler()
306 ntb->linkup = false; in epf_ntb_cmd_handler()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_main.c1113 adapter->ahw.linkup = 0; in __netxen_nic_up()
2174 void netxen_advert_link_change(struct netxen_adapter *adapter, int linkup) in netxen_advert_link_change() argument
2178 if (adapter->ahw.linkup && !linkup) { in netxen_advert_link_change()
2181 adapter->ahw.linkup = 0; in netxen_advert_link_change()
2187 } else if (!adapter->ahw.linkup && linkup) { in netxen_advert_link_change()
2190 adapter->ahw.linkup = 1; in netxen_advert_link_change()
2201 u32 val, port, linkup; in netxen_nic_handle_phy_intr() local
2208 linkup in netxen_nic_handle_phy_intr()
[all...]
H A Dnetxen_nic.h585 u8 linkup; member
1773 void netxen_advert_link_change(struct netxen_adapter *adapter, int linkup);
H A Dnetxen_nic_ethtool.c233 if (!netif_running(dev) || !adapter->ahw.linkup) { in netxen_nic_get_link_ksettings()
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_main.c1113 adapter->ahw.linkup = 0; in __netxen_nic_up()
2167 void netxen_advert_link_change(struct netxen_adapter *adapter, int linkup) in netxen_advert_link_change() argument
2171 if (adapter->ahw.linkup && !linkup) { in netxen_advert_link_change()
2174 adapter->ahw.linkup = 0; in netxen_advert_link_change()
2180 } else if (!adapter->ahw.linkup && linkup) { in netxen_advert_link_change()
2183 adapter->ahw.linkup = 1; in netxen_advert_link_change()
2194 u32 val, port, linkup; in netxen_nic_handle_phy_intr() local
2201 linkup in netxen_nic_handle_phy_intr()
[all...]
H A Dnetxen_nic.h585 u8 linkup; member
1773 void netxen_advert_link_change(struct netxen_adapter *adapter, int linkup);
H A Dnetxen_nic_ethtool.c233 if (!netif_running(dev) || !adapter->ahw.linkup) { in netxen_nic_get_link_ksettings()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c789 void qlcnic_advert_link_change(struct qlcnic_adapter *adapter, int linkup) in qlcnic_advert_link_change() argument
793 if (adapter->ahw->linkup && !linkup) { in qlcnic_advert_link_change()
795 adapter->ahw->linkup = 0; in qlcnic_advert_link_change()
797 } else if (!adapter->ahw->linkup && linkup) { in qlcnic_advert_link_change()
798 adapter->ahw->linkup = 1; in qlcnic_advert_link_change()
H A Dqlcnic_ethtool.c327 if (ahw->linkup) { in qlcnic_82xx_get_link_ksettings()
1372 if (adapter->ahw->linkup) in qlcnic_get_ethtool_stats()
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_io.c790 void qlcnic_advert_link_change(struct qlcnic_adapter *adapter, int linkup) in qlcnic_advert_link_change() argument
794 if (adapter->ahw->linkup && !linkup) { in qlcnic_advert_link_change()
796 adapter->ahw->linkup = 0; in qlcnic_advert_link_change()
798 } else if (!adapter->ahw->linkup && linkup) { in qlcnic_advert_link_change()
799 adapter->ahw->linkup = 1; in qlcnic_advert_link_change()
H A Dqlcnic_ethtool.c327 if (ahw->linkup) { in qlcnic_82xx_get_link_ksettings()
1376 if (adapter->ahw->linkup) in qlcnic_get_ethtool_stats()

Completed in 67 milliseconds

12