Lines Matching refs:offset
71 size_t offset; in stm32mp_ddr_test_addr_bus() local
75 for (offset = sizeof(uint32_t); (offset & addressmask) != 0U; in stm32mp_ddr_test_addr_bus()
76 offset <<= 1U) { in stm32mp_ddr_test_addr_bus()
77 mmio_write_32(STM32MP_DDR_BASE + offset, DDR_PATTERN); in stm32mp_ddr_test_addr_bus()
83 for (offset = sizeof(uint32_t); (offset & addressmask) != 0U; in stm32mp_ddr_test_addr_bus()
84 offset <<= 1U) { in stm32mp_ddr_test_addr_bus()
85 if (mmio_read_32(STM32MP_DDR_BASE + offset) != DDR_PATTERN) { in stm32mp_ddr_test_addr_bus()
86 return STM32MP_DDR_BASE + offset; in stm32mp_ddr_test_addr_bus()
101 for (offset = sizeof(uint32_t); (offset & addressmask) != 0U; in stm32mp_ddr_test_addr_bus()
102 offset <<= 1) { in stm32mp_ddr_test_addr_bus()
103 if ((mmio_read_32(STM32MP_DDR_BASE + offset) != DDR_PATTERN) && in stm32mp_ddr_test_addr_bus()
104 (offset != testoffset)) { in stm32mp_ddr_test_addr_bus()
105 return STM32MP_DDR_BASE + offset; in stm32mp_ddr_test_addr_bus()
124 size_t offset = sizeof(uint32_t); in stm32mp_ddr_check_size() local
128 while (offset < STM32MP_DDR_MAX_SIZE) { in stm32mp_ddr_check_size()
129 mmio_write_32(STM32MP_DDR_BASE + offset, DDR_ANTIPATTERN); in stm32mp_ddr_check_size()
136 offset <<= 1U; in stm32mp_ddr_check_size()
139 return offset; in stm32mp_ddr_check_size()