Home
last modified time | relevance | path

Searched refs:addr_offset (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/pwm/
Dpwm_ifx_cat1.c47 uint32_t addr_offset = (uint32_t)config->reg_addr - TCPWM0_BASE; in ifx_cat1_pwm_init() local
67 if (addr_offset < sizeof(TCPWM_GRP_Type)) { in ifx_cat1_pwm_init()
69 PCLK_TCPWM0_CLOCK_COUNTER_EN0 + (addr_offset / sizeof(TCPWM_GRP_CNT_Type)); in ifx_cat1_pwm_init()
71 addr_offset -= sizeof(TCPWM_GRP_Type); in ifx_cat1_pwm_init()
73 (addr_offset / sizeof(TCPWM_GRP_CNT_Type)); in ifx_cat1_pwm_init()
83 data->pwm_num += addr_offset / sizeof(TCPWM_GRP_CNT_Type); in ifx_cat1_pwm_init()
/Zephyr-latest/kernel/
Dmmu.c893 uintptr_t aligned_phys, addr_offset; in k_mem_map_phys_bare() local
903 addr_offset = k_mem_region_align(&aligned_phys, &aligned_size, in k_mem_map_phys_bare()
959 aligned_phys, aligned_size, flags, addr_offset); in k_mem_map_phys_bare()
964 *virt_ptr = dest_addr + addr_offset; in k_mem_map_phys_bare()
981 uintptr_t aligned_virt, addr_offset; in k_mem_unmap_phys_bare() local
985 addr_offset = k_mem_region_align(&aligned_virt, &aligned_size, in k_mem_unmap_phys_bare()
996 aligned_virt, aligned_size, addr_offset); in k_mem_unmap_phys_bare()
1010 size_t addr_offset; in k_mem_region_align() local
1016 addr_offset = addr - *aligned_addr; in k_mem_region_align()
1017 *aligned_size = ROUND_UP(size + addr_offset, align); in k_mem_region_align()
[all …]
/Zephyr-latest/drivers/memc/
Dmemc_mcux_flexspi.c225 uint32_t seq_off, addr_offset = 0U; in memc_flexspi_transfer() local
232 addr_offset += data->size[i]; in memc_flexspi_transfer()
235 if ((seq_off != 0) || (addr_offset != 0)) { in memc_flexspi_transfer()
239 tmp.deviceAddress += addr_offset; in memc_flexspi_transfer()
/Zephyr-latest/arch/xtensa/core/
Dmpu.c1013 size_t aligned_size, addr_offset; in arch_buffer_validate() local
1018 addr_offset = (uintptr_t)addr - aligned_addr; in arch_buffer_validate()
1019 aligned_size = ROUND_UP(size + addr_offset, XCHAL_MPU_ALIGN); in arch_buffer_validate()
1084 size_t aligned_size, addr_offset; in xtensa_mem_kernel_has_access() local
1089 addr_offset = (uintptr_t)addr - aligned_addr; in xtensa_mem_kernel_has_access()
1090 aligned_size = ROUND_UP(size + addr_offset, XCHAL_MPU_ALIGN); in xtensa_mem_kernel_has_access()