Home
last modified time | relevance | path

Searched refs:phymode (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
H A 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()
274 /* Overwrite val to GMII if splitter core is enabled. The phymode here 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 in socfpga_gen5_set_phy_mode()
326 int phymode = socfpga_get_plat_phymode(dwmac); socfpga_gen10_set_phy_mode() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-socfpga.c249 static int socfpga_set_phy_mode_common(int phymode, u32 *val) in socfpga_set_phy_mode_common() argument
251 switch (phymode) { in socfpga_set_phy_mode_common()
275 int phymode = socfpga_get_plat_phymode(dwmac); in socfpga_gen5_set_phy_mode() local
280 if (socfpga_set_phy_mode_common(phymode, &val)) { in socfpga_gen5_set_phy_mode()
281 dev_err(dwmac->dev, "bad phy mode %d\n", phymode); in socfpga_gen5_set_phy_mode()
285 /* Overwrite val to GMII if splitter core is enabled. The phymode here in socfpga_gen5_set_phy_mode()
301 phymode == PHY_INTERFACE_MODE_MII || in socfpga_gen5_set_phy_mode()
302 phymode == PHY_INTERFACE_MODE_GMII || in socfpga_gen5_set_phy_mode()
303 phymode == PHY_INTERFACE_MODE_SGMII) { in socfpga_gen5_set_phy_mode()
324 if (phymode in socfpga_gen5_set_phy_mode()
333 int phymode = socfpga_get_plat_phymode(dwmac); socfpga_gen10_set_phy_mode() local
[all...]
/kernel/linux/linux-5.10/drivers/net/usb/
H A 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()
905 netdev_dbg(dev->net, "gpio phymode == 1 path\n"); 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()
H A Dsr9800.h189 u8 phymode; member
H A Dasix.h163 u8 phymode; member
/kernel/linux/linux-6.6/drivers/net/usb/
H A Dsr9800.h189 u8 phymode; member
H A Dasix_devices.c1082 data->phymode = PHY_MODE_MARVELL; in ax88178_reset()
1086 data->phymode = le16_to_cpu(eeprom) & 0x7F; in ax88178_reset()
1090 netdev_dbg(dev->net, "GPIO0: %d, PhyMode: %d\n", gpio0, data->phymode); in ax88178_reset()
1100 netdev_dbg(dev->net, "gpio phymode == 1 path\n"); in ax88178_reset()
1120 if (data->phymode == PHY_MODE_MARVELL) { in ax88178_reset()
1123 } else if (data->phymode == PHY_MODE_RTL8211CL) in ax88178_reset()
1182 if (data->phymode == PHY_MODE_MARVELL && data->ledmode) in ax88178_link_reset()
H A Dasix.h167 u8 phymode; member
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A 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()
H A 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-6.6/drivers/net/wireless/ath/ath9k/
H A Dar9003_phy.c613 u32 phymode; in ar9003_hw_set_channel_regs() local
620 phymode = AR_PHY_GC_HT_EN | AR_PHY_GC_SHORT_GI_40 | enableDacFifo; in ar9003_hw_set_channel_regs()
623 phymode |= AR_PHY_GC_SINGLE_HT_LTF1; in ar9003_hw_set_channel_regs()
627 phymode |= AR_PHY_GC_DYN2040_EN; in ar9003_hw_set_channel_regs()
630 phymode |= AR_PHY_GC_DYN2040_PRI_CH; in ar9003_hw_set_channel_regs()
635 phymode |= REG_READ(ah, AR_PHY_GEN_CTRL); in ar9003_hw_set_channel_regs()
637 phymode &= ~AR_PHY_GC_GF_DETECT_EN; in ar9003_hw_set_channel_regs()
639 REG_WRITE(ah, AR_PHY_GEN_CTRL, phymode); in ar9003_hw_set_channel_regs()
H A Dar5008_phy.c691 u32 phymode; in ar5008_hw_set_channel_regs() local
698 phymode = AR_PHY_FC_HT_EN | AR_PHY_FC_SHORT_GI_40 in ar5008_hw_set_channel_regs()
702 phymode |= AR_PHY_FC_DYN2040_EN; in ar5008_hw_set_channel_regs()
705 phymode |= AR_PHY_FC_DYN2040_PRI_CH; in ar5008_hw_set_channel_regs()
709 REG_WRITE(ah, AR_PHY_TURBO, phymode); in ar5008_hw_set_channel_regs()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A 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 in chan_to_phymode()
2723 enum wmi_phy_mode phymode = MODE_UNKNOWN; ath10k_peer_assoc_h_phymode() local
[all...]
H A Dhtt.h1739 __le32 phymode; member
H A Dhtt_rx.c4131 u32 phymode = __le32_to_cpu(resp->chan_change.phymode); in ath10k_htt_t2h_msg_handler() local
4136 "htt chan change freq %u phymode %s\n", in ath10k_htt_t2h_msg_handler()
4137 freq, ath10k_wmi_phymode_str(phymode)); in ath10k_htt_t2h_msg_handler()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
H A Dmac.c565 enum wmi_phy_mode phymode = MODE_UNKNOWN; in chan_to_phymode() local
572 phymode = MODE_11B; in chan_to_phymode()
574 phymode = MODE_11G; in chan_to_phymode()
577 phymode = MODE_11NG_HT20; in chan_to_phymode()
580 phymode = MODE_11NG_HT40; in chan_to_phymode()
583 phymode = MODE_UNKNOWN; in chan_to_phymode()
590 phymode = MODE_11A; in chan_to_phymode()
593 phymode = MODE_11NA_HT20; in chan_to_phymode()
596 phymode = MODE_11NA_HT40; in chan_to_phymode()
599 phymode in chan_to_phymode()
2738 enum wmi_phy_mode phymode = MODE_UNKNOWN; ath10k_peer_assoc_h_phymode() local
[all...]
H A Dhtt_rx.c4258 u32 phymode = __le32_to_cpu(resp->chan_change.phymode); in ath10k_htt_t2h_msg_handler() local
4263 "htt chan change freq %u phymode %s\n", in ath10k_htt_t2h_msg_handler()
4264 freq, ath10k_wmi_phymode_str(phymode)); in ath10k_htt_t2h_msg_handler()
H A Dhtt.h1629 __le32 phymode; member
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/
H A Dmac.c1999 enum wmi_phy_mode phymode = MODE_UNKNOWN; in ath12k_peer_assoc_h_phymode() local
2012 phymode = MODE_11BE_EHT40_2G; in ath12k_peer_assoc_h_phymode()
2014 phymode = MODE_11BE_EHT20_2G; in ath12k_peer_assoc_h_phymode()
2017 phymode = MODE_11AX_HE80_2G; in ath12k_peer_assoc_h_phymode()
2019 phymode = MODE_11AX_HE40_2G; in ath12k_peer_assoc_h_phymode()
2021 phymode = MODE_11AX_HE20_2G; in ath12k_peer_assoc_h_phymode()
2025 phymode = MODE_11AC_VHT40; in ath12k_peer_assoc_h_phymode()
2027 phymode = MODE_11AC_VHT20; in ath12k_peer_assoc_h_phymode()
2031 phymode = MODE_11NG_HT40; in ath12k_peer_assoc_h_phymode()
2033 phymode in ath12k_peer_assoc_h_phymode()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
H A 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 in ath11k_peer_assoc_h_phymode()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmcu.h461 u8 phymode; /* bit(0): A member
718 u8 phymode; /* not used */ member
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H A Dmac.c2760 enum wmi_phy_mode phymode = MODE_UNKNOWN; in ath11k_peer_assoc_h_phymode() local
2775 phymode = MODE_11AX_HE80_2G; in ath11k_peer_assoc_h_phymode()
2777 phymode = MODE_11AX_HE40_2G; in ath11k_peer_assoc_h_phymode()
2779 phymode = MODE_11AX_HE20_2G; in ath11k_peer_assoc_h_phymode()
2783 phymode = MODE_11AC_VHT40; in ath11k_peer_assoc_h_phymode()
2785 phymode = MODE_11AC_VHT20; in ath11k_peer_assoc_h_phymode()
2789 phymode = MODE_11NG_HT40; in ath11k_peer_assoc_h_phymode()
2791 phymode = MODE_11NG_HT20; in ath11k_peer_assoc_h_phymode()
2793 phymode = MODE_11G; in ath11k_peer_assoc_h_phymode()
2795 phymode in ath11k_peer_assoc_h_phymode()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/
H A 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()
2548 if (d->phy.possible_phymodes & phymode) { in find_wldev_for_phymode()
2540 find_wldev_for_phymode(struct b43legacy_wl *wl, unsigned int phymode, struct b43legacy_wldev **dev, bool *gmode) find_wldev_for_phymode() argument
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43legacy/
H A Dmain.c2528 static const char *phymode_to_string(unsigned int phymode) in phymode_to_string() argument
2530 switch (phymode) { in phymode_to_string()
2542 unsigned int phymode, in find_wldev_for_phymode()
2549 if (d->phy.possible_phymodes & phymode) { in find_wldev_for_phymode()
2541 find_wldev_for_phymode(struct b43legacy_wl *wl, unsigned int phymode, struct b43legacy_wldev **dev, bool *gmode) find_wldev_for_phymode() argument
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
H A Dwmi.h1531 u8 phymode; member

Completed in 78 milliseconds

12