mtk_wed_device_active
if (mtk_wed_device_active(&dev->mmio.wed) &&
if (mtk_wed_device_active(&dev->mmio.wed))
if (mtk_wed_device_active(&dev->mmio.wed_hif2))
if (mtk_wed_device_active(&dev->mmio.wed)) {
if (mtk_wed_device_active(&dev->mmio.wed) &&
if (mtk_wed_device_active(&dev->mmio.wed))
if (mtk_wed_device_active(&dev->mmio.wed) ||
if (mtk_wed_device_active(&dev->mmio.wed))
if (is_mt7915(dev) && mtk_wed_device_active(&dev->mmio.wed))
if (mtk_wed_device_active(&dev->mmio.wed) &&
if (!mtk_wed_device_active(&dev->mmio.wed))
if (mtk_wed_device_active(&dev->mt76.mmio.wed)) {
if (mtk_wed_device_active(&dev->mt76.mmio.wed) && wed_reset) {
if (mtk_wed_device_active(&mdev->mmio.wed)) {
if (mtk_wed_device_active(&mdev->mmio.wed) && is_mt7915(mdev)) {
if (mtk_wed_device_active(&mdev->mmio.wed) &&
if (mtk_wed_device_active(&mdev->mmio.wed)) {
if (mtk_wed_device_active(&mdev->mmio.wed) &&
if (mtk_wed_device_active(wed))
if (mtk_wed_device_active(wed) && is_mt7915(&dev->mt76))
if (is_mt7916(&dev->mt76) && mtk_wed_device_active(&dev->mt76.mmio.wed)) {
if (mtk_wed_device_active(&mdev->mmio.wed))
if (mtk_wed_device_active(&dev->mt76.mmio.wed))
if (mtk_wed_device_active(&dev->mt76.mmio.wed))
if (!mtk_wed_device_active(&mdev->mmio.wed) && wcid) {
if (mtk_wed_device_active(&phy->dev->mt76.mmio.wed)) {
if (!mtk_wed_device_active(wed))
if ((mtk_wed_device_active(&dev->mt76.mmio.wed) &&
return mt7915_mcu_set_red(dev, mtk_wed_device_active(&dev->mt76.mmio.wed));
if (mtk_wed_device_active(&mdev->mmio.wed))
if (mtk_wed_device_active(wed)) {
if (mtk_wed_device_active(wed))
if (mtk_wed_device_active(&mdev->mmio.wed))
if (mtk_wed_device_active(&mdev->mmio.wed))
if (mtk_wed_device_active(wed)) {
if (mtk_wed_device_active(wed) && mtk_wed_get_rx_capa(wed))
if (mtk_wed_device_active(wed) && wed_reset) {
if (mtk_wed_device_active(&dev->mt76.mmio.wed) &&
if (mtk_wed_device_active(&mdev->mmio.wed))
if (!mtk_wed_device_active(&mdev->mmio.wed)) {
if (mtk_wed_device_active(&mdev->mmio.wed) &&
if (mtk_wed_device_active(&mdev->mmio.wed) &&
if (mtk_wed_device_active(&mdev->mmio.wed) &&
if (mtk_wed_device_active(&mdev->mmio.wed) &&
if (mtk_wed_device_active(&mdev->mmio.wed)) {
if (mtk_wed_device_active(wed) && mtk_wed_get_rx_capa(wed)) {
if (mtk_wed_device_active(wed) &&
if (mtk_wed_device_active(wed)) {
if (mtk_wed_device_active(wed)) {
if (mtk_wed_device_active(wed_hif2) && !mt7996_has_hwrro(dev)) {
if (mtk_wed_device_active(wed) && mtk_wed_get_rx_capa(wed)) {
if (mtk_wed_device_active(wed_hif2)) {
if (mtk_wed_device_active(wed) && mtk_wed_get_rx_capa(wed))
if (mtk_wed_device_active(wed) &&
if (mtk_wed_device_active(wed)) {
if (mtk_wed_device_active(wed) &&
if (mtk_wed_device_active(wed_hif2)) {
!mtk_wed_device_active(&dev->mt76.mmio.wed))
if (dev->hif2 && mtk_wed_device_active(&dev->mt76.mmio.wed_hif2))
if (mtk_wed_device_active(&dev->mt76.mmio.wed))
if (mtk_wed_device_active(&dev->mt76.mmio.wed)) {
if (mtk_wed_device_active(&dev->mt76.mmio.wed) && force &&
!mtk_wed_device_active(&dev->mt76.mmio.wed))
if (mtk_wed_device_active(wed) || mt76_npu_device_active(mdev))
if (wed == &dev->mt76.mmio.wed_hif2 && mtk_wed_device_active(wed)) {
if (mtk_wed_device_active(wed) && mtk_wed_get_rx_capa(wed)) {
if (mtk_wed_device_active(wed) && mtk_wed_get_rx_capa(wed)) {
if (!mtk_wed_device_active(&dev->mt76.mmio.wed) &&
if (mtk_wed_device_active(&dev->mt76.mmio.wed) &&
if (!mtk_wed_device_active(&dev->mt76.mmio.wed) &&
if (mtk_wed_device_active(&dev->mt76.mmio.wed) && wcid->sta) {
if (mtk_wed_device_active(&dev->mt76.mmio.wed_hif2) &&
if (mtk_wed_device_active(&dev->mt76.mmio.wed) &&
if (mtk_wed_device_active(&dev->mt76.mmio.wed) &&
if (mtk_wed_device_active(&dev->mt76.mmio.wed) &&
if (mtk_wed_device_active(&dev->mt76.mmio.wed_hif2)) {
if (mtk_wed_device_active(&dev->mt76.mmio.wed_hif2))
if (mtk_wed_device_active(&dev->mt76.mmio.wed))
if (mtk_wed_device_active(&dev->mt76.mmio.wed) &&
if (mtk_wed_device_active(&dev->mt76.mmio.wed)) {
if (mtk_wed_device_active(&dev->mt76.mmio.wed_hif2)) {
if (mtk_wed_device_active(&dev->mt76.mmio.wed) &&
if (mtk_wed_device_active(&phy->dev->mt76.mmio.wed)) {
if (mtk_wed_device_active(&dev->mt76.mmio.wed)) {
if (!mtk_wed_device_active(wed) &&
if (mtk_wed_device_active(wed))
if (mtk_wed_device_active(&mdev->mmio.wed)) {
if (mtk_wed_device_active(&mdev->mmio.wed_hif2)) {
if (dev->hif2 && mtk_wed_device_active(wed_hif2)) {
if (mtk_wed_device_active(wed)) {
if (mtk_wed_device_active(&dev->mt76.mmio.wed))
if (mtk_wed_device_active(&dev->mt76.mmio.wed_hif2))
if (mtk_wed_device_active(&dev->mt76.mmio.wed_hif2))
if (mtk_wed_device_active(&dev->mt76.mmio.wed))
if (mtk_wed_device_active(&dev->mmio.wed) &&
if (mtk_wed_device_active(&dev->mmio.wed) &&
if (mtk_wed_device_active(&dev->mmio.wed) &&
if (!q->wed || !mtk_wed_device_active(q->wed))
if (!mtk_wed_device_active(wed))