Searched refs:phy2 (Results 1 - 15 of 15) sorted by relevance

/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dpci_mac.c202 struct mt7615_phy *phy2; local
210 phy2 = ext_phy ? ext_phy->priv : NULL;
225 if (phy2) {
226 set_bit(MT76_RESET, &phy2->mt76->state);
227 cancel_delayed_work_sync(&phy2->mt76->mac_work);
228 del_timer_sync(&phy2->roc_timer);
229 cancel_work_sync(&phy2->roc_work);
260 if (phy2)
261 clear_bit(MT76_RESET, &phy2->mt76->state);
289 if (phy2)
[all...]
H A Dmac.c340 struct mt7615_phy *phy2; local
359 phy2 = dev->mt76.phys[MT_BAND1] ? dev->mt76.phys[MT_BAND1]->priv : NULL;
360 if (!phy2)
362 else if (phy2->chfreq == phy->chfreq)
366 else if (phy2->chfreq == chfreq)
498 int first_chain = ffs(phy2->mt76->chainmask) - 1;
504 if (phy_idx == 1 && phy2) {
506 phy = phy2;
/linux-master/drivers/staging/media/omap4iss/
H A Diss_csiphy.c258 struct iss_csiphy *phy2 = &iss->csiphy2; local
268 phy2->iss = iss;
269 phy2->csi2 = &iss->csi2b;
270 phy2->max_data_lanes = ISS_CSIPHY2_NUM_DATA_LANES;
271 phy2->used_data_lanes = 0;
272 phy2->cfg_regs = OMAP4_ISS_MEM_CSI2_B_REGS1;
273 phy2->phy_regs = OMAP4_ISS_MEM_CAMERARX_CORE2;
274 mutex_init(&phy2->mutex);
/linux-master/drivers/media/platform/ti/omap3isp/
H A Dispcsiphy.c339 struct isp_csiphy *phy2 = &isp->isp_csiphy2; local
341 phy2->isp = isp;
342 phy2->csi2 = &isp->isp_csi2a;
343 phy2->num_data_lanes = ISP_CSIPHY2_NUM_DATA_LANES;
344 phy2->cfg_regs = OMAP3_ISP_IOMEM_CSI2A_REGS1;
345 phy2->phy_regs = OMAP3_ISP_IOMEM_CSIPHY2;
346 mutex_init(&phy2->mutex);
/linux-master/net/ieee802154/
H A Dnl-phy.c297 struct wpan_phy *phy2; local
306 phy2 = wpan_phy_find(pname);
307 if (!phy2)
310 if (phy != phy2) {
311 wpan_phy_put(phy2);
/linux-master/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmac.c1084 struct mt76_phy *phy2 = mdev->phys[MT_BAND1]; local
1098 if (phy2) {
1099 mt76_queue_tx_cleanup(dev, phy2->q_tx[MT_TXQ_PSD], false);
1100 mt76_queue_tx_cleanup(dev, phy2->q_tx[MT_TXQ_BE], false);
1488 struct mt7996_phy *phy2 = mt7996_phy2(dev); local
1501 if (phy2)
1503 phy2->coverage_class);
1597 struct mt76_phy *phy2, *phy3; local
1603 phy2 = dev->mt76.phys[MT_BAND1];
1604 if (!phy2)
1637 struct mt7996_phy *phy2, *phy3; local
1773 struct mt7996_phy *phy2, *phy3; local
1832 struct mt7996_phy *phy2, *phy3; local
[all...]
H A Ddma.c655 struct mt76_phy *phy2 = dev->mt76.phys[MT_BAND1]; local
673 if (phy2)
674 mt76_queue_tx_cleanup(dev, phy2->q_tx[i], true);
703 if (phy2)
704 mt76_dma_reset_tx_queue(&dev->mt76, phy2->q_tx[i]);
/linux-master/drivers/phy/allwinner/
H A Dphy-sun4i-usb.c283 struct sun4i_usb_phy *phy2 = &data->phys[2]; local
285 ret = clk_prepare_enable(phy2->clk);
293 ret = reset_control_deassert(phy2->reset);
295 clk_disable_unprepare(phy2->clk);
306 ret = clk_prepare_enable(phy2->clk2);
308 reset_control_assert(phy2->reset);
309 clk_disable_unprepare(phy2->clk);
316 if (phy2->pmu && data->cfg->hci_phy_ctl_clear) {
317 val = readl(phy2->pmu + REG_HCI_PHY_CTL);
319 writel(val, phy2
389 struct sun4i_usb_phy *phy2 = &data->phys[2]; local
[all...]
/linux-master/drivers/gpio/
H A Dgpio-stp-xway.c88 u8 phy2; /* 3 bits can be driven by phy2 */ member in struct:xway_stp
197 chip->phy2 << XWAY_STP_PHY2_SHIFT,
216 chip->reserved = (chip->phy4 << 11) | (chip->phy3 << 8) | (chip->phy2 << 5)
280 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy2", &phy))
281 chip->phy2 = phy & XWAY_STP_PHY_MASK;
/linux-master/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dinit.c803 mt7915_init_hardware(struct mt7915_dev *dev, struct mt7915_phy *phy2) argument
812 ret = mt7915_dma_init(dev, phy2);
1194 struct mt7915_phy *phy2; local
1212 phy2 = mt7915_alloc_ext_phy(dev);
1213 if (IS_ERR(phy2))
1214 return PTR_ERR(phy2);
1216 ret = mt7915_init_hardware(dev, phy2);
1237 if (phy2) {
1238 ret = mt7915_register_ext_phy(dev, phy2);
1262 if (phy2)
[all...]
H A Ddma.c408 int mt7915_dma_init(struct mt7915_dev *dev, struct mt7915_phy *phy2) argument
451 if (phy2) {
452 ret = mt7915_init_tx_queues(phy2,
453 MT_TXQ_ID(phy2->mt76->band_idx),
H A Dmac.c1315 struct mt7915_phy *phy2; local
1321 phy2 = ext_phy ? ext_phy->priv : NULL;
1405 mt7915_init_txpower(phy2);
1423 if (phy2)
1424 clear_bit(MT76_RESET, &phy2->mt76->state);
1485 struct mt7915_phy *phy2; local
1492 phy2 = ext_phy ? ext_phy->priv : NULL;
1531 if (phy2) {
1532 set_bit(MT76_RESET, &phy2->mt76->state);
1533 cancel_delayed_work_sync(&phy2
[all...]
H A Dmt7915.h423 int mt7915_dma_init(struct mt7915_dev *dev, struct mt7915_phy *phy2);
/linux-master/drivers/net/ethernet/broadcom/
H A Dtg3.c6006 u32 phy1, phy2; local
6015 tg3_readphy(tp, MII_TG3_DSP_RW_PORT, &phy2);
6016 tg3_readphy(tp, MII_TG3_DSP_RW_PORT, &phy2);
6018 if ((phy1 & 0x10) && !(phy2 & 0x20)) {
6033 u32 phy2; local
6038 tg3_readphy(tp, MII_TG3_DSP_RW_PORT, &phy2);
6039 if (phy2 & 0x20) {
H A Dbnx2.c6095 u32 phy2; local
6098 bnx2_read_phy(bp, 0x15, &phy2);
6099 if (phy2 & 0x20) {

Completed in 369 milliseconds