Home
last modified time | relevance | path

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

/drivers/net/wireless/mediatek/mt76/mt7615/
A Dpci_mac.c202 struct mt7615_phy *phy2; in mt7615_mac_reset_work() local
210 phy2 = ext_phy ? ext_phy->priv : NULL; in mt7615_mac_reset_work()
225 if (phy2) { in mt7615_mac_reset_work()
226 set_bit(MT76_RESET, &phy2->mt76->state); in mt7615_mac_reset_work()
227 cancel_delayed_work_sync(&phy2->mt76->mac_work); in mt7615_mac_reset_work()
228 timer_delete_sync(&phy2->roc_timer); in mt7615_mac_reset_work()
229 cancel_work_sync(&phy2->roc_work); in mt7615_mac_reset_work()
260 if (phy2) in mt7615_mac_reset_work()
261 clear_bit(MT76_RESET, &phy2->mt76->state); in mt7615_mac_reset_work()
291 if (phy2) in mt7615_mac_reset_work()
[all …]
A Dmac.c337 struct mt7615_phy *phy2; in mt7615_mac_fill_rx() local
356 phy2 = dev->mt76.phys[MT_BAND1] ? dev->mt76.phys[MT_BAND1]->priv : NULL; in mt7615_mac_fill_rx()
357 if (!phy2) in mt7615_mac_fill_rx()
359 else if (phy2->chfreq == phy->chfreq) in mt7615_mac_fill_rx()
363 else if (phy2->chfreq == chfreq) in mt7615_mac_fill_rx()
491 int first_chain = ffs(phy2->mt76->chainmask) - 1; in mt7615_mac_fill_rx()
497 if (phy_idx == 1 && phy2) { in mt7615_mac_fill_rx()
499 phy = phy2; in mt7615_mac_fill_rx()
/drivers/net/wireless/mediatek/mt76/mt7996/
A Dmac.c1617 if (phy2) in mt7996_mac_set_coverage_class()
1774 if (phy2) in mt7996_mac_restart()
1781 if (phy2) in mt7996_mac_restart()
1868 if (phy2) in mt7996_mac_restart()
1894 if (phy2) in mt7996_mac_full_reset()
1901 if (phy2) in mt7996_mac_full_reset()
1917 if (phy2) in mt7996_mac_full_reset()
1923 if (phy2) in mt7996_mac_full_reset()
1932 if (phy2) in mt7996_mac_full_reset()
1990 if (phy2) in mt7996_mac_reset_work()
[all …]
A Ddma.c723 struct mt76_phy *phy2 = dev->mt76.phys[MT_BAND1]; in mt7996_dma_reset() local
741 if (phy2) in mt7996_dma_reset()
742 mt76_queue_tx_cleanup(dev, phy2->q_tx[i], true); in mt7996_dma_reset()
771 if (phy2) in mt7996_dma_reset()
772 mt76_dma_reset_tx_queue(&dev->mt76, phy2->q_tx[i]); in mt7996_dma_reset()
/drivers/media/platform/ti/omap3isp/
A Dispcsiphy.c339 struct isp_csiphy *phy2 = &isp->isp_csiphy2; in omap3isp_csiphy_init() local
341 phy2->isp = isp; in omap3isp_csiphy_init()
342 phy2->csi2 = &isp->isp_csi2a; in omap3isp_csiphy_init()
343 phy2->num_data_lanes = ISP_CSIPHY2_NUM_DATA_LANES; in omap3isp_csiphy_init()
344 phy2->cfg_regs = OMAP3_ISP_IOMEM_CSI2A_REGS1; in omap3isp_csiphy_init()
345 phy2->phy_regs = OMAP3_ISP_IOMEM_CSIPHY2; in omap3isp_csiphy_init()
346 mutex_init(&phy2->mutex); in omap3isp_csiphy_init()
/drivers/phy/allwinner/
A Dphy-sun4i-usb.c282 struct sun4i_usb_phy *phy2 = &data->phys[2]; in sun4i_usb_phy_init() local
284 ret = clk_prepare_enable(phy2->clk); in sun4i_usb_phy_init()
292 ret = reset_control_deassert(phy2->reset); in sun4i_usb_phy_init()
294 clk_disable_unprepare(phy2->clk); in sun4i_usb_phy_init()
305 ret = clk_prepare_enable(phy2->clk2); in sun4i_usb_phy_init()
307 reset_control_assert(phy2->reset); in sun4i_usb_phy_init()
308 clk_disable_unprepare(phy2->clk); in sun4i_usb_phy_init()
316 val = readl(phy2->pmu + REG_HCI_PHY_CTL); in sun4i_usb_phy_init()
318 writel(val, phy2->pmu + REG_HCI_PHY_CTL); in sun4i_usb_phy_init()
390 clk_disable_unprepare(phy2->clk); in sun4i_usb_phy_exit()
[all …]
/drivers/gpio/
A Dgpio-stp-xway.c88 u8 phy2; /* 3 bits can be driven by phy2 */ member
197 chip->phy2 << XWAY_STP_PHY2_SHIFT, in xway_stp_hw_init()
216 chip->reserved = (chip->phy4 << 11) | (chip->phy3 << 8) | (chip->phy2 << 5) in xway_stp_hw_init()
281 chip->phy2 = phy & XWAY_STP_PHY_MASK; in xway_stp_probe()
/drivers/net/wireless/mediatek/mt76/mt7915/
A Dinit.c819 mt7915_init_hardware(struct mt7915_dev *dev, struct mt7915_phy *phy2) in mt7915_init_hardware() argument
828 ret = mt7915_dma_init(dev, phy2); in mt7915_init_hardware()
1213 struct mt7915_phy *phy2; in mt7915_register_device() local
1231 phy2 = mt7915_alloc_ext_phy(dev); in mt7915_register_device()
1232 if (IS_ERR(phy2)) in mt7915_register_device()
1233 return PTR_ERR(phy2); in mt7915_register_device()
1235 ret = mt7915_init_hardware(dev, phy2); in mt7915_register_device()
1254 if (phy2) { in mt7915_register_device()
1255 ret = mt7915_register_ext_phy(dev, phy2); in mt7915_register_device()
1281 if (phy2) in mt7915_register_device()
[all …]
A Dmac.c1305 struct mt7915_phy *phy2; in mt7915_mac_restart() local
1400 mt7915_init_txpower(phy2); in mt7915_mac_restart()
1418 if (phy2) in mt7915_mac_restart()
1436 struct mt7915_phy *phy2; in mt7915_mac_full_reset() local
1471 if (phy2) in mt7915_mac_full_reset()
1472 phy2->omac_mask = 0; in mt7915_mac_full_reset()
1488 struct mt7915_phy *phy2; in mt7915_mac_reset_work() local
1534 if (phy2) { in mt7915_mac_reset_work()
1570 if (phy2) in mt7915_mac_reset_work()
1602 if (phy2) in mt7915_mac_reset_work()
[all …]
A Ddma.c408 int mt7915_dma_init(struct mt7915_dev *dev, struct mt7915_phy *phy2) in mt7915_dma_init() argument
451 if (phy2) { in mt7915_dma_init()
452 ret = mt7915_init_tx_queues(phy2, in mt7915_dma_init()
453 MT_TXQ_ID(phy2->mt76->band_idx), in mt7915_dma_init()
A Dmt7915.h439 int mt7915_dma_init(struct mt7915_dev *dev, struct mt7915_phy *phy2);
/drivers/net/ethernet/broadcom/
A Dtg3.c6007 u32 phy1, phy2; in tg3_serdes_parallel_detect() local
6016 tg3_readphy(tp, MII_TG3_DSP_RW_PORT, &phy2); in tg3_serdes_parallel_detect()
6017 tg3_readphy(tp, MII_TG3_DSP_RW_PORT, &phy2); in tg3_serdes_parallel_detect()
6019 if ((phy1 & 0x10) && !(phy2 & 0x20)) { in tg3_serdes_parallel_detect()
6034 u32 phy2; in tg3_serdes_parallel_detect() local
6039 tg3_readphy(tp, MII_TG3_DSP_RW_PORT, &phy2); in tg3_serdes_parallel_detect()
6040 if (phy2 & 0x20) { in tg3_serdes_parallel_detect()
A Dbnx2.c6095 u32 phy2; in bnx2_5706_serdes_timer() local
6098 bnx2_read_phy(bp, 0x15, &phy2); in bnx2_5706_serdes_timer()
6099 if (phy2 & 0x20) { in bnx2_5706_serdes_timer()

Completed in 78 milliseconds