Lines Matching refs:wol_cfg
1461 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()
1504 wol_cfg &= ~(1UL << adapter->portnum); in qlcnic_set_wol()
1506 QLCWR32(adapter, QLCNIC_WOL_CONFIG, wol_cfg); in qlcnic_set_wol()