Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 25 of 270) sorted by relevance

1234567891011

/bsp/nuvoton/libraries/nu_packages/NuUtils/inc/
A Dnu_bitutil.h107 val = *pos ++; in nu_get16_le()
125 val = *pos ++; in nu_get32_le()
138 val = *pos ++; in nu_get24_le()
167 val = *pos ++; in nu_get16_be()
169 val += *pos; in nu_get16_be()
186 val = *pos ++; in nu_get24_be()
188 val += *pos ++; in nu_get24_be()
190 val += *pos ++; in nu_get24_be()
208 val = *pos ++; in nu_get32_be()
210 val += *pos ++; in nu_get32_be()
[all …]
/bsp/allwinner/libraries/sunxi-hal/include/hal/
A Daw_list.h375 for (pos = (head)->next; pos != (head); pos = pos->next)
386 for (pos = (head)->next; pos != (head); pos = pos->next)
394 for (pos = (head)->prev; pos != (head); pos = pos->prev)
403 for (pos = (head)->next, n = pos->next; pos != (head); \
404 pos = n, n = pos->next)
415 pos = n, n = pos->prev)
426 pos = list_entry(pos->member.next, typeof(*pos), member))
437 pos = list_entry(pos->member.prev, typeof(*pos), member))
462 pos = list_entry(pos->member.next, typeof(*pos), member))
476 pos = list_entry(pos->member.prev, typeof(*pos), member))
[all …]
/bsp/allwinner/libraries/sunxi-hal/include/hal/sdmmc/sys/
A Dlist.h401 for (pos = (head)->next; pos != (head); pos = pos->next)
409 for (pos = (head)->prev; pos != (head); pos = pos->prev)
418 for (pos = (head)->next, n = pos->next; pos != (head); \
419 pos = n, n = pos->next)
428 for (pos = (head)->prev, n = pos->prev; \
430 pos = n, n = pos->prev)
441 pos = list_next_entry(pos, member))
452 pos = list_prev_entry(pos, member))
477 pos = list_next_entry(pos, member))
491 pos = list_prev_entry(pos, member))
[all …]
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/include/
A Dbflb_list.h195 for (pos = (head)->next; pos != (head); pos = pos->next)
203 for (pos = (head)->prev; pos != (head); pos = pos->prev)
212 for (pos = (head)->next, n = pos->next; pos != (head); \
213 pos = n, n = pos->next)
216 for (pos = (head)->prev, n = pos->prev; pos != (head); \
217 pos = n, n = pos->prev)
225 for (pos = bflb_dlist_entry((head)->next, typeof(*pos), member); \
227 pos = bflb_dlist_entry(pos->member.next, typeof(*pos), member))
236 for (pos = bflb_dlist_entry((head)->prev, typeof(*pos), member); \
238 pos = bflb_dlist_entry(pos->member.prev, typeof(*pos), member))
[all …]
/bsp/nxp/imx/imxrt/libraries/drivers/vglite/VGLiteKernel/rtos/
A Dvg_lite_hal.c236 heap_node_t * pos; in vg_lite_hal_allocate_contiguous() local
249 pos = (heap_node_t*) pos->list.prev) { in vg_lite_hal_allocate_contiguous()
251 if (pos->status == 0 && pos->size >= aligned_size) { in vg_lite_hal_allocate_contiguous()
266 *node = pos; in vg_lite_hal_allocate_contiguous()
294 pos = node; in vg_lite_hal_free_contiguous()
295 for (pos = (heap_node_t *)pos->list.next; in vg_lite_hal_free_contiguous()
297 pos = (heap_node_t *)pos->list.next) { in vg_lite_hal_free_contiguous()
311 pos = node; in vg_lite_hal_free_contiguous()
312 for (pos = (heap_node_t *)pos->list.prev; in vg_lite_hal_free_contiguous()
314 pos = (heap_node_t *)pos->list.prev) { in vg_lite_hal_free_contiguous()
[all …]
/bsp/rockchip/common/rk_hal/lib/hal/inc/
A Dhal_list.h133 #define HAL_LIST_FOR_EACH(pos, head) \ argument
134 for (pos = (head)->next; pos != (head); pos = pos->next)
142 #define HAL_LIST_FOR_EACH_SAFE(pos, n, head) \ argument
143 for (pos = (head)->next, n = pos->next; pos != (head); \
144 pos = n, n = pos->next)
152 #define HAL_LIST_FOR_EACH_ENTRY(pos, head, member) \ argument
153 for (pos = HAL_LIST_ENTRY((head)->next, __typeof__(*pos), member); \
154 &pos->member != (head); \
155 pos = HAL_LIST_ENTRY(pos->member.next, __typeof__(*pos), member))
165 for (pos = HAL_LIST_ENTRY((head)->next, __typeof__(*pos), member), \
[all …]
/bsp/synwit/libraries/SWM341_CSL/SWM341_StdPeriph_Driver/
A DSWM341_adc.c91 uint32_t pos = 0; in ADC_seq2pos() local
95 case ADC_SEQ0: pos = 0; break; in ADC_seq2pos()
96 case ADC_SEQ1: pos = 8; break; in ADC_seq2pos()
97 case ADC_SEQ2: pos = 16; break; in ADC_seq2pos()
98 case ADC_SEQ3: pos = 24; break; in ADC_seq2pos()
101 return pos; in ADC_seq2pos()
115 uint32_t pos = ADC_seq2pos(seq); in ADC_SEQ_Init() local
156 idx = pos / 8; in ADC_CMP_Init()
303 ADCx->IE |= (it << pos); in ADC_INTEn()
320 ADCx->IE &= ~(it << pos); in ADC_INTDis()
[all …]
/bsp/yichip/yc3121-pos/
A DREADME.md1 # YC3121-pos 板级支持包 说明
9 本文档为 YC3121-pos 的 BSP(板级支持包) 说明。
15 YC3121-pos 开发板由易兆微提供,可满足基础测试及高端开发需求。
19 YC3121-pos
21 ![YC3121-pos](figures/YC3121-pos.jpg "YC3121-pos")
23 YC3121-pos 开发板板载资源如下:
/bsp/stm32/stm32h750-artpi/board/port/
A Dwifi_config.c70 unsigned char *pos; in str_base64_encode_len() local
80 pos = (unsigned char *)out; in str_base64_encode_len()
83 *pos++ = base64_table[in[0] >> 2]; in str_base64_encode_len()
86 *pos++ = base64_table[in[2] & 0x3f]; in str_base64_encode_len()
92 *pos++ = base64_table[in[0] >> 2]; in str_base64_encode_len()
96 *pos++ = base64_table[(in[0] & 0x03) << 4]; in str_base64_encode_len()
97 *pos++ = '='; in str_base64_encode_len()
101 *pos++ = base64_table[((in[0] & 0x03) << 4) | in str_base64_encode_len()
103 *pos++ = base64_table[(in[1] & 0x0f) << 2]; in str_base64_encode_len()
105 *pos++ = '='; in str_base64_encode_len()
[all …]
A Ddrv_spi_ili9488.c645 rt_uint8_t pos, t; in lcd_show_char() local
661 for (pos = 0; pos < size * (size / 2) / 8; pos++) in lcd_show_char()
675 for (pos = 0; pos < size * (size / 2) / 8; pos++) in lcd_show_char()
682 font_buf[3 * (8 * pos + t)] = colortemp >> 16; in lcd_show_char()
684 font_buf[3 * (8 * pos + t) + 2] = colortemp; in lcd_show_char()
705 for (pos = 0; pos < (size * 16) / 8; pos++) in lcd_show_char()
708 if (pos % 2 == 0) in lcd_show_char()
728 for (pos = 0; pos < (size * 16) / 8; pos++) in lcd_show_char()
731 if (pos % 2 == 0) in lcd_show_char()
776 for (pos = 0; pos < size * (size / 2) / 8; pos++) in lcd_show_char()
[all …]
/bsp/stm32/stm32l475-atk-pandora/board/ports/wifi/
A Dwifi_config.c56 unsigned char *pos; in str_base64_encode_len() local
66 pos = (unsigned char *)out; in str_base64_encode_len()
69 *pos++ = base64_table[in[0] >> 2]; in str_base64_encode_len()
72 *pos++ = base64_table[in[2] & 0x3f]; in str_base64_encode_len()
78 *pos++ = base64_table[in[0] >> 2]; in str_base64_encode_len()
82 *pos++ = base64_table[(in[0] & 0x03) << 4]; in str_base64_encode_len()
83 *pos++ = '='; in str_base64_encode_len()
87 *pos++ = base64_table[((in[0] & 0x03) << 4) | in str_base64_encode_len()
89 *pos++ = base64_table[(in[1] & 0x0f) << 2]; in str_base64_encode_len()
91 *pos++ = '='; in str_base64_encode_len()
[all …]
/bsp/stm32/stm32l431-BearPi/board/ports/lcd/
A Ddrv_lcd.c562 rt_uint8_t pos, t; in lcd_show_char() local
578 for (pos = 0; pos < size * (size / 2) / 8; pos++) in lcd_show_char()
592 for (pos = 0; pos < size * (size / 2) / 8; pos++) in lcd_show_char()
599 font_buf[2 * (8 * pos + t)] = colortemp >> 8; in lcd_show_char()
600 font_buf[2 * (8 * pos + t) + 1] = colortemp; in lcd_show_char()
621 for (pos = 0; pos < (size * 16) / 8; pos++) in lcd_show_char()
624 if (pos % 2 == 0) in lcd_show_char()
644 for (pos = 0; pos < (size * 16) / 8; pos++) in lcd_show_char()
647 if (pos % 2 == 0) in lcd_show_char()
690 for (pos = 0; pos < size * (size / 2) / 8; pos++) in lcd_show_char()
[all …]
/bsp/allwinner/libraries/drivers/sdmmc/
A Ddrv_sdmmc.h33 #define rt_dev_read(dev, pos, buffer, size) (dev)->ops->read(dev, pos, buffer, size) argument
34 #define rt_dev_write(dev, pos, buffer, size) (dev)->ops->write(dev, pos, buffer, size) argument
39 #define rt_dev_read(dev, pos, buffer, size) (dev)->read(dev, pos, buffer, size) argument
40 #define rt_dev_write(dev, pos, buffer, size) (dev)->write(dev, pos, buffer, size) argument
/bsp/tkm32F499/Libraries/Hal_lib/src/
A DHAL_gpio.c163 pos = ((uint32_t)0x01) << pinpos; in GPIO_Init()
166 if (currentpin == pos) in GPIO_Init()
168 pos = pinpos << 2; in GPIO_Init()
173 tmpreg |= (currentmode << pos); in GPIO_Init()
201 if (currentpin == pos) in GPIO_Init()
203 pos = pinpos << 2; in GPIO_Init()
208 tmpreg |= (currentmode << pos); in GPIO_Init()
230 pos = ((uint32_t)0x01) << pinpos; in GPIO_Init()
233 if (currentpin == pos) in GPIO_Init()
235 pos = pinpos << 2; in GPIO_Init()
[all …]
/bsp/stm32/stm32l475-atk-pandora/board/ports/lcd/
A Ddrv_lcd.c624 rt_uint8_t pos, t; in lcd_show_char() local
640 for (pos = 0; pos < size * (size / 2) / 8; pos++) in lcd_show_char()
654 for (pos = 0; pos < size * (size / 2) / 8; pos++) in lcd_show_char()
661 font_buf[2 * (8 * pos + t)] = colortemp >> 8; in lcd_show_char()
662 font_buf[2 * (8 * pos + t) + 1] = colortemp; in lcd_show_char()
683 for (pos = 0; pos < (size * 16) / 8; pos++) in lcd_show_char()
686 if (pos % 2 == 0) in lcd_show_char()
706 for (pos = 0; pos < (size * 16) / 8; pos++) in lcd_show_char()
709 if (pos % 2 == 0) in lcd_show_char()
752 for (pos = 0; pos < size * (size / 2) / 8; pos++) in lcd_show_char()
[all …]
/bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/
A Dald_gpio.c186 uint32_t i, pos, mask, tmp; in ald_gpio_init() local
204 pos = i << 1; in ald_gpio_init()
205 mask = 0x3 << pos; in ald_gpio_init()
210 tmp |= (init->mode << pos); in ald_gpio_init()
238 pos = i; in ald_gpio_init()
239 mask = 0x1 << pos; in ald_gpio_init()
244 tmp |= (init->flt << pos); in ald_gpio_init()
255 mask = 0xF << pos; in ald_gpio_init()
458 pos = i << 1; in ald_gpio_toggle_dir()
459 mask = 0x3 << pos; in ald_gpio_toggle_dir()
[all …]
/bsp/microchip/same70/bsp/hpl/gmac/
A Dhpl_gmac.c161 uint32_t pos; in _mac_async_write() local
169 if (_txbuf_descrs[pos].status.bm.used && !_txbuf_descrs[pos].status.bm.last_buf) { in _mac_async_write()
188 pos = _txbuf_index + i; in _mac_async_write()
191 pos -= CONF_GMAC_TXDESCR_NUM; in _mac_async_write()
242 uint32_t pos; in _mac_async_read() local
250 pos = _rxbuf_index + i; in _mac_async_read()
252 if (pos >= CONF_GMAC_RXDESCR_NUM) { in _mac_async_read()
253 pos -= CONF_GMAC_RXDESCR_NUM; in _mac_async_read()
310 uint32_t pos; in _mac_async_read_len() local
316 pos = _rxbuf_index + i; in _mac_async_read_len()
[all …]
/bsp/microchip/same54/bsp/hpl/gmac/
A Dhpl_gmac.c245 uint32_t pos; in _mac_async_write() local
253 pos = _last_txbuf_index + i; in _mac_async_write()
255 pos -= CONF_GMAC_TXDESCR_NUM; in _mac_async_write()
272 pos = _txbuf_index + i; in _mac_async_write()
274 pos -= CONF_GMAC_TXDESCR_NUM; in _mac_async_write()
324 uint32_t pos; in _mac_async_read() local
332 pos = _rxbuf_index + i; in _mac_async_read()
335 pos -= CONF_GMAC_RXDESCR_NUM; in _mac_async_read()
389 uint32_t pos; in _mac_async_read_len() local
396 pos = _rxbuf_index + i; in _mac_async_read_len()
[all …]
/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/component/aw-alsa-lib/
A Dpcm_rate_linear.c101 unsigned int pos; in linear_expand() local
119 pos = get_threshold; in linear_expand()
143 pos += LINEAR_DIV; in linear_expand()
164 unsigned int pos; in linear_expand_s16() local
183 pos = get_threshold; in linear_expand_s16()
196 pos += LINEAR_DIV; in linear_expand_s16()
224 unsigned int pos; in linear_shrink() local
252 pos += get_increment; in linear_shrink()
254 pos -= LINEAR_DIV; in linear_shrink()
286 unsigned int pos = 0; in linear_shrink_s16() local
[all …]
/bsp/essemi/es32vf2264/libraries/ALD/ES32VF2264/Source/
A Dald_gpio.c183 uint32_t i, pos, mask, tmp; in ald_gpio_init() local
200 pos = i << 1; in ald_gpio_init()
201 mask = 0x3 << pos; in ald_gpio_init()
212 tmp |= (init->od << pos); in ald_gpio_init()
228 pos = i; in ald_gpio_init()
229 mask = 0x1 << pos; in ald_gpio_init()
234 tmp |= (init->flt << pos); in ald_gpio_init()
245 mask = 0xF << pos; in ald_gpio_init()
438 pos = i << 1; in ald_gpio_toggle_dir()
439 mask = 0x3 << pos; in ald_gpio_toggle_dir()
[all …]
/bsp/essemi/es32f0654/libraries/ES32F065x_ALD_StdPeriph_Driver/Source/
A Dald_gpio.c185 uint32_t i, pos, mask, tmp; in ald_gpio_init() local
202 pos = i << 1; in ald_gpio_init()
203 mask = 0x3 << pos; in ald_gpio_init()
208 tmp |= (init->mode << pos); in ald_gpio_init()
230 pos = i; in ald_gpio_init()
231 mask = 0x1 << pos; in ald_gpio_init()
236 tmp |= (init->flt << pos); in ald_gpio_init()
247 mask = 0xF << pos; in ald_gpio_init()
449 pos = i << 1; in ald_gpio_toggle_dir()
450 mask = 0x3 << pos; in ald_gpio_toggle_dir()
[all …]
/bsp/yichip/yc3122-pos/
A DREADME.md1 # YC3122-pos 板级支持包 说明
9 本文档为 YC3122-pos 的 BSP(板级支持包) 说明。
15 YC3122-pos 开发板由易兆微提供,可满足基础测试及高端开发需求。
19 YC3122-pos
21 ![YC3122-pos](figures/YC3122-pos.png)
23 YC3122-pos 开发板板载资源如下:
/bsp/xuantie/libraries/xuantie_libraries/csi/csi2/include/drv/
A Dlist.h110 #define dlist_for_each(pos, head) \ argument
111 for (pos = (head)->next; pos != (head); pos = pos->next)
120 #define dlist_for_each_safe(pos, n, head) \ argument
121 for (pos = (head)->next, n = pos->next; pos != (head); \
122 pos = n, n = pos->next)
170 #define dlist_for_each_entry_reverse(pos, head, member, type) \ argument
171 for (pos = list_entry((head)->prev, type, member); \
172 &pos->member != (head); \
173 pos = list_entry(pos->member.prev, type, member))
/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/core/
A Dsnd_dma.c42 uint32_t pos; member
122 uint32_t pos = 0; in snd_dmaengine_pcm_pointer() local
130 pos = buf_size - residue; in snd_dmaengine_pcm_pointer()
133 pos, pos, bytes_to_frames(substream->runtime, pos)); in snd_dmaengine_pcm_pointer()
134 return bytes_to_frames(substream->runtime, pos); in snd_dmaengine_pcm_pointer()
155 prtd->pos += snd_pcm_lib_period_bytes(substream); in dmaengine_pcm_dma_complete()
156 if (prtd->pos >= snd_pcm_lib_buffer_bytes(substream)) in dmaengine_pcm_dma_complete()
157 prtd->pos = 0; in dmaengine_pcm_dma_complete()
172 prtd->pos = 0; in dmaengine_pcm_prepare_and_submit()
/bsp/nxp/lpc/lpc55sxx/Libraries/drivers/sample/
A Dlcd_touch_sample.c56 if (ctp_input.pos[i].id == 0) in lcd_touch_sample()
58 …911.pos_y_max - ctp_input.pos[i].pos_y, capt->gt911.pos_y_max - ctp_input.pos[i].pos_y+4, ctp_inpu… in lcd_touch_sample()
59 …t_kprintf("x:%d, y:%d\r\n", capt->gt911.pos_y_max - ctp_input.pos[i].pos_y , ctp_input.pos[i].pos_… in lcd_touch_sample()

Completed in 70 milliseconds

1234567891011