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