Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 25 of 26) sorted by relevance

12

/lk-master/external/platform/pico/rp2_common/pico_printf/
A Dprintf.c138 if (idx < maxlen) { in _out_buffer()
147 (void) idx; in _out_null()
154 (void) idx; in _out_char()
164 (void) idx; in _out_fct()
223 return idx; in _out_rev()
566 while (idx - start_idx < width) out(' ', buffer, idx++, maxlen); in _etoa()
569 return idx; in _etoa()
581 size_t idx = 0U; in _vsnprintf() local
742 idx = _ntoa_long_long(out, buffer, idx, maxlen, in _vsnprintf()
882 out((char) 0, buffer, idx < maxlen ? idx : maxlen - 1U, maxlen); in _vsnprintf()
[all …]
/lk-master/external/platform/nrfx/hal/
A Dnrf_gpiote.h361 uint32_t idx,
498 p_reg->CONFIG[idx] |= GPIOTE_CONFIG_MODE_Event; in nrf_gpiote_event_enable()
503 p_reg->CONFIG[idx] &= ~GPIOTE_CONFIG_MODE_Event; in nrf_gpiote_event_disable()
530 uint32_t final_config = p_reg->CONFIG[idx] | GPIOTE_CONFIG_MODE_Task; in nrf_gpiote_task_enable()
537 p_reg->CONFIG[idx] = final_config | in nrf_gpiote_task_enable()
543 p_reg->CONFIG[idx] = final_config; in nrf_gpiote_task_enable()
548 p_reg->CONFIG[idx] &= ~GPIOTE_CONFIG_MODE_Task; in nrf_gpiote_task_disable()
557 p_reg->CONFIG[idx] &= ~(GPIOTE_CONFIG_PORT_PIN_Msk | in nrf_gpiote_task_configure()
567 uint32_t idx, in nrf_gpiote_task_force() argument
570 p_reg->CONFIG[idx] = (p_reg->CONFIG[idx] & ~GPIOTE_CONFIG_OUTINIT_Msk) | in nrf_gpiote_task_force()
[all …]
/lk-master/external/lib/lwip/api/
A Dnetdb.c119 u8_t idx; in lwip_gethostbyname() local
120 for ( idx=0; s_hostent.h_aliases[idx]; idx++) { in lwip_gethostbyname()
121 LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_aliases[%i]-> == %p\n", idx, s_hostent.h_aliases[idx])); in lwip_gethostbyname()
122 LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_aliases[%i]-> == %s\n", idx, s_hostent.h_aliases[idx])); in lwip_gethostbyname()
129 u8_t idx; in lwip_gethostbyname() local
130 for ( idx=0; s_hostent.h_addr_list[idx]; idx++) { in lwip_gethostbyname()
131 … LWIP_DEBUGF(DNS_DEBUG, ("hostent.h_addr_list[%i] == %p\n", idx, s_hostent.h_addr_list[idx])); in lwip_gethostbyname()
132 …F(DNS_DEBUG, ("hostent.h_addr_list[%i]-> == %s\n", idx, ip_ntoa((ip_addr_t*)s_hostent.h_addr_list[ in lwip_gethostbyname()
/lk-master/external/platform/lpc15xx/lpcopen/lpc_board_nxp_lpcxpresso_1549/src/
A Dboard.c117 int idx; in Board_LED_Init() local
119 for (idx = 0; idx < MAXLEDS; idx++) { in Board_LED_Init()
121 Chip_GPIO_SetPinDIROutput(LPC_GPIO, ledports[idx], ledpins[idx]); in Board_LED_Init()
122 Chip_GPIO_SetPinState(LPC_GPIO, ledports[idx], ledpins[idx], true); in Board_LED_Init()
/lk-master/target/lpcexpresso1549/
A Dinit.c139 int idx; in Board_LED_Init() local
143 for (idx = 0; idx < MAXLEDS; idx++) { in Board_LED_Init()
145 Chip_GPIO_SetPinDIROutput(LPC_GPIO, ledports[idx], ledpins[idx]); in Board_LED_Init()
146 Chip_GPIO_SetPinState(LPC_GPIO, ledports[idx], ledpins[idx], true); in Board_LED_Init()
/lk-master/external/platform/lpc15xx/lpcopen/periph_dma_uart/example/src/
A Ddma_uart.c327 int bytes, idx; in main() local
371 for (idx = 0; idx < DMASENDSTRCNT; idx++) { in main()
372 sprintf(dmaSendStr[idx], "DMA send string (unlinked) #%d\r\n", idx); in main()
373 dmaTXSend((uint8_t *) dmaSendStr[idx], strlen(dmaSendStr[idx])); in main()
/lk-master/external/platform/lpc15xx/lpcopen/periph_dma_rom_uart/example/src/
A Ddma_rom_uart.c329 int bytes = 0, idx; in main() local
376 for (idx = 0; idx < DMASENDSTRCNT; idx++) { in main()
377 sprintf(dmaSendStr[idx], "DMA send string (unlinked) #%d\r\n", idx); in main()
378 dmaTXSend((uint8_t *) dmaSendStr[idx], strlen(dmaSendStr[idx])); in main()
/lk-master/external/arch/arm/arm-m/CMSIS/Include/
A Dmpu_armv8.h188 __STATIC_INLINE void ARM_MPU_SetMemAttrEx(MPU_Type* mpu, uint8_t idx, uint8_t attr) in ARM_MPU_SetMemAttrEx() argument
190 const uint8_t reg = idx / 4U; in ARM_MPU_SetMemAttrEx()
191 const uint32_t pos = ((idx % 4U) * 8U); in ARM_MPU_SetMemAttrEx()
205 __STATIC_INLINE void ARM_MPU_SetMemAttr(uint8_t idx, uint8_t attr) in ARM_MPU_SetMemAttr() argument
207 ARM_MPU_SetMemAttrEx(MPU, idx, attr); in ARM_MPU_SetMemAttr()
215 __STATIC_INLINE void ARM_MPU_SetMemAttr_NS(uint8_t idx, uint8_t attr) in ARM_MPU_SetMemAttr_NS() argument
217 ARM_MPU_SetMemAttrEx(MPU_NS, idx, attr); in ARM_MPU_SetMemAttr_NS()
/lk-master/external/lib/fdt/
A Dfdt_wip.c15 uint32_t idx, const void *val, in fdt_setprop_inplace_namelen_partial() argument
26 if (proplen < (len + idx)) in fdt_setprop_inplace_namelen_partial()
29 memcpy((char *)propval + idx, val, len); in fdt_setprop_inplace_namelen_partial()
A Dfdt_ro.c749 int length, len, idx = 0; in fdt_stringlist_search() local
767 return idx; in fdt_stringlist_search()
770 idx++; in fdt_stringlist_search()
777 const char *property, int idx, in fdt_stringlist_get() argument
804 if (idx == 0) { in fdt_stringlist_get()
812 idx--; in fdt_stringlist_get()
/lk-master/target/dartuinoP0/display/
A Dmemory_lcd_mono.c22 uint8_t lcd_get_line(struct display_image *image, uint8_t idx, uint8_t *result) { in lcd_get_line() argument
23 uint8_t *framebuffer = (uint8_t *) image->pixels + image->rowbytes * idx; in lcd_get_line()
A DLS013B7DH06.c16 uint8_t lcd_get_line(struct display_image *image, uint8_t idx, uint8_t *result) { in lcd_get_line() argument
17 uint8_t *framebuffer = (uint8_t *)image->pixels + image->rowbytes * idx; in lcd_get_line()
/lk-master/external/platform/nrfx/drivers/src/
A Dnrfx_adc.c50 uint16_t idx; member
211 m_cb.p_buffer[m_cb.idx] = (nrf_adc_value_t)nrf_adc_result_get(NRF_ADC); in adc_sample_process()
212 m_cb.idx++; in adc_sample_process()
213 if (m_cb.idx < m_cb.size) in adc_sample_process()
264 m_cb.idx = 0; in nrfx_adc_buffer_convert()
/lk-master/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/
A Dstm32f0xx_hal_tsc.c793 uint32_t idx; in TSC_extract_groups() local
795 for (idx = 0U; idx < TSC_NB_OF_GROUPS; idx++) in TSC_extract_groups()
797 if ((iomask & (0x0FU << (idx * 4U))) != RESET) in TSC_extract_groups()
799 groups |= (1U << idx); in TSC_extract_groups()
/lk-master/arch/arm64/
A Dstart.S15 idx .req x11 label
165 lsr idx, vaddr, idx_shift
196 str tmp, [page_table, idx, lsl #3]
218 ldr new_page_table, [page_table, idx, lsl #3]
232 str new_page_table, [page_table, idx, lsl #3]
246 lsr idx, tmp, idx_shift
/lk-master/dev/virtio/include/dev/virtio/
A Dvirtio_ring.h77 uint16_t idx; member
91 uint16_t idx; member
/lk-master/target/dartuinoP0/include/target/display/
A DLS013B7DH03.h25 uint8_t lcd_get_line(struct display_image *image, uint8_t idx, uint8_t *result);
A DLS013B7DH06.h25 uint8_t lcd_get_line(struct display_image *image, uint8_t idx, uint8_t *result);
A DLS027B7DH01.h25 uint8_t lcd_get_line(struct display_image *image, uint8_t idx, uint8_t *result);
/lk-master/lib/console/
A Dconsole.c212 int idx = 0; in cmd_repeat() local
216 line[idx++] = ' '; in cmd_repeat()
218 line[idx++] = '"'; in cmd_repeat()
220 line[idx++] = *src; in cmd_repeat()
222 line[idx++] = '"'; in cmd_repeat()
224 line[idx] = '\0'; in cmd_repeat()
/lk-master/dev/virtio/
A Dvirtio.c84 …d flags 0x%hhx idx 0x%hhx last_used %u\n", r, ring->used->flags, ring->used->idx, ring->last_used); in virtio_mmio_irq()
86 uint cur_idx = ring->used->idx; in virtio_mmio_irq()
287 avail->ring[avail->idx & dev->ring[ring_index].num_mask] = desc_index; in virtio_submit_chain()
289 avail->idx++; in virtio_submit_chain()
/lk-master/external/lib/heap/dlmalloc/
A Ddlmalloc.c3359 bindex_t idx; in do_check_tree() local
3361 assert(tindex == idx); in do_check_tree()
3364 assert((idx == NTREEBINS-1) || (tsize < minsize_for_tree_index((idx+1)))); in do_check_tree()
4491 bindex_t idx; in tmalloc_large() local
4492 compute_tree_index(nb, idx); in tmalloc_large()
4629 bindex_t idx; in dlmalloc() local
4632 idx = small_index(nb); in dlmalloc()
4653 binmap_t leftbits = (smallbits << idx) & left_bits(idx2bit(idx)); in dlmalloc()
5563 bindex_t idx; in mspace_malloc() local
5566 idx = small_index(nb); in mspace_malloc()
[all …]
/lk-master/external/lib/lwip/include/lwip/
A Dsnmp_structs.h213 s32_t (*ident_cmp)(void* addr_inf, u8_t level, u16_t idx, s32_t sub_id);
214 void (*get_objid)(void* addr_inf, u8_t level, u16_t idx, s32_t *sub_id);
/lk-master/external/lib/lwip/core/
A Ddhcp.c140 #define dhcp_option_given(dhcp, idx) (dhcp_rx_options_given[idx] != 0) argument
141 #define dhcp_got_option(dhcp, idx) (dhcp_rx_options_given[idx] = 1) argument
142 #define dhcp_clear_option(dhcp, idx) (dhcp_rx_options_given[idx] = 0) argument
144 #define dhcp_get_option_value(dhcp, idx) (dhcp_rx_options_val[idx]) argument
145 #define dhcp_set_option_value(dhcp, idx, val) (dhcp_rx_options_val[idx] = (val)) argument
/lk-master/platform/cc13xx/include/platform/
A Dti-rf.h301 int32_t idx; member

Completed in 40 milliseconds

12