/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | intr.c | 111 void handle_linkup_change(struct hfi1_devdata *dd, u32 linkup) in handle_linkup_change() argument 116 if (!(ppd->linkup ^ !!linkup)) in handle_linkup_change() 119 if (linkup) { in handle_linkup_change() 154 ppd->linkup = 1; in handle_linkup_change() 162 ppd->linkup = 0; in handle_linkup_change()
|
D | driver.c | 181 if (ppd->lid && ppd->linkup) { in hfi1_count_active_units() 212 if (ppd->lid && ppd->linkup) in hfi1_count_units()
|
D | hfi.h | 566 u32 linkup; member 1121 void handle_linkup_change(struct hfi1_devdata *dd, u32 linkup);
|
D | init.c | 684 ppd->linkup = 0; in hfi1_init() 847 ppd->linkup = 0; in shutdown_device()
|
/linux-4.4.14/include/linux/ |
D | if_team.h | 38 bool linkup; /* either state.linkup or user.linkup */ member 41 bool linkup; member 48 bool linkup; member 83 return port->linkup && team_port_enabled(port); in team_port_txable()
|
/linux-4.4.14/drivers/net/team/ |
D | team.c | 96 port->linkup = port->user.linkup_enabled ? port->user.linkup : in team_refresh_port_linkup() 97 port->state.linkup; in team_refresh_port_linkup() 1105 static void __team_port_change_port_added(struct team_port *port, bool linkup); 1393 ctx->data.bool_val = port->user.linkup; in team_user_linkup_option_get() 1404 port->user.linkup = ctx->data.bool_val; in team_user_linkup_option_set() 2578 (port->state.linkup && in team_nl_fill_one_port_get() 2776 static void __team_port_change_send(struct team_port *port, bool linkup) in __team_port_change_send() argument 2781 port->state.linkup = linkup; in __team_port_change_send() 2783 if (linkup) { in __team_port_change_send() 2814 if (port->linkup) { in __team_carrier_check() [all …]
|
/linux-4.4.14/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_main.c | 1139 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 | 247 if (!netif_running(dev) || !adapter->ahw.linkup) { in netxen_nic_get_settings()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 787 void qlcnic_advert_link_change(struct qlcnic_adapter *adapter, int linkup) in qlcnic_advert_link_change() argument 791 if (adapter->ahw->linkup && !linkup) { in qlcnic_advert_link_change() 793 adapter->ahw->linkup = 0; in qlcnic_advert_link_change() 795 } else if (!adapter->ahw->linkup && linkup) { in qlcnic_advert_link_change() 796 adapter->ahw->linkup = 1; in qlcnic_advert_link_change()
|
D | qlcnic_ethtool.c | 327 if (ahw->linkup) { in qlcnic_82xx_get_settings() 1360 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() 2152 adapter->ahw->linkup = 0; in qlcnic_diag_alloc_res()
|
D | qlcnic.h | 479 u8 linkup; member
|
D | qlcnic_83xx_hw.c | 1409 adapter->ahw->linkup = 0; in qlcnic_83xx_diag_alloc_res() 1809 } while ((adapter->ahw->linkup && ahw->has_link_events) != 1); in qlcnic_83xx_loopback_test()
|
/linux-4.4.14/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() 1826 nesvnic->linkup = 1; in nes_netdev_init() 1829 nesvnic->linkup = 1; in nes_netdev_init()
|
D | nes_hw.c | 2626 nesvnic->linkup); in nes_process_mac_intr() 2627 if (nesvnic->linkup == 0) { in nes_process_mac_intr() 2632 nesvnic->linkup = 1; in nes_process_mac_intr() 2660 nesvnic->linkup); in nes_process_mac_intr() 2661 if (nesvnic->linkup == 1) { in nes_process_mac_intr() 2666 nesvnic->linkup = 0; in nes_process_mac_intr() 2722 if (nesvnic->linkup == 0) { in nes_recheck_link_status() 2727 nesvnic->linkup = 1; in nes_recheck_link_status() 2744 if (nesvnic->linkup == 1) { in nes_recheck_link_status() 2749 nesvnic->linkup = 0; in nes_recheck_link_status()
|
D | nes_hw.h | 1257 u8 linkup; member
|
D | nes_verbs.c | 573 else if (nesvnic->linkup) in nes_query_port()
|
/linux-4.4.14/drivers/staging/slicoss/ |
D | slicoss.c | 982 uint linkup; in slic_link_upr_complete() local 1008 linkup = linkstatus & GIG_LINKUP ? LINK_UP : LINK_DOWN; in slic_link_upr_complete() 1021 if ((adapter->linkstate == LINK_DOWN) && (linkup == LINK_DOWN)) in slic_link_upr_complete() 1026 (linkup == LINK_UP) && in slic_link_upr_complete() 1034 if (linkup == LINK_DOWN) { in slic_link_upr_complete()
|