/device/linaro/bootloader/arm-trusted-firmware/include/drivers/arm/ |
D | gic_v2.h | 110 unsigned int gicd_read_igroupr(uintptr_t, unsigned int); 111 unsigned int gicd_read_isenabler(uintptr_t, unsigned int); 112 unsigned int gicd_read_icenabler(uintptr_t, unsigned int); 113 unsigned int gicd_read_ispendr(uintptr_t, unsigned int); 114 unsigned int gicd_read_icpendr(uintptr_t, unsigned int); 115 unsigned int gicd_read_isactiver(uintptr_t, unsigned int); 116 unsigned int gicd_read_icactiver(uintptr_t, unsigned int); 117 unsigned int gicd_read_ipriorityr(uintptr_t, unsigned int); 118 unsigned int gicd_read_itargetsr(uintptr_t, unsigned int); 119 unsigned int gicd_read_icfgr(uintptr_t, unsigned int); [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/gic/v3/ |
D | gicv3_private.h | 56 unsigned int gicd_read_igrpmodr(uintptr_t base, unsigned int id); 57 unsigned int gicr_read_ipriorityr(uintptr_t base, unsigned int id); 58 void gicd_write_igrpmodr(uintptr_t base, unsigned int id, unsigned int val); 59 void gicr_write_ipriorityr(uintptr_t base, unsigned int id, unsigned int val); 67 unsigned int gicd_get_igrpmodr(uintptr_t base, unsigned int id); 68 unsigned int gicr_get_igrpmodr0(uintptr_t base, unsigned int id); 69 unsigned int gicr_get_igroupr0(uintptr_t base, unsigned int id); 70 unsigned int gicr_get_isactiver0(uintptr_t base, unsigned int id); 71 void gicd_set_igrpmodr(uintptr_t base, unsigned int id); 72 void gicr_set_igrpmodr0(uintptr_t base, unsigned int id); [all …]
|
D | gicv3_helpers.c | 20 unsigned int gicd_read_igrpmodr(uintptr_t base, unsigned int id) in gicd_read_igrpmodr() 30 void gicd_write_igrpmodr(uintptr_t base, unsigned int id, unsigned int val) in gicd_write_igrpmodr() 40 unsigned int gicd_get_igrpmodr(uintptr_t base, unsigned int id) in gicd_get_igrpmodr() 52 void gicd_set_igrpmodr(uintptr_t base, unsigned int id) in gicd_set_igrpmodr() 64 void gicd_clr_igrpmodr(uintptr_t base, unsigned int id) in gicd_clr_igrpmodr() 76 unsigned int gicr_read_ipriorityr(uintptr_t base, unsigned int id) in gicr_read_ipriorityr() 86 void gicr_write_ipriorityr(uintptr_t base, unsigned int id, unsigned int val) in gicr_write_ipriorityr() 96 unsigned int gicr_get_igroupr0(uintptr_t base, unsigned int id) in gicr_get_igroupr0() 108 void gicr_set_igroupr0(uintptr_t base, unsigned int id) in gicr_set_igroupr0() 120 void gicr_clr_igroupr0(uintptr_t base, unsigned int id) in gicr_clr_igroupr0() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/gic/common/ |
D | gic_common_private.h | 17 static inline unsigned int gicd_read_ctlr(uintptr_t base) in gicd_read_ctlr() 22 static inline unsigned int gicd_read_typer(uintptr_t base) in gicd_read_typer() 27 static inline unsigned int gicd_read_iidr(uintptr_t base) in gicd_read_iidr() 32 static inline void gicd_write_ctlr(uintptr_t base, unsigned int val) in gicd_write_ctlr() 42 unsigned int gicd_read_igroupr(uintptr_t base, unsigned int id); 43 unsigned int gicd_read_isenabler(uintptr_t base, unsigned int id); 44 unsigned int gicd_read_icenabler(uintptr_t base, unsigned int id); 45 unsigned int gicd_read_ispendr(uintptr_t base, unsigned int id); 46 unsigned int gicd_read_icpendr(uintptr_t base, unsigned int id); 47 unsigned int gicd_read_isactiver(uintptr_t base, unsigned int id); [all …]
|
D | gic_common.c | 19 unsigned int gicd_read_igroupr(uintptr_t base, unsigned int id) in gicd_read_igroupr() 29 unsigned int gicd_read_isenabler(uintptr_t base, unsigned int id) in gicd_read_isenabler() 39 unsigned int gicd_read_icenabler(uintptr_t base, unsigned int id) in gicd_read_icenabler() 49 unsigned int gicd_read_ispendr(uintptr_t base, unsigned int id) in gicd_read_ispendr() 59 unsigned int gicd_read_icpendr(uintptr_t base, unsigned int id) in gicd_read_icpendr() 69 unsigned int gicd_read_isactiver(uintptr_t base, unsigned int id) in gicd_read_isactiver() 79 unsigned int gicd_read_icactiver(uintptr_t base, unsigned int id) in gicd_read_icactiver() 89 unsigned int gicd_read_ipriorityr(uintptr_t base, unsigned int id) in gicd_read_ipriorityr() 99 unsigned int gicd_read_icfgr(uintptr_t base, unsigned int id) in gicd_read_icfgr() 109 unsigned int gicd_read_nsacr(uintptr_t base, unsigned int id) in gicd_read_nsacr() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/gic/v2/ |
D | gicv2_private.h | 17 void gicv2_spis_configure_defaults(uintptr_t gicd_base); 19 void gicv2_secure_spis_configure(uintptr_t gicd_base, 22 void gicv2_secure_ppi_sgi_setup(uintptr_t gicd_base, 26 void gicv2_secure_spis_configure_props(uintptr_t gicd_base, 29 void gicv2_secure_ppi_sgi_setup_props(uintptr_t gicd_base, 32 unsigned int gicv2_get_cpuif_id(uintptr_t base); 37 static inline unsigned int gicd_read_pidr2(uintptr_t base) in gicd_read_pidr2() 45 static inline unsigned int gicd_get_itargetsr(uintptr_t base, unsigned int id) in gicd_get_itargetsr() 50 static inline void gicd_set_itargetsr(uintptr_t base, unsigned int id, in gicd_set_itargetsr() 56 static inline void gicd_write_sgir(uintptr_t base, unsigned int val) in gicd_write_sgir() [all …]
|
D | gicv2_helpers.c | 20 unsigned int gicd_read_itargetsr(uintptr_t base, unsigned int id) in gicd_read_itargetsr() 30 unsigned int gicd_read_cpendsgir(uintptr_t base, unsigned int id) in gicd_read_cpendsgir() 40 unsigned int gicd_read_spendsgir(uintptr_t base, unsigned int id) in gicd_read_spendsgir() 50 void gicd_write_itargetsr(uintptr_t base, unsigned int id, unsigned int val) in gicd_write_itargetsr() 60 void gicd_write_cpendsgir(uintptr_t base, unsigned int id, unsigned int val) in gicd_write_cpendsgir() 70 void gicd_write_spendsgir(uintptr_t base, unsigned int id, unsigned int val) in gicd_write_spendsgir() 79 unsigned int gicv2_get_cpuif_id(uintptr_t base) in gicv2_get_cpuif_id() 90 void gicv2_spis_configure_defaults(uintptr_t gicd_base) in gicv2_spis_configure_defaults() 120 void gicv2_secure_spis_configure(uintptr_t gicd_base, in gicv2_secure_spis_configure() 127 assert(num_ints ? (uintptr_t)sec_intr_list : 1); in gicv2_secure_spis_configure() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/common/ |
D | arm_io_storage.c | 19 static uintptr_t fip_dev_handle; 21 static uintptr_t memmap_dev_handle; 99 static int open_fip(const uintptr_t spec); 100 static int open_memmap(const uintptr_t spec); 103 uintptr_t *dev_handle; 104 uintptr_t image_spec; 105 int (*check)(const uintptr_t spec); 112 (uintptr_t)&fip_block_spec, 117 (uintptr_t)&bl2_uuid_spec, 122 (uintptr_t)&scp_bl2_uuid_spec, [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey960/ |
D | hikey960_io_storage.c | 24 uintptr_t *dev_handle; 25 uintptr_t image_spec; 26 int (*check)(const uintptr_t spec); 30 static uintptr_t ufs_dev_handle, fip_dev_handle; 32 static int check_ufs(const uintptr_t spec); 33 static int check_fip(const uintptr_t spec); 34 size_t ufs_read_lun3_blks(int lba, uintptr_t buf, size_t size); 35 size_t ufs_write_lun3_blks(int lba, const uintptr_t buf, size_t size); 91 (uintptr_t)&ufs_fip_spec, 96 (uintptr_t)&bl2_uuid_spec, [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/plat/qemu/ |
D | qemu_io_storage.c | 43 static uintptr_t fip_dev_handle; 45 static uintptr_t memmap_dev_handle; 47 static uintptr_t sh_dev_handle; 175 static int open_fip(const uintptr_t spec); 176 static int open_memmap(const uintptr_t spec); 179 uintptr_t *dev_handle; 180 uintptr_t image_spec; 181 int (*check)(const uintptr_t spec); 188 (uintptr_t)&fip_block_spec, 193 (uintptr_t)&bl2_uuid_spec, [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/poplar/ |
D | plat_storage.c | 27 static uintptr_t mmap_dev_handle; 28 static uintptr_t fip_dev_handle; 30 static int open_mmap(const uintptr_t spec); 31 static int open_fip(const uintptr_t spec); 51 uintptr_t *dev_handle; 52 uintptr_t image_spec; 53 int (*check)(const uintptr_t spec); 59 (uintptr_t)&loader_fip_spec, 64 (uintptr_t)&bl2_uuid_spec, 69 (uintptr_t)&bl31_uuid_spec, [all …]
|
D | plat_pm.c | 42 regval_bak = mmio_read_32((uintptr_t)(REG_BASE_CRG + REG_CPU_LP)); in poplar_pwr_domain_on() 43 mmio_write_32((uintptr_t)(REG_BASE_CRG + REG_CPU_LP), 0x206); in poplar_pwr_domain_on() 44 mmio_write_32((uintptr_t)(REG_BASE_CRG + REG_CPU_LP), 0x606); in poplar_pwr_domain_on() 47 regval = mmio_read_32((uintptr_t)(REG_BASE_CRG + REG_CPU_RST)); in poplar_pwr_domain_on() 49 mmio_write_32((uintptr_t)(REG_BASE_CRG + REG_CPU_RST), regval); in poplar_pwr_domain_on() 52 regval = mmio_read_32((uintptr_t)(REG_BASE_CRG + REG_CPU_RST)); in poplar_pwr_domain_on() 54 mmio_write_32((uintptr_t)(REG_BASE_CRG + REG_CPU_RST), regval); in poplar_pwr_domain_on() 58 mmio_write_32((uintptr_t)(REG_BASE_CRG + REG_CPU_LP), regval); in poplar_pwr_domain_on() 59 mmio_write_32((uintptr_t)(REG_BASE_CRG + REG_CPU_LP), regval_bak); in poplar_pwr_domain_on() 100 mmio_write_32((uintptr_t)(HISI_WDG0_BASE + 0xc00), 0x1ACCE551); in poplar_system_reset() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/include/common/ |
D | bl_common.h | 71 extern uintptr_t __TEXT_START__; 72 extern uintptr_t __TEXT_END__; 73 extern uintptr_t __RODATA_START__; 74 extern uintptr_t __RODATA_END__; 76 extern uintptr_t __RO_START__; 77 extern uintptr_t __RO_END__; 81 extern uintptr_t __BL2_END__; 83 extern uintptr_t __BL2U_END__; 85 extern uintptr_t __BL31_END__; 87 extern uintptr_t __BL32_END__; [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey/ |
D | hikey_io_storage.c | 30 uintptr_t *dev_handle; 31 uintptr_t image_spec; 32 int (*check)(const uintptr_t spec); 36 static uintptr_t emmc_dev_handle; 38 static uintptr_t fip_dev_handle; 40 static int check_emmc(const uintptr_t spec); 41 static int check_fip(const uintptr_t spec); 99 (uintptr_t)&emmc_fip_spec, 104 (uintptr_t)&bl2_uuid_spec, 109 (uintptr_t)&scp_bl2_uuid_spec, [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/include/drivers/io/ |
D | io_storage.h | 72 const uintptr_t dev_spec, 73 uintptr_t *dev_handle); 78 int io_dev_init(uintptr_t dev_handle, const uintptr_t init_params); 83 int io_dev_close(uintptr_t dev_handle); 87 int io_open(uintptr_t dev_handle, const uintptr_t spec, uintptr_t *handle); 89 int io_seek(uintptr_t handle, io_seek_mode_t mode, ssize_t offset); 91 int io_size(uintptr_t handle, size_t *length); 93 int io_read(uintptr_t handle, uintptr_t buffer, size_t length, 96 int io_write(uintptr_t handle, const uintptr_t buffer, size_t length, 99 int io_close(uintptr_t handle);
|
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/gic/ |
D | gic_v2.c | 17 unsigned int gicd_read_igroupr(uintptr_t base, unsigned int id) in gicd_read_igroupr() 23 unsigned int gicd_read_isenabler(uintptr_t base, unsigned int id) in gicd_read_isenabler() 29 unsigned int gicd_read_icenabler(uintptr_t base, unsigned int id) in gicd_read_icenabler() 35 unsigned int gicd_read_ispendr(uintptr_t base, unsigned int id) in gicd_read_ispendr() 41 unsigned int gicd_read_icpendr(uintptr_t base, unsigned int id) in gicd_read_icpendr() 47 unsigned int gicd_read_isactiver(uintptr_t base, unsigned int id) in gicd_read_isactiver() 53 unsigned int gicd_read_icactiver(uintptr_t base, unsigned int id) in gicd_read_icactiver() 59 unsigned int gicd_read_ipriorityr(uintptr_t base, unsigned int id) in gicd_read_ipriorityr() 65 unsigned int gicd_read_itargetsr(uintptr_t base, unsigned int id) in gicd_read_itargetsr() 71 unsigned int gicd_read_icfgr(uintptr_t base, unsigned int id) in gicd_read_icfgr() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/plat/socionext/uniphier/ |
D | uniphier_io_storage.c | 25 static uintptr_t uniphier_fip_dev_handle; 28 static uintptr_t uniphier_backend_dev_handle; 98 uintptr_t *dev_handle; 99 uintptr_t image_spec; 100 uintptr_t init_params; 106 .image_spec = (uintptr_t)&uniphier_fip_spec, 110 .image_spec = (uintptr_t)&uniphier_bl2_spec, 115 .image_spec = (uintptr_t)&uniphier_scp_spec, 120 .image_spec = (uintptr_t)&uniphier_bl31_spec, 125 .image_spec = (uintptr_t)&uniphier_bl32_spec, [all …]
|
D | uniphier_usb.c | 52 static int (*__uniphier_usb_read)(int lba, uintptr_t buf, size_t size); 63 static int uniphier_ld11_usb_read(int lba, uintptr_t buf, size_t size) in uniphier_ld11_usb_read() 65 static int (*rom_usb_read)(uintptr_t desc, unsigned int lba, in uniphier_ld11_usb_read() 66 unsigned int size, uintptr_t buf); in uniphier_ld11_usb_read() 67 uintptr_t func_addr; in uniphier_ld11_usb_read() 84 static int uniphier_ld20_usb_read(int lba, uintptr_t buf, size_t size) in uniphier_ld20_usb_read() 86 static int (*rom_usb_read)(uintptr_t desc, unsigned int lba, in uniphier_ld20_usb_read() 87 unsigned int size, uintptr_t buf); in uniphier_ld20_usb_read() 111 static int uniphier_pxs3_usb_read(int lba, uintptr_t buf, size_t size) in uniphier_pxs3_usb_read() 113 static int (*rom_usb_read)(uintptr_t desc, unsigned int lba, in uniphier_pxs3_usb_read() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/include/lib/ |
D | mmio.h | 12 static inline void mmio_write_8(uintptr_t addr, uint8_t value) in mmio_write_8() 17 static inline uint8_t mmio_read_8(uintptr_t addr) in mmio_read_8() 22 static inline void mmio_write_16(uintptr_t addr, uint16_t value) in mmio_write_16() 27 static inline uint16_t mmio_read_16(uintptr_t addr) in mmio_read_16() 32 static inline void mmio_write_32(uintptr_t addr, uint32_t value) in mmio_write_32() 37 static inline uint32_t mmio_read_32(uintptr_t addr) in mmio_read_32() 42 static inline void mmio_write_64(uintptr_t addr, uint64_t value) in mmio_write_64() 47 static inline uint64_t mmio_read_64(uintptr_t addr) in mmio_read_64() 52 static inline void mmio_clrbits_32(uintptr_t addr, uint32_t clear) in mmio_clrbits_32() 57 static inline void mmio_setbits_32(uintptr_t addr, uint32_t set) in mmio_setbits_32() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/drivers/io/ |
D | io_storage.c | 42 static int is_valid_dev(const uintptr_t dev_handle) in is_valid_dev() 53 static int is_valid_entity(const uintptr_t handle) in is_valid_entity() 57 (is_valid_dev((uintptr_t)entity->dev_handle)); in is_valid_entity() 73 static int dev_open(const io_dev_connector_t *dev_con, const uintptr_t dev_spec, in dev_open() 86 static void set_handle(uintptr_t *handle, io_entity_t *entity) in set_handle() 89 *handle = (uintptr_t)entity; in set_handle() 162 int io_dev_open(const io_dev_connector_t *dev_con, const uintptr_t dev_spec, in io_dev_open() 163 uintptr_t *handle) in io_dev_open() 175 int io_dev_init(uintptr_t dev_handle, const uintptr_t init_params) in io_dev_init() 178 assert(dev_handle != (uintptr_t)NULL); in io_dev_init() [all …]
|
D | io_fip.c | 41 static uintptr_t backend_dev_handle; 42 static uintptr_t backend_image_spec; 46 static int fip_dev_open(const uintptr_t dev_spec, io_dev_info_t **dev_info); 47 static int fip_file_open(io_dev_info_t *dev_info, const uintptr_t spec, 50 static int fip_file_read(io_entity_t *entity, uintptr_t buffer, size_t length, 53 static int fip_dev_init(io_dev_info_t *dev_info, const uintptr_t init_params); 103 .info = (uintptr_t)NULL 108 static int fip_dev_open(const uintptr_t dev_spec __unused, in fip_dev_open() 119 static int fip_dev_init(io_dev_info_t *dev_info, const uintptr_t init_params) in fip_dev_init() 123 uintptr_t backend_handle; in fip_dev_init() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/lib/pmf/ |
D | pmf_main.c | 24 extern uintptr_t __PMF_SVC_DESCS_START__; 25 extern uintptr_t __PMF_SVC_DESCS_END__; 26 #define PMF_SVC_DESCS_START ((uintptr_t)(&__PMF_SVC_DESCS_START__)) 27 #define PMF_SVC_DESCS_END ((uintptr_t)(&__PMF_SVC_DESCS_END__)) 29 #define PMF_PERCPU_TIMESTAMP_SIZE ((uintptr_t)&__PERCPU_TIMESTAMP_SIZE__) 30 extern uintptr_t __PMF_TIMESTAMP_START__; 31 #define PMF_TIMESTAMP_ARRAY_START ((uintptr_t)&__PMF_TIMESTAMP_START__) 32 extern uintptr_t __PMF_TIMESTAMP_END__; 33 #define PMF_TIMESTAMP_ARRAY_END ((uintptr_t)&__PMF_TIMESTAMP_END__) 192 static inline uintptr_t calc_ts_addr(uintptr_t base_addr, in calc_ts_addr() [all …]
|
/device/google/contexthub/firmware/os/core/ |
D | osApi.c | 36 static void osExpApiEvtqSubscribe(uintptr_t *retValP, va_list args) in osExpApiEvtqSubscribe() 44 static void osExpApiEvtqUnsubscribe(uintptr_t *retValP, va_list args) in osExpApiEvtqUnsubscribe() 52 static void osExpApiEvtqEnqueue(uintptr_t *retValP, va_list args) in osExpApiEvtqEnqueue() 61 static void osExpApiEvtqEnqueuePrivate(uintptr_t *retValP, va_list args) in osExpApiEvtqEnqueuePrivate() 71 static void osExpApiEvtqRetainEvt(uintptr_t *retValP, va_list args) in osExpApiEvtqRetainEvt() 78 static void osExpApiEvtqFreeRetained(uintptr_t *retValP, va_list args) in osExpApiEvtqFreeRetained() 87 static void osExpApiLogLogv(uintptr_t *retValP, va_list args) in osExpApiLogLogv() 92 va_copy(innerArgs, INTEGER_TO_VA_LIST(va_arg(args, uintptr_t))); in osExpApiLogLogv() 97 static void osExpApiSensorSignal(uintptr_t *retValP, va_list args) in osExpApiSensorSignal() 106 *retValP = (uintptr_t)sensorSignalInternalEvt(handle, intEvtNum, value1, value2); in osExpApiSensorSignal() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/bl1/ |
D | bl1_private.h | 16 extern uintptr_t __BL1_ROM_END__; 17 #define BL1_ROM_END (uintptr_t)(&__BL1_ROM_END__) 19 extern uintptr_t __BL1_RAM_START__; 20 extern uintptr_t __BL1_RAM_END__; 21 #define BL1_RAM_BASE (uintptr_t)(&__BL1_RAM_START__) 22 #define BL1_RAM_LIMIT (uintptr_t)(&__BL1_RAM_END__)
|
/device/linaro/bootloader/arm-trusted-firmware/include/lib/pmf/ |
D | pmf_helpers.h | 71 uintptr_t base_addr = (uintptr_t) pmf_ts_mem_ ## _name; \ 83 uintptr_t base_addr = (uintptr_t) pmf_ts_mem_ ## _name; \ 98 uintptr_t base_addr = (uintptr_t) pmf_ts_mem_ ## _name; \ 105 uintptr_t base_addr = (uintptr_t) pmf_ts_mem_ ## _name; \ 135 void __pmf_store_timestamp(uintptr_t base_addr, 138 void __pmf_store_timestamp_with_cache_maint(uintptr_t base_addr, 141 unsigned long long __pmf_get_timestamp(uintptr_t base_addr,
|