Home
last modified time | relevance | path

Searched refs:length (Results 1 – 17 of 17) sorted by relevance

/hal_rpi_pico-latest/src/rp2_common/pico_stdio_rtt/
Dstdio_rtt.c28 static void stdio_rtt_out_chars(const char *buf, int length) { in stdio_rtt_out_chars() argument
29 SEGGER_RTT_Write(0, buf, (unsigned)length); in stdio_rtt_out_chars()
32 static int stdio_rtt_in_chars(char *buf, int length) { in stdio_rtt_in_chars() argument
33 return (int)SEGGER_RTT_Read(0, buf, (unsigned)length); in stdio_rtt_in_chars()
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_driver/cybt_shared_bus/
Dcybt_shared_bus.c199 static cybt_result_t cybt_hci_write_buf(const uint8_t *p_data, uint32_t length) { in cybt_hci_write_buf() argument
210 length = ROUNDUP(length, 4); in cybt_hci_write_buf()
213 assert(length <= buf_space); // queue full? in cybt_hci_write_buf()
214 if (length > buf_space) { in cybt_hci_write_buf()
218 if (fw_membuf_info.host2bt_in_val + length <= BTSDIO_FWBUF_SIZE) { in cybt_hci_write_buf()
220 cybt_debug("cybt_hci_write_hdr: 1-round write, len = %" PRId32 "\n", length); in cybt_hci_write_buf()
221 cybt_mem_write_idx(H2B_BUF_ADDR_IDX, fw_membuf_info.host2bt_in_val, p_data, length); in cybt_hci_write_buf()
222 fw_membuf_info.host2bt_in_val += length; in cybt_hci_write_buf()
232 uint32_t second_write_len = length - first_write_len; in cybt_hci_write_buf()
/hal_rpi_pico-latest/src/rp2_common/pico_clib_interface/
Dnewlib_interface.c116 int __attribute__((weak)) _read(int handle, char *buffer, int length) { in _read() argument
119 return stdio_get_until(buffer, length, at_the_end_of_time); in _read()
125 int __attribute__((weak)) _write(int handle, char *buffer, int length) { in _write() argument
128 stdio_put_string(buffer, length, false, true); in _write()
129 return length; in _write()
/hal_rpi_pico-latest/src/rp2_common/pico_stdio_semihosting/
Dstdio_semihosting.c11 static void stdio_semihosting_out_chars(const char *buf, int length) { in stdio_semihosting_out_chars() argument
26 args.len = length; in stdio_semihosting_out_chars()
/hal_rpi_pico-latest/src/rp2_common/pico_stdio_usb/
Dstdio_usb.c101 static void stdio_usb_out_chars(const char *buf, int length) { in stdio_usb_out_chars() argument
107 for (int i = 0; i < length;) { in stdio_usb_out_chars()
108 int n = length - i; in stdio_usb_out_chars()
143 int stdio_usb_in_chars(char *buf, int length) { in stdio_usb_in_chars() argument
158 int count = (int) tud_cdc_read(buf, (uint32_t) length); in stdio_usb_in_chars()
/hal_rpi_pico-latest/src/rp2_common/pico_stdio_uart/
Dstdio_uart.c141 static void stdio_uart_out_chars(const char *buf, int length) { in stdio_uart_out_chars() argument
142 for (int i = 0; i <length; i++) { in stdio_uart_out_chars()
147 int stdio_uart_in_chars(char *buf, int length) { in stdio_uart_in_chars() argument
149 while (i<length && uart_is_readable(uart_instance)) { in stdio_uart_in_chars()
/hal_rpi_pico-latest/src/rp2_common/hardware_pio/
Dpio.c67 assert(program->length <= PIO_INSTRUCTION_COUNT); in find_offset_for_program()
69 uint32_t program_mask = (1u << program->length) - 1; in find_offset_for_program()
71 if (program->origin > 32 - program->length) return PICO_ERROR_GENERIC; in find_offset_for_program()
75 for (int i = 32 - program->length; i >= 0; i--) { in find_offset_for_program()
134 valid_params_if(HARDWARE_PIO, offset + program->length <= PIO_INSTRUCTION_COUNT); in add_program_at_offset_check()
141 uint32_t program_mask = (1u << program->length) - 1; in add_program_at_offset_check()
163 for (uint i = 0; i < program->length; ++i) { in add_program_at_offset()
167 uint32_t program_mask = (1u << program->length) - 1; in add_program_at_offset()
191 uint32_t program_mask = (1u << program->length) - 1; in pio_remove_program()
/hal_rpi_pico-latest/src/common/pico_binary_info/include/pico/binary_info/
Dstructure.h79 uint32_t length; member
/hal_rpi_pico-latest/tools/pioasm/
Dada_output.cpp64 const std::string dashes = std::string(msg.length() + 6, '-'); in header()
Dc_sdk_output.cpp49 std::string dashes = std::string(msg.length(), '-'); in header()
Dpython_output.cpp52 std::string dashes = std::string(msg.length(), '-'); in header()
Dlexer.ll74 tmp = tmp.substr(1, tmp.length() - 2);
/hal_rpi_pico-latest/src/rp2_common/pico_float/
Dfloat_conv_m33.S252 subs r1,#0x95 @ remove exponent bias, compensate for mantissa length
322 subs r1,#0x96 @ remove exponent bias, compensate for mantissa length
/hal_rpi_pico-latest/src/rp2_common/pico_double/
Ddouble_conv_m33.S260 sub r2,#0x3ff+52-1 @ remove exponent bias, compensate for mantissa length
337 subw r2,r2,#0x3ff+52-1 @ remove exponent bias, compensate for mantissa length
Ddouble_v1_rom_shim_rp2040.S1106 @ double-length CORDIC rotation step
/hal_rpi_pico-latest/src/rp2_common/hardware_pio/include/hardware/
Dpio.h892 uint8_t length; member
/hal_rpi_pico-latest/tools/pioasm/gen/
Dlexer.cpp1264 tmp = tmp.substr(1, tmp.length() - 2);