/freebsd/sys/arm/allwinner/ |
H A D | aw_usbphy.c | 146 struct resource * phy_ctrl; member 239 sc->phy_ctrl = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in awusbphy_init() 241 if (sc->phy_ctrl == NULL) { in awusbphy_init() 300 val = bus_read_4(sc->phy_ctrl, PHY_CSR); in awusbphy_init() 307 bus_write_4(sc->phy_ctrl, PHY_CSR, val); in awusbphy_init() 438 val = bus_read_4(sc->phy_ctrl, PHY_CSR); in awusbphy_set_mode() 450 CLR4(sc->phy_ctrl, OTG_PHY_CFG, OTG_PHY_ROUTE_OTG); in awusbphy_set_mode() 455 SET4(sc->phy_ctrl, OTG_PHY_CFG, OTG_PHY_ROUTE_OTG); in awusbphy_set_mode() 461 bus_write_4(sc->phy_ctrl, PHY_CSR, val); in awusbphy_set_mode()
|
/freebsd/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/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() 1668 phy_ctrl |= (MII_CR_AUTO_NEG_EN | MII_CR_RESTART_AUTO_NEG); in e1000_copper_link_autoneg() 1669 ret_val = phy->ops.write_reg(hw, PHY_CONTROL, phy_ctrl); in e1000_copper_link_autoneg() 2024 void e1000_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl) in e1000_phy_force_speed_duplex_setup() argument 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() [all …]
|
H A D | e1000_ich8lan.c | 3242 u32 phy_ctrl; in e1000_set_d0_lplu_state_ich8lan() local 3251 phy_ctrl = E1000_READ_REG(hw, E1000_PHY_CTRL); in e1000_set_d0_lplu_state_ich8lan() 3254 phy_ctrl |= E1000_PHY_CTRL_D0A_LPLU; in e1000_set_d0_lplu_state_ich8lan() 3255 E1000_WRITE_REG(hw, E1000_PHY_CTRL, phy_ctrl); in e1000_set_d0_lplu_state_ich8lan() 3279 phy_ctrl &= ~E1000_PHY_CTRL_D0A_LPLU; in e1000_set_d0_lplu_state_ich8lan() 3280 E1000_WRITE_REG(hw, E1000_PHY_CTRL, phy_ctrl); in e1000_set_d0_lplu_state_ich8lan() 3338 u32 phy_ctrl; in e1000_set_d3_lplu_state_ich8lan() local 3344 phy_ctrl = E1000_READ_REG(hw, E1000_PHY_CTRL); in e1000_set_d3_lplu_state_ich8lan() 3347 phy_ctrl &= ~E1000_PHY_CTRL_NOND0A_LPLU; in e1000_set_d3_lplu_state_ich8lan() 3348 E1000_WRITE_REG(hw, E1000_PHY_CTRL, phy_ctrl); in e1000_set_d3_lplu_state_ich8lan() [all …]
|
H A D | e1000_phy.h | 70 void e1000_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl);
|
/freebsd/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/sys/dev/bwi/ |
H A D | if_bwi.c | 2917 uint16_t phy_ctrl; in bwi_encap() local 3003 phy_ctrl = __SHIFTIN(mac->mac_rf.rf_ant_mode, in bwi_encap() 3006 phy_ctrl |= BWI_TXH_PHY_C_OFDM; in bwi_encap() 3008 phy_ctrl |= BWI_TXH_PHY_C_SHPREAMBLE; in bwi_encap() 3017 hdr->txh_phy_ctrl = htole16(phy_ctrl); in bwi_encap() 3102 uint16_t phy_ctrl; in bwi_encap_raw() local 3185 phy_ctrl = __SHIFTIN(mac->mac_rf.rf_ant_mode, in bwi_encap_raw() 3188 phy_ctrl |= BWI_TXH_PHY_C_OFDM; in bwi_encap_raw() 3191 phy_ctrl |= BWI_TXH_PHY_C_SHPREAMBLE; in bwi_encap_raw() 3194 hdr->txh_phy_ctrl = htole16(phy_ctrl); in bwi_encap_raw()
|
/freebsd/sys/contrib/device-tree/src/arm/allwinner/ |
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 | sun5i.dtsi | 383 reg-names = "phy_ctrl", "pmu1";
|
H A D | sunxi-h3-h5.dtsi | 274 reg-names = "phy_ctrl",
|
H A D | sun4i-a10.dtsi | 506 reg-names = "phy_ctrl", "pmu1", "pmu2";
|
H A D | sun8i-a83t.dtsi | 643 reg-names = "phy_ctrl",
|
H A D | sun8i-r40.dtsi | 413 reg-names = "phy_ctrl",
|
H A D | sun6i-a31.dtsi | 527 reg-names = "phy_ctrl",
|
H A D | sun7i-a20.dtsi | 610 reg-names = "phy_ctrl", "pmu1", "pmu2";
|
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
H A D | dm814x.dtsi | 460 reg-names = "phy_ctrl", "wakeup";
|
H A D | am33xx-l4.dtsi | 333 reg-names = "phy_ctrl", "wakeup";
|
/freebsd/sys/contrib/device-tree/src/riscv/allwinner/ |
H A D | sunxi-d1s-t113.dtsi | 561 reg-names = "phy_ctrl",
|
/freebsd/sys/contrib/device-tree/src/arm64/allwinner/ |
H A D | sun50i-h616.dtsi | 703 reg-names = "phy_ctrl",
|
H A D | sun50i-h6.dtsi | 720 reg-names = "phy_ctrl",
|
H A D | sun50i-a64.dtsi | 630 reg-names = "phy_ctrl",
|