Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/plat/marvell/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/common/mss/
Dmss_scp_bootloader.c182 int ret, ap_idx, cp_index; in load_img_to_cm3() local
205 cp_index = cm3_type - 1; in load_img_to_cm3()
210 if (bl2_plat_get_cp_count(ap_idx) <= cp_index) { in load_img_to_cm3()
212 cp_index); in load_img_to_cm3()
217 cp_index, ap_idx); in load_img_to_cm3()
220 ap_idx, cp_index)); in load_img_to_cm3()
/external/arm-trusted-firmware/plat/marvell/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.c625 mpp_address = MVEBU_CP_GPIO_DATA_IN(skip_im->info.test.cp_index, in ble_skip_image_gpio()
/external/u-boot/drivers/phy/marvell/
Dcomphy_core.c157 chip_cfg->cp_index = current_idx++; in comphy_probe()
162 printf("Comphy chip #%d:\n", chip_cfg->cp_index); in comphy_probe()
171 if (chip_cfg->cp_index == last_idx) { in comphy_probe()
Dcomphy_core.h92 u32 cp_index; member
Dcomphy_cp110.c644 void __iomem *comphy_base, int cp_index, in comphy_sata_power_up() argument
664 for (i = 0; i < (cp_index + 1); i++) in comphy_sata_power_up()
2023 ptr_chip_cfg->cp_index, in comphy_cp110_init()
/external/arm-trusted-firmware/include/plat/marvell/a8k/common/
Darmada_common.h57 int cp_index; member
90 int cp_index; member
/external/arm-trusted-firmware/plat/marvell/a8k/a70x0/board/
Dmarvell_plat_config.c136 .info.test.cp_index = 0,
/external/arm-trusted-firmware/plat/marvell/a8k/a70x0_amc/board/
Dmarvell_plat_config.c133 .info.test.cp_index = 0,
/external/arm-trusted-firmware/plat/marvell/a8k/a80x0/board/
Dmarvell_plat_config.c187 .info.test.cp_index = 0,