Searched refs:pos (Results 1 – 11 of 11) sorted by relevance
| /external/platform/stm32f1xx/STM32F10x_StdPeriph_Driver/src/ |
| A D | stm32f10x_gpio.c | 197 pos = ((uint32_t)0x01) << pinpos; in GPIO_Init() 199 currentpin = (GPIO_InitStruct->GPIO_Pin) & pos; in GPIO_Init() 200 if (currentpin == pos) in GPIO_Init() 202 pos = pinpos << 2; in GPIO_Init() 204 pinmask = ((uint32_t)0x0F) << pos; in GPIO_Init() 207 tmpreg |= (currentmode << pos); in GPIO_Init() 232 pos = (((uint32_t)0x01) << (pinpos + 0x08)); in GPIO_Init() 235 if (currentpin == pos) in GPIO_Init() 237 pos = pinpos << 2; in GPIO_Init() 239 pinmask = ((uint32_t)0x0F) << pos; in GPIO_Init() [all …]
|
| /external/lib/lwip/core/ |
| A D | tcp_out.c | 358 u16_t pos = 0; /* position in 'arg' data */ in tcp_write() local 452 pos += oversize_used; in tcp_write() 467 if ((pos < len) && (space > 0) && (last_unsent->len > 0)) { in tcp_write() 468 u16_t seglen = space < len - pos ? space : len - pos; in tcp_write() 503 concat_p->payload = (u8_t*)arg + pos; in tcp_write() 506 pos += seglen; in tcp_write() 522 while (pos < len) { in tcp_write() 524 u16_t left = len - pos; in tcp_write() 558 chksum = ~inet_chksum((u8_t*)arg + pos, seglen); in tcp_write() 561 p2->payload = (u8_t*)arg + pos; in tcp_write() [all …]
|
| /external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/src/ |
| A D | stm32f2xx_gpio.c | 190 uint32_t pinpos = 0x00, pos = 0x00 , currentpin = 0x00; in GPIO_Init() local 202 pos = ((uint32_t)0x01) << pinpos; in GPIO_Init() 204 currentpin = (GPIO_InitStruct->GPIO_Pin) & pos; in GPIO_Init() 206 if (currentpin == pos) in GPIO_Init()
|
| /external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/src/ |
| A D | stm32f4xx_gpio.c | 197 uint32_t pinpos = 0x00, pos = 0x00 , currentpin = 0x00; in GPIO_Init() local 209 pos = ((uint32_t)0x01) << pinpos; in GPIO_Init() 211 currentpin = (GPIO_InitStruct->GPIO_Pin) & pos; in GPIO_Init() 213 if (currentpin == pos) in GPIO_Init()
|
| /external/arch/arm/arm-m/CMSIS/Include/ |
| A D | mpu_armv8.h | 191 const uint32_t pos = ((idx % 4U) * 8U); in ARM_MPU_SetMemAttrEx() local 192 const uint32_t mask = 0xFFU << pos; in ARM_MPU_SetMemAttrEx() 198 mpu->MAIR[reg] = ((mpu->MAIR[reg] & ~mask) | ((attr << pos) & mask)); in ARM_MPU_SetMemAttrEx()
|
| /external/platform/nrfx/drivers/src/ |
| A D | nrfx_dppi.c | 58 #define DPPI_BIT_SET(pos) (1uL << (pos)) argument
|
| A D | nrfx_usbd.c | 1351 uint8_t pos; in usbd_dmareq_process() local 1354 pos = usbd_dma_scheduler_algorithm(req & USBD_EPISO_BIT_MASK); in usbd_dmareq_process() 1358 pos = usbd_dma_scheduler_algorithm(req); in usbd_dmareq_process() 1360 nrfx_usbd_ep_t ep = bit2ep(pos); in usbd_dmareq_process() 1402 (void)(NRFX_ATOMIC_FETCH_AND(&m_ep_dma_waiting, ~(1U << pos))); in usbd_dmareq_process() 1421 m_ep_ready &= ~(1U << pos); in usbd_dmareq_process()
|
| /external/platform/pico/rp2_common/pico_cyw43_driver/cybt_shared_bus/ |
| A D | cybt_shared_bus_driver.c | 182 for(int pos = 0; pos < nchars; pos += 2) { in read_hex() local 184 result |= read_hex_byte(str + pos); in read_hex()
|
| /external/platform/pico/rp2_common/pico_stdio/ |
| A D | stdio.c | 188 off_t __attribute__((weak)) _lseek(__unused int fd, __unused off_t pos, __unused int whence) { in _lseek() argument
|
| /external/lib/miniz/ |
| A D | miniz.c | 1498 …mz_uint dist, pos = lookahead_pos & TDEFL_LZ_DICT_SIZE_MASK, match_len = *pMatch_len, probe_pos = … in tdefl_find_match() local 1500 const mz_uint16 *s = (const mz_uint16*)(d->m_dict + pos), *p, *q; in tdefl_find_match() 1501 …mz_uint16 c01 = TDEFL_READ_UNALIGNED_WORD(&d->m_dict[pos + match_len - 1]), s01 = TDEFL_READ_UNALI… in tdefl_find_match() 1525 c01 = TDEFL_READ_UNALIGNED_WORD(&d->m_dict[pos + match_len - 1]); in tdefl_find_match() 1532 …mz_uint dist, pos = lookahead_pos & TDEFL_LZ_DICT_SIZE_MASK, match_len = *pMatch_len, probe_pos = … in tdefl_find_match() local 1534 const mz_uint8 *s = d->m_dict + pos, *p, *q; in tdefl_find_match() 1535 mz_uint8 c0 = d->m_dict[pos + match_len], c1 = d->m_dict[pos + match_len - 1]; in tdefl_find_match() 1553 c0 = d->m_dict[pos + match_len]; c1 = d->m_dict[pos + match_len - 1]; in tdefl_find_match()
|
| /external/lib/heap/dlmalloc/ |
| A D | dlmalloc.c | 4977 char* pos = ((size_t)(br - (char*)(p)) >= MIN_CHUNK_SIZE)? in internal_memalign() local 4979 mchunkptr newp = (mchunkptr)pos; in internal_memalign() 4980 size_t leadsize = pos - (char*)(p); in internal_memalign()
|
Completed in 44 milliseconds