/freebsd/sys/contrib/device-tree/Bindings/net/dsa/ |
H A D | ocelot.txt | 49 * 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/neta/ |
H A D | if_mvneta_fdt.c | 164 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 D | if_mvnetavar.h | 269 enum mvneta_phy_mode phy_mode; member
|
/freebsd/sys/dev/dpaa2/ |
H A D | dpaa2_mc_acpi.c | 68 char phy_mode[64]; member 116 s = device_get_property(dev, "phy-mode", sc->phy_mode, in dpaa2_mac_dev_attach() 117 sizeof(sc->phy_mode), DEVICE_PROP_ANY); in dpaa2_mac_dev_attach() 126 sc->phy_mode[0] != '\0' ? sc->phy_mode : "", in dpaa2_mac_dev_attach()
|
/freebsd/sys/dev/bwi/ |
H A D | bwimac.c | 260 if (mac->mac_phy.phy_mode == IEEE80211_MODE_11A) in bwi_mac_lateattach() 534 if (mac->mac_phy.phy_mode == IEEE80211_MODE_11G) in bwi_mac_set_tpctl_11bg() 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() 705 if (mac->mac_phy.phy_mode == IEEE80211_MODE_11A) { in bwi_mac_dummy_xmit() 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() 781 if (phy->phy_mode == IEEE80211_MODE_11B && phy->phy_rev >= 2 && in bwi_mac_init_tpctl_11bg() [all …]
|
H A D | bwirf.c | 270 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() 1176 if (phy->phy_mode == IEEE80211_MODE_11A) { in bwi_rf_map_txpower() 1182 if (phy->phy_mode == IEEE80211_MODE_11G) { in bwi_rf_map_txpower() [all …]
|
H A D | bwiphy.c | 181 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 D | if_bwi.c | 457 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 D | if_bwivar.h | 355 enum ieee80211_phymode phy_mode; member
|
/freebsd/sys/dev/usb/controller/ |
H A D | musb_otg_allwinner.c | 388 int phy_mode; in awusbdrd_attach() local 399 phy_mode = PHY_USB_MODE_HOST; in awusbdrd_attach() 405 phy_mode = PHY_USB_MODE_HOST; in awusbdrd_attach() 408 phy_mode = PHY_USB_MODE_DEVICE; in awusbdrd_attach() 416 phy_mode = PHY_USB_MODE_DEVICE; in awusbdrd_attach() 449 device_printf(dev, "setting phy mode %d\n", phy_mode); in awusbdrd_attach() 457 error = phy_usb_set_mode(sc->phy, phy_mode); in awusbdrd_attach()
|
/freebsd/sys/dev/dwc/ |
H A D | if_dwc_aw.c | 80 switch(sc->phy_mode) { in a20_if_dwc_init() 92 sc->phy_mode); in a20_if_dwc_init()
|
H A D | if_dwc_rk.c | 179 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 D | if_dwcvar.h | 77 int phy_mode; member
|
H A D | if_dwc.c | 508 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 D | phy.h | 38 typedef enum phy_mode { enum
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | reg.c | 160 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 D | wmi.h | 2801 u32 phy_mode; member 4139 enum wmi_phy_mode phy_mode; member 4154 __le32 phy_mode; member
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | reg.c | 201 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 D | dp.h | 1227 u16 phy_mode; member
|
/freebsd/sys/arm64/broadcom/genet/ |
H A D | if_genet.c | 174 mii_contype_t phy_mode; member 329 switch (sc->phy_mode) in gen_attach() 399 sc->phy_mode = type; in gen_get_phy_mode() 881 switch (sc->phy_mode) in gen_init_locked() 1737 if (sc->phy_mode == MII_CONTYPE_RGMII) in gen_update_link_locked()
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | core.h | 366 u32 phy_mode; member 387 u32 phy_mode; member
|
H A D | wmi.h | 3097 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 D | wmi.c | 2320 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 D | wmi-tlv.h | 1692 __le32 phy_mode; member 1912 __le32 phy_mode; member
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76_connac_mcu.h | 223 u8 phy_mode; member 561 u8 phy_mode; member
|