Home
last modified time | relevance | path

Searched refs:phy2 (Results 1 – 21 of 21) sorted by relevance

/drivers/net/wireless/mediatek/mt76/mt7615/
Dpci_mac.c151 if ((info->hw_queue & MT_TX_HW_QUEUE_EXT_PHY) && mdev->phy2) in mt7615_tx_prepare_skb()
152 phy = mdev->phy2->priv; in mt7615_tx_prepare_skb()
258 if (!dev->mt76.phy2) in mt7615_update_beacons()
261 ieee80211_iterate_active_interfaces(dev->mt76.phy2->hw, in mt7615_update_beacons()
263 mt7615_update_vif_beacon, dev->mt76.phy2->hw); in mt7615_update_beacons()
268 struct mt7615_phy *phy2; in mt7615_mac_reset_work() local
274 ext_phy = dev->mt76.phy2; in mt7615_mac_reset_work()
275 phy2 = ext_phy ? ext_phy->priv : NULL; in mt7615_mac_reset_work()
290 if (phy2) { in mt7615_mac_reset_work()
291 set_bit(MT76_RESET, &phy2->mt76->state); in mt7615_mac_reset_work()
[all …]
Dmac.c121 if (dev->mt76.phy2) in mt7615_mac_reset_counters()
122 dev->mt76.phy2->survey_time = ktime_get_boottime(); in mt7615_mac_reset_counters()
257 struct mt7615_phy *phy2 = dev->mt76.phy2 ? dev->mt76.phy2->priv : NULL; in mt7615_mac_fill_rx() local
275 if (!phy2) in mt7615_mac_fill_rx()
277 else if (phy2->chfreq == phy->chfreq) in mt7615_mac_fill_rx()
281 else if (phy2->chfreq == chfreq) in mt7615_mac_fill_rx()
411 int first_chain = ffs(phy2->mt76->chainmask) - 1; in mt7615_mac_fill_rx()
417 if (phy_idx == 1 && phy2) { in mt7615_mac_fill_rx()
418 mphy = dev->mt76.phy2; in mt7615_mac_fill_rx()
419 phy = phy2; in mt7615_mac_fill_rx()
[all …]
Dmcu.c419 mphy = dev->mt76.phy2; in mt7615_mcu_rx_csa_notify()
438 if (r->band_idx && dev->mt76.phy2) in mt7615_mcu_rx_radar_detected()
439 mphy = dev->mt76.phy2; in mt7615_mcu_rx_radar_detected()
495 if (*seq_num & BIT(7) && dev->mt76.phy2) in mt7615_mcu_scan_event()
496 mphy = dev->mt76.phy2; in mt7615_mcu_scan_event()
521 if (event->dbdc_band && dev->mt76.phy2) in mt7615_mcu_roc_event()
522 mphy = dev->mt76.phy2; in mt7615_mcu_roc_event()
546 if (band_idx && dev->mt76.phy2) in mt7615_mcu_beacon_loss_event()
547 mphy = dev->mt76.phy2; in mt7615_mcu_beacon_loss_event()
567 if (band_idx && dev->mt76.phy2) in mt7615_mcu_bss_event()
[all …]
Dmt7615.h336 struct mt76_phy *phy = dev->mt76.phy2; in mt7615_ext_phy()
Dinit.c510 struct mt76_phy *mphy = dev->mt76.phy2; in mt7615_unregister_ext_phy()
/drivers/staging/media/omap4iss/
Diss_csiphy.c258 struct iss_csiphy *phy2 = &iss->csiphy2; in omap4iss_csiphy_init() local
268 phy2->iss = iss; in omap4iss_csiphy_init()
269 phy2->csi2 = &iss->csi2b; in omap4iss_csiphy_init()
270 phy2->max_data_lanes = ISS_CSIPHY2_NUM_DATA_LANES; in omap4iss_csiphy_init()
271 phy2->used_data_lanes = 0; in omap4iss_csiphy_init()
272 phy2->cfg_regs = OMAP4_ISS_MEM_CSI2_B_REGS1; in omap4iss_csiphy_init()
273 phy2->phy_regs = OMAP4_ISS_MEM_CAMERARX_CORE2; in omap4iss_csiphy_init()
274 mutex_init(&phy2->mutex); in omap4iss_csiphy_init()
/drivers/media/platform/omap3isp/
Dispcsiphy.c329 struct isp_csiphy *phy2 = &isp->isp_csiphy2; in omap3isp_csiphy_init() local
331 phy2->isp = isp; in omap3isp_csiphy_init()
332 phy2->csi2 = &isp->isp_csi2a; in omap3isp_csiphy_init()
333 phy2->num_data_lanes = ISP_CSIPHY2_NUM_DATA_LANES; in omap3isp_csiphy_init()
334 phy2->cfg_regs = OMAP3_ISP_IOMEM_CSI2A_REGS1; in omap3isp_csiphy_init()
335 phy2->phy_regs = OMAP3_ISP_IOMEM_CSIPHY2; in omap3isp_csiphy_init()
336 mutex_init(&phy2->mutex); in omap3isp_csiphy_init()
/drivers/net/wireless/mediatek/mt76/
Dtx.c563 if (dev->phy2) in mt76_tx_worker_run()
564 mt76_txq_schedule_all(dev->phy2); in mt76_tx_worker_run()
569 if (dev->phy2 && dev->phy2->test.tx_pending) in mt76_tx_worker_run()
570 mt76_testmode_tx_pending(dev->phy2); in mt76_tx_worker_run()
673 struct mt76_phy *phy = &dev->phy, *phy2 = dev->phy2; in __mt76_set_tx_blocked() local
681 if (phy2) { in __mt76_set_tx_blocked()
682 q2 = phy2->q_tx[0]; in __mt76_set_tx_blocked()
Dmt76.h644 struct mt76_phy *phy2; member
814 return dev->phy2->hw; in mt76_wcid_hw()
925 if (phy_ext && dev->phy2) in mt76_dev_phy()
926 return dev->phy2; in mt76_dev_phy()
1047 else if (dev->phy2 && skb == dev->phy2->test.tx_skb) in mt76_is_testmode_skb()
1048 *hw = dev->phy2->hw; in mt76_is_testmode_skb()
1164 if ((info->hw_queue & MT_TX_HW_QUEUE_EXT_PHY) && dev->phy2) in mt76_tx_status_get_hw()
1165 hw = dev->phy2->hw; in mt76_tx_status_get_hw()
Ddma.c691 if (dev->phy2) in mt76_dma_cleanup()
692 mt76_dma_tx_cleanup(dev, dev->phy2->q_tx[i], true); in mt76_dma_cleanup()
Dmac80211.c397 phy->dev->phy2 = phy; in mt76_register_phy()
409 dev->phy2 = NULL; in mt76_unregister_phy()
Dmt76_connac_mcu.c1408 bool ext_phy = phy == mdev->phy2; in mt76_connac_mcu_hw_scan()
1526 bool ext_phy = phy == mdev->phy2; in mt76_connac_mcu_sched_scan_req()
/drivers/gpio/
Dgpio-stp-xway.c87 u8 phy2; /* 3 bits can be driven by phy2 */ member
196 chip->phy2 << XWAY_STP_PHY2_SHIFT, in xway_stp_hw_init()
215 chip->reserved = (chip->phy4 << 11) | (chip->phy3 << 8) | (chip->phy2 << 5) in xway_stp_hw_init()
280 chip->phy2 = phy & XWAY_STP_PHY_MASK; in xway_stp_probe()
/drivers/net/wireless/mediatek/mt76/mt7915/
Dmac.c338 mphy = dev->mt76.phy2; in mt7915_mac_fill_rx()
932 if (ext_phy && dev->mt76.phy2) in mt7915_mac_write_txwi()
933 mphy = dev->mt76.phy2; in mt7915_mac_write_txwi()
1151 struct mt76_phy *mphy_ext = mdev->phy2; in mt7915_mac_tx_free()
1391 dev->mt76.phy2->survey_time = ktime_get_boottime(); in mt7915_mac_reset_counters()
1551 if (!dev->mt76.phy2) in mt7915_update_beacons()
1554 ieee80211_iterate_active_interfaces(dev->mt76.phy2->hw, in mt7915_update_beacons()
1556 mt7915_update_vif_beacon, dev->mt76.phy2->hw); in mt7915_update_beacons()
1562 struct mt76_phy *mphy_ext = dev->mt76.phy2; in mt7915_dma_reset()
1633 struct mt7915_phy *phy2; in mt7915_mac_reset_work() local
[all …]
Dmcu.c450 if (c->band_idx && dev->mt76.phy2) in mt7915_mcu_rx_csa_notify()
451 mphy = dev->mt76.phy2; in mt7915_mcu_rx_csa_notify()
469 if (t->ctrl.band_idx && dev->mt76.phy2) in mt7915_mcu_rx_thermal_notify()
470 mphy = dev->mt76.phy2; in mt7915_mcu_rx_thermal_notify()
484 if (r->band_idx && dev->mt76.phy2) in mt7915_mcu_rx_radar_detected()
485 mphy = dev->mt76.phy2; in mt7915_mcu_rx_radar_detected()
612 if (msta->wcid.ext_phy && dev->mt76.phy2) in mt7915_mcu_tx_rate_report()
613 mphy = dev->mt76.phy2; in mt7915_mcu_tx_rate_report()
982 if (ext_phy && dev->mt76.phy2) in mt7915_mcu_bss_rfch_tlv()
983 mphy = dev->mt76.phy2; in mt7915_mcu_bss_rfch_tlv()
Ddebugfs.c268 struct mt76_phy *mphy_ext = dev->mt76.phy2; in mt7915_queues_read()
Dmt7915.h279 struct mt76_phy *phy = dev->mt76.phy2; in mt7915_ext_phy()
Dinit.c774 struct mt76_phy *mphy = dev->mt76.phy2; in mt7915_unregister_ext_phy()
/drivers/staging/mt7621-dts/
Dmt7621.dtsi552 phy-names = "pcie-phy2";
/drivers/net/ethernet/broadcom/
Dtg3.c6018 u32 phy1, phy2; in tg3_serdes_parallel_detect() local
6027 tg3_readphy(tp, MII_TG3_DSP_RW_PORT, &phy2); in tg3_serdes_parallel_detect()
6028 tg3_readphy(tp, MII_TG3_DSP_RW_PORT, &phy2); in tg3_serdes_parallel_detect()
6030 if ((phy1 & 0x10) && !(phy2 & 0x20)) { in tg3_serdes_parallel_detect()
6045 u32 phy2; in tg3_serdes_parallel_detect() local
6050 tg3_readphy(tp, MII_TG3_DSP_RW_PORT, &phy2); in tg3_serdes_parallel_detect()
6051 if (phy2 & 0x20) { in tg3_serdes_parallel_detect()
Dbnx2.c6110 u32 phy2; in bnx2_5706_serdes_timer() local
6113 bnx2_read_phy(bp, 0x15, &phy2); in bnx2_5706_serdes_timer()
6114 if (phy2 & 0x20) { in bnx2_5706_serdes_timer()