Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c695 u32 wol_cfg = 0; in netxen_nic_get_wol() local
703 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG_NV); in netxen_nic_get_wol()
704 if (wol_cfg & (1UL << adapter->portnum)) in netxen_nic_get_wol()
707 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG); in netxen_nic_get_wol()
708 if (wol_cfg & (1UL << adapter->portnum)) in netxen_nic_get_wol()
716 u32 wol_cfg = 0; in netxen_nic_set_wol() local
724 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG_NV); in netxen_nic_set_wol()
725 if (!(wol_cfg & (1 << adapter->portnum))) in netxen_nic_set_wol()
728 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG); in netxen_nic_set_wol()
730 wol_cfg |= 1UL << adapter->portnum; in netxen_nic_set_wol()
[all …]
Dnetxen_nic_hw.c1958 u32 wol_cfg; in netxen_nic_wol_supported() local
1963 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG_NV); in netxen_nic_wol_supported()
1964 if (wol_cfg & (1UL << adapter->portnum)) { in netxen_nic_wol_supported()
1965 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG); in netxen_nic_wol_supported()
1966 if (wol_cfg & (1 << adapter->portnum)) in netxen_nic_wol_supported()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c1461 u32 wol_cfg; in qlcnic_get_wol() local
1469 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG_NV, &err); in qlcnic_get_wol()
1472 if (wol_cfg & (1UL << adapter->portnum)) in qlcnic_get_wol()
1475 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG, &err); in qlcnic_get_wol()
1476 if (wol_cfg & (1UL << adapter->portnum)) in qlcnic_get_wol()
1484 u32 wol_cfg; in qlcnic_set_wol() local
1492 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG_NV, &err); in qlcnic_set_wol()
1495 if (!(wol_cfg & (1 << adapter->portnum))) in qlcnic_set_wol()
1498 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG, &err); in qlcnic_set_wol()
1502 wol_cfg |= 1UL << adapter->portnum; in qlcnic_set_wol()
[all …]
Dqlcnic_hw.c1540 u32 wol_cfg; in qlcnic_wol_supported() local
1543 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG_NV, &err); in qlcnic_wol_supported()
1544 if (wol_cfg & (1UL << adapter->portnum)) { in qlcnic_wol_supported()
1545 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG, &err); in qlcnic_wol_supported()
1548 if (wol_cfg & (1 << adapter->portnum)) in qlcnic_wol_supported()