Home
last modified time | relevance | path

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

/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c685 u32 wol_cfg = 0; in netxen_nic_get_wol() local
693 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG_NV); in netxen_nic_get_wol()
694 if (wol_cfg & (1UL << adapter->portnum)) in netxen_nic_get_wol()
697 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG); in netxen_nic_get_wol()
698 if (wol_cfg & (1UL << adapter->portnum)) in netxen_nic_get_wol()
706 u32 wol_cfg = 0; in netxen_nic_set_wol() local
714 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG_NV); in netxen_nic_set_wol()
715 if (!(wol_cfg & (1 << adapter->portnum))) in netxen_nic_set_wol()
718 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG); in netxen_nic_set_wol()
720 wol_cfg |= 1UL << adapter->portnum; in netxen_nic_set_wol()
[all …]
Dnetxen_nic_hw.c1917 u32 wol_cfg; in netxen_nic_wol_supported() local
1922 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG_NV); in netxen_nic_wol_supported()
1923 if (wol_cfg & (1UL << adapter->portnum)) { in netxen_nic_wol_supported()
1924 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG); in netxen_nic_wol_supported()
1925 if (wol_cfg & (1 << adapter->portnum)) in netxen_nic_wol_supported()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c1474 u32 wol_cfg; in qlcnic_get_wol() local
1482 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG_NV, &err); in qlcnic_get_wol()
1485 if (wol_cfg & (1UL << adapter->portnum)) in qlcnic_get_wol()
1488 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG, &err); in qlcnic_get_wol()
1489 if (wol_cfg & (1UL << adapter->portnum)) in qlcnic_get_wol()
1497 u32 wol_cfg; in qlcnic_set_wol() local
1505 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG_NV, &err); in qlcnic_set_wol()
1508 if (!(wol_cfg & (1 << adapter->portnum))) in qlcnic_set_wol()
1511 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG, &err); in qlcnic_set_wol()
1515 wol_cfg |= 1UL << adapter->portnum; in qlcnic_set_wol()
[all …]
Dqlcnic_hw.c1526 u32 wol_cfg; in qlcnic_wol_supported() local
1529 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG_NV, &err); in qlcnic_wol_supported()
1530 if (wol_cfg & (1UL << adapter->portnum)) { in qlcnic_wol_supported()
1531 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG, &err); in qlcnic_wol_supported()
1534 if (wol_cfg & (1 << adapter->portnum)) in qlcnic_wol_supported()
/drivers/net/usb/
Daqc111.c1359 struct aqc111_wol_cfg wol_cfg; in aqc111_suspend() local
1361 memset(&wol_cfg, 0, sizeof(struct aqc111_wol_cfg)); in aqc111_suspend()
1364 ether_addr_copy(wol_cfg.hw_addr, dev->net->dev_addr); in aqc111_suspend()
1365 wol_cfg.flags = aqc111_data->wol_flags; in aqc111_suspend()
1400 WOL_CFG_SIZE, &wol_cfg); in aqc111_suspend()