Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/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()
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 …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-socfpga/
H A Dmisc_gen5.c47 const u32 phymode) in dwmac_deassert_reset() argument
65 phymode << physhift); in dwmac_deassert_reset()
71 static u32 dwmac_phymode_to_modereg(const char *phymode, u32 *modereg) in dwmac_phymode_to_modereg() argument
73 if (!phymode) in dwmac_phymode_to_modereg()
76 if (!strcmp(phymode, "mii") || !strcmp(phymode, "gmii")) { in dwmac_phymode_to_modereg()
81 if (!strcmp(phymode, "rgmii")) { in dwmac_phymode_to_modereg()
86 if (!strcmp(phymode, "rmii")) { in dwmac_phymode_to_modereg()
H A Dmisc_arria10.c48 const u32 phymode) in dwmac_deassert_reset() argument
65 phymode); in dwmac_deassert_reset()
/OK3568_Linux_fs/u-boot/arch/arm/mach-socfpga/include/mach/
H A Dmisc.h10 void dwmac_deassert_reset(const unsigned int of_reset_id, const u32 phymode);
/OK3568_Linux_fs/kernel/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()
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
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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 = MODE_11AC_VHT80; in chan_to_phymode()
[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
4137 freq, ath10k_wmi_phymode_str(phymode)); in ath10k_htt_t2h_msg_handler()
/OK3568_Linux_fs/kernel/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 = MODE_11B; in ath11k_peer_assoc_h_phymode()
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3588-vehicle-s66-v10.dtsi150 rockchip,pcie30-phymode = <PHY_MODE_PCIE_NABIBI>;
H A Drk3588-evb5-lp4.dtsi219 rockchip,pcie30-phymode = <PHY_MODE_PCIE_NANBNB>;
H A Drk3588-evb6-lp4.dtsi368 rockchip,pcie30-phymode = <PHY_MODE_PCIE_AGGREGATION>;
H A Drk3588-vehicle-evb.dtsi457 rockchip,pcie30-phymode = <PHY_MODE_PCIE_AGGREGATION>;
H A Drk3588-evb1-lp4.dtsi554 rockchip,pcie30-phymode = <PHY_MODE_PCIE_AGGREGATION>;
H A Drk3588-toybrick-edp-x0.dtsi581 rockchip,pcie30-phymode = <PHY_MODE_PCIE_AGGREGATION>;
H A Drk3588-toybrick-x0.dtsi584 rockchip,pcie30-phymode = <PHY_MODE_PCIE_NANBNB>;
H A Drk3588-evb7-lp4.dtsi623 rockchip,pcie30-phymode = <PHY_MODE_PCIE_AGGREGATION>;
H A Drk3588-evb7-v11.dtsi695 rockchip,pcie30-phymode = <PHY_MODE_PCIE_AGGREGATION>;
/OK3568_Linux_fs/kernel/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmcu.h461 u8 phymode; /* bit(0): A member
718 u8 phymode; /* not used */ member
/OK3568_Linux_fs/kernel/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() argument
2548 if (d->phy.possible_phymodes & phymode) { in find_wldev_for_phymode()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/ath6kl/
H A Dwmi.h1531 u8 phymode; member

12