/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | intr.c | 142 * 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 D | hfi.h | 809 u32 linkup; member 1472 void handle_linkup_change(struct hfi1_devdata *dd, u32 linkup);
|
H A D | init.c | 909 ppd->linkup = 0; in hfi1_init() 1059 ppd->linkup = 0; in shutdown_device()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | intr.c | 100 * 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 D | hfi.h | 758 u32 linkup; member 1420 void handle_linkup_change(struct hfi1_devdata *dd, u32 linkup);
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | if_team.h | 35 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 D | if_team.h | 35 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 D | team.c | 86 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 D | team.c | 87 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 D | ice_ptp.h | 278 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 D | ice_ptp.c | 1364 * @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 D | emac-sgmii.c | 246 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 D | emac-sgmii.c | 248 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 D | pci-epf-ntb.c | 91 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 D | pci-epf-vntb.c | 132 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 D | netxen_nic_main.c | 1113 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 D | netxen_nic.h | 585 u8 linkup; member 1773 void netxen_advert_link_change(struct netxen_adapter *adapter, int linkup);
|
H A D | netxen_nic_ethtool.c | 233 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 D | netxen_nic_main.c | 1113 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 D | netxen_nic.h | 585 u8 linkup; member 1773 void netxen_advert_link_change(struct netxen_adapter *adapter, int linkup);
|
H A D | netxen_nic_ethtool.c | 233 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 D | qlcnic_io.c | 789 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 D | qlcnic_ethtool.c | 327 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 D | qlcnic_io.c | 790 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 D | qlcnic_ethtool.c | 327 if (ahw->linkup) { in qlcnic_82xx_get_link_ksettings() 1376 if (adapter->ahw->linkup) in qlcnic_get_ethtool_stats()
|