Home
last modified time | relevance | path

Searched refs:phy_mode (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/sys/dev/neta/
H A Dif_mvneta_fdt.c164 sc->phy_mode = MVNETA_PHY_RGMII_ID; in mvneta_fdt_phy_acquire()
166 sc->phy_mode = MVNETA_PHY_RGMII; in mvneta_fdt_phy_acquire()
168 sc->phy_mode = MVNETA_PHY_SGMII; in mvneta_fdt_phy_acquire()
170 sc->phy_mode = MVNETA_PHY_QSGMII; in mvneta_fdt_phy_acquire()
172 sc->phy_mode = MVNETA_PHY_SGMII; in mvneta_fdt_phy_acquire()
H A Dif_mvnetavar.h269 enum mvneta_phy_mode phy_mode; member
/freebsd/sys/contrib/device-tree/Bindings/net/dsa/
H A Docelot.txt49 * phy_mode = "internal": on ports 4 and 5
50 * phy_mode = "sgmii": on ports 0, 1, 2, 3
51 * phy_mode = "qsgmii": on ports 0, 1, 2, 3
52 * phy_mode = "usxgmii": on ports 0, 1, 2, 3
53 * phy_mode = "2500base-x": on ports 0, 1, 2, 3
132 * phy_mode = "internal": on ports 8 and 9
133 * phy_mode = "sgmii": on ports 0, 1, 2, 3, 4, 5, 6, 7
134 * phy_mode = "qsgmii": on ports 0, 1, 2, 3, 4, 5, 6, 7
/freebsd/sys/dev/dpaa2/
H A Ddpaa2_mc_acpi.c64 char phy_mode[64]; member
112 s = device_get_property(dev, "phy-mode", sc->phy_mode, in dpaa2_mac_dev_attach()
113 sizeof(sc->phy_mode), DEVICE_PROP_ANY); in dpaa2_mac_dev_attach()
122 sc->phy_mode[0] != '\0' ? sc->phy_mode : "", in dpaa2_mac_dev_attach()
/freebsd/sys/dev/bwi/
H A Dbwimac.c260 if (mac->mac_phy.phy_mode == IEEE80211_MODE_11A) in bwi_mac_lateattach()
620 if (phy->phy_mode == IEEE80211_MODE_11A) { in bwi_mac_setup_tpctl()
646 if (phy->phy_mode == IEEE80211_MODE_11G) { in bwi_mac_setup_tpctl()
659 if (phy->phy_mode == IEEE80211_MODE_11G) { in bwi_mac_setup_tpctl()
764 KASSERT(phy->phy_mode != IEEE80211_MODE_11A, in bwi_mac_init_tpctl_11bg()
765 ("phy_mode %d", phy->phy_mode)); in bwi_mac_init_tpctl_11bg()
773 if (phy->phy_mode == IEEE80211_MODE_11G) { in bwi_mac_init_tpctl_11bg()
1312 if (phy->phy_mode == IEEE80211_MODE_11A) in bwi_mac_hostflags_init()
1318 if (phy->phy_mode == IEEE80211_MODE_11G) { in bwi_mac_hostflags_init()
1364 if (phy->phy_mode == IEEE80211_MODE_11B) { in bwi_mac_bss_param_init()
[all …]
H A Dbwirf.c270 switch (phy->phy_mode) { in bwi_rf_attach()
781 if (phy->phy_mode == IEEE80211_MODE_11B) { in bwi_rf_init_bcm2050()
833 if (phy->phy_mode == IEEE80211_MODE_11B) in bwi_rf_init_bcm2050()
987 if (phy->phy_mode == IEEE80211_MODE_11B) { in bwi_rf_init_bcm2050()
1096 if (phy->phy_mode == IEEE80211_MODE_11A) { in bwi_rf_map_txpower()
1104 phy->phy_mode == IEEE80211_MODE_11G) in bwi_rf_map_txpower()
1120 if (phy->phy_mode == IEEE80211_MODE_11A) in bwi_rf_map_txpower()
1161 if (phy->phy_mode == IEEE80211_MODE_11A) in bwi_rf_map_txpower()
1212 if (phy->phy_mode == IEEE80211_MODE_11A) in bwi_rf_map_txpower()
2302 if (phy->phy_mode == IEEE80211_MODE_11B) { in bwi_rf_set_ant_mode()
[all …]
H A Dbwiphy.c181 phy->phy_mode = IEEE80211_MODE_11A; in bwi_phy_attach()
198 phy->phy_mode = IEEE80211_MODE_11B; in bwi_phy_attach()
207 phy->phy_mode = IEEE80211_MODE_11G; in bwi_phy_attach()
253 if (phy->phy_mode == IEEE80211_MODE_11G && phy->phy_rev == 1) { in bwi_phy_calibrate()
669 if (phy->phy_mode == IEEE80211_MODE_11G) { in bwi_phy_init_11b_rev6()
727 if (phy->phy_mode == IEEE80211_MODE_11B) { in bwi_phy_init_11b_rev6()
H A Dif_bwi.c457 if (phy->phy_mode == IEEE80211_MODE_11B || in bwi_attach()
458 phy->phy_mode == IEEE80211_MODE_11G) { in bwi_attach()
459 if (phy->phy_mode == IEEE80211_MODE_11B) { in bwi_attach()
474 } else if (phy->phy_mode == IEEE80211_MODE_11A) { in bwi_attach()
479 panic("unknown phymode %d\n", phy->phy_mode); in bwi_attach()
1261 if (mac->mac_phy.phy_mode == IEEE80211_MODE_11G) in bwi_init_statechg()
1696 switch (phy->phy_mode) { in bwi_getradiocaps()
1709 panic("unknown phymode %d\n", phy->phy_mode); in bwi_getradiocaps()
H A Dif_bwivar.h355 enum ieee80211_phymode phy_mode; member
/freebsd/sys/dev/usb/controller/
H A Dmusb_otg_allwinner.c387 int phy_mode; in awusbdrd_attach() local
398 phy_mode = PHY_USB_MODE_HOST; in awusbdrd_attach()
404 phy_mode = PHY_USB_MODE_HOST; in awusbdrd_attach()
407 phy_mode = PHY_USB_MODE_DEVICE; in awusbdrd_attach()
415 phy_mode = PHY_USB_MODE_DEVICE; in awusbdrd_attach()
448 device_printf(dev, "setting phy mode %d\n", phy_mode); in awusbdrd_attach()
456 error = phy_usb_set_mode(sc->phy, phy_mode); in awusbdrd_attach()
/freebsd/sys/dev/dwc/
H A Dif_dwc_aw.c80 switch(sc->phy_mode) { in a20_if_dwc_init()
92 sc->phy_mode); in a20_if_dwc_init()
H A Dif_dwc_rk.c179 if (!mii_contype_is_rgmii(sc->base.phy_mode)) in rk3328_set_delays()
213 switch (sc->base.phy_mode) { in rk3328_set_speed()
266 switch (sc->base.phy_mode) { in rk3328_set_phy_mode()
296 if (!mii_contype_is_rgmii(sc->base.phy_mode)) in rk3399_set_delays()
426 if (sc->base.phy_mode == MII_CONTYPE_RMII) { in if_dwc_rk_init_clocks()
458 if (sc->base.phy_mode == MII_CONTYPE_RMII) { in if_dwc_rk_init_clocks()
H A Dif_dwcvar.h77 int phy_mode; member
H A Dif_dwc.c508 sc->phy_mode = mii_fdt_get_contype(sc->node); in dwc_attach()
509 switch (sc->phy_mode) { in dwc_attach()
/freebsd/sys/dev/phy/
H A Dphy.h38 typedef enum phy_mode { enum
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dreg.c201 ch->phy_mode = MODE_11G; in ath11k_reg_update_chan_list()
203 ch->phy_mode = MODE_11A; in ath11k_reg_update_chan_list()
213 ch->antennamax, ch->phy_mode); in ath11k_reg_update_chan_list()
H A Ddp.h1227 u16 phy_mode; member
/freebsd/sys/contrib/dev/athk/ath12k/
H A Dreg.c160 ch->phy_mode = MODE_11G; in ath12k_reg_update_chan_list()
162 ch->phy_mode = MODE_11A; in ath12k_reg_update_chan_list()
172 ch->antennamax, ch->phy_mode); in ath12k_reg_update_chan_list()
H A Dwmi.h2801 u32 phy_mode; member
4139 enum wmi_phy_mode phy_mode; member
4154 __le32 phy_mode; member
/freebsd/sys/arm64/broadcom/genet/
H A Dif_genet.c174 mii_contype_t phy_mode; member
329 switch (sc->phy_mode) in gen_attach()
402 sc->phy_mode = type; in gen_get_phy_mode()
884 switch (sc->phy_mode) in gen_init_locked()
1736 if (sc->phy_mode == MII_CONTYPE_RGMII) in gen_update_link_locked()
/freebsd/sys/contrib/dev/athk/ath10k/
H A Dcore.h366 u32 phy_mode; member
387 u32 phy_mode; member
H A Dwmi.h3097 u8 phy_mode; /* valid for 10.2 only */ member
3402 __le32 phy_mode; member
3427 __le32 phy_mode; member
4184 __le32 phy_mode; member
4213 __le32 phy_mode; member
6832 __le32 phy_mode; member
H A Dwmi.c2320 arg->phy_mode = ev_hdr->phy_mode; in ath10k_wmi_op_pull_mgmt_rx_ev()
2364 arg->phy_mode = ev_hdr->phy_mode; in ath10k_wmi_10_4_op_pull_mgmt_rx_ev()
2514 u32 phy_mode; in ath10k_wmi_event_mgmt_rx() local
2530 phy_mode = __le32_to_cpu(arg.phy_mode); in ath10k_wmi_event_mgmt_rx()
2570 if (phy_mode == MODE_11B && status->band == NL80211_BAND_5GHZ) in ath10k_wmi_event_mgmt_rx()
4963 tpc_stats->phy_mode = __le32_to_cpu(ev->phy_mode); in ath10k_wmi_event_pdev_tpc_config()
4989 __le32_to_cpu(ev->phy_mode), in ath10k_wmi_event_pdev_tpc_config()
5219 tpc_stats->phy_mode = __le32_to_cpu(ev->phy_mode); in ath10k_wmi_event_tpc_final_table()
5245 __le32_to_cpu(ev->phy_mode), in ath10k_wmi_event_tpc_final_table()
H A Dwmi-tlv.h1692 __le32 phy_mode; member
1912 __le32 phy_mode; member
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76_connac_mcu.h223 u8 phy_mode; member
561 u8 phy_mode; member

12