Home
last modified time | relevance | path

Searched refs:phymode (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-socfpga.c238 static int socfpga_set_phy_mode_common(int phymode, u32 *val) in socfpga_set_phy_mode_common() argument
240 switch (phymode) { in socfpga_set_phy_mode_common()
264 int phymode = socfpga_get_plat_phymode(dwmac); in socfpga_gen5_set_phy_mode() local
269 if (socfpga_set_phy_mode_common(phymode, &val)) { in socfpga_gen5_set_phy_mode()
270 dev_err(dwmac->dev, "bad phy mode %d\n", phymode); in socfpga_gen5_set_phy_mode()
290 phymode == PHY_INTERFACE_MODE_MII || in socfpga_gen5_set_phy_mode()
291 phymode == PHY_INTERFACE_MODE_GMII || in socfpga_gen5_set_phy_mode()
292 phymode == PHY_INTERFACE_MODE_SGMII) { in socfpga_gen5_set_phy_mode()
313 if (phymode == PHY_INTERFACE_MODE_SGMII) { in socfpga_gen5_set_phy_mode()
326 int phymode = socfpga_get_plat_phymode(dwmac); in socfpga_gen10_set_phy_mode() local
[all …]
/kernel/linux/linux-5.10/drivers/net/usb/
Dsr9800.h189 u8 phymode; member
Dasix_devices.c887 data->phymode = PHY_MODE_MARVELL; in ax88178_reset()
891 data->phymode = le16_to_cpu(eeprom) & 0x7F; in ax88178_reset()
895 netdev_dbg(dev->net, "GPIO0: %d, PhyMode: %d\n", gpio0, data->phymode); in ax88178_reset()
925 if (data->phymode == PHY_MODE_MARVELL) { in ax88178_reset()
928 } else if (data->phymode == PHY_MODE_RTL8211CL) in ax88178_reset()
987 if (data->phymode == PHY_MODE_MARVELL && data->ledmode) in ax88178_link_reset()
Dasix.h163 u8 phymode; member
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dar9003_phy.c622 u32 phymode; in ar9003_hw_set_channel_regs() local
629 phymode = AR_PHY_GC_HT_EN | AR_PHY_GC_SHORT_GI_40 | enableDacFifo; in ar9003_hw_set_channel_regs()
632 phymode |= AR_PHY_GC_SINGLE_HT_LTF1; in ar9003_hw_set_channel_regs()
636 phymode |= AR_PHY_GC_DYN2040_EN; in ar9003_hw_set_channel_regs()
639 phymode |= AR_PHY_GC_DYN2040_PRI_CH; in ar9003_hw_set_channel_regs()
644 phymode |= REG_READ(ah, AR_PHY_GEN_CTRL); in ar9003_hw_set_channel_regs()
646 phymode &= ~AR_PHY_GC_GF_DETECT_EN; in ar9003_hw_set_channel_regs()
648 REG_WRITE(ah, AR_PHY_GEN_CTRL, phymode); in ar9003_hw_set_channel_regs()
Dar5008_phy.c700 u32 phymode; in ar5008_hw_set_channel_regs() local
707 phymode = AR_PHY_FC_HT_EN | AR_PHY_FC_SHORT_GI_40 in ar5008_hw_set_channel_regs()
711 phymode |= AR_PHY_FC_DYN2040_EN; in ar5008_hw_set_channel_regs()
714 phymode |= AR_PHY_FC_DYN2040_PRI_CH; in ar5008_hw_set_channel_regs()
718 REG_WRITE(ah, AR_PHY_TURBO, phymode); in ar5008_hw_set_channel_regs()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dmac.c554 enum wmi_phy_mode phymode = MODE_UNKNOWN; in chan_to_phymode() local
561 phymode = MODE_11B; in chan_to_phymode()
563 phymode = MODE_11G; in chan_to_phymode()
566 phymode = MODE_11NG_HT20; in chan_to_phymode()
569 phymode = MODE_11NG_HT40; in chan_to_phymode()
572 phymode = MODE_UNKNOWN; in chan_to_phymode()
579 phymode = MODE_11A; in chan_to_phymode()
582 phymode = MODE_11NA_HT20; in chan_to_phymode()
585 phymode = MODE_11NA_HT40; in chan_to_phymode()
588 phymode = MODE_11AC_VHT80; in chan_to_phymode()
[all …]
Dhtt.h1739 __le32 phymode; member
Dhtt_rx.c4131 u32 phymode = __le32_to_cpu(resp->chan_change.phymode); in ath10k_htt_t2h_msg_handler() local
4137 freq, ath10k_wmi_phymode_str(phymode)); in ath10k_htt_t2h_msg_handler()
Dwmi.h5124 u32 phymode; member
Dwmi-tlv.c4432 .phymode = WMI_TLV_PEER_PHYMODE,
Dwmi.c755 .phymode = WMI_PEER_PHYMODE,
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Dmac.c1580 enum wmi_phy_mode phymode = MODE_UNKNOWN; in ath11k_peer_assoc_h_phymode() local
1593 phymode = MODE_11AX_HE80_2G; in ath11k_peer_assoc_h_phymode()
1595 phymode = MODE_11AX_HE40_2G; in ath11k_peer_assoc_h_phymode()
1597 phymode = MODE_11AX_HE20_2G; in ath11k_peer_assoc_h_phymode()
1601 phymode = MODE_11AC_VHT40; in ath11k_peer_assoc_h_phymode()
1603 phymode = MODE_11AC_VHT20; in ath11k_peer_assoc_h_phymode()
1607 phymode = MODE_11NG_HT40; in ath11k_peer_assoc_h_phymode()
1609 phymode = MODE_11NG_HT20; in ath11k_peer_assoc_h_phymode()
1611 phymode = MODE_11G; in ath11k_peer_assoc_h_phymode()
1613 phymode = MODE_11B; in ath11k_peer_assoc_h_phymode()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Dmcu.h461 u8 phymode; /* bit(0): A member
718 u8 phymode; /* not used */ member
Dmcu.c1642 .phymode = 0x38, in mt7615_mcu_uni_add_bss()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
Dmain.c2527 static const char *phymode_to_string(unsigned int phymode) in phymode_to_string() argument
2529 switch (phymode) { in phymode_to_string()
2541 unsigned int phymode, in find_wldev_for_phymode() argument
2548 if (d->phy.possible_phymodes & phymode) { in find_wldev_for_phymode()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
Dwmi.h1531 u8 phymode; member