Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 12 of 12) sorted by relevance

/hal_rpi_pico-3.4.0/src/rp2_common/pico_btstack/
Dbtstack_flash_bank.c44 static void pico_flash_bank_read(void *context, int bank, uint32_t offset, uint8_t *buffer, uint32_… in pico_flash_bank_read() argument
46 DEBUG_PRINT("read: bank %d offset %u size %u\n", bank, offset, size); in pico_flash_bank_read()
51 assert(offset < PICO_FLASH_BANK_SIZE); in pico_flash_bank_read()
52 if (offset >= PICO_FLASH_BANK_SIZE) return; in pico_flash_bank_read()
54 assert((offset + size) <= PICO_FLASH_BANK_SIZE); in pico_flash_bank_read()
55 if ((offset + size) > PICO_FLASH_BANK_SIZE) return; in pico_flash_bank_read()
58 …void *)(XIP_BASE + PICO_FLASH_BANK_STORAGE_OFFSET + (PICO_FLASH_BANK_SIZE * bank) + offset), size); in pico_flash_bank_read()
61 static void pico_flash_bank_write(void * context, int bank, uint32_t offset, const uint8_t *data, u… in pico_flash_bank_write() argument
63 DEBUG_PRINT("write: bank %d offset %u size %u\n", bank, offset, size); in pico_flash_bank_write()
68 assert(offset < PICO_FLASH_BANK_SIZE); in pico_flash_bank_write()
[all …]
/hal_rpi_pico-3.4.0/src/rp2_common/hardware_pio/
Dpio.c88 static bool _pio_can_add_program_at_offset(PIO pio, const pio_program_t *program, uint offset) { in _pio_can_add_program_at_offset() argument
89 valid_params_if(PIO, offset < PIO_INSTRUCTION_COUNT); in _pio_can_add_program_at_offset()
90 valid_params_if(PIO, offset + program->length <= PIO_INSTRUCTION_COUNT); in _pio_can_add_program_at_offset()
91 if (program->origin >= 0 && (uint)program->origin != offset) return false; in _pio_can_add_program_at_offset()
94 return !(used_mask & (program_mask << offset)); in _pio_can_add_program_at_offset()
97 bool pio_can_add_program_at_offset(PIO pio, const pio_program_t *program, uint offset) { in pio_can_add_program_at_offset() argument
99 bool rc = _pio_can_add_program_at_offset(pio, program, offset); in pio_can_add_program_at_offset()
104 static void _pio_add_program_at_offset(PIO pio, const pio_program_t *program, uint offset) { in _pio_add_program_at_offset() argument
105 if (!_pio_can_add_program_at_offset(pio, program, offset)) { in _pio_add_program_at_offset()
110 …pio->instr_mem[offset + i] = pio_instr_bits_jmp != _pio_major_instr_bits(instr) ? instr : instr + in _pio_add_program_at_offset()
[all …]
/hal_rpi_pico-3.4.0/src/rp2_common/pico_cyw43_driver/cybt_shared_bus/
Dcybt_shared_bus_driver.h65 cybt_result_t cybt_mem_write_idx(cybt_addr_idx_t mem_idx, uint32_t offset, const uint8_t *p_data, u…
66 cybt_result_t cybt_mem_read_idx(cybt_addr_idx_t mem_idx, uint32_t offset, uint8_t *p_data, uint32_t…
Dcybt_shared_bus_driver.c663 cybt_result_t cybt_mem_write_idx(cybt_addr_idx_t mem_idx, uint32_t offset, const uint8_t *p_data, u… in cybt_mem_write_idx() argument
665 assert(offset + data_len <= BTSDIO_FWBUF_SIZE); // writing out of bounds? in cybt_mem_write_idx()
666 if (mem_idx != H2B_BUF_ADDR_IDX || (offset + data_len) > BTSDIO_FWBUF_SIZE) { in cybt_mem_write_idx()
673 uint32_t mem_addr = cybt_get_addr(mem_idx) + offset; in cybt_mem_write_idx()
677 cybt_result_t cybt_mem_read_idx(cybt_addr_idx_t mem_idx, uint32_t offset, uint8_t *p_data, uint32_t… in cybt_mem_read_idx() argument
679 assert(offset + data_len <= BTSDIO_FWBUF_SIZE); // reading out of bounds? in cybt_mem_read_idx()
680 if (mem_idx != B2H_BUF_ADDR_IDX || (offset + data_len) > BTSDIO_FWBUF_SIZE) { in cybt_mem_read_idx()
684 uint32_t mem_addr = cybt_get_addr(mem_idx) + offset; in cybt_mem_read_idx()
/hal_rpi_pico-3.4.0/src/rp2_common/hardware_base/include/hardware/
Daddress_mapped.h55 #define check_hw_layout(type, member, offset) static_assert(offsetof(type, member) == (offset), "hw… argument
/hal_rpi_pico-3.4.0/tools/elf2uf2/
Delf.h50 uint32_t offset; member
Dmain.cpp177 uint file_offset = entry.offset; in check_elf32_ph_entries()
/hal_rpi_pico-3.4.0/src/rp2_common/hardware_pio/include/hardware/
Dpio.h480 bool pio_can_add_program_at_offset(PIO pio, const pio_program_t *program, uint offset);
502 void pio_add_program_at_offset(PIO pio, const pio_program_t *program, uint offset);
/hal_rpi_pico-3.4.0/docs/
Dnormalise.css376 outline-offset: -2px; /* 2 */
/hal_rpi_pico-3.4.0/src/rp2_common/pico_float/
Dfloat_v1_rom_shim.S266 add r2,r12 @ exponent plus offset for required binary point position
Dfloat_aeabi.S412 adds r0,#1 @ correct exponent offset
/hal_rpi_pico-3.4.0/tools/pioasm/gen/
Dlexer.cpp1955 int offset = (int) ((yy_c_buf_p) - (yytext_ptr)); in yyinput() local
1991 (yy_c_buf_p) = (yytext_ptr) + offset; in yyinput()