Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/neta/
H A Dif_mvneta_fdt.c159 sc->phy_mode = MVNETA_PHY_RGMII_ID; in mvneta_fdt_phy_acquire()
161 sc->phy_mode = MVNETA_PHY_RGMII; in mvneta_fdt_phy_acquire()
163 sc->phy_mode = MVNETA_PHY_SGMII; in mvneta_fdt_phy_acquire()
165 sc->phy_mode = MVNETA_PHY_QSGMII; in mvneta_fdt_phy_acquire()
167 sc->phy_mode = MVNETA_PHY_SGMII; in mvneta_fdt_phy_acquire()
H A Dif_mvnetavar.h269 enum mvneta_phy_mode phy_mode; member
H A Dif_mvneta.c785 if (sc->phy_mode != MVNETA_PHY_SGMII && in mvneta_attach()
786 sc->phy_mode != MVNETA_PHY_QSGMII) { in mvneta_attach()
1167 switch (sc->phy_mode) { in mvneta_initreg()
/freebsd-13.1/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-13.1/sys/dev/bwi/
H A Dbwimac.c262 if (mac->mac_phy.phy_mode == IEEE80211_MODE_11A) in bwi_mac_lateattach()
622 if (phy->phy_mode == IEEE80211_MODE_11A) { in bwi_mac_setup_tpctl()
648 if (phy->phy_mode == IEEE80211_MODE_11G) { in bwi_mac_setup_tpctl()
661 if (phy->phy_mode == IEEE80211_MODE_11G) { in bwi_mac_setup_tpctl()
766 KASSERT(phy->phy_mode != IEEE80211_MODE_11A, in bwi_mac_init_tpctl_11bg()
767 ("phy_mode %d", phy->phy_mode)); in bwi_mac_init_tpctl_11bg()
775 if (phy->phy_mode == IEEE80211_MODE_11G) { in bwi_mac_init_tpctl_11bg()
1314 if (phy->phy_mode == IEEE80211_MODE_11A) in bwi_mac_hostflags_init()
1320 if (phy->phy_mode == IEEE80211_MODE_11G) { in bwi_mac_hostflags_init()
1366 if (phy->phy_mode == IEEE80211_MODE_11B) { in bwi_mac_bss_param_init()
[all …]
H A Dbwirf.c272 switch (phy->phy_mode) { in bwi_rf_attach()
783 if (phy->phy_mode == IEEE80211_MODE_11B) { in bwi_rf_init_bcm2050()
835 if (phy->phy_mode == IEEE80211_MODE_11B) in bwi_rf_init_bcm2050()
989 if (phy->phy_mode == IEEE80211_MODE_11B) { in bwi_rf_init_bcm2050()
1098 if (phy->phy_mode == IEEE80211_MODE_11A) { in bwi_rf_map_txpower()
1106 phy->phy_mode == IEEE80211_MODE_11G) in bwi_rf_map_txpower()
1122 if (phy->phy_mode == IEEE80211_MODE_11A) in bwi_rf_map_txpower()
1163 if (phy->phy_mode == IEEE80211_MODE_11A) in bwi_rf_map_txpower()
1214 if (phy->phy_mode == IEEE80211_MODE_11A) in bwi_rf_map_txpower()
2304 if (phy->phy_mode == IEEE80211_MODE_11B) { in bwi_rf_set_ant_mode()
[all …]
H A Dbwiphy.c183 phy->phy_mode = IEEE80211_MODE_11A; in bwi_phy_attach()
200 phy->phy_mode = IEEE80211_MODE_11B; in bwi_phy_attach()
209 phy->phy_mode = IEEE80211_MODE_11G; in bwi_phy_attach()
255 if (phy->phy_mode == IEEE80211_MODE_11G && phy->phy_rev == 1) { in bwi_phy_calibrate()
671 if (phy->phy_mode == IEEE80211_MODE_11G) { in bwi_phy_init_11b_rev6()
729 if (phy->phy_mode == IEEE80211_MODE_11B) { in bwi_phy_init_11b_rev6()
H A Dif_bwi.c459 if (phy->phy_mode == IEEE80211_MODE_11B || in bwi_attach()
460 phy->phy_mode == IEEE80211_MODE_11G) { in bwi_attach()
461 if (phy->phy_mode == IEEE80211_MODE_11B) { in bwi_attach()
476 } else if (phy->phy_mode == IEEE80211_MODE_11A) { in bwi_attach()
481 panic("unknown phymode %d\n", phy->phy_mode); in bwi_attach()
1263 if (mac->mac_phy.phy_mode == IEEE80211_MODE_11G) in bwi_init_statechg()
1701 switch (phy->phy_mode) { in bwi_getradiocaps()
1714 panic("unknown phymode %d\n", phy->phy_mode); in bwi_getradiocaps()
H A Dif_bwivar.h356 enum ieee80211_phymode phy_mode; member
/freebsd-13.1/sys/dev/usb/controller/
H A Dmusb_otg_allwinner.c391 int phy_mode; in awusbdrd_attach() local
402 phy_mode = PHY_USB_MODE_HOST; in awusbdrd_attach()
408 phy_mode = PHY_USB_MODE_HOST; in awusbdrd_attach()
411 phy_mode = PHY_USB_MODE_DEVICE; in awusbdrd_attach()
419 phy_mode = PHY_USB_MODE_DEVICE; in awusbdrd_attach()
452 device_printf(dev, "setting phy mode %d\n", phy_mode); in awusbdrd_attach()
460 error = phy_usb_set_mode(sc->phy, phy_mode); in awusbdrd_attach()
/freebsd-13.1/sys/arm64/rockchip/
H A Dif_dwc_rk.c178 if (sc->base.phy_mode != PHY_MODE_RGMII) in rk3328_set_delays()
212 switch (sc->base.phy_mode) { in rk3328_set_speed()
262 switch (sc->base.phy_mode) { in rk3328_set_phy_mode()
289 if (sc->base.phy_mode != PHY_MODE_RGMII) in rk3399_set_delays()
432 if (sc->base.phy_mode == PHY_MODE_RGMII) { in if_dwc_rk_init_clocks()
459 if (sc->base.phy_mode == PHY_MODE_RMII) { in if_dwc_rk_init_clocks()
/freebsd-13.1/sys/dev/dwc/
H A Dif_dwcvar.h78 int phy_mode; member
H A Dif_dwc.c1582 sc->phy_mode = PHY_MODE_RGMII; in dwc_attach()
1585 sc->phy_mode = PHY_MODE_RMII; in dwc_attach()
1588 sc->phy_mode = PHY_MODE_MII; in dwc_attach()
/freebsd-13.1/sys/arm64/broadcom/genet/
H A Dif_genet.c179 mii_contype_t phy_mode; member
334 switch (sc->phy_mode) in gen_attach()
407 sc->phy_mode = type; in gen_get_phy_mode()
825 switch (sc->phy_mode) in gen_init_locked()
1675 if (sc->phy_mode == MII_CONTYPE_RGMII) in gen_update_link_locked()