| /freebsd-14.2/sys/arm/allwinner/ |
| H A D | aw_usbphy.c | 138 struct resource * phy_ctrl; member 231 sc->phy_ctrl = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in awusbphy_init() 233 if (sc->phy_ctrl == NULL) { in awusbphy_init() 292 val = bus_read_4(sc->phy_ctrl, PHY_CSR); in awusbphy_init() 299 bus_write_4(sc->phy_ctrl, PHY_CSR, val); in awusbphy_init() 430 val = bus_read_4(sc->phy_ctrl, PHY_CSR); in awusbphy_set_mode() 442 CLR4(sc->phy_ctrl, OTG_PHY_CFG, OTG_PHY_ROUTE_OTG); in awusbphy_set_mode() 447 SET4(sc->phy_ctrl, OTG_PHY_CFG, OTG_PHY_ROUTE_OTG); in awusbphy_set_mode() 453 bus_write_4(sc->phy_ctrl, PHY_CSR, val); in awusbphy_set_mode()
|
| /freebsd-14.2/sys/dev/igc/ |
| H A D | igc_phy.c | 474 u16 phy_ctrl; in igc_copper_link_autoneg() local 500 ret_val = phy->ops.read_reg(hw, PHY_CONTROL, &phy_ctrl); in igc_copper_link_autoneg() 504 phy_ctrl |= (MII_CR_AUTO_NEG_EN | MII_CR_RESTART_AUTO_NEG); in igc_copper_link_autoneg() 505 ret_val = phy->ops.write_reg(hw, PHY_CONTROL, phy_ctrl); in igc_copper_link_autoneg() 591 void igc_phy_force_speed_duplex_setup(struct igc_hw *hw, u16 *phy_ctrl) in igc_phy_force_speed_duplex_setup() argument 610 *phy_ctrl &= ~MII_CR_AUTO_NEG_EN; in igc_phy_force_speed_duplex_setup() 615 *phy_ctrl &= ~MII_CR_FULL_DUPLEX; in igc_phy_force_speed_duplex_setup() 619 *phy_ctrl |= MII_CR_FULL_DUPLEX; in igc_phy_force_speed_duplex_setup() 626 *phy_ctrl |= MII_CR_SPEED_100; in igc_phy_force_speed_duplex_setup() 627 *phy_ctrl &= ~MII_CR_SPEED_1000; in igc_phy_force_speed_duplex_setup() [all …]
|
| H A D | igc_phy.h | 19 void igc_phy_force_speed_duplex_setup(struct igc_hw *hw, u16 *phy_ctrl);
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/phy/ |
| H A D | allwinner,suniv-f1c100s-usb-phy.yaml | 25 const: phy_ctrl 76 reg-names = "phy_ctrl";
|
| H A D | allwinner,sun8i-v3s-usb-phy.yaml | 27 - const: phy_ctrl 81 reg-names = "phy_ctrl",
|
| H A D | allwinner,sun5i-a13-usb-phy.yaml | 27 - const: phy_ctrl 86 reg-names = "phy_ctrl", "pmu1";
|
| H A D | allwinner,sun50i-a64-usb-phy.yaml | 30 - const: phy_ctrl 95 reg-names = "phy_ctrl",
|
| H A D | allwinner,sun8i-a23-usb-phy.yaml | 29 - const: phy_ctrl 91 reg-names = "phy_ctrl", "pmu1";
|
| H A D | allwinner,sun50i-h6-usb-phy.yaml | 28 - const: phy_ctrl 93 reg-names = "phy_ctrl",
|
| H A D | allwinner,sun4i-a10-usb-phy.yaml | 30 - const: phy_ctrl 95 reg-names = "phy_ctrl", "pmu1", "pmu2";
|
| H A D | allwinner,sun8i-a83t-usb-phy.yaml | 28 - const: phy_ctrl 102 reg-names = "phy_ctrl",
|
| H A D | allwinner,sun6i-a31-usb-phy.yaml | 28 - const: phy_ctrl 100 reg-names = "phy_ctrl",
|
| H A D | allwinner,sun8i-r40-usb-phy.yaml | 29 - const: phy_ctrl 103 reg-names = "phy_ctrl",
|
| H A D | allwinner,sun8i-h3-usb-phy.yaml | 32 - const: phy_ctrl 141 reg-names = "phy_ctrl",
|
| /freebsd-14.2/sys/dev/e1000/ |
| H A D | e1000_phy.c | 1638 u16 phy_ctrl; in e1000_copper_link_autoneg() local 1664 ret_val = phy->ops.read_reg(hw, PHY_CONTROL, &phy_ctrl); in e1000_copper_link_autoneg() 1669 ret_val = phy->ops.write_reg(hw, PHY_CONTROL, phy_ctrl); in e1000_copper_link_autoneg() 2043 *phy_ctrl &= ~MII_CR_AUTO_NEG_EN; in e1000_phy_force_speed_duplex_setup() 2048 *phy_ctrl &= ~MII_CR_FULL_DUPLEX; in e1000_phy_force_speed_duplex_setup() 2052 *phy_ctrl |= MII_CR_FULL_DUPLEX; in e1000_phy_force_speed_duplex_setup() 2059 *phy_ctrl |= MII_CR_SPEED_100; in e1000_phy_force_speed_duplex_setup() 2060 *phy_ctrl &= ~MII_CR_SPEED_1000; in e1000_phy_force_speed_duplex_setup() 2064 *phy_ctrl &= ~(MII_CR_SPEED_1000 | MII_CR_SPEED_100); in e1000_phy_force_speed_duplex_setup() 2831 u16 phy_ctrl; in e1000_phy_sw_reset_generic() local [all …]
|
| H A D | e1000_ich8lan.c | 3242 u32 phy_ctrl; in e1000_set_d0_lplu_state_ich8lan() local 3254 phy_ctrl |= E1000_PHY_CTRL_D0A_LPLU; in e1000_set_d0_lplu_state_ich8lan() 3279 phy_ctrl &= ~E1000_PHY_CTRL_D0A_LPLU; in e1000_set_d0_lplu_state_ich8lan() 3338 u32 phy_ctrl; in e1000_set_d3_lplu_state_ich8lan() local 3347 phy_ctrl &= ~E1000_PHY_CTRL_NOND0A_LPLU; in e1000_set_d3_lplu_state_ich8lan() 3388 phy_ctrl |= E1000_PHY_CTRL_NOND0A_LPLU; in e1000_set_d3_lplu_state_ich8lan() 5499 u32 phy_ctrl; in e1000_kmrn_lock_loss_workaround_ich8lan() local 5537 phy_ctrl |= (E1000_PHY_CTRL_GBE_DISABLE | in e1000_kmrn_lock_loss_workaround_ich8lan() 5682 u32 phy_ctrl; in e1000_suspend_workarounds_ich8lan() local 5688 phy_ctrl |= E1000_PHY_CTRL_GBE_DISABLE; in e1000_suspend_workarounds_ich8lan() [all …]
|
| H A D | e1000_phy.h | 70 void e1000_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl);
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/usb/ |
| H A D | am33xx-usb.txt | 17 - reg-names: "phy_ctrl" for the "USB control registers" and "wakeup" for 91 reg-names = "phy_ctrl", "wakeup";
|
| /freebsd-14.2/sys/dev/bwi/ |
| H A D | if_bwi.c | 2917 uint16_t phy_ctrl; in bwi_encap() local 3008 phy_ctrl = __SHIFTIN(mac->mac_rf.rf_ant_mode, in bwi_encap() 3011 phy_ctrl |= BWI_TXH_PHY_C_OFDM; in bwi_encap() 3013 phy_ctrl |= BWI_TXH_PHY_C_SHPREAMBLE; in bwi_encap() 3022 hdr->txh_phy_ctrl = htole16(phy_ctrl); in bwi_encap() 3107 uint16_t phy_ctrl; in bwi_encap_raw() local 3190 phy_ctrl = __SHIFTIN(mac->mac_rf.rf_ant_mode, in bwi_encap_raw() 3193 phy_ctrl |= BWI_TXH_PHY_C_OFDM; in bwi_encap_raw() 3196 phy_ctrl |= BWI_TXH_PHY_C_SHPREAMBLE; in bwi_encap_raw() 3199 hdr->txh_phy_ctrl = htole16(phy_ctrl); in bwi_encap_raw()
|
| /freebsd-14.2/sys/contrib/device-tree/src/arm/ |
| H A D | sun8i-a23.dtsi | 103 reg-names = "phy_ctrl", "pmu1";
|
| H A D | suniv-f1c100s.dtsi | 153 reg-names = "phy_ctrl";
|
| H A D | sun8i-a33.dtsi | 431 reg-names = "phy_ctrl", "pmu1";
|
| H A D | sun8i-v3s.dtsi | 312 reg-names = "phy_ctrl",
|
| H A D | dm814x.dtsi | 460 reg-names = "phy_ctrl", "wakeup";
|
| /freebsd-14.2/sys/contrib/device-tree/src/arm64/allwinner/ |
| H A D | sun50i-h616.dtsi | 528 reg-names = "phy_ctrl",
|