/external/arm-trusted-firmware/drivers/cfi/v2m/ |
D | v2m_flash.c | 35 static unsigned int nor_status(uintptr_t base_addr) in nor_status() argument 39 nor_send_cmd(base_addr, NOR_CMD_READ_STATUS_REG); in nor_status() 40 status = mmio_read_32(base_addr); in nor_status() 52 static int nor_poll_dws(uintptr_t base_addr, unsigned long int retries) in nor_poll_dws() argument 57 nor_send_cmd(base_addr, NOR_CMD_READ_STATUS_REG); in nor_poll_dws() 58 status = mmio_read_32(base_addr); in nor_poll_dws() 72 static int nor_full_status_check(uintptr_t base_addr) in nor_full_status_check() argument 77 status = nor_status(base_addr); in nor_full_status_check() 86 void nor_send_cmd(uintptr_t base_addr, unsigned long cmd) in nor_send_cmd() argument 88 mmio_write_32(base_addr, NOR_2X16(cmd)); in nor_send_cmd() [all …]
|
/external/arm-trusted-firmware/drivers/imx/uart/ |
D | imx_uart.c | 65 int console_imx_uart_core_init(uintptr_t base_addr, unsigned int uart_clk, in console_imx_uart_core_init() argument 72 write_reg(base_addr, IMX_UART_CR2_OFFSET, 0); in console_imx_uart_core_init() 74 val = read_reg(base_addr, IMX_UART_CR2_OFFSET); in console_imx_uart_core_init() 78 write_reg(base_addr, IMX_UART_CR1_OFFSET, IMX_UART_CR1_UARTEN); in console_imx_uart_core_init() 83 write_reg(base_addr, IMX_UART_CR2_OFFSET, val); in console_imx_uart_core_init() 87 write_reg(base_addr, IMX_UART_CR3_OFFSET, val); in console_imx_uart_core_init() 90 write_reg(base_addr, IMX_UART_CR4_OFFSET, 0x8000); in console_imx_uart_core_init() 99 write_reg(base_addr, IMX_UART_FCR_OFFSET, val); in console_imx_uart_core_init() 115 write_reg(base_addr, IMX_UART_BIR_OFFSET, 0x0f); in console_imx_uart_core_init() 117 write_reg(base_addr, IMX_UART_BMR_OFFSET, val); in console_imx_uart_core_init() [all …]
|
/external/arm-trusted-firmware/drivers/arm/pl061/ |
D | pl061_gpio.c | 50 uintptr_t base_addr; in pl061_get_direction() local 55 base_addr = pl061_reg_base[gpio / GPIOS_PER_PL061]; in pl061_get_direction() 57 data = mmio_read_8(base_addr + PL061_GPIO_DIR); in pl061_get_direction() 65 uintptr_t base_addr; in pl061_set_direction() local 70 base_addr = pl061_reg_base[gpio / GPIOS_PER_PL061]; in pl061_set_direction() 73 data = mmio_read_8(base_addr + PL061_GPIO_DIR) | BIT(offset); in pl061_set_direction() 74 mmio_write_8(base_addr + PL061_GPIO_DIR, data); in pl061_set_direction() 76 data = mmio_read_8(base_addr + PL061_GPIO_DIR) & ~BIT(offset); in pl061_set_direction() 77 mmio_write_8(base_addr + PL061_GPIO_DIR, data); in pl061_set_direction() 91 uintptr_t base_addr; in pl061_get_value() local [all …]
|
/external/crosvm/swap/tests/ |
D | page_handler.rs | 36 let base_addr = shm.base_addr(); in create_success() localVariable 42 base_addr..(base_addr + 3 * pagesize()), in create_success() 43 (base_addr + 3 * pagesize())..(base_addr + 6 * pagesize()), in create_success() 58 let base_addr = shm.base_addr(); in create_partially_overlap() localVariable 62 base_addr..(base_addr + 3 * pagesize()), in create_partially_overlap() 64 (base_addr - pagesize())..(base_addr + pagesize()), in create_partially_overlap() 66 (base_addr + pagesize())..(base_addr + 2 * pagesize()), in create_partially_overlap() 68 (base_addr + 2 * pagesize())..(base_addr + 4 * pagesize()), in create_partially_overlap() 70 (base_addr - pagesize())..(base_addr + 4 * pagesize()), in create_partially_overlap() 75 &[base_addr..(base_addr + 3 * pagesize()), range], in create_partially_overlap() [all …]
|
D | main.rs | 28 let base_addr = shm.base_addr(); in register_region_skip_obsolete_process() localVariable 29 let regions = [base_addr..(base_addr + 3 * pagesize())]; in register_region_skip_obsolete_process() 56 let base_addr = shm.base_addr(); in unregister_region_skip_obsolete_process() localVariable 57 let regions = [base_addr..(base_addr + 3 * pagesize())]; in unregister_region_skip_obsolete_process()
|
/external/arm-trusted-firmware/drivers/marvell/ |
D | amb_adec.c | 46 uint32_t base_addr; in amb_check_win() local 49 if (win->base_addr > AMB_BASE_ADDR_MASK) { in amb_check_win() 51 win_num, win->base_addr); in amb_check_win() 52 win->base_addr = AMB_BASE_ADDR_MASK; in amb_check_win() 53 WARN("Set the base address to 0x%" PRIx64 "\n", win->base_addr); in amb_check_win() 56 base_addr = win->base_addr << AMB_BASE_OFFSET; in amb_check_win() 59 if (IS_NOT_ALIGN(base_addr, AMB_WIN_ALIGNMENT_1M)) { in amb_check_win() 60 win->base_addr = ALIGN_UP(base_addr, AMB_WIN_ALIGNMENT_1M); in amb_check_win() 63 WARN("Align up the base address to 0x%" PRIx64 "\n", win->base_addr); in amb_check_win() 86 base = win->base_addr << AMB_BASE_OFFSET; in amb_enable_win()
|
D | iob.c | 59 if (IS_NOT_ALIGN(win->base_addr, IOB_WIN_ALIGNMENT)) { in iob_win_check() 60 win->base_addr = ALIGN_UP(win->base_addr, IOB_WIN_ALIGNMENT); in iob_win_check() 64 win->base_addr); in iob_win_check() 93 end_addr = (win->base_addr + win->win_size - 1); in iob_enable_win() 94 alr = (uint32_t)((win->base_addr >> ADDRESS_SHIFT) & ADDRESS_MASK); in iob_enable_win()
|
D | io_win.c | 48 if (IS_NOT_ALIGN(win->base_addr, IO_WIN_ALIGNMENT_1M)) { in io_win_check() 49 win->base_addr = ALIGN_UP(win->base_addr, IO_WIN_ALIGNMENT_1M); in io_win_check() 51 __func__, win->base_addr); in io_win_check() 79 end_addr = (win->base_addr + win->win_size - 1); in io_win_enable_window() 81 alr = (uint32_t)((win->base_addr >> ADDRESS_SHIFT) & ADDRESS_MASK); in io_win_enable_window() 147 if ((win->target_id != target) || (win->base_addr != base)) { in iow_temp_win_remove()
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | map_fixed_noreplace.c | 49 unsigned long base_addr; in main() local 57 base_addr = find_base_addr(size); in main() 58 if (!base_addr) { in main() 67 addr = base_addr; in main() 88 addr = base_addr + page_size; in main() 108 addr = base_addr; in main() 129 addr = base_addr + (2 * page_size); in main() 149 addr = base_addr + (3 * page_size); in main() 169 addr = base_addr; in main() 189 addr = base_addr; in main() [all …]
|
/external/arm-trusted-firmware/lib/pmf/ |
D | pmf_main.c | 192 static inline uintptr_t calc_ts_addr(uintptr_t base_addr, in calc_ts_addr() argument 197 assert(base_addr >= PMF_TIMESTAMP_ARRAY_START); in calc_ts_addr() 198 assert(base_addr < ((PMF_TIMESTAMP_ARRAY_START + in calc_ts_addr() 202 base_addr += ((cpuid * PMF_PERCPU_TIMESTAMP_SIZE) + in calc_ts_addr() 205 return base_addr; in calc_ts_addr() 214 void __pmf_store_timestamp(uintptr_t base_addr, in __pmf_store_timestamp() argument 218 unsigned long long *ts_addr = (unsigned long long *)calc_ts_addr(base_addr, in __pmf_store_timestamp() 228 void __pmf_store_timestamp_with_cache_maint(uintptr_t base_addr, in __pmf_store_timestamp_with_cache_maint() argument 232 unsigned long long *ts_addr = (unsigned long long *)calc_ts_addr(base_addr, in __pmf_store_timestamp_with_cache_maint() 243 unsigned long long __pmf_get_timestamp(uintptr_t base_addr, in __pmf_get_timestamp() argument [all …]
|
/external/ComputeLibrary/src/core/NEON/kernels/ |
D | NEFillBorderKernel.cpp | 71 uint8_t *base_addr = start_valid_region + plane_it.offset(); in fill_constant_value_single_channel_special() local 73 const auto row_start = reinterpret_cast<float *>(base_addr - stridey); in fill_constant_value_single_channel_special() 81 const auto row_start = reinterpret_cast<float *>(base_addr + i * stridey); in fill_constant_value_single_channel_special() 181 uint8_t *base_addr = start_valid_region + vertical_it.offset(); in fill_replicate_single_channel() local 185 …std::memcpy(base_addr + static_cast<int>(i - _border_size.left) * element_size, vertical_it.ptr(),… in fill_replicate_single_channel() 190 …std::memcpy(base_addr + (width + i) * element_size, vertical_it.ptr() + (width - 1) * element_size… in fill_replicate_single_channel() 201 uint8_t *base_addr = start_valid_region + plane_it.offset(); in fill_replicate_single_channel() local 206 …std::memcpy(base_addr + i * static_cast<int>(_tensor->info()->strides_in_bytes()[1]) - _border_siz… in fill_replicate_single_channel() 207 …base_addr - _border_size.left * element_size, (_border_size.left + width + _border_size.right) * e… in fill_replicate_single_channel() 214 …std::memcpy(base_addr + i * _tensor->info()->strides_in_bytes()[1] - _border_size.left * element_s… in fill_replicate_single_channel() [all …]
|
/external/arm-trusted-firmware/include/lib/pmf/ |
D | pmf_helpers.h | 178 uintptr_t base_addr = (uintptr_t) pmf_ts_mem_ ## _name; \ 180 __pmf_store_timestamp(base_addr, \ 191 uintptr_t base_addr = (uintptr_t) pmf_ts_mem_ ## _name; \ 194 base_addr, (uint64_t)tid, ts); \ 209 uintptr_t base_addr = (uintptr_t) pmf_ts_mem_ ## _name; \ 210 return __pmf_get_timestamp(base_addr, tid, cpuid, flags);\ 216 uintptr_t base_addr = (uintptr_t) pmf_ts_mem_ ## _name; \ 217 return __pmf_get_timestamp(base_addr, tid, \ 246 void __pmf_store_timestamp(uintptr_t base_addr, 249 void __pmf_store_timestamp_with_cache_maint(uintptr_t base_addr, [all …]
|
/external/arm-trusted-firmware/include/drivers/cfi/ |
D | v2m_flash.h | 39 void nor_send_cmd(uintptr_t base_addr, unsigned long cmd); 40 int nor_word_program(uintptr_t base_addr, unsigned long data); 41 int nor_lock(uintptr_t base_addr); 42 int nor_unlock(uintptr_t base_addr); 43 int nor_erase(uintptr_t base_addr);
|
/external/f2fs-tools/fsck/ |
D | xattr.c | 69 static struct f2fs_xattr_entry *__find_xattr(void *base_addr, in __find_xattr() argument 75 list_for_each_xattr(entry, base_addr) { in __find_xattr() 146 void *base_addr; in f2fs_setxattr() local 179 base_addr = read_all_xattrs(sbi, inode, true); in f2fs_setxattr() 180 ASSERT(base_addr); in f2fs_setxattr() 182 last_base_addr = (void *)base_addr + XATTR_SIZE(&inode->i); in f2fs_setxattr() 184 here = __find_xattr(base_addr, last_base_addr, index, len, name); in f2fs_setxattr() 214 free = MIN_OFFSET - ((char *)last - (char *)base_addr); in f2fs_setxattr() 238 new_hsize = (char *)last - (char *)base_addr; in f2fs_setxattr() 257 write_all_xattrs(sbi, inode, new_hsize, base_addr); in f2fs_setxattr() [all …]
|
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
D | task_pt_regs.c | 11 ssize_t base_addr; in test_task_pt_regs() local 14 base_addr = get_base_addr(); in test_task_pt_regs() 15 if (!ASSERT_GT(base_addr, 0, "get_base_addr")) in test_task_pt_regs() 17 uprobe_offset = get_uprobe_offset(&get_base_addr, base_addr); in test_task_pt_regs()
|
D | attach_probe.c | 21 ssize_t base_addr, ref_ctr_offset; in test_attach_probe() local 37 base_addr = get_base_addr(); in test_attach_probe() 38 if (CHECK(base_addr < 0, "get_base_addr", in test_attach_probe() 39 "failed to find base addr: %zd", base_addr)) in test_attach_probe() 41 uprobe_offset = get_uprobe_offset(&method, base_addr); in test_attach_probe()
|
/external/vixl/examples/aarch32/ |
D | disasm-a32.cc | 235 char* base_addr; in main() local 236 VIXL_CHECK((base_addr = reinterpret_cast<char*>( in main() 240 const Elf32_Ehdr* ehdr = reinterpret_cast<const Elf32_Ehdr*>(base_addr); in main() 245 munmap(base_addr, sb.st_size); in main() 251 munmap(base_addr, sb.st_size); in main() 257 reinterpret_cast<const Elf32_Shdr*>(base_addr + ehdr->e_shoff); in main() 301 base_addr + symbol.GetMemoryAddress()), in main() 306 base_addr + symbol.GetMemoryAddress()), in main() 310 munmap(base_addr, sb.st_size); in main()
|
/external/arm-trusted-firmware/include/drivers/arm/ |
D | sp804_delay_timer.h | 16 void sp804_timer_ops_init(uintptr_t base_addr, const timer_ops_t *ops); 18 #define sp804_timer_init(base_addr, clk_mult, clk_div) \ argument 25 sp804_timer_ops_init((base_addr), &sp804_timer_ops); \
|
/external/crosvm/swap/src/ |
D | page_handler.rs | 232 let base_addr = address_range.start; in create() localVariable 233 assert!(is_page_aligned(base_addr)); in create() 404 base_addr: usize, in move_to_staging() 413 let region = Self::find_region(&mut ctx.regions, addr_to_page_idx(base_addr)) in move_to_staging() 414 .ok_or(Error::InvalidAddress(base_addr))?; in move_to_staging() 416 if page_idx_to_addr(region.head_page_idx) != base_addr { in move_to_staging() 417 return Err(Error::InvalidAddress(base_addr)); in move_to_staging() 440 let chunk_addr = base_addr + offset; in move_to_staging() 451 remove_area: base_addr + batch_head_offset..base_addr + offset, in move_to_staging() 477 (base_addr + offset) as *const u8, in move_to_staging() [all …]
|
/external/arm-trusted-firmware/plat/arm/board/arm_fpga/ |
D | fpga_console.c | 21 uintptr_t base_addr = PLAT_FPGA_CRASH_UART_BASE; in fpga_console_init() local 31 fdt_get_reg_props_by_index(fdt, node, 0, &base_addr, NULL); in fpga_console_init() 34 (void)console_pl011_register(base_addr, 0, 0, &console); in fpga_console_init()
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_image.c | 167 tu_cs_emit_qw(cs, iview->base_addr + iview->layer_size * layer); in tu_cs_image_ref() 181 tu_cs_emit_qw(cs, iview->base_addr + iview->layer_size * layer); in tu_cs_image_ref_2d() 231 uint64_t base_addr = image->bo->iova + image->bo_offset + in tu_image_view_init() local 281 iview->descriptor[4] = base_addr; in tu_image_view_init() 282 iview->descriptor[5] = (base_addr >> 32) | A6XX_TEX_CONST_5_DEPTH(depth); in tu_image_view_init() 298 uint64_t base_addr[3]; in tu_image_view_init() local 305 base_addr[i] = image->bo->iova + image->bo_offset + in tu_image_view_init() 310 base_addr[i] = image->bo->iova + image->bo_offset + in tu_image_view_init() 315 iview->descriptor[4] = base_addr[0]; in tu_image_view_init() 316 iview->descriptor[5] |= base_addr[0] >> 32; in tu_image_view_init() [all …]
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_raven_AOSP.MASTER_5.10.43/events/percpu/percpu_destroy_chunk/ |
D | format | 9 field:void * base_addr; offset:8; size:8; signed:0; 11 print fmt: "base_addr=%p", REC->base_addr
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_raven_AOSP.MASTER_5.10.43/events/percpu/percpu_create_chunk/ |
D | format | 9 field:void * base_addr; offset:8; size:8; signed:0; 11 print fmt: "base_addr=%p", REC->base_addr
|
/external/arm-trusted-firmware/drivers/arm/sp804/ |
D | sp804_delay_timer.c | 41 void sp804_timer_ops_init(uintptr_t base_addr, const timer_ops_t *ops) in sp804_timer_ops_init() argument 43 assert(base_addr != 0); in sp804_timer_ops_init() 46 sp804_base_addr = base_addr; in sp804_timer_ops_init()
|
/external/arm-trusted-firmware/drivers/imx/timer/ |
D | imx_gpt.c | 41 void imx_gpt_ops_init(uintptr_t base_addr) in imx_gpt_ops_init() argument 45 assert(base_addr != 0); in imx_gpt_ops_init() 47 imx_base_addr = base_addr; in imx_gpt_ops_init()
|