/linux/drivers/usb/phy/ |
H A D | phy-am335x-control.h | 6 void (*phy_power)(struct phy_control *phy_ctrl, u32 id, 8 void (*phy_wkup)(struct phy_control *phy_ctrl, u32 id, bool on); 11 static inline void phy_ctrl_power(struct phy_control *phy_ctrl, u32 id, in phy_ctrl_power() argument 14 phy_ctrl->phy_power(phy_ctrl, id, dr_mode, on); in phy_ctrl_power() 17 static inline void phy_ctrl_wkup(struct phy_control *phy_ctrl, u32 id, bool on) in phy_ctrl_wkup() argument 19 phy_ctrl->phy_wkup(phy_ctrl, id, on); in phy_ctrl_wkup()
|
H A D | phy-am335x-control.c | 16 struct phy_control phy_ctrl; member 31 static void am335x_phy_wkup(struct phy_control *phy_ctrl, u32 id, bool on) in am335x_phy_wkup() argument 37 usb_ctrl = container_of(phy_ctrl, struct am335x_control_usb, phy_ctrl); in am335x_phy_wkup() 63 static void am335x_phy_power(struct phy_control *phy_ctrl, u32 id, in am335x_phy_power() argument 70 usb_ctrl = container_of(phy_ctrl, struct am335x_control_usb, phy_ctrl); in am335x_phy_power() 146 return &ctrl_usb->phy_ctrl; in am335x_get_phy_control() 154 const struct phy_control *phy_ctrl; in am335x_control_usb_probe() local 160 phy_ctrl in am335x_control_usb_probe() [all...] |
H A D | phy-keystone.c | 30 void __iomem *phy_ctrl; member 49 val = keystone_usbphy_readl(k_phy->phy_ctrl, USB_PHY_CTL_CLOCK); in keystone_usbphy_init() 50 keystone_usbphy_writel(k_phy->phy_ctrl, USB_PHY_CTL_CLOCK, in keystone_usbphy_init() 60 val = keystone_usbphy_readl(k_phy->phy_ctrl, USB_PHY_CTL_CLOCK); in keystone_usbphy_shutdown() 61 keystone_usbphy_writel(k_phy->phy_ctrl, USB_PHY_CTL_CLOCK, in keystone_usbphy_shutdown() 75 k_phy->phy_ctrl = devm_platform_ioremap_resource(pdev, 0); in keystone_usbphy_probe() 76 if (IS_ERR(k_phy->phy_ctrl)) in keystone_usbphy_probe() 77 return PTR_ERR(k_phy->phy_ctrl); in keystone_usbphy_probe()
|
/linux/drivers/net/ethernet/silan/ |
H A D | sc92031.c | 554 u32 phy_ctrl; in _sc92031_phy_reset() local 556 phy_ctrl = ioread32(port_base + PhyCtrl); in _sc92031_phy_reset() 557 phy_ctrl &= ~(PhyCtrlDux | PhyCtrlSpd100 | PhyCtrlSpd10); in _sc92031_phy_reset() 558 phy_ctrl |= PhyCtrlAne | PhyCtrlReset; in _sc92031_phy_reset() 563 phy_ctrl |= PhyCtrlDux | PhyCtrlSpd100 | PhyCtrlSpd10; in _sc92031_phy_reset() 566 phy_ctrl |= PhyCtrlSpd10; in _sc92031_phy_reset() 569 phy_ctrl |= PhyCtrlDux | PhyCtrlSpd10; in _sc92031_phy_reset() 572 phy_ctrl |= PhyCtrlSpd100; in _sc92031_phy_reset() 575 phy_ctrl |= PhyCtrlDux | PhyCtrlSpd100; in _sc92031_phy_reset() 579 iowrite32(phy_ctrl, port_bas in _sc92031_phy_reset() 1124 u32 phy_ctrl; sc92031_ethtool_get_link_ksettings() local 1187 u32 phy_ctrl; sc92031_ethtool_set_link_ksettings() local [all...] |
/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_phy.c | 178 u16 phy_ctrl; in pch_gbe_phy_sw_reset() local 180 pch_gbe_phy_read_reg_miic(hw, PHY_CONTROL, &phy_ctrl); in pch_gbe_phy_sw_reset() 181 phy_ctrl |= MII_CR_RESET; in pch_gbe_phy_sw_reset() 182 pch_gbe_phy_write_reg_miic(hw, PHY_CONTROL, phy_ctrl); in pch_gbe_phy_sw_reset()
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_hw.c | 784 u32 master_ctrl, mac_ctrl, phy_ctrl; in atl1c_power_saving() local 794 AT_READ_REG(hw, REG_GPHY_CTRL, &phy_ctrl); in atl1c_power_saving() 801 phy_ctrl &= ~(GPHY_CTRL_EXT_RESET | GPHY_CTRL_CLS); in atl1c_power_saving() 802 phy_ctrl |= GPHY_CTRL_SEL_ANA_RST | GPHY_CTRL_HIB_PULSE | in atl1c_power_saving() 806 phy_ctrl |= GPHY_CTRL_PHY_IDDQ | GPHY_CTRL_PWDOWN_HW; in atl1c_power_saving() 809 AT_WRITE_REG(hw, REG_GPHY_CTRL, phy_ctrl); in atl1c_power_saving() 814 phy_ctrl |= GPHY_CTRL_EXT_RESET; in atl1c_power_saving() 832 atl1c_driver_name, mac_ctrl, master_ctrl, phy_ctrl, wol_ctrl); in atl1c_power_saving() 835 AT_WRITE_REG(hw, REG_GPHY_CTRL, phy_ctrl); in atl1c_power_saving()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/ |
H A D | phy_common.c | 715 u8 phy_ctrl = 0xf0; in rtl92d_phy_config_macphymode() local 718 phy_ctrl = rtl_read_byte(rtlpriv, offset); in rtl92d_phy_config_macphymode() 719 phy_ctrl &= ~(BIT(0) | BIT(1) | BIT(2)); in rtl92d_phy_config_macphymode() 726 rtl_write_byte(rtlpriv, offset, phy_ctrl | BIT(0) | BIT(1)); in rtl92d_phy_config_macphymode() 731 rtl_write_byte(rtlpriv, offset, phy_ctrl | BIT(2)); in rtl92d_phy_config_macphymode() 736 rtl_write_byte(rtlpriv, offset, phy_ctrl | BIT(0)); in rtl92d_phy_config_macphymode()
|
/linux/drivers/net/phy/qcom/ |
H A D | qca808x.c | 389 int phy_ctrl = 0; in qca808x_config_aneg() local 403 phy_ctrl = MDIO_AN_10GBT_CTRL_ADV2_5G; in qca808x_config_aneg() 406 MDIO_AN_10GBT_CTRL_ADV2_5G, phy_ctrl); in qca808x_config_aneg()
|
/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | ich8lan.c | 3130 u32 phy_ctrl; in e1000_set_d0_lplu_state_ich8lan() local 3137 phy_ctrl = er32(PHY_CTRL); in e1000_set_d0_lplu_state_ich8lan() 3140 phy_ctrl |= E1000_PHY_CTRL_D0A_LPLU; in e1000_set_d0_lplu_state_ich8lan() 3141 ew32(PHY_CTRL, phy_ctrl); in e1000_set_d0_lplu_state_ich8lan() 3161 phy_ctrl &= ~E1000_PHY_CTRL_D0A_LPLU; in e1000_set_d0_lplu_state_ich8lan() 3162 ew32(PHY_CTRL, phy_ctrl); in e1000_set_d0_lplu_state_ich8lan() 3216 u32 phy_ctrl; in e1000_set_d3_lplu_state_ich8lan() local 3220 phy_ctrl = er32(PHY_CTRL); in e1000_set_d3_lplu_state_ich8lan() 3223 phy_ctrl &= ~E1000_PHY_CTRL_NOND0A_LPLU; in e1000_set_d3_lplu_state_ich8lan() 3224 ew32(PHY_CTRL, phy_ctrl); in e1000_set_d3_lplu_state_ich8lan() 5328 u32 phy_ctrl; e1000_kmrn_lock_loss_workaround_ich8lan() local 5497 u32 phy_ctrl; e1000_suspend_workarounds_ich8lan() local [all...] |
/linux/Documentation/devicetree/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";
|
/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_main.c | 4683 u16 phy_ctrl; in e1000_smartspeed() local 4699 e1000_read_phy_reg(hw, PHY_1000T_CTRL, &phy_ctrl); in e1000_smartspeed() 4700 if (phy_ctrl & CR_1000T_MS_ENABLE) { in e1000_smartspeed() 4701 phy_ctrl &= ~CR_1000T_MS_ENABLE; in e1000_smartspeed() 4703 phy_ctrl); in e1000_smartspeed() 4707 &phy_ctrl)) { in e1000_smartspeed() 4708 phy_ctrl |= (MII_CR_AUTO_NEG_EN | in e1000_smartspeed() 4711 phy_ctrl); in e1000_smartspeed() 4717 e1000_read_phy_reg(hw, PHY_1000T_CTRL, &phy_ctrl); in e1000_smartspeed() 4718 phy_ctrl | in e1000_smartspeed() [all...] |
/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun8i-a23.dtsi | 103 reg-names = "phy_ctrl", "pmu1";
|
H A D | suniv-f1c100s.dtsi | 154 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";
|
/linux/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v1_hw.c | 566 u32 phy_ctrl = hisi_sas_phy_read32(hisi_hba, i, PHY_CTRL); in reset_hw_v1_hw() local 568 phy_ctrl |= PHY_CTRL_RESET_MSK; in reset_hw_v1_hw() 569 hisi_sas_phy_write32(hisi_hba, i, PHY_CTRL, phy_ctrl); in reset_hw_v1_hw()
|
/linux/drivers/scsi/esas2r/ |
H A D | atioctl.h | 651 struct atto_csmi_phy_ctrl phy_ctrl; member
|
/linux/drivers/mtd/nand/raw/ |
H A D | cadence-nand-controller.c | 384 u32 phy_ctrl; member 1330 writel_relaxed(t->phy_ctrl, cdns_ctrl->reg + PHY_CTRL); in cadence_nand_set_timings() 2617 t->phy_ctrl = reg; in cadence_nand_setup_interface()
|
/linux/arch/arm64/boot/dts/allwinner/ |
H A D | sun50i-a100.dtsi | 475 reg-names = "phy_ctrl",
|
H A D | sun55i-a523.dtsi | 511 reg-names = "phy_ctrl",
|
H A D | sun50i-h616.dtsi | 732 reg-names = "phy_ctrl",
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | dm814x.dtsi | 460 reg-names = "phy_ctrl", "wakeup";
|
/linux/arch/riscv/boot/dts/allwinner/ |
H A D | sunxi-d1s-t113.dtsi | 561 reg-names = "phy_ctrl",
|
/linux/Documentation/driver-api/media/drivers/ccs/ |
H A D | ccs-regs.asc | 293 phy_ctrl 0x0808 8
|