Home
last modified time | relevance | path

Searched refs:wol_cfg (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c701 u32 wol_cfg = 0; in netxen_nic_get_wol() local
709 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG_NV); in netxen_nic_get_wol()
710 if (wol_cfg & (1UL << adapter->portnum)) in netxen_nic_get_wol()
713 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG); in netxen_nic_get_wol()
714 if (wol_cfg & (1UL << adapter->portnum)) in netxen_nic_get_wol()
722 u32 wol_cfg = 0; in netxen_nic_set_wol() local
730 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG_NV); in netxen_nic_set_wol()
731 if (!(wol_cfg & (1 << adapter->portnum))) in netxen_nic_set_wol()
734 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG); in netxen_nic_set_wol()
736 wol_cfg |= 1UL << adapter->portnum; in netxen_nic_set_wol()
[all …]
Dnetxen_nic_hw.c1933 u32 wol_cfg; in netxen_nic_wol_supported() local
1938 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG_NV); in netxen_nic_wol_supported()
1939 if (wol_cfg & (1UL << adapter->portnum)) { in netxen_nic_wol_supported()
1940 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG); in netxen_nic_wol_supported()
1941 if (wol_cfg & (1 << adapter->portnum)) in netxen_nic_wol_supported()
/Linux-v4.19/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c1472 u32 wol_cfg; in qlcnic_get_wol() local
1480 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG_NV, &err); in qlcnic_get_wol()
1483 if (wol_cfg & (1UL << adapter->portnum)) in qlcnic_get_wol()
1486 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG, &err); in qlcnic_get_wol()
1487 if (wol_cfg & (1UL << adapter->portnum)) in qlcnic_get_wol()
1495 u32 wol_cfg; in qlcnic_set_wol() local
1503 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG_NV, &err); in qlcnic_set_wol()
1506 if (!(wol_cfg & (1 << adapter->portnum))) in qlcnic_set_wol()
1509 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG, &err); in qlcnic_set_wol()
1513 wol_cfg |= 1UL << adapter->portnum; in qlcnic_set_wol()
[all …]
Dqlcnic_hw.c1527 u32 wol_cfg; in qlcnic_wol_supported() local
1530 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG_NV, &err); in qlcnic_wol_supported()
1531 if (wol_cfg & (1UL << adapter->portnum)) { in qlcnic_wol_supported()
1532 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG, &err); in qlcnic_wol_supported()
1535 if (wol_cfg & (1 << adapter->portnum)) in qlcnic_wol_supported()