/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | pci_mac.c | 202 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 del_timer_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() 289 if (phy2) in mt7615_mac_reset_work() [all...] |
H A D | mac.c | 340 struct mt7615_phy *phy2; in mt7615_mac_fill_rx() local 359 phy2 = dev->mt76.phys[MT_BAND1] ? dev->mt76.phys[MT_BAND1]->priv : NULL; in mt7615_mac_fill_rx() 360 if (!phy2) in mt7615_mac_fill_rx() 362 else if (phy2->chfreq == phy->chfreq) in mt7615_mac_fill_rx() 366 else if (phy2->chfreq == chfreq) in mt7615_mac_fill_rx() 498 int first_chain = ffs(phy2->mt76->chainmask) - 1; in mt7615_mac_fill_rx() 504 if (phy_idx == 1 && phy2) { in mt7615_mac_fill_rx() 506 phy = phy2; in mt7615_mac_fill_rx()
|
/kernel/linux/linux-5.10/drivers/staging/media/omap4iss/ |
H A D | iss_csiphy.c | 258 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()
|
/kernel/linux/linux-6.6/drivers/staging/media/omap4iss/ |
H A D | iss_csiphy.c | 258 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | mac.c | 1069 struct mt76_phy *phy2 = mdev->phys[MT_BAND1]; in mt7996_mac_tx_free() local 1082 if (phy2) { in mt7996_mac_tx_free() 1083 mt76_queue_tx_cleanup(dev, phy2->q_tx[MT_TXQ_PSD], false); in mt7996_mac_tx_free() 1084 mt76_queue_tx_cleanup(dev, phy2->q_tx[MT_TXQ_BE], false); in mt7996_mac_tx_free() 1446 struct mt7996_phy *phy2 = mt7996_phy2(dev); in mt7996_mac_set_coverage_class() local 1459 if (phy2) in mt7996_mac_set_coverage_class() 1461 phy2->coverage_class); in mt7996_mac_set_coverage_class() 1555 struct mt76_phy *phy2, *phy3; in mt7996_update_beacons() local 1561 phy2 = dev->mt76.phys[MT_BAND1]; in mt7996_update_beacons() 1562 if (!phy2) in mt7996_update_beacons() 1595 struct mt7996_phy *phy2, *phy3; mt7996_mac_restart() local 1723 struct mt7996_phy *phy2, *phy3; mt7996_mac_full_reset() local 1781 struct mt7996_phy *phy2, *phy3; mt7996_mac_reset_work() local [all...] |
H A D | dma.c | 372 struct mt76_phy *phy2 = dev->mt76.phys[MT_BAND1]; in mt7996_dma_reset() local 390 if (phy2) in mt7996_dma_reset() 391 mt76_queue_tx_cleanup(dev, phy2->q_tx[i], true); in mt7996_dma_reset() 413 if (phy2) in mt7996_dma_reset() 414 mt76_queue_reset(dev, phy2->q_tx[i]); in mt7996_dma_reset()
|
/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/ |
H A D | ispcsiphy.c | 329 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()
|
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap3isp/ |
H A D | ispcsiphy.c | 339 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | mac.c | 92 if (dev->mt76.phy2) in mt7615_mac_reset_counters() 93 dev->mt76.phy2->survey_time = ktime_get_boottime(); in mt7615_mac_reset_counters() 228 struct mt7615_phy *phy2 = dev->mt76.phy2 ? dev->mt76.phy2->priv : NULL; in mt7615_mac_fill_rx() local 244 if (!phy2) in mt7615_mac_fill_rx() 246 else if (phy2->chfreq == phy->chfreq) in mt7615_mac_fill_rx() 250 else if (phy2->chfreq == chfreq) in mt7615_mac_fill_rx() 329 int first_chain = ffs(phy2->chainmask) - 1; in mt7615_mac_fill_rx() 335 if (phy_idx == 1 && phy2) { in mt7615_mac_fill_rx() 2118 struct mt7615_phy *phy2; mt7615_mac_reset_work() local [all...] |
H A D | pci_mac.c | 153 if ((info->hw_queue & MT_TX_HW_QUEUE_EXT_PHY) && mdev->phy2) in mt7615_tx_prepare_skb() 154 phy = mdev->phy2->priv; in mt7615_tx_prepare_skb()
|
H A D | testmode.c | 153 if (dev->mt76.phy2) in mt7615_tm_init() 154 mt7615_tm_init_phy(dev, dev->mt76.phy2->priv); in mt7615_tm_init()
|
H A D | mcu.c | 441 if (r->idx && dev->mt76.phy2) in mt7615_mcu_rx_radar_detected() 442 mphy = dev->mt76.phy2; in mt7615_mcu_rx_radar_detected() 499 if (*seq_num & BIT(7) && dev->mt76.phy2) in mt7615_mcu_scan_event() 500 mphy = dev->mt76.phy2; in mt7615_mcu_scan_event() 525 if (event->dbdc_band && dev->mt76.phy2) in mt7615_mcu_roc_event() 526 mphy = dev->mt76.phy2; in mt7615_mcu_roc_event() 565 if (band_idx && dev->mt76.phy2) in mt7615_mcu_beacon_loss_event() 566 mphy = dev->mt76.phy2; in mt7615_mcu_beacon_loss_event() 585 if (band_idx && dev->mt76.phy2) in mt7615_mcu_bss_event() 586 mphy = dev->mt76.phy2; in mt7615_mcu_bss_event() [all...] |
/kernel/linux/linux-6.6/drivers/phy/allwinner/ |
H A D | phy-sun4i-usb.c | 283 struct sun4i_usb_phy *phy2 = &data->phys[2]; in sun4i_usb_phy_init() local 285 ret = clk_prepare_enable(phy2->clk); in sun4i_usb_phy_init() 293 ret = reset_control_deassert(phy2->reset); in sun4i_usb_phy_init() 295 clk_disable_unprepare(phy2->clk); in sun4i_usb_phy_init() 306 ret = clk_prepare_enable(phy2->clk2); in sun4i_usb_phy_init() 308 reset_control_assert(phy2->reset); in sun4i_usb_phy_init() 309 clk_disable_unprepare(phy2->clk); in sun4i_usb_phy_init() 316 if (phy2->pmu && data->cfg->hci_phy_ctl_clear) { in sun4i_usb_phy_init() 317 val = readl(phy2->pmu + REG_HCI_PHY_CTL); in sun4i_usb_phy_init() 319 writel(val, phy2 in sun4i_usb_phy_init() 389 struct sun4i_usb_phy *phy2 = &data->phys[2]; sun4i_usb_phy_exit() local [all...] |
/kernel/linux/linux-5.10/net/ieee802154/ |
H A D | nl-phy.c | 297 struct wpan_phy *phy2; in ieee802154_del_iface() local 306 phy2 = wpan_phy_find(pname); in ieee802154_del_iface() 307 if (!phy2) in ieee802154_del_iface() 310 if (phy != phy2) { in ieee802154_del_iface() 311 wpan_phy_put(phy2); in ieee802154_del_iface()
|
/kernel/linux/linux-6.6/net/ieee802154/ |
H A D | nl-phy.c | 297 struct wpan_phy *phy2; in ieee802154_del_iface() local 306 phy2 = wpan_phy_find(pname); in ieee802154_del_iface() 307 if (!phy2) in ieee802154_del_iface() 310 if (phy != phy2) { in ieee802154_del_iface() 311 wpan_phy_put(phy2); in ieee802154_del_iface()
|
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-stp-xway.c | 87 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() 279 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy2", &phy)) in xway_stp_probe() 280 chip->phy2 = phy & XWAY_STP_PHY_MASK; in xway_stp_probe()
|
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpio-stp-xway.c | 88 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() 280 if (!of_property_read_u32(pdev->dev.of_node, "lantiq,phy2", &phy)) in xway_stp_probe() 281 chip->phy2 = phy & XWAY_STP_PHY_MASK; in xway_stp_probe()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mac.c | 330 mphy = dev->mt76.phy2; in mt7915_mac_fill_rx() 589 if (ext_phy && dev->mt76.phy2) in mt7915_mac_write_txwi() 590 mphy = dev->mt76.phy2; in mt7915_mac_write_txwi() 1008 dev->mt76.phy2->survey_time = ktime_get_boottime(); in mt7915_mac_reset_counters() 1118 if (mdev->phy2) in mt7915_update_channel() 1119 mt7915_phy_update_channel(mdev->phy2, 1); in mt7915_update_channel() 1123 if (mdev->phy2) in mt7915_update_channel() 1156 if (!dev->mt76.phy2) in mt7915_update_beacons() 1159 ieee80211_iterate_active_interfaces(dev->mt76.phy2->hw, in mt7915_update_beacons() 1161 mt7915_update_vif_beacon, dev->mt76.phy2 in mt7915_update_beacons() 1194 struct mt7915_phy *phy2; mt7915_mac_reset_work() local [all...] |
H A D | debugfs.c | 352 if (dev->mt76.phy2) { in mt7915_read_rate_txpower() 353 mphy = dev->mt76.phy2; in mt7915_read_rate_txpower()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | init.c | 785 mt7915_init_hardware(struct mt7915_dev *dev, struct mt7915_phy *phy2) in mt7915_init_hardware() argument 794 ret = mt7915_dma_init(dev, phy2); in mt7915_init_hardware() 1179 struct mt7915_phy *phy2; in mt7915_register_device() local 1197 phy2 = mt7915_alloc_ext_phy(dev); in mt7915_register_device() 1198 if (IS_ERR(phy2)) in mt7915_register_device() 1199 return PTR_ERR(phy2); in mt7915_register_device() 1201 ret = mt7915_init_hardware(dev, phy2); in mt7915_register_device() 1222 if (phy2) { in mt7915_register_device() 1223 ret = mt7915_register_ext_phy(dev, phy2); in mt7915_register_device() 1247 if (phy2) in mt7915_register_device() [all...] |
H A D | dma.c | 406 int mt7915_dma_init(struct mt7915_dev *dev, struct mt7915_phy *phy2) in mt7915_dma_init() argument 449 if (phy2) { in mt7915_dma_init() 450 ret = mt7915_init_tx_queues(phy2, in mt7915_dma_init() 451 MT_TXQ_ID(phy2->mt76->band_idx), in mt7915_dma_init()
|
H A D | mac.c | 1315 struct mt7915_phy *phy2; in mt7915_mac_restart() local 1321 phy2 = ext_phy ? ext_phy->priv : NULL; in mt7915_mac_restart() 1423 if (phy2) in mt7915_mac_restart() 1424 clear_bit(MT76_RESET, &phy2->mt76->state); in mt7915_mac_restart() 1485 struct mt7915_phy *phy2; in mt7915_mac_reset_work() local 1492 phy2 = ext_phy ? ext_phy->priv : NULL; in mt7915_mac_reset_work() 1537 if (phy2) { in mt7915_mac_reset_work() 1538 set_bit(MT76_RESET, &phy2->mt76->state); in mt7915_mac_reset_work() 1539 cancel_delayed_work_sync(&phy2->mt76->mac_work); in mt7915_mac_reset_work() 1568 if (phy2) in mt7915_mac_reset_work() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76.h | 577 struct mt76_phy *phy2; member 719 return dev->phy2->hw; in mt76_wcid_hw() 786 if (phy_ext && dev->phy2) in mt76_dev_phy() 787 return dev->phy2; in mt76_dev_phy() 999 if ((info->hw_queue & MT_TX_HW_QUEUE_EXT_PHY) && dev->phy2) in mt76_tx_status_get_hw() 1000 hw = dev->phy2->hw; in mt76_tx_status_get_hw()
|
H A D | mac80211.c | 390 phy->dev->phy2 = phy; in mt76_register_phy() 400 dev->phy2 = NULL; in mt76_unregister_phy() 594 if (dev->phy2) in mt76_update_survey() 595 mt76_update_survey_active_time(dev->phy2, cur_time); in mt76_update_survey()
|
H A D | tx.c | 532 if (dev->phy2) in mt76_tx_worker() 533 mt76_txq_schedule_all(dev->phy2); in mt76_tx_worker()
|