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