Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-socfpga.c239 static int socfpga_set_phy_mode_common(int phymode, u32 *val) in socfpga_set_phy_mode_common() argument
241 switch (phymode) { in socfpga_set_phy_mode_common()
263 int phymode = socfpga_get_plat_phymode(dwmac); in socfpga_gen5_set_phy_mode() local
268 if (socfpga_set_phy_mode_common(phymode, &val)) { in socfpga_gen5_set_phy_mode()
269 dev_err(dwmac->dev, "bad phy mode %d\n", phymode); in socfpga_gen5_set_phy_mode()
289 phymode == PHY_INTERFACE_MODE_MII || in socfpga_gen5_set_phy_mode()
290 phymode == PHY_INTERFACE_MODE_GMII || in socfpga_gen5_set_phy_mode()
291 phymode == PHY_INTERFACE_MODE_SGMII) { in socfpga_gen5_set_phy_mode()
309 if (phymode == PHY_INTERFACE_MODE_SGMII) { in socfpga_gen5_set_phy_mode()
322 int phymode = socfpga_get_plat_phymode(dwmac); in socfpga_gen10_set_phy_mode() local
[all …]
/Linux-v5.4/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
/Linux-v5.4/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.c671 u32 phymode; in ar5008_hw_set_channel_regs() local
678 phymode = AR_PHY_FC_HT_EN | AR_PHY_FC_SHORT_GI_40 in ar5008_hw_set_channel_regs()
682 phymode |= AR_PHY_FC_DYN2040_EN; in ar5008_hw_set_channel_regs()
685 phymode |= AR_PHY_FC_DYN2040_PRI_CH; in ar5008_hw_set_channel_regs()
689 REG_WRITE(ah, AR_PHY_TURBO, phymode); in ar5008_hw_set_channel_regs()
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dmac.c552 enum wmi_phy_mode phymode = MODE_UNKNOWN; in chan_to_phymode() local
559 phymode = MODE_11B; in chan_to_phymode()
561 phymode = MODE_11G; in chan_to_phymode()
564 phymode = MODE_11NG_HT20; in chan_to_phymode()
567 phymode = MODE_11NG_HT40; in chan_to_phymode()
574 phymode = MODE_UNKNOWN; in chan_to_phymode()
581 phymode = MODE_11A; in chan_to_phymode()
584 phymode = MODE_11NA_HT20; in chan_to_phymode()
587 phymode = MODE_11NA_HT40; in chan_to_phymode()
590 phymode = MODE_11AC_VHT80; in chan_to_phymode()
[all …]
Dhtt.h1728 __le32 phymode; member
Dhtt_rx.c3883 u32 phymode = __le32_to_cpu(resp->chan_change.phymode); in ath10k_htt_t2h_msg_handler() local
3889 freq, ath10k_wmi_phymode_str(phymode)); in ath10k_htt_t2h_msg_handler()
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7615/
Dmcu.h182 u8 phymode; /* not used */ member
/Linux-v5.4/drivers/net/wireless/broadcom/b43legacy/
Dmain.c2525 static const char *phymode_to_string(unsigned int phymode) in phymode_to_string() argument
2527 switch (phymode) { in phymode_to_string()
2539 unsigned int phymode, in find_wldev_for_phymode() argument
2546 if (d->phy.possible_phymodes & phymode) { in find_wldev_for_phymode()
/Linux-v5.4/drivers/net/wireless/ath/ath6kl/
Dwmi.h1531 u8 phymode; member