Home
last modified time | relevance | path

Searched refs:comphy_index (Results 1 – 6 of 6) sorted by relevance

/trusted-firmware-a-latest/drivers/marvell/comphy/
Dphy-comphy-3700.c121 static int mvebu_a3700_comphy_set_phy_selector(uint8_t comphy_index, in mvebu_a3700_comphy_set_phy_selector() argument
131 if (comphy_index == COMPHY_LANE2) in mvebu_a3700_comphy_set_phy_selector()
139 if (comphy_index == COMPHY_LANE0) in mvebu_a3700_comphy_set_phy_selector()
141 else if (comphy_index == COMPHY_LANE1) in mvebu_a3700_comphy_set_phy_selector()
150 if (comphy_index == COMPHY_LANE2) in mvebu_a3700_comphy_set_phy_selector()
152 else if (comphy_index == COMPHY_LANE0) in mvebu_a3700_comphy_set_phy_selector()
160 if (comphy_index == COMPHY_LANE1) in mvebu_a3700_comphy_set_phy_selector()
173 ERROR("COMPHY[%d] mode[%d] is invalid\n", comphy_index, mode); in mvebu_a3700_comphy_set_phy_selector()
190 static int mvebu_a3700_comphy_get_mode(uint8_t comphy_index) in mvebu_a3700_comphy_get_mode() argument
195 switch (comphy_index) { in mvebu_a3700_comphy_get_mode()
[all …]
Dphy-comphy-cp110.c69 #define COMPHY_TRX_RELATIVE_ADDR(comphy_index) (comphy_train_base + \ argument
70 (comphy_index) * COMPHY_TRX_TRAIN_COMPHY_OFFS)
114 uint8_t comphy_index) in mvebu_cp110_comphy_clr_pipe_selector() argument
118 COMMON_SELECTOR_COMPHYN_FIELD_WIDTH * comphy_index; in mvebu_cp110_comphy_clr_pipe_selector()
133 uint8_t comphy_index) in mvebu_cp110_comphy_clr_phy_selector() argument
137 COMMON_SELECTOR_COMPHYN_FIELD_WIDTH * comphy_index; in mvebu_cp110_comphy_clr_phy_selector()
157 uint8_t comphy_index, uint32_t comphy_mode) in mvebu_cp110_comphy_set_phy_selector() argument
161 COMMON_SELECTOR_COMPHYN_FIELD_WIDTH * comphy_index; in mvebu_cp110_comphy_set_phy_selector()
167 mvebu_cp110_comphy_clr_pipe_selector(comphy_base, comphy_index); in mvebu_cp110_comphy_set_phy_selector()
183 switch (comphy_index) { in mvebu_cp110_comphy_set_phy_selector()
[all …]
Dphy-comphy-cp110.h89 uint8_t comphy_index);
91 uint8_t comphy_index, uint64_t comphy_mode);
92 int mvebu_cp110_comphy_power_on(uint64_t comphy_base, uint8_t comphy_index,
96 uint8_t comphy_index);
97 int mvebu_cp110_comphy_digital_reset(uint64_t comphy_base, uint8_t comphy_index,
Dphy-comphy-3700.h246 int mvebu_3700_comphy_is_pll_locked(uint8_t comphy_index, uint32_t comphy_mode);
247 int mvebu_3700_comphy_power_off(uint8_t comphy_index, uint32_t comphy_mode);
248 int mvebu_3700_comphy_power_on(uint8_t comphy_index, uint32_t comphy_mode);
/trusted-firmware-a-latest/drivers/marvell/mg_conf_cm3/
Dmg_conf_cm3.c64 void mg_start_ap_fw(int cp_nr, uint8_t comphy_index) in mg_start_ap_fw() argument
79 ap_shared_ctrl->lane_nr = comphy_index; in mg_start_ap_fw()
Dmg_conf_cm3.h8 void mg_start_ap_fw(int cp_nr, uint8_t comphy_index);