Home
last modified time | relevance | path

Searched refs:comphy_base (Results 1 – 2 of 2) sorted by relevance

/external/arm-trusted-firmware/drivers/marvell/comphy/
Dphy-comphy-cp110.c88 uint64_t comphy_base) in mvebu_cp110_get_ap_and_cp_nr() argument
93 *ap_nr = (((comphy_base & ~0xffffff) - MVEBU_AP_IO_BASE(0)) / in mvebu_cp110_get_ap_and_cp_nr()
97 *cp_nr = (((comphy_base & ~0xffffff) - MVEBU_AP_IO_BASE(*ap_nr)) / in mvebu_cp110_get_ap_and_cp_nr()
101 comphy_base, (unsigned long)MVEBU_AP_IO_BASE(*ap_nr), in mvebu_cp110_get_ap_and_cp_nr()
106 static void mvebu_cp110_comphy_clr_pipe_selector(uint64_t comphy_base, in mvebu_cp110_comphy_clr_pipe_selector() argument
114 reg = mmio_read_32(comphy_base + COMMON_SELECTOR_PIPE_REG_OFFSET); in mvebu_cp110_comphy_clr_pipe_selector()
119 mmio_write_32(comphy_base + COMMON_SELECTOR_PIPE_REG_OFFSET, in mvebu_cp110_comphy_clr_pipe_selector()
125 static void mvebu_cp110_comphy_clr_phy_selector(uint64_t comphy_base, in mvebu_cp110_comphy_clr_phy_selector() argument
133 reg = mmio_read_32(comphy_base + COMMON_SELECTOR_PHY_REG_OFFSET); in mvebu_cp110_comphy_clr_phy_selector()
143 mmio_write_32(comphy_base + COMMON_SELECTOR_PHY_REG_OFFSET, in mvebu_cp110_comphy_clr_phy_selector()
[all …]
Dphy-comphy-cp110.h88 int mvebu_cp110_comphy_is_pll_locked(uint64_t comphy_base,
90 int mvebu_cp110_comphy_power_off(uint64_t comphy_base,
92 int mvebu_cp110_comphy_power_on(uint64_t comphy_base,
94 int mvebu_cp110_comphy_xfi_rx_training(uint64_t comphy_base,
96 int mvebu_cp110_comphy_digital_reset(uint64_t comphy_base, uint8_t comphy_index,