Home
last modified time | relevance | path

Searched refs:cp_index (Results 1 – 10 of 10) sorted by relevance

/external/arm-trusted-firmware/plat/marvell/armada/a8k/common/include/
Da8k_plat_def.h33 #define MVEBU_CP_REGS_BASE(cp_index) (MVEBU_AP_IO_BASE(0) + \ argument
34 (cp_index) * MVEBU_CP_OFFSET)
50 #define MVEBU_CP_MPP_REGS(cp_index, n) (MVEBU_CP_REGS_BASE(cp_index) + \ argument
52 #define MVEBU_PM_MPP_REGS(cp_index, n) (MVEBU_CP_REGS_BASE(cp_index) + \ argument
54 #define MVEBU_CP_GPIO_DATA_OUT(cp_index, n) \ argument
55 (MVEBU_CP_REGS_BASE(cp_index) + \
57 #define MVEBU_CP_GPIO_DATA_OUT_EN(cp_index, n) \ argument
58 (MVEBU_CP_REGS_BASE(cp_index) + \
60 #define MVEBU_CP_GPIO_DATA_IN(cp_index, n) (MVEBU_CP_REGS_BASE(cp_index) + \ argument
/external/arm-trusted-firmware/plat/marvell/armada/common/mss/
Dmss_scp_bootloader.c183 int ret, ap_idx, cp_index; in load_img_to_cm3() local
206 cp_index = cm3_type - 1; in load_img_to_cm3()
211 if (bl2_plat_get_cp_count(ap_idx) <= cp_index) { in load_img_to_cm3()
213 cp_index); in load_img_to_cm3()
218 cp_index, ap_idx); in load_img_to_cm3()
221 ap_idx, cp_index)); in load_img_to_cm3()
231 cp_index = cm3_type - MG_CP0; in load_img_to_cm3()
232 if (bl2_plat_get_cp_count(0) <= cp_index) { in load_img_to_cm3()
234 cp_index); in load_img_to_cm3()
237 NOTICE("Load image to CP%d MG\n", cp_index); in load_img_to_cm3()
[all …]
/external/arm-trusted-firmware/plat/marvell/armada/a8k/common/
Dplat_pm.c512 info->cp_index, info->gpio_index)); in plat_marvell_power_off_gpio()
514 info->cp_index, info->gpio_index), in plat_marvell_power_off_gpio()
518 reg = mmio_read_32(MVEBU_PM_MPP_REGS(info->cp_index, in plat_marvell_power_off_gpio()
520 mmio_write_32(MVEBU_PM_MPP_REGS(info->cp_index, in plat_marvell_power_off_gpio()
539 info->cp_index, info->gpio_index)); in plat_marvell_power_off_gpio()
540 addr = MVEBU_CP_GPIO_DATA_OUT(info->cp_index, info->gpio_index); in plat_marvell_power_off_gpio()
555 info->cp_index, info->gpio_index), reg); in plat_marvell_power_off_gpio()
Dplat_ble_setup.c663 mpp_address = MVEBU_CP_GPIO_DATA_IN(skip_im->info.test.cp_index, in ble_skip_image_gpio()
/external/arm-trusted-firmware/include/plat/marvell/armada/a8k/common/
Darmada_common.h57 int cp_index; member
90 int cp_index; member
/external/arm-trusted-firmware/drivers/marvell/mg_conf_cm3/
Dmg_conf_cm3.c41 int mg_image_load(uintptr_t src_addr, uint32_t size, int cp_index) in mg_image_load() argument
43 uintptr_t mg_regs = MG_CM3_SRAM_BASE(cp_index); in mg_image_load()
Dmg_conf_cm3.h9 int mg_image_load(uintptr_t src_addr, uint32_t size, int cp_index);
/external/arm-trusted-firmware/plat/marvell/armada/a8k/a70x0_amc/board/
Dmarvell_plat_config.c139 .info.test.cp_index = 0,
/external/arm-trusted-firmware/plat/marvell/armada/a8k/a70x0/board/
Dmarvell_plat_config.c142 .info.test.cp_index = 0,
/external/arm-trusted-firmware/plat/marvell/armada/a8k/a80x0/board/
Dmarvell_plat_config.c193 .info.test.cp_index = 0,