Lines Matching defs:mphy
117 int rx_chains = dev->mphy.antenna_mask;
295 set_bit(MT76_STATE_INITIALIZED, &dev->mphy.state);
341 static void mt7603_led_set_config(struct mt76_phy *mphy, u8 delay_on,
344 struct mt7603_dev *dev = container_of(mphy->dev, struct mt7603_dev,
352 addr = mt7603_reg_map(dev, MT_LED_STATUS_0(mphy->leds.pin));
354 addr = mt7603_reg_map(dev, MT_LED_STATUS_1(mphy->leds.pin));
357 val = MT_LED_CTRL_REPLAY(mphy->leds.pin) |
358 MT_LED_CTRL_KICK(mphy->leds.pin);
359 if (mphy->leds.al)
360 val |= MT_LED_CTRL_POLARITY(mphy->leds.pin);
369 struct mt76_phy *mphy = container_of(led_cdev, struct mt76_phy,
376 mt7603_led_set_config(mphy, delta_on, delta_off);
383 struct mt76_phy *mphy = container_of(led_cdev, struct mt76_phy,
387 mt7603_led_set_config(mphy, 0, 0xff);
389 mt7603_led_set_config(mphy, 0xff, 0);
480 dev->mphy.txpower_cur = target_power;
485 if (dev->mphy.antenna_mask & BIT(1))
515 INIT_DELAYED_WORK(&dev->mphy.mac_work, mt7603_mac_work);
547 dev->mphy.leds.cdev.brightness_set = mt7603_led_set_brightness;
548 dev->mphy.leds.cdev.blink_set = mt7603_led_set_blink;
559 mt7603_init_txpower(dev, &dev->mphy.sband_2g.sband);