/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | intr.c | 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() 210 ppd->linkup = 1; in handle_linkup_change() 219 ppd->linkup = 0; in handle_linkup_change()
|
D | init.c | 875 ppd->linkup = 0; in hfi1_init() 1047 ppd->linkup = 0; in shutdown_device()
|
D | hfi.h | 736 u32 linkup; member 1412 void handle_linkup_change(struct hfi1_devdata *dd, u32 linkup);
|
D | driver.c | 187 if (ppd->lid && ppd->linkup) { in hfi1_count_active_units()
|
/Linux-v4.19/include/linux/ |
D | if_team.h | 39 bool linkup; /* either state.linkup or user.linkup */ member 42 bool linkup; member 49 bool linkup; member 89 return port->linkup && team_port_enabled(port); in team_port_txable()
|
D | pci-epf.h | 64 void (*linkup)(struct pci_epf *epf); member
|
/Linux-v4.19/drivers/net/team/ |
D | team.c | 93 info.link_up = port->linkup; in team_lower_state_changed() 100 bool new_linkup = port->user.linkup_enabled ? port->user.linkup : in team_refresh_port_linkup() 101 port->state.linkup; in team_refresh_port_linkup() 103 if (port->linkup != new_linkup) { in team_refresh_port_linkup() 104 port->linkup = new_linkup; in team_refresh_port_linkup() 1144 static void __team_port_change_port_added(struct team_port *port, bool linkup); 1448 ctx->data.bool_val = port->user.linkup; in team_user_linkup_option_get() 1459 port->user.linkup = ctx->data.bool_val; in team_user_linkup_option_set() 2634 (port->state.linkup && in team_nl_fill_one_port_get() 2844 static void __team_port_change_send(struct team_port *port, bool linkup) in __team_port_change_send() argument [all …]
|
/Linux-v4.19/drivers/pci/endpoint/ |
D | pci-epf-core.c | 39 epf->driver->ops->linkup(epf); in pci_epf_linkup() 209 if (!driver->ops->bind || !driver->ops->unbind || !driver->ops->linkup) in __pci_epf_register_driver()
|
/Linux-v4.19/drivers/net/ethernet/qualcomm/emac/ |
D | emac-sgmii.c | 254 static int emac_sgmii_common_link_change(struct emac_adapter *adpt, bool linkup) in emac_sgmii_common_link_change() argument 259 if (linkup) { in emac_sgmii_common_link_change()
|
/Linux-v4.19/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_main.c | 1134 adapter->ahw.linkup = 0; in __netxen_nic_up() 2202 void netxen_advert_link_change(struct netxen_adapter *adapter, int linkup) in netxen_advert_link_change() argument 2206 if (adapter->ahw.linkup && !linkup) { in netxen_advert_link_change() 2209 adapter->ahw.linkup = 0; in netxen_advert_link_change() 2215 } else if (!adapter->ahw.linkup && linkup) { in netxen_advert_link_change() 2218 adapter->ahw.linkup = 1; in netxen_advert_link_change() 2229 u32 val, port, linkup; in netxen_nic_handle_phy_intr() local 2236 linkup = (val == XG_LINK_UP_P3); in netxen_nic_handle_phy_intr() 2240 linkup = (val == XG_LINK_UP); in netxen_nic_handle_phy_intr() 2243 netxen_advert_link_change(adapter, linkup); in netxen_nic_handle_phy_intr()
|
D | netxen_nic.h | 601 u8 linkup; member 1792 void netxen_advert_link_change(struct netxen_adapter *adapter, int linkup);
|
D | netxen_nic_ethtool.c | 249 if (!netif_running(dev) || !adapter->ahw.linkup) { in netxen_nic_get_link_ksettings()
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 788 void qlcnic_advert_link_change(struct qlcnic_adapter *adapter, int linkup) in qlcnic_advert_link_change() argument 792 if (adapter->ahw->linkup && !linkup) { in qlcnic_advert_link_change() 794 adapter->ahw->linkup = 0; in qlcnic_advert_link_change() 796 } else if (!adapter->ahw->linkup && linkup) { in qlcnic_advert_link_change() 797 adapter->ahw->linkup = 1; in qlcnic_advert_link_change()
|
D | qlcnic_ethtool.c | 328 if (ahw->linkup) { in qlcnic_82xx_get_link_ksettings() 1370 if (adapter->ahw->linkup) in qlcnic_get_ethtool_stats()
|
D | qlcnic_main.c | 1906 adapter->ahw->linkup = 0; in __qlcnic_up() 1950 adapter->ahw->linkup = 0; in __qlcnic_down() 2150 adapter->ahw->linkup = 0; in qlcnic_diag_alloc_res()
|
D | qlcnic.h | 479 u8 linkup; member
|
D | qlcnic_83xx_hw.c | 1412 adapter->ahw->linkup = 0; in qlcnic_83xx_diag_alloc_res() 1812 } while ((adapter->ahw->linkup && ahw->has_link_events) != 1); in qlcnic_83xx_loopback_test()
|
/Linux-v4.19/drivers/infiniband/hw/nes/ |
D | nes_nic.c | 237 if (first_nesvnic->linkup) { in nes_netdev_open() 239 nesvnic->linkup = 1; in nes_netdev_open() 255 if (nesvnic->linkup == 1) { in nes_netdev_open() 341 if (nesvnic->linkup == 1) in nes_netdev_stop() 1818 nesvnic->linkup = 1; in nes_netdev_init() 1821 nesvnic->linkup = 1; in nes_netdev_init()
|
D | nes_hw.c | 2584 nesvnic->linkup); in nes_process_mac_intr() 2585 if (nesvnic->linkup == 0) { in nes_process_mac_intr() 2590 nesvnic->linkup = 1; in nes_process_mac_intr() 2618 nesvnic->linkup); in nes_process_mac_intr() 2619 if (nesvnic->linkup == 1) { in nes_process_mac_intr() 2624 nesvnic->linkup = 0; in nes_process_mac_intr() 2680 if (nesvnic->linkup == 0) { in nes_recheck_link_status() 2685 nesvnic->linkup = 1; in nes_recheck_link_status() 2702 if (nesvnic->linkup == 1) { in nes_recheck_link_status() 2707 nesvnic->linkup = 0; in nes_recheck_link_status()
|
D | nes_hw.h | 1254 u8 linkup; member
|
D | nes_verbs.c | 487 else if (nesvnic->linkup) in nes_query_port()
|
/Linux-v4.19/drivers/pci/endpoint/functions/ |
D | pci-epf-test.c | 556 .linkup = pci_epf_test_linkup,
|
/Linux-v4.19/Documentation/PCI/endpoint/ |
D | pci-endpoint.txt | 163 * linkup: ops to perform when the EPC device has established a
|
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.c | 3218 static void hns3_link_status_change(struct hnae3_handle *handle, bool linkup) in hns3_link_status_change() argument 3225 if (linkup) { in hns3_link_status_change()
|