| /optee_os/core/mm/ |
| H A D | boot_mem.c | 76d6685e5f3b91d66dc2091b9d61601c050298bb Tue Dec 17 22:22:17 UTC 2024 Etienne Carriere <etienne.carriere@foss.st.com> tree-wide: use power-of-2 rounding macros where applicable
Use ROUNDUP2(), ROUNDUP2_OVERFLOW(), ROUNDUP2_DIV() and ROUNDDOWN2() at places where the rounding argument is a variable value and we want to leverage the implementation of these routines optimized for a power-of-2 rounding argument.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| H A D | tee_mm.c | 76d6685e5f3b91d66dc2091b9d61601c050298bb Tue Dec 17 22:22:17 UTC 2024 Etienne Carriere <etienne.carriere@foss.st.com> tree-wide: use power-of-2 rounding macros where applicable
Use ROUNDUP2(), ROUNDUP2_OVERFLOW(), ROUNDUP2_DIV() and ROUNDDOWN2() at places where the rounding argument is a variable value and we want to leverage the implementation of these routines optimized for a power-of-2 rounding argument.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| H A D | vm.c | 76d6685e5f3b91d66dc2091b9d61601c050298bb Tue Dec 17 22:22:17 UTC 2024 Etienne Carriere <etienne.carriere@foss.st.com> tree-wide: use power-of-2 rounding macros where applicable
Use ROUNDUP2(), ROUNDUP2_OVERFLOW(), ROUNDUP2_DIV() and ROUNDDOWN2() at places where the rounding argument is a variable value and we want to leverage the implementation of these routines optimized for a power-of-2 rounding argument.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| H A D | core_mmu.c | 76d6685e5f3b91d66dc2091b9d61601c050298bb Tue Dec 17 22:22:17 UTC 2024 Etienne Carriere <etienne.carriere@foss.st.com> tree-wide: use power-of-2 rounding macros where applicable
Use ROUNDUP2(), ROUNDUP2_OVERFLOW(), ROUNDUP2_DIV() and ROUNDDOWN2() at places where the rounding argument is a variable value and we want to leverage the implementation of these routines optimized for a power-of-2 rounding argument.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| /optee_os/core/kernel/ |
| H A D | transfer_list.c | 76d6685e5f3b91d66dc2091b9d61601c050298bb Tue Dec 17 22:22:17 UTC 2024 Etienne Carriere <etienne.carriere@foss.st.com> tree-wide: use power-of-2 rounding macros where applicable
Use ROUNDUP2(), ROUNDUP2_OVERFLOW(), ROUNDUP2_DIV() and ROUNDDOWN2() at places where the rounding argument is a variable value and we want to leverage the implementation of these routines optimized for a power-of-2 rounding argument.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| H A D | tee_misc.c | 76d6685e5f3b91d66dc2091b9d61601c050298bb Tue Dec 17 22:22:17 UTC 2024 Etienne Carriere <etienne.carriere@foss.st.com> tree-wide: use power-of-2 rounding macros where applicable
Use ROUNDUP2(), ROUNDUP2_OVERFLOW(), ROUNDUP2_DIV() and ROUNDDOWN2() at places where the rounding argument is a variable value and we want to leverage the implementation of these routines optimized for a power-of-2 rounding argument.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| /optee_os/core/drivers/clk/ |
| H A D | clk-stm32-core.c | 76d6685e5f3b91d66dc2091b9d61601c050298bb Tue Dec 17 22:22:17 UTC 2024 Etienne Carriere <etienne.carriere@foss.st.com> tree-wide: use power-of-2 rounding macros where applicable
Use ROUNDUP2(), ROUNDUP2_OVERFLOW(), ROUNDUP2_DIV() and ROUNDDOWN2() at places where the rounding argument is a variable value and we want to leverage the implementation of these routines optimized for a power-of-2 rounding argument.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| /optee_os/core/drivers/crypto/caam/utils/ |
| H A D | utils_dmaobj.c | 76d6685e5f3b91d66dc2091b9d61601c050298bb Tue Dec 17 22:22:17 UTC 2024 Etienne Carriere <etienne.carriere@foss.st.com> tree-wide: use power-of-2 rounding macros where applicable
Use ROUNDUP2(), ROUNDUP2_OVERFLOW(), ROUNDUP2_DIV() and ROUNDDOWN2() at places where the rounding argument is a variable value and we want to leverage the implementation of these routines optimized for a power-of-2 rounding argument.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| H A D | utils_mem.c | 76d6685e5f3b91d66dc2091b9d61601c050298bb Tue Dec 17 22:22:17 UTC 2024 Etienne Carriere <etienne.carriere@foss.st.com> tree-wide: use power-of-2 rounding macros where applicable
Use ROUNDUP2(), ROUNDUP2_OVERFLOW(), ROUNDUP2_DIV() and ROUNDDOWN2() at places where the rounding argument is a variable value and we want to leverage the implementation of these routines optimized for a power-of-2 rounding argument.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| /optee_os/core/drivers/crypto/stm32/ |
| H A D | stm32_cryp.c | 76d6685e5f3b91d66dc2091b9d61601c050298bb Tue Dec 17 22:22:17 UTC 2024 Etienne Carriere <etienne.carriere@foss.st.com> tree-wide: use power-of-2 rounding macros where applicable
Use ROUNDUP2(), ROUNDUP2_OVERFLOW(), ROUNDUP2_DIV() and ROUNDDOWN2() at places where the rounding argument is a variable value and we want to leverage the implementation of these routines optimized for a power-of-2 rounding argument.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| /optee_os/lib/libutee/ |
| H A D | tee_api.c | 76d6685e5f3b91d66dc2091b9d61601c050298bb Tue Dec 17 22:22:17 UTC 2024 Etienne Carriere <etienne.carriere@foss.st.com> tree-wide: use power-of-2 rounding macros where applicable
Use ROUNDUP2(), ROUNDUP2_OVERFLOW(), ROUNDUP2_DIV() and ROUNDDOWN2() at places where the rounding argument is a variable value and we want to leverage the implementation of these routines optimized for a power-of-2 rounding argument.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| H A D | tee_api_operations.c | 76d6685e5f3b91d66dc2091b9d61601c050298bb Tue Dec 17 22:22:17 UTC 2024 Etienne Carriere <etienne.carriere@foss.st.com> tree-wide: use power-of-2 rounding macros where applicable
Use ROUNDUP2(), ROUNDUP2_OVERFLOW(), ROUNDUP2_DIV() and ROUNDDOWN2() at places where the rounding argument is a variable value and we want to leverage the implementation of these routines optimized for a power-of-2 rounding argument.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|
| /optee_os/ldelf/ |
| H A D | ta_elf.c | 76d6685e5f3b91d66dc2091b9d61601c050298bb Tue Dec 17 22:22:17 UTC 2024 Etienne Carriere <etienne.carriere@foss.st.com> tree-wide: use power-of-2 rounding macros where applicable
Use ROUNDUP2(), ROUNDUP2_OVERFLOW(), ROUNDUP2_DIV() and ROUNDDOWN2() at places where the rounding argument is a variable value and we want to leverage the implementation of these routines optimized for a power-of-2 rounding argument.
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|