Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c689 u32 wol_cfg = 0; in netxen_nic_get_wol() local
697 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG_NV); in netxen_nic_get_wol()
698 if (wol_cfg & (1UL << adapter->portnum)) in netxen_nic_get_wol()
701 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG); in netxen_nic_get_wol()
702 if (wol_cfg & (1UL << adapter->portnum)) in netxen_nic_get_wol()
710 u32 wol_cfg = 0; in netxen_nic_set_wol() local
718 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG_NV); in netxen_nic_set_wol()
719 if (!(wol_cfg & (1 << adapter->portnum))) in netxen_nic_set_wol()
722 wol_cfg = NXRD32(adapter, NETXEN_WOL_CONFIG); in netxen_nic_set_wol()
724 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()
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c1478 u32 wol_cfg; in qlcnic_get_wol() local
1486 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG_NV, &err); in qlcnic_get_wol()
1489 if (wol_cfg & (1UL << adapter->portnum)) in qlcnic_get_wol()
1492 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG, &err); in qlcnic_get_wol()
1493 if (wol_cfg & (1UL << adapter->portnum)) in qlcnic_get_wol()
1501 u32 wol_cfg; in qlcnic_set_wol() local
1509 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG_NV, &err); in qlcnic_set_wol()
1512 if (!(wol_cfg & (1 << adapter->portnum))) in qlcnic_set_wol()
1515 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG, &err); in qlcnic_set_wol()
1519 wol_cfg |= 1UL << adapter->portnum; in qlcnic_set_wol()
[all …]
Dqlcnic_hw.c1522 u32 wol_cfg; in qlcnic_wol_supported() local
1525 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG_NV, &err); in qlcnic_wol_supported()
1526 if (wol_cfg & (1UL << adapter->portnum)) { in qlcnic_wol_supported()
1527 wol_cfg = QLCRD32(adapter, QLCNIC_WOL_CONFIG, &err); in qlcnic_wol_supported()
1530 if (wol_cfg & (1 << adapter->portnum)) in qlcnic_wol_supported()
/linux-6.1.9/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()