/trusted-firmware-a/drivers/arm/gic/v2/ |
A D | gicv2_private.h | 30 static inline unsigned int gicd_read_pidr2(uintptr_t base) in gicd_read_pidr2() 60 static inline unsigned int gicc_read_ctlr(uintptr_t base) in gicc_read_ctlr() 65 static inline unsigned int gicc_read_pmr(uintptr_t base) in gicc_read_pmr() 70 static inline unsigned int gicc_read_BPR(uintptr_t base) in gicc_read_BPR() 75 static inline unsigned int gicc_read_IAR(uintptr_t base) in gicc_read_IAR() 80 static inline unsigned int gicc_read_EOIR(uintptr_t base) in gicc_read_EOIR() 85 static inline unsigned int gicc_read_hppir(uintptr_t base) in gicc_read_hppir() 90 static inline unsigned int gicc_read_ahppir(uintptr_t base) in gicc_read_ahppir() 95 static inline unsigned int gicc_read_dir(uintptr_t base) in gicc_read_dir() 100 static inline unsigned int gicc_read_iidr(uintptr_t base) in gicc_read_iidr() [all …]
|
A D | gicdv2_helpers.c | 21 unsigned int gicd_read_igroupr(uintptr_t base, unsigned int id) in gicd_read_igroupr() 54 unsigned int gicd_read_ispendr(uintptr_t base, unsigned int id) in gicd_read_ispendr() 109 unsigned int gicd_read_icfgr(uintptr_t base, unsigned int id) in gicd_read_icfgr() 254 void gicd_set_igroupr(uintptr_t base, unsigned int id) in gicd_set_igroupr() 262 void gicd_clr_igroupr(uintptr_t base, unsigned int id) in gicd_clr_igroupr() 270 void gicd_set_isenabler(uintptr_t base, unsigned int id) in gicd_set_isenabler() 277 void gicd_set_icenabler(uintptr_t base, unsigned int id) in gicd_set_icenabler() 284 void gicd_set_ispendr(uintptr_t base, unsigned int id) in gicd_set_ispendr() 291 void gicd_set_icpendr(uintptr_t base, unsigned int id) in gicd_set_icpendr() 306 void gicd_set_isactiver(uintptr_t base, unsigned int id) in gicd_set_isactiver() [all …]
|
A D | gicv2_helpers.c | 22 unsigned int gicd_read_itargetsr(uintptr_t base, unsigned int id) in gicd_read_itargetsr() 32 unsigned int gicd_read_cpendsgir(uintptr_t base, unsigned int id) in gicd_read_cpendsgir() 42 unsigned int gicd_read_spendsgir(uintptr_t base, unsigned int id) in gicd_read_spendsgir() 52 void gicd_write_itargetsr(uintptr_t base, unsigned int id, unsigned int val) in gicd_write_itargetsr() 62 void gicd_write_cpendsgir(uintptr_t base, unsigned int id, unsigned int val) in gicd_write_cpendsgir() 72 void gicd_write_spendsgir(uintptr_t base, unsigned int id, unsigned int val) in gicd_write_spendsgir() 81 unsigned int gicv2_get_cpuif_id(uintptr_t base) in gicv2_get_cpuif_id()
|
/trusted-firmware-a/plat/hisilicon/hikey960/drivers/pwrc/ |
A D | hisi_pwrc.h | 16 #define SOC_CRGPERIPH_A53_PDCEN_ADDR(base) ((base) + (0x260)) argument 17 #define SOC_CRGPERIPH_MAIA_PDCEN_ADDR(base) ((base) + (0x300)) argument 19 #define SOC_PCTRL_RESOURCE0_LOCK_ADDR(base) ((base) + (0x400)) argument 20 #define SOC_PCTRL_RESOURCE0_UNLOCK_ADDR(base) ((base) + (0x404)) argument 21 #define SOC_PCTRL_RESOURCE0_LOCK_ST_ADDR(base) ((base) + (0x408)) argument 22 #define SOC_PCTRL_RESOURCE1_LOCK_ADDR(base) ((base) + (0x40C)) argument 23 #define SOC_PCTRL_RESOURCE1_UNLOCK_ADDR(base) ((base) + (0x410)) argument 25 #define SOC_PCTRL_RESOURCE2_LOCK_ADDR(base) ((base) + (0x418)) argument 27 #define SOC_SCTRL_SCBAKDATA3_ADDR(base) ((base) + (0x418)) argument 28 #define SOC_SCTRL_SCBAKDATA8_ADDR(base) ((base) + (0x42C)) argument [all …]
|
/trusted-firmware-a/drivers/arm/gic/v3/ |
A D | gicdv3_helpers.c | 37 unsigned int gicd_get_igroupr(uintptr_t base, unsigned int id) in gicd_get_igroupr() 42 void gicd_set_igroupr(uintptr_t base, unsigned int id) in gicd_set_igroupr() 47 void gicd_clr_igroupr(uintptr_t base, unsigned int id) in gicd_clr_igroupr() 56 unsigned int gicd_get_igrpmodr(uintptr_t base, unsigned int id) in gicd_get_igrpmodr() 61 void gicd_set_igrpmodr(uintptr_t base, unsigned int id) in gicd_set_igrpmodr() 66 void gicd_clr_igrpmodr(uintptr_t base, unsigned int id) in gicd_clr_igrpmodr() 75 void gicd_set_icenabler(uintptr_t base, unsigned int id) in gicd_set_icenabler() 84 void gicd_set_icpendr(uintptr_t base, unsigned int id) in gicd_set_icpendr() 98 void gicd_set_isactiver(uintptr_t base, unsigned int id) in gicd_set_isactiver() 107 void gicd_set_isenabler(uintptr_t base, unsigned int id) in gicd_set_isenabler() [all …]
|
A D | gicv3_private.h | 69 #define GICD_READ(REG, base, id) \ argument 72 #define GICD_READ_64(REG, base, id) \ argument 78 #define GICD_WRITE(REG, base, id, val) \ argument 89 #define GICD_GET_BIT(REG, base, id) \ argument 94 #define GICD_SET_BIT(REG, base, id) \ argument 99 #define GICD_CLR_BIT(REG, base, id) \ argument 104 #define GICD_WRITE_BIT(REG, base, id) \ argument 133 #define GICR_READ(REG, base, id) \ argument 147 #define GICR_GET_BIT(REG, base, id) \ argument 157 #define GICR_SET_BIT(REG, base, id) \ argument [all …]
|
A D | gic600ae_fmu_helpers.c | 19 #define GIC_FMU_WRITE_32(base, reg, val) \ argument 31 #define GIC_FMU_WRITE_64(base, reg, n, val) \ argument 47 static void wait_until_fmu_is_idle(uintptr_t base) in wait_until_fmu_is_idle() 66 #define GIC_FMU_WRITE_ON_IDLE_32(base, reg, val) \ argument 76 #define GIC_FMU_WRITE_ON_IDLE_64(base, reg, n, val) \ argument 141 uint64_t gic_fmu_read_errgsr(uintptr_t base) in gic_fmu_read_errgsr() 156 uint32_t gic_fmu_read_pingctlr(uintptr_t base) in gic_fmu_read_pingctlr() 164 uint32_t gic_fmu_read_pingnow(uintptr_t base) in gic_fmu_read_pingnow() 172 uint64_t gic_fmu_read_pingmask(uintptr_t base) in gic_fmu_read_pingmask() 187 uint32_t gic_fmu_read_status(uintptr_t base) in gic_fmu_read_status() [all …]
|
A D | gicrv3_helpers.c | 24 unsigned int gicr_read_ipriorityr(uintptr_t base, unsigned int id) in gicr_read_ipriorityr() 47 unsigned int gicr_get_igroupr(uintptr_t base, unsigned int id) in gicr_get_igroupr() 52 void gicr_set_igroupr(uintptr_t base, unsigned int id) in gicr_set_igroupr() 57 void gicr_clr_igroupr(uintptr_t base, unsigned int id) in gicr_clr_igroupr() 66 unsigned int gicr_get_igrpmodr(uintptr_t base, unsigned int id) in gicr_get_igrpmodr() 71 void gicr_set_igrpmodr(uintptr_t base, unsigned int id) in gicr_set_igrpmodr() 76 void gicr_clr_igrpmodr(uintptr_t base, unsigned int id) in gicr_clr_igrpmodr() 85 void gicr_set_isenabler(uintptr_t base, unsigned int id) in gicr_set_isenabler() 94 void gicr_set_icenabler(uintptr_t base, unsigned int id) in gicr_set_icenabler() 112 void gicr_set_icpendr(uintptr_t base, unsigned int id) in gicr_set_icpendr() [all …]
|
A D | gic-x00.c | 48 static void gicr_write_pwrr(uintptr_t base, unsigned int val) in gicr_write_pwrr() 53 static uint32_t gicr_read_pwrr(uintptr_t base) in gicr_read_pwrr() 58 static void gicr_wait_group_not_in_transit(uintptr_t base) in gicr_wait_group_not_in_transit() 70 static void gic600_pwr_on(uintptr_t base) in gic600_pwr_on() 85 static void gic600_pwr_off(uintptr_t base) in gic600_pwr_off()
|
/trusted-firmware-a/drivers/arm/gic/common/ |
A D | gic_common.c | 23 unsigned int gicd_read_igroupr(uintptr_t base, unsigned int id) in gicd_read_igroupr() 56 unsigned int gicd_read_ispendr(uintptr_t base, unsigned int id) in gicd_read_ispendr() 111 unsigned int gicd_read_icfgr(uintptr_t base, unsigned int id) in gicd_read_icfgr() 256 void gicd_set_igroupr(uintptr_t base, unsigned int id) in gicd_set_igroupr() 264 void gicd_clr_igroupr(uintptr_t base, unsigned int id) in gicd_clr_igroupr() 272 void gicd_set_isenabler(uintptr_t base, unsigned int id) in gicd_set_isenabler() 279 void gicd_set_icenabler(uintptr_t base, unsigned int id) in gicd_set_icenabler() 286 void gicd_set_ispendr(uintptr_t base, unsigned int id) in gicd_set_ispendr() 293 void gicd_set_icpendr(uintptr_t base, unsigned int id) in gicd_set_icpendr() 308 void gicd_set_isactiver(uintptr_t base, unsigned int id) in gicd_set_isactiver() [all …]
|
A D | gic_common_private.h | 18 static inline unsigned int gicd_read_ctlr(uintptr_t base) in gicd_read_ctlr() 23 static inline unsigned int gicd_read_typer(uintptr_t base) in gicd_read_typer() 28 static inline unsigned int gicd_read_iidr(uintptr_t base) in gicd_read_iidr() 33 static inline void gicd_write_ctlr(uintptr_t base, unsigned int val) in gicd_write_ctlr()
|
/trusted-firmware-a/drivers/arm/sp805/ |
A D | sp805.c | 14 static inline void sp805_write_wdog_load(uintptr_t base, uint32_t value) in sp805_write_wdog_load() 19 static inline void sp805_write_wdog_ctrl(uintptr_t base, uint32_t value) in sp805_write_wdog_ctrl() 24 static inline void sp805_write_wdog_lock(uintptr_t base, uint32_t value) in sp805_write_wdog_lock() 32 void sp805_start(uintptr_t base, unsigned int ticks) in sp805_start() 40 void sp805_stop(uintptr_t base) in sp805_stop() 46 void sp805_refresh(uintptr_t base, unsigned int ticks) in sp805_refresh()
|
/trusted-firmware-a/plat/imx/common/sci/ |
A D | imx8_mu.c | 11 void MU_Resume(uint32_t base) in MU_Resume() 26 void MU_EnableRxFullInt(uint32_t base, uint32_t index) in MU_EnableRxFullInt() 35 void MU_EnableGeneralInt(uint32_t base, uint32_t index) in MU_EnableGeneralInt() 44 void MU_SendMessage(uint32_t base, uint32_t regIndex, uint32_t msg) in MU_SendMessage() 54 void MU_ReceiveMsg(uint32_t base, uint32_t regIndex, uint32_t *msg) in MU_ReceiveMsg() 64 void MU_Init(uint32_t base) in MU_Init()
|
A D | ipc.c | 36 uint32_t base = id; in sc_ipc_open() local 61 uint32_t base = ipc; in sc_ipc_close() local 69 uint32_t base = ipc; in sc_ipc_read() local 98 uint32_t base = ipc; in sc_ipc_write() local
|
/trusted-firmware-a/drivers/arm/tzc/ |
A D | tzc380.c | 15 uintptr_t base; member 22 static unsigned int tzc380_read_build_config(uintptr_t base) in tzc380_read_build_config() 27 static void tzc380_write_action(uintptr_t base, unsigned int action) in tzc380_write_action() 32 static void tzc380_write_region_base_low(uintptr_t base, unsigned int region, in tzc380_write_region_base_low() 38 static void tzc380_write_region_base_high(uintptr_t base, unsigned int region, in tzc380_write_region_base_high() 44 static void tzc380_write_region_attributes(uintptr_t base, unsigned int region, in tzc380_write_region_attributes() 50 void tzc380_init(uintptr_t base) in tzc380_init()
|
A D | tzc400.c | 34 uintptr_t base; member 42 static inline unsigned int _tzc400_read_build_config(uintptr_t base) in _tzc400_read_build_config() 47 static inline unsigned int _tzc400_read_gate_keeper(uintptr_t base) in _tzc400_read_gate_keeper() 75 static void _tzc400_clear_it(uintptr_t base, uint32_t filter) in _tzc400_clear_it() 80 static uint32_t _tzc400_get_int_by_filter(uintptr_t base, uint32_t filter) in _tzc400_get_int_by_filter() 100 static uint32_t _tzc400_get_fail_id(uintptr_t base, uint32_t filter) in _tzc400_get_fail_id() 105 static uint32_t _tzc400_get_fail_control(uintptr_t base, uint32_t filter) in _tzc400_get_fail_control() 110 static void _tzc400_dump_fail_filter(uintptr_t base, uint32_t filter) in _tzc400_dump_fail_filter() 146 static unsigned int _tzc400_get_gate_keeper(uintptr_t base, in _tzc400_get_gate_keeper() 157 static void _tzc400_set_gate_keeper(uintptr_t base, in _tzc400_set_gate_keeper() [all …]
|
A D | tzc_dmc620.c | 35 uintptr_t base; in tzc_dmc620_validate_plat_driver_data() local 62 uintptr_t base; in tzc_dmc620_configure_region() local 103 uintptr_t base; in tzc_dmc620_set_action() local 126 uintptr_t base; in tzc_dmc620_verify_complete() local
|
/trusted-firmware-a/drivers/arm/sbsa/ |
A D | sbsa.c | 13 void sbsa_watchdog_offset_reg_write(uintptr_t base, uint64_t value) in sbsa_watchdog_offset_reg_write() 26 void sbsa_wdog_start(uintptr_t base, uint64_t ms) in sbsa_wdog_start() 39 void sbsa_wdog_stop(uintptr_t base) in sbsa_wdog_stop()
|
/trusted-firmware-a/plat/marvell/armada/a8k/common/mss/ |
A D | mss_defs.h | 11 #define MSS_DMA_SRCBR(base) (base + 0xC0) argument 12 #define MSS_DMA_DSTBR(base) (base + 0xC4) argument 13 #define MSS_DMA_CTRLR(base) (base + 0xC8) argument 14 #define MSS_M3_RSTCR(base) (base + 0xFC) argument
|
/trusted-firmware-a/plat/socionext/uniphier/ |
A D | uniphier_console_setup.c | 49 uintptr_t base, end; in uniphier_console_get_base() local 66 static void uniphier_console_init(uintptr_t base) in uniphier_console_init() 75 uintptr_t base; in uniphier_console_setup() local
|
/trusted-firmware-a/drivers/arm/scu/ |
A D | scu.c | 17 void enable_snoop_ctrl_unit(uintptr_t base) in enable_snoop_ctrl_unit() 46 uint32_t read_snoop_ctrl_unit_cfg(uintptr_t base) in read_snoop_ctrl_unit_cfg()
|
/trusted-firmware-a/drivers/brcm/ |
A D | ocotp.c | 59 uint32_t base; member 69 uint32_t base; member 77 static inline void set_command(uint32_t base, uint32_t command) in set_command() 82 static inline void set_cpu_address(uint32_t base, uint32_t addr) in set_cpu_address() 87 static inline void set_start_bit(uint32_t base) in set_start_bit() 92 static inline void reset_start_bit(uint32_t base) in reset_start_bit() 97 static inline void write_cpu_data(uint32_t base, uint32_t value) in write_cpu_data() 102 static int poll_cpu_status(uint32_t base, uint32_t value) in poll_cpu_status()
|
/trusted-firmware-a/plat/mediatek/mt8183/drivers/devapc/ |
A D | devapc.c | 15 uintptr_t base; in set_master_transaction() local 34 uintptr_t base; in set_master_domain() local 52 uintptr_t base; in set_master_domain_remap_infra() local 82 uintptr_t base; in set_master_domain_remap_mm() local 97 uintptr_t base; in set_module_apc() local
|
/trusted-firmware-a/plat/marvell/armada/common/ |
A D | marvell_ddr_info.c | 15 #define DRAM_CH0_MMAP_LOW_REG(iface, cs, base) \ argument 17 #define DRAM_CH0_MMAP_HIGH_REG(iface, cs, base) \ argument 29 #define DRAM_CS_ENABLED(iface, cs, base) \ argument 32 #define GET_DRAM_REGION_SIZE_CODE(iface, cs, base) \ argument
|
/trusted-firmware-a/plat/marvell/armada/a3k/common/ |
A D | io_addr_dec.c | 14 #define MVEBU_DEC_WIN_CTRL_REG(base, win, off) (MVEBU_REGS_BASE + (base) + \ argument 16 #define MVEBU_DEC_WIN_BASE_REG(base, win, off) (MVEBU_REGS_BASE + (base) + \ argument 18 #define MVEBU_DEC_WIN_REMAP_REG(base, win, off) (MVEBU_REGS_BASE + (base) + \ argument 41 uint32_t base = 0; in set_io_addr_dec_win() local
|