Home
last modified time | relevance | path

Searched refs:n (Results 1 – 25 of 41) sorted by relevance

12

/hal_stm32-3.5.0/lib/stm32wb/hci/
Dapp_common.h92 #define SHRR( x, n ) ((((x)>>((n)-1))+1)>>1) argument
94 #define BITN( w, n ) (((w)[(n)/32] >> ((n)%32)) & 1) argument
96 #define BITNSET( w, n, b ) M_BEGIN (w)[(n)/32] |= ((U32)(b))<<((n)%32); M_END argument
104 #define ALIGN(n) argument
106 #define ALIGN(n) __attribute__((aligned(n)))
Dutilities_common.h93 #define ALIGN(n) argument
95 #define ALIGN(n) __attribute__((aligned(n)))
113 #define SHRR( x, n ) ((((x)>>((n)-1))+1)>>1) argument
116 #define BITN( w, n ) (((w)[(n)/32] >> ((n)%32)) & 1) argument
119 #define BITNSET( w, n, b ) M_BEGIN (w)[(n)/32] |= ((U32)(b))<<((n)%32); M_END argument
Dstm32_wpan_common.h106 #define ALIGN(n) argument
108 #define ALIGN(n) __attribute__((aligned(n)))
126 #define SHRR( x, n ) ((((x)>>((n)-1))+1)>>1) argument
129 #define BITN( w, n ) (((w)[(n)/32] >> ((n)%32)) & 1) argument
132 #define BITNSET( w, n, b ) M_BEGIN (w)[(n)/32] |= ((U32)(b))<<((n)%32); M_END argument
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_hal_pka.c286 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n);
287 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n);
288 void PKA_Memcpy_u32_to_u32(__IO uint32_t dst[], __IO const uint32_t src[], size_t n);
1811 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n) in PKA_Memcpy_u32_to_u8() argument
1819 for (; index_uint32_t < (n / 4UL); index_uint32_t++) in PKA_Memcpy_u32_to_u8()
1823 uint32_t index_uint8_t = n - 4UL - (index_uint32_t * 4UL); in PKA_Memcpy_u32_to_u8()
1831 if ((n % 4UL) == 1UL) in PKA_Memcpy_u32_to_u8()
1835 else if ((n % 4UL) == 2UL) in PKA_Memcpy_u32_to_u8()
1840 else if ((n % 4UL) == 3UL) in PKA_Memcpy_u32_to_u8()
1861 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n) in PKA_Memcpy_u8_to_u32() argument
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_hal_pka.c287 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n);
288 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n);
289 void PKA_Memcpy_u32_to_u32(__IO uint32_t dst[], __IO const uint32_t src[], size_t n);
1877 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n) in PKA_Memcpy_u32_to_u8() argument
1885 for (; index_uint32_t < (n / 4UL); index_uint32_t++) in PKA_Memcpy_u32_to_u8()
1889 uint32_t index_uint8_t = n - 4UL - (index_uint32_t * 4UL); in PKA_Memcpy_u32_to_u8()
1897 if ((n % 4UL) == 1UL) in PKA_Memcpy_u32_to_u8()
1901 else if ((n % 4UL) == 2UL) in PKA_Memcpy_u32_to_u8()
1906 else if ((n % 4UL) == 3UL) in PKA_Memcpy_u32_to_u8()
1927 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n) in PKA_Memcpy_u8_to_u32() argument
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_pka.c287 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n);
288 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n);
289 void PKA_Memcpy_u32_to_u32(__IO uint32_t dst[], __IO const uint32_t src[], size_t n);
1838 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n) in PKA_Memcpy_u32_to_u8() argument
1846 for (; index_uint32_t < (n / 4UL); index_uint32_t++) in PKA_Memcpy_u32_to_u8()
1850 uint32_t index_uint8_t = n - 4UL - (index_uint32_t * 4UL); in PKA_Memcpy_u32_to_u8()
1858 if ((n % 4UL) == 1UL) in PKA_Memcpy_u32_to_u8()
1862 else if ((n % 4UL) == 2UL) in PKA_Memcpy_u32_to_u8()
1867 else if ((n % 4UL) == 3UL) in PKA_Memcpy_u32_to_u8()
1888 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n) in PKA_Memcpy_u8_to_u32() argument
[all …]
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_pka.c287 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n);
288 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n);
289 void PKA_Memcpy_u32_to_u32(__IO uint32_t dst[], __IO const uint32_t src[], size_t n);
1838 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n) in PKA_Memcpy_u32_to_u8() argument
1846 for (; index_uint32_t < (n / 4UL); index_uint32_t++) in PKA_Memcpy_u32_to_u8()
1850 uint32_t index_uint8_t = n - 4UL - (index_uint32_t * 4UL); in PKA_Memcpy_u32_to_u8()
1858 if ((n % 4UL) == 1UL) in PKA_Memcpy_u32_to_u8()
1862 else if ((n % 4UL) == 2UL) in PKA_Memcpy_u32_to_u8()
1867 else if ((n % 4UL) == 3UL) in PKA_Memcpy_u32_to_u8()
1888 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n) in PKA_Memcpy_u8_to_u32() argument
[all …]
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/
Dstm32mp1xx_ll_rcc.c480 uint32_t m, n, fracv = 0U; in LL_RCC_GetPLL1ClockFreq() local
516 n = LL_RCC_PLL1_GetN(); in LL_RCC_GetPLL1ClockFreq()
526 …PLL_Clocks->PLL_P_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracv, LL_RCC_PLL1_GetP(… in LL_RCC_GetPLL1ClockFreq()
540 uint32_t m, n, fracv = 0U; in LL_RCC_GetPLL2ClockFreq() local
577 n = LL_RCC_PLL2_GetN(); in LL_RCC_GetPLL2ClockFreq()
587 …PLL_Clocks->PLL_P_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracv, LL_RCC_PLL2_GetP(… in LL_RCC_GetPLL2ClockFreq()
592 …PLL_Clocks->PLL_Q_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracv, LL_RCC_PLL2_GetQ(… in LL_RCC_GetPLL2ClockFreq()
597 …PLL_Clocks->PLL_R_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracv, LL_RCC_PLL2_GetR(… in LL_RCC_GetPLL2ClockFreq()
611 uint32_t m, n, fracv = 0U; in LL_RCC_GetPLL3ClockFreq() local
656 n = LL_RCC_PLL3_GetN(); in LL_RCC_GetPLL3ClockFreq()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_ll_rcc.c294 uint32_t m, n, fracn = 0U; in LL_RCC_GetPLL1ClockFreq() local
335 n = LL_RCC_PLL1_GetN(); in LL_RCC_GetPLL1ClockFreq()
345 …PLL_Clocks->PLL_P_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracn, LL_RCC_PLL1_GetP(… in LL_RCC_GetPLL1ClockFreq()
350 …PLL_Clocks->PLL_Q_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracn, LL_RCC_PLL1_GetQ(… in LL_RCC_GetPLL1ClockFreq()
355 …PLL_Clocks->PLL_R_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracn, LL_RCC_PLL1_GetR(… in LL_RCC_GetPLL1ClockFreq()
368 uint32_t m, n, fracn = 0U; in LL_RCC_GetPLL2ClockFreq() local
409 n = LL_RCC_PLL2_GetN(); in LL_RCC_GetPLL2ClockFreq()
419 …PLL_Clocks->PLL_P_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracn, LL_RCC_PLL2_GetP(… in LL_RCC_GetPLL2ClockFreq()
424 …PLL_Clocks->PLL_Q_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracn, LL_RCC_PLL2_GetQ(… in LL_RCC_GetPLL2ClockFreq()
429 …PLL_Clocks->PLL_R_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracn, LL_RCC_PLL2_GetR(… in LL_RCC_GetPLL2ClockFreq()
[all …]
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal_pka.c304 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n);
305 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n);
306 void PKA_Memcpy_u32_to_u32(__IO uint32_t dst[], __IO const uint32_t src[], size_t n);
2063 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n) in PKA_Memcpy_u32_to_u8() argument
2071 for (; index_uint32_t < (n / 4UL); index_uint32_t++) in PKA_Memcpy_u32_to_u8()
2075 uint32_t index_uint8_t = n - 4UL - (index_uint32_t * 4UL); in PKA_Memcpy_u32_to_u8()
2083 if ((n % 4UL) == 1UL) in PKA_Memcpy_u32_to_u8()
2087 else if ((n % 4UL) == 2UL) in PKA_Memcpy_u32_to_u8()
2092 else if ((n % 4UL) == 3UL) in PKA_Memcpy_u32_to_u8()
2113 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n) in PKA_Memcpy_u8_to_u32() argument
[all …]
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_pka.c304 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n);
305 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n);
306 void PKA_Memcpy_u32_to_u32(__IO uint32_t dst[], __IO const uint32_t src[], size_t n);
2063 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n) in PKA_Memcpy_u32_to_u8() argument
2071 for (; index_uint32_t < (n / 4UL); index_uint32_t++) in PKA_Memcpy_u32_to_u8()
2075 uint32_t index_uint8_t = n - 4UL - (index_uint32_t * 4UL); in PKA_Memcpy_u32_to_u8()
2083 if ((n % 4UL) == 1UL) in PKA_Memcpy_u32_to_u8()
2087 else if ((n % 4UL) == 2UL) in PKA_Memcpy_u32_to_u8()
2092 else if ((n % 4UL) == 3UL) in PKA_Memcpy_u32_to_u8()
2113 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n) in PKA_Memcpy_u8_to_u32() argument
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_hal_pka.c304 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n);
305 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n);
306 void PKA_Memcpy_u32_to_u32(__IO uint32_t dst[], __IO const uint32_t src[], size_t n);
2063 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n) in PKA_Memcpy_u32_to_u8() argument
2071 for (; index_uint32_t < (n / 4UL); index_uint32_t++) in PKA_Memcpy_u32_to_u8()
2075 uint32_t index_uint8_t = n - 4UL - (index_uint32_t * 4UL); in PKA_Memcpy_u32_to_u8()
2083 if ((n % 4UL) == 1UL) in PKA_Memcpy_u32_to_u8()
2087 else if ((n % 4UL) == 2UL) in PKA_Memcpy_u32_to_u8()
2092 else if ((n % 4UL) == 3UL) in PKA_Memcpy_u32_to_u8()
2113 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n) in PKA_Memcpy_u8_to_u32() argument
[all …]
/hal_stm32-3.5.0/stm32cube/stm32h5xx/soc/Templates/
Dpartition_stm32h562xx.h549 #define SAU_INIT_REGION(n) \ argument
550 SAU->RNR = (n & SAU_RNR_REGION_Msk); \
551 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \
552 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \
553 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
Dpartition_stm32h563xx.h554 #define SAU_INIT_REGION(n) \ argument
555 SAU->RNR = (n & SAU_RNR_REGION_Msk); \
556 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \
557 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \
558 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
/hal_stm32-3.5.0/stm32cube/stm32u5xx/soc/Templates/
Dpartition_stm32u535xx.h547 #define SAU_INIT_REGION(n) \ argument
548 SAU->RNR = (n & SAU_RNR_REGION_Msk); \
549 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \
550 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \
551 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
Dpartition_stm32u545xx.h551 #define SAU_INIT_REGION(n) \ argument
552 SAU->RNR = (n & SAU_RNR_REGION_Msk); \
553 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \
554 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \
555 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
Dpartition_stm32u575xx.h558 #define SAU_INIT_REGION(n) \ argument
559 SAU->RNR = (n & SAU_RNR_REGION_Msk); \
560 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \
561 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \
562 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
Dpartition_stm32u585xx.h563 #define SAU_INIT_REGION(n) \ argument
564 SAU->RNR = (n & SAU_RNR_REGION_Msk); \
565 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \
566 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \
567 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
Dpartition_stm32u595xx.h578 #define SAU_INIT_REGION(n) \ argument
579 SAU->RNR = (n & SAU_RNR_REGION_Msk); \
580 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \
581 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \
582 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
Dpartition_stm32u599xx.h585 #define SAU_INIT_REGION(n) \ argument
586 SAU->RNR = (n & SAU_RNR_REGION_Msk); \
587 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \
588 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \
589 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/soc/Templates/
Dpartition_stm32wba54xx.h485 #define SAU_INIT_REGION(n) \ argument
486 SAU->RNR = (n & SAU_RNR_REGION_Msk); \
487 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \
488 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \
489 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
Dpartition_stm32wba55xx.h485 #define SAU_INIT_REGION(n) \ argument
486 SAU->RNR = (n & SAU_RNR_REGION_Msk); \
487 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \
488 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \
489 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
Dpartition_stm32wba52xx.h483 #define SAU_INIT_REGION(n) \ argument
484 SAU->RNR = (n & SAU_RNR_REGION_Msk); \
485 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \
486 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \
487 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
/hal_stm32-3.5.0/stm32cube/stm32l5xx/soc/Templates/
Dpartition_stm32l552xx.h539 #define SAU_INIT_REGION(n) \ argument
540 SAU->RNR = (n & SAU_RNR_REGION_Msk); \
541 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \
542 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \
543 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
Dpartition_stm32l562xx.h541 #define SAU_INIT_REGION(n) \ argument
542 SAU->RNR = (n & SAU_RNR_REGION_Msk); \
543 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \
544 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \
545 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U

12