Home
last modified time | relevance | path

Searched refs:phy_ctrl (Results 1 – 21 of 21) sorted by relevance

/freebsd-12.1/sys/arm/allwinner/
H A Daw_usbphy.c134 struct resource * phy_ctrl; member
224 sc->phy_ctrl = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in awusbphy_init()
226 if (sc->phy_ctrl == NULL) { in awusbphy_init()
400 val = bus_read_4(sc->phy_ctrl, PHY_CSR); in awusbphy_set_mode()
407 bus_write_4(sc->phy_ctrl, PHY_CSR, val); in awusbphy_set_mode()
413 CLR4(sc->phy_ctrl, OTG_PHY_CFG, in awusbphy_set_mode()
416 SET4(sc->phy_ctrl, OTG_PHY_CFG, in awusbphy_set_mode()
/freebsd-12.1/sys/dev/e1000/
H A De1000_phy.c1629 u16 phy_ctrl; in e1000_copper_link_autoneg() local
1655 ret_val = phy->ops.read_reg(hw, PHY_CONTROL, &phy_ctrl); in e1000_copper_link_autoneg()
1660 ret_val = phy->ops.write_reg(hw, PHY_CONTROL, phy_ctrl); in e1000_copper_link_autoneg()
2034 *phy_ctrl &= ~MII_CR_AUTO_NEG_EN; in e1000_phy_force_speed_duplex_setup()
2039 *phy_ctrl &= ~MII_CR_FULL_DUPLEX; in e1000_phy_force_speed_duplex_setup()
2043 *phy_ctrl |= MII_CR_FULL_DUPLEX; in e1000_phy_force_speed_duplex_setup()
2050 *phy_ctrl |= MII_CR_SPEED_100; in e1000_phy_force_speed_duplex_setup()
2051 *phy_ctrl &= ~MII_CR_SPEED_1000; in e1000_phy_force_speed_duplex_setup()
2055 *phy_ctrl &= ~(MII_CR_SPEED_1000 | MII_CR_SPEED_100); in e1000_phy_force_speed_duplex_setup()
2822 u16 phy_ctrl; in e1000_phy_sw_reset_generic() local
[all …]
H A De1000_ich8lan.c3214 u32 phy_ctrl; in e1000_set_d0_lplu_state_ich8lan() local
3226 phy_ctrl |= E1000_PHY_CTRL_D0A_LPLU; in e1000_set_d0_lplu_state_ich8lan()
3251 phy_ctrl &= ~E1000_PHY_CTRL_D0A_LPLU; in e1000_set_d0_lplu_state_ich8lan()
3310 u32 phy_ctrl; in e1000_set_d3_lplu_state_ich8lan() local
3319 phy_ctrl &= ~E1000_PHY_CTRL_NOND0A_LPLU; in e1000_set_d3_lplu_state_ich8lan()
3360 phy_ctrl |= E1000_PHY_CTRL_NOND0A_LPLU; in e1000_set_d3_lplu_state_ich8lan()
5444 u32 phy_ctrl; in e1000_kmrn_lock_loss_workaround_ich8lan() local
5482 phy_ctrl |= (E1000_PHY_CTRL_GBE_DISABLE | in e1000_kmrn_lock_loss_workaround_ich8lan()
5627 u32 phy_ctrl; in e1000_suspend_workarounds_ich8lan() local
5633 phy_ctrl |= E1000_PHY_CTRL_GBE_DISABLE; in e1000_suspend_workarounds_ich8lan()
[all …]
H A De1000_phy.h71 void e1000_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl);
/freebsd-12.1/sys/dev/bwi/
H A Dif_bwi.c2928 uint16_t phy_ctrl; in bwi_encap() local
3019 phy_ctrl = __SHIFTIN(mac->mac_rf.rf_ant_mode, in bwi_encap()
3022 phy_ctrl |= BWI_TXH_PHY_C_OFDM; in bwi_encap()
3024 phy_ctrl |= BWI_TXH_PHY_C_SHPREAMBLE; in bwi_encap()
3033 hdr->txh_phy_ctrl = htole16(phy_ctrl); in bwi_encap()
3118 uint16_t phy_ctrl; in bwi_encap_raw() local
3201 phy_ctrl = __SHIFTIN(mac->mac_rf.rf_ant_mode, in bwi_encap_raw()
3204 phy_ctrl |= BWI_TXH_PHY_C_OFDM; in bwi_encap_raw()
3207 phy_ctrl |= BWI_TXH_PHY_C_SHPREAMBLE; in bwi_encap_raw()
3210 hdr->txh_phy_ctrl = htole16(phy_ctrl); in bwi_encap_raw()
/freebsd-12.1/sys/gnu/dts/arm/
H A Dsun8i-a23.dtsi103 reg-names = "phy_ctrl", "pmu1";
H A Dam33xx.dtsi259 reg-names = "phy_ctrl", "wakeup";
H A Dsun8i-v3s.dtsi259 reg-names = "phy_ctrl",
H A Dsun8i-a33.dtsi436 reg-names = "phy_ctrl", "pmu1";
H A Ddm814x.dtsi427 reg-names = "phy_ctrl", "wakeup";
H A Dsun5i.dtsi375 reg-names = "phy_ctrl", "pmu1";
H A Dsun8i-r40.dtsi249 reg-names = "phy_ctrl",
H A Dsunxi-h3-h5.dtsi250 reg-names = "phy_ctrl",
H A Dsun8i-a83t.dtsi568 reg-names = "phy_ctrl",
H A Dsun4i-a10.dtsi504 reg-names = "phy_ctrl", "pmu1", "pmu2";
H A Dsun6i-a31.dtsi519 reg-names = "phy_ctrl",
H A Dsun7i-a20.dtsi596 reg-names = "phy_ctrl", "pmu1", "pmu2";
/freebsd-12.1/sys/gnu/dts/arm64/allwinner/
H A Dsun50i-h6.dtsi381 reg-names = "phy_ctrl",
H A Dsun50i-a64.dtsi478 reg-names = "phy_ctrl",
/freebsd-12.1/sys/contrib/octeon-sdk/
H A Dcvmx-pciercx-defs.h5763 uint32_t phy_ctrl : 32; /**< PHY Control */ member
5765 uint32_t phy_ctrl : 32;
H A Dcvmx-pcieepx-defs.h6065 uint32_t phy_ctrl : 32; /**< PHY Control */ member
6067 uint32_t phy_ctrl : 32;