Home
last modified time | relevance | path

Searched refs:l (Results 1 – 14 of 14) sorted by relevance

/hal_rpi_pico-latest/tools/pioasm/gen/
Dparser.hpp469 syntax_error (const location_type& l, const std::string& m) in syntax_error()
471 , location (l) in syntax_error()
862 basic_symbol (typename Base::kind_type t, location_type&& l) in basic_symbol()
864 , location (std::move (l)) in basic_symbol()
867 basic_symbol (typename Base::kind_type t, const location_type& l) in basic_symbol()
869 , location (l) in basic_symbol()
873 basic_symbol (typename Base::kind_type t, bool&& v, location_type&& l) in basic_symbol()
876 , location (std::move (l)) in basic_symbol()
879 basic_symbol (typename Base::kind_type t, const bool& v, const location_type& l) in basic_symbol()
882 , location (l) in basic_symbol()
[all …]
Dlocation.h69 counter_type l = 1,
72 , line (l) in filename()
79 counter_type l = 1,
83 line = l;
186 counter_type l = 1,
188 : begin (f, l, c) in begin() argument
189 , end (f, l, c) in begin()
195 counter_type l = 1,
198 begin.initialize (f, l, c);
Dparser.cpp788 parser::set_debug_level (debug_level_type l) in set_debug_level() argument
790 yydebug_ = l; in set_debug_level()
2544 void yy::parser::error(const location_type& l, const std::string& m) in error() argument
2546 if (l.begin.filename) { in error()
2547 std::cerr << l << ": " << m << '\n'; in error()
2549 if (l.begin.line == l.end.line && *l.begin.filename == *l.end.filename) { in error()
2550 std::ifstream file(l.begin.filename->c_str()); in error()
2552 for(int i = 0; i < l.begin.line; ++i) { in error()
2555 fprintf(stderr, "%5d | %s\n", l.begin.line, line.c_str()); in error()
2556 fprintf(stderr, "%5s | %*s", "", l.begin.column, "^"); in error()
[all …]
/hal_rpi_pico-latest/tools/pioasm/
Dpio_types.h32 resolvable(const yy::location &l) : src_item(l) {} in resolvable()
146 name_ref(const yy::location &l, std::string name) : resolvable(l), name(std::move(name)) {} in name_ref()
155 …code_block(const yy::location &l, std::string lang, std::string contents) : resolvable(l), lang(st… in code_block()
166 int_value(const yy::location &l, int value) : resolvable(l), value(value) {} in int_value()
173 static inline rvalue resolvable_int(const yy::location &l, int v) { in resolvable_int() argument
174 return std::shared_ptr<resolvable>(new int_value(l, v)); in resolvable_int()
193 binary_operation(const yy::location &l, op_type op, rvalue left, rvalue right) : in binary_operation()
194 resolvable(l), op(op), left(std::move(left)), right(std::move(right)) {} in binary_operation()
208 unary_operation(const yy::location &l, op_type op, const rvalue &arg) : in unary_operation()
209 resolvable(l), op(op), arg(arg) {} in unary_operation()
[all …]
Dpio_assembler.h42 bool add_program(const yy::location &l, const std::string &name) { in add_program()
45 programs.emplace_back(this, l, name); in add_program()
61 program &get_current_program(const location_type &l, const std::string &requiring_program,
67 throw syntax_error(l, msg.str());
75 throw syntax_error(l, msg.str());
106 void check_version(int min_version, const location_type &l, std::string feature) { in check_version()
110 throw syntax_error(l, msg.str()); in check_version()
Dpio_assembler.cpp57 void program::set_pio_version(const yy::location &l, int version) { in set_pio_version() argument
59 throw syntax_error(l, "only PIO versions 0 (rp2040) and 1 (rp2350) are supported"); in set_pio_version()
64 void program::set_clock_div(const yy::location &l, float clock_div) { in set_clock_div() argument
66 throw syntax_error(l, "clock divider must be between 1 and 65546"); in set_clock_div()
76 void program::set_fifo_config(const yy::location &l, fifo_config config) { in set_fifo_config() argument
77 fifo_loc = l; in set_fifo_config()
152 void program::set_wrap(const yy::location &l) { in set_wrap() argument
156 throw syntax_error(l, msg.str()); in set_wrap()
159 throw syntax_error(l, ".wrap cannot be placed before the first program instruction"); in set_wrap()
161 wrap = resolvable_int(l, instructions.size() - 1); in set_wrap()
[all …]
Dparser.yy425 void yy::parser::error(const location_type& l, const std::string& m)
427 if (l.begin.filename) {
428 std::cerr << l << ": " << m << '\n';
430 if (l.begin.line == l.end.line && *l.begin.filename == *l.end.filename) {
431 std::ifstream file(l.begin.filename->c_str());
433 for(int i = 0; i < l.begin.line; ++i) {
436 fprintf(stderr, "%5d | %s\n", l.begin.line, line.c_str());
437 fprintf(stderr, "%5s | %*s", "", l.begin.column, "^");
438 for (int i = l.begin.column; i < l.end.column - 1; i++) {
/hal_rpi_pico-latest/src/rp2_common/hardware_riscv_platform_timer/include/hardware/
Driscv_platform_timer.h66 uint32_t h0, l, h1; in riscv_timer_get_mtime() local
69 l = sio_hw->mtime; in riscv_timer_get_mtime()
72 return l | (uint64_t)h1 << 32; in riscv_timer_get_mtime()
111 uint32_t h0, l, h1; in riscv_timer_get_mtimecmp() local
114 l = sio_hw->mtimecmp; in riscv_timer_get_mtimecmp()
117 return l | (uint64_t)h1 << 32; in riscv_timer_get_mtimecmp()
/hal_rpi_pico-latest/src/common/pico_sync/
Dmutex.c24 for (lock_core_t *l = &__mutex_array_start; l < &__mutex_array_end; ) { in runtime_init_mutex() local
25 if (l->spin_lock) { in runtime_init_mutex()
26 assert(1 == (uintptr_t)l->spin_lock); // indicator for a recursive mutex in runtime_init_mutex()
27 recursive_mutex_t *rm = (recursive_mutex_t *)l; in runtime_init_mutex()
29 l = &rm[1].core; // next in runtime_init_mutex()
31 mutex_t *m = (mutex_t *)l; in runtime_init_mutex()
33 l = &m[1].core; // next in runtime_init_mutex()
/hal_rpi_pico-latest/src/rp2_common/hardware_rcp/include/hardware/
Drcp.h928 .macro rcp_count_set_impl h, l
929 mcr p7, #4, r0, \h , \l , #0
935 .macro rcp_count_set_nodelay_impl h, l
936 mcr2 p7, #4, r0, \h , \l , #0
944 .macro rcp_count_check_impl h, l
945 mcr p7, #5, r0, \h, \l, #1
951 .macro rcp_count_check_nodelay_impl h, l
952 mcr2 p7, #5, r0, \h, \l, #1
959 .macro rcp_canary_get_impl h, l, x
960 mrc p7, #0, \x, \h, \l, #1
[all …]
/hal_rpi_pico-latest/src/rp2_common/pico_printf/
Dprintf.c790 unsigned int l = 1U; in _vsnprintf() local
793 while (l++ < width) { in _vsnprintf()
801 while (l++ < width) { in _vsnprintf()
811 unsigned int l = _strnlen_s(p, precision ? precision : (size_t) -1); in _vsnprintf() local
814 l = (l < precision ? l : precision); in _vsnprintf()
817 while (l++ < width) { in _vsnprintf()
827 while (l++ < width) { in _vsnprintf()
/hal_rpi_pico-latest/src/rp2_common/pico_double/
Ddouble_v1_rom_shim_rp2040.S104 beq l\@_1 @ zero exponent?
107 beq l\@_2 @ exponent != 0x7ff? then done
108 l\@_1:
114 l\@_2:
132 bcc l\@_1 @ skip on positive
135 bcc l\@_1
137 l\@_1:
139 beq l\@_2 @ zero exponent?
142 beq l\@_3 @ exponent != 0x7ff? then done
144 l\@_2:
[all …]
/hal_rpi_pico-latest/tools/
Dcheck_board_header.py46 return "{} {} {}".format(", ".join(str(l) for l in lst[:-1]), joiner, lst[-1])
/hal_rpi_pico-latest/src/rp2_common/pico_divider/
Ddivider_hardware.S277 bne l\@_1
279 l\@_1: