Home
last modified time | relevance | path

Searched refs:cp_nr (Results 1 – 4 of 4) sorted by relevance

/external/arm-trusted-firmware/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
67 (void *)MG_CM3_SHARED_MEM_BASE(cp_nr); in mg_start_ap_fw()
70 if (mmio_read_32(MG_CM3_CONFI_GLOB_CFG_REG(cp_nr)) & CM3_CPU_EN_BIT) { in mg_start_ap_fw()
83 mmio_setbits_32(MG_CM3_CONFI_GLOB_CFG_REG(cp_nr), CM3_CPU_EN_BIT); in mg_start_ap_fw()
84 mmio_setbits_32(MG_CM3_MG_INT_MFX_REG(cp_nr), CM3_SYS_RESET_BIT); in mg_start_ap_fw()
92 mmio_clrbits_32(MG_CM3_MG_INT_MFX_REG(cp_nr), in mg_start_ap_fw()
94 mmio_clrbits_32(MG_CM3_CONFI_GLOB_CFG_REG(cp_nr), in mg_start_ap_fw()
Dmg_conf_cm3.h8 void mg_start_ap_fw(int cp_nr, uint8_t comphy_index);
/external/arm-trusted-firmware/plat/marvell/armada/common/
Dmrvl_sip_svc.c50 int cp_nr; in is_cp_range_valid() local
53 for (cp_nr = 0; cp_nr < CP_NUM; cp_nr++) { in is_cp_range_valid()
54 if (*addr == MVEBU_CP_REGS_BASE(cp_nr)) in is_cp_range_valid()
/external/arm-trusted-firmware/drivers/marvell/comphy/
Dphy-comphy-cp110.c87 static void mvebu_cp110_get_ap_and_cp_nr(uint8_t *ap_nr, uint8_t *cp_nr, in mvebu_cp110_get_ap_and_cp_nr() argument
97 *cp_nr = (((comphy_base & ~0xffffff) - MVEBU_AP_IO_BASE(*ap_nr)) / in mvebu_cp110_get_ap_and_cp_nr()
352 uint8_t ap_nr, cp_nr, phy_polarity_invert; in mvebu_cp110_comphy_sata_power_on() local
357 mvebu_cp110_get_ap_and_cp_nr(&ap_nr, &cp_nr, comphy_base); in mvebu_cp110_comphy_sata_power_on()
360 &sata_static_values_tab[ap_nr][cp_nr][comphy_index]; in mvebu_cp110_comphy_sata_power_on()
837 uint8_t ap_nr, cp_nr; in mvebu_cp110_comphy_xfi_power_on() local
841 mvebu_cp110_get_ap_and_cp_nr(&ap_nr, &cp_nr, comphy_base); in mvebu_cp110_comphy_xfi_power_on()
843 if (rx_trainng_done[ap_nr][cp_nr][comphy_index]) { in mvebu_cp110_comphy_xfi_power_on()
845 __func__, ap_nr, cp_nr, comphy_index); in mvebu_cp110_comphy_xfi_power_on()
850 &xfi_static_values_tab[ap_nr][cp_nr][comphy_index]; in mvebu_cp110_comphy_xfi_power_on()
[all …]