Searched refs:wol_cfg (Results 1 – 4 of 4) sorted by relevance
| /linux-4.4.14/drivers/net/ethernet/qlogic/netxen/ |
| D | netxen_nic_ethtool.c | 693 u32 wol_cfg = 0; in netxen_nic_get_wol() local 701 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG_NV); in netxen_nic_get_wol() 702 if (wol_cfg & (1UL << adapter->portnum)) in netxen_nic_get_wol() 705 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG); in netxen_nic_get_wol() 706 if (wol_cfg & (1UL << adapter->portnum)) in netxen_nic_get_wol() 714 u32 wol_cfg = 0; in netxen_nic_set_wol() local 722 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG_NV); in netxen_nic_set_wol() 723 if (!(wol_cfg & (1 << adapter->portnum))) in netxen_nic_set_wol() 726 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG); in netxen_nic_set_wol() 728 wol_cfg |= 1UL << adapter->portnum; in netxen_nic_set_wol() [all …]
|
| D | netxen_nic_hw.c | 1958 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.4.14/drivers/net/ethernet/qlogic/qlcnic/ |
| D | qlcnic_ethtool.c | 1462 u32 wol_cfg; in qlcnic_get_wol() local 1470 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG_NV, &err); in qlcnic_get_wol() 1473 if (wol_cfg & (1UL << adapter->portnum)) in qlcnic_get_wol() 1476 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG, &err); in qlcnic_get_wol() 1477 if (wol_cfg & (1UL << adapter->portnum)) in qlcnic_get_wol() 1485 u32 wol_cfg; in qlcnic_set_wol() local 1493 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG_NV, &err); in qlcnic_set_wol() 1496 if (!(wol_cfg & (1 << adapter->portnum))) in qlcnic_set_wol() 1499 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG, &err); in qlcnic_set_wol() 1503 wol_cfg |= 1UL << adapter->portnum; in qlcnic_set_wol() [all …]
|
| D | qlcnic_hw.c | 1540 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()
|