Home
last modified time | relevance | path

Searched full:from (Results 1 – 25 of 1941) sorted by relevance

12345678910>>...78

/nrf52832-nimble/rt-thread/components/dfs/filesystems/jffs2/cyg/compress/src/
H A Dinffast.c78 unsigned dmax; /* maximum distance from zlib header */
95 unsigned char FAR *from; /* where to copy match from */ local
187 if (dist > op) { /* see if copy from window */
194 from = window - OFF;
196 from += wsize - op;
197 if (op < len) { /* some from window */
200 PUP(out) = PUP(from);
202 from = out - dist; /* rest from output */
206 from += wsize + write - op;
208 if (op < len) { /* some from end of window */
[all …]
/nrf52832-nimble/rt-thread/examples/ulog/
H A Dulog_example.c34 LOG_D("LOG_D(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example()
35 LOG_I("LOG_I(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example()
36 LOG_W("LOG_W(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example()
37 LOG_E("LOG_E(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example()
38 … ulog_d("test", "ulog_d(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example()
39 … ulog_i("test", "ulog_i(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example()
40 … ulog_w("test", "ulog_w(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example()
41 … ulog_e("test", "ulog_e(%d): RT-Thread is an open source IoT operating system from China.", count); in ulog_example()
69 …_INFO, "syslog(%d) LOG_INFO: RT-Thread is an open source IoT operating system from China.", count); in ulog_example()
70 …EBUG, "syslog(%d) LOG_DEBUG: RT-Thread is an open source IoT operating system from China.", count); in ulog_example()
[all …]
/nrf52832-nimble/rt-thread/components/drivers/mtd/
H A Dmtd.c147 * @from offset to read from
150 int rt_mtd_read(rt_mtd_t *mtd, loff_t from, uint8_t *buf, size_t len) in rt_mtd_read() argument
155 if (from < 0 || from >= (loff_t)mtd->size || len > mtd->size - from) in rt_mtd_read()
162 ret = mtd->ops->read(mtd->master, from + mtd->offset, &desc); in rt_mtd_read()
172 * @to offset to write from
199 * @from offset to read from
203 int rt_mtd_read_oob(rt_mtd_t *mtd, loff_t from, struct mtd_io_desc *desc) in rt_mtd_read_oob() argument
208 if (from < 0 || from >= (loff_t)mtd->size) in rt_mtd_read_oob()
211 if (desc->datbuf && (desc->datlen > (mtd->size - from))) in rt_mtd_read_oob()
214 return mtd->ops->read(mtd->master, from + mtd->offset, desc); in rt_mtd_read_oob()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/doc/doxygen/
H A Dmain_page.h12 * from any thread except TCPIP thread.
65 * timer IRQ and ethernet IRQ from each other, assuming these may be nested.
68 * lwIP is _ONLY_ called from mainloop callstacks here. The ethernet IRQ
70 * mainloop. Ensure lwIP is _NEVER_ called from an interrupt, e.g.
76 * @ref sequential_api are designed to be called from threads other than
78 * But @ref callbackstyle_api functions must _ONLY_ be called from
79 * TCPIP thread. It is a common error to call these from other threads
80 * or from IRQ contexts. ​Ethernet RX needs to deliver incoming packets
83 * Again, ensure lwIP is _NEVER_ called from an interrupt, e.g.
86 * 1) tcpip_callback() can be used get called back from TCPIP thread,
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/doc/doxygen/
H A Dmain_page.h15 * having callback functions being called from within the TCP/IP
52 * C function that is called from within the TCP/IP code. Every callback
66 * from any thread except TCPIP thread.
77 * Thread-safe, to be called from non-TCPIP threads only.\n
154 * timer IRQ and ethernet IRQ from each other, assuming these may be nested.
157 * lwIP is _ONLY_ called from mainloop callstacks here. The ethernet IRQ
159 * mainloop. Ensure lwIP is _NEVER_ called from an interrupt, e.g.
165 * @ref sequential_api are designed to be called from threads other than
167 * But @ref callbackstyle_api functions must _ONLY_ be called from
168 * TCPIP thread. It is a common error to call these from other threads
[all …]
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/scripts/.autostuff/scripts/
H A Dylwrap126 # A sed program to s/FROM/TO/g for all the FROM/TO so that, for
128 # during the conversion from y.tab.c to parse.c.
140 from=$1
143 case $from in
144 "y.tab.c") from=y_tab.c;;
145 "y.tab.h") from=y_tab.h;;
151 sed_fix_filenames="${sed_fix_filenames}s|"`quote_for_sed "$from"`"|$to|g;"
152 sed_fix_header_guards="${sed_fix_header_guards}s|"`guard "$from"`"|"`guard "$to"`"|g;"
181 for from in *
183 to=`printf '%s\n' "$from" | sed "$sed_fix_filenames"`
[all …]
/nrf52832-nimble/rt-thread/libcpu/arm/cortex-m0/
H A Dcontext_iar.S52 ; * void rt_hw_context_switch(rt_uint32 from, rt_uint32 to);
53 ; * r0 --> from
80 ; r0 --> switch from thread stack
82 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
105 MRS r1, psp ; get from thread stack pointer
109 STR r1, [r0] ; update from thread stack pointer
124 LDMIA r1!, {r4 - r7} ; pop thread {r4 - r7} register from thread stack
127 …LDMIA r1!, {r4 - r7} ; pop thread {r8 - r11} high register from thread stack to {r4 - r…
133 POP {r4 - r7} ; pop {r4 - r7} from MSP
156 ; set from thread to 0
H A Dcontext_rvds.S54 ; * void rt_hw_context_switch(rt_uint32 from, rt_uint32 to);
55 ; * r0 --> from
84 ; r0 --> switch from thread stack
86 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
109 MRS r1, psp ; get from thread stack pointer
113 STR r1, [r0] ; update from thread stack pointer
128 LDMIA r1!, {r4 - r7} ; pop thread {r4 - r7} register from thread stack
131 …LDMIA r1!, {r4 - r7} ; pop thread {r8 - r11} high register from thread stack to {r4 - r…
137 POP {r4 - r7} ; pop {r4 - r7} from MSP
161 ; set from thread to 0
H A Dcontext_gcc.S48 * void rt_hw_context_switch(rt_uint32 from, rt_uint32 to);
49 * R0 --> from
78 /* R0 --> switch from thread stack
80 * psr, pc, LR, R12, R3, R2, R1, R0 are pushed into [from] stack
104 MRS R1, PSP /* get from thread stack pointer */
108 STR R1, [R0] /* update from thread stack pointer */
122 LDMIA R1!, {R4 - R7} /* pop thread {R4 - R7} register from thread stack */
125 …LDMIA R1!, {R4 - R7} /* pop thread {R8 - R11} high register from thread stack to {R4 - …
131 POP {R4 - R7} /* pop {R4 - R7} from MSP */
152 /* set from thread to 0 */
/nrf52832-nimble/rt-thread/libcpu/arm/cortex-m3/
H A Dcontext_iar.S52 ; * void rt_hw_context_switch(rt_uint32 from, rt_uint32 to);
53 ; * r0 --> from
80 ; r0 --> switch from thread stack
82 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
103 MRS r1, psp ; get from thread stack pointer
106 STR r1, [r0] ; update from thread stack pointer
132 ; set from thread to 0
176 MRS r0, msp ; get fault context from handler.
179 MRS r0, psp ; get fault context from thread.
H A Dcontext_rvds.S53 ; * void rt_hw_context_switch(rt_uint32 from, rt_uint32 to);
54 ; * r0 --> from
83 ; r0 --> switch from thread stack
85 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
106 MRS r1, psp ; get from thread stack pointer
109 STR r1, [r0] ; update from thread stack pointer
138 ; set from thread to 0
186 MRSEQ r0, msp ; [2]=0 ==> Z=1, get fault context from handler.
187 MRSNE r0, psp ; [2]=1 ==> Z=0, get fault context from thread.
H A Dcontext_gcc.S49 * void rt_hw_context_switch(rt_uint32 from, rt_uint32 to);
50 * R0 --> from
79 /* R0 --> switch from thread stack
81 * psr, pc, LR, R12, R3, R2, R1, R0 are pushed into [from] stack
103 MRS R1, PSP /* get from thread stack pointer */
106 STR R1, [R0] /* update from thread stack pointer */
133 /* set from thread to 0 */
178 MRS r0, msp /* get fault context from handler. */
181 MRS r0, psp /* get fault context from thread. */
/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/include/os/
H A Dos_mbuf.h39 * A mbuf pool from which to allocate mbufs. This contains a pointer to the os
260 * Remove and return a single mbuf from the mbuf queue. Does not block.
299 * Allocate a mbuf from msys. Based upon the data size requested,
310 * De-registers all mbuf pools from msys.
315 * Allocate a packet header structure from the MSYS pool. See
353 * Get an mbuf from the mbuf pool. The mbuf is allocated, and initialized
356 * @param omp The mbuf pool to return the packet from
403 * Copy data from an mbuf chain starting "off" bytes from the beginning,
406 * @param m The mbuf chain to copy from
407 * @param off The offset into the mbuf chain to begin copying from
[all …]
/nrf52832-nimble/rt-thread/libcpu/xilinx/microblaze/
H A Dcontext_gcc.S24 * copy from ucos-ii
51 * copy from ucos-ii
58 MTS rMSR, r5 /* Move the saved status from r5 into rMSR */
62 * void rt_hw_context_switch(rt_uint32 from, rt_uint32 to)
63 * r5 --> from
81 …BNEI r3, rt_hw_context_switch_ie /*if IE bit set,should be use RTID (return from interrupt). */
122 * void rt_hw_context_switch_interrupt(rt_uint32 from, rt_uint32 to)
139 SWI r5, r3, 0 /* rt_interrupt_from_thread = from */
204 BNEI r3, return_with_ie /*if IE bit set,should be use RTID (return from interrupt). */
/nrf52832-nimble/rt-thread/tools/
H A Dbuilding.py32 from SCons.Script import *
33 from utils import _make_path_relative
34 from mkdist import do_copy_file
195 help = 'Generate .config from rtconfig.h')
199 help = 'make rtconfig.h from config file.')
339 from genconf import genconfig
350 from menuconfig import menuconfig
366 from menuconfig import pyconfig_silent
371 from menuconfig import pyconfig
378 from menuconfig import mk_rtconfig
[all …]
/nrf52832-nimble/rt-thread/libcpu/arm/cortex-m4/
H A Dcontext_rvds.S55 ; * void rt_hw_context_switch(rt_uint32 from, rt_uint32 to);
56 ; * r0 --> from
85 ; r0 --> switch from thread stack
87 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
108 MRS r1, psp ; get from thread stack pointer
127 STR r1, [r0] ; update from thread stack pointer
179 ; set from thread to 0
227 MRSEQ r0, msp ; [2]=0 ==> Z=1, get fault context from handler.
228 MRSNE r0, psp ; [2]=1 ==> Z=0, get fault context from thread.
H A Dcontext_iar.S54 ; * void rt_hw_context_switch(rt_uint32 from, rt_uint32 to);
55 ; * r0 --> from
82 ; r0 --> switch from thread stack
84 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
105 MRS r1, psp ; get from thread stack pointer
128 STR r1, [r0] ; update from thread stack pointer
179 ; set from thread to 0
223 MRS r0, msp ; get fault context from handler.
226 MRS r0, psp ; get fault context from thread.
H A Dcontext_gcc.S51 * void rt_hw_context_switch(rt_uint32 from, rt_uint32 to);
52 * r0 --> from
82 /* r0 --> switch from thread stack
84 * psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
106 MRS r1, psp /* get from thread stack pointer */
125 STR r1, [r0] /* update from thread stack pointer */
175 /* set from thread to 0 */
220 MRS r0, msp /* get fault context from handler. */
223 MRS r0, psp /* get fault context from thread. */
/nrf52832-nimble/rt-thread/libcpu/arm/cortex-m7/
H A Dcontext_rvds.S55 ; * void rt_hw_context_switch(rt_uint32 from, rt_uint32 to);
56 ; * r0 --> from
85 ; r0 --> switch from thread stack
87 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
108 MRS r1, psp ; get from thread stack pointer
127 STR r1, [r0] ; update from thread stack pointer
179 ; set from thread to 0
229 MRSEQ r0, msp ; [2]=0 ==> Z=1, get fault context from handler.
230 MRSNE r0, psp ; [2]=1 ==> Z=0, get fault context from thread.
H A Dcontext_iar.S54 ; * void rt_hw_context_switch(rt_uint32 from, rt_uint32 to);
55 ; * r0 --> from
82 ; r0 --> switch from thread stack
84 ; psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
105 MRS r1, psp ; get from thread stack pointer
128 STR r1, [r0] ; update from thread stack pointer
179 ; set from thread to 0
223 MRS r0, msp ; get fault context from handler.
226 MRS r0, psp ; get fault context from thread.
H A Dcontext_gcc.S51 * void rt_hw_context_switch(rt_uint32 from, rt_uint32 to);
52 * r0 --> from
82 /* r0 --> switch from thread stack
84 * psr, pc, lr, r12, r3, r2, r1, r0 are pushed into [from] stack
106 MRS r1, psp /* get from thread stack pointer */
125 STR r1, [r0] /* update from thread stack pointer */
175 /* set from thread to 0 */
220 MRS r0, msp /* get fault context from handler. */
223 MRS r0, psp /* get fault context from thread. */
/nrf52832-nimble/rt-thread/libcpu/ppc/ppc405/
H A Dcontext_gcc.S46 * void rt_hw_context_switch(rt_uint32 from, rt_uint32 to);
47 * r3 --> from
64 /* load from thread to r3 */
72 /* save r1:sp to thread[from] stack pointer */
76 /* restore r3, r4 from SPRG */
130 /* restore r3, r4 from SPRG */
160 /* void rt_hw_context_switch(from, to); */
172 /* set rt_interrupt_from_thread to 'from' */
199 /* set rt_interrupt_from_thread to 'from' */
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/
H A DCHANGELOG39 These can be used to post preallocated messages from an ISR to the tcpip thread
166 * select: allocate select_cb from memp for LWIP_MPU_COMPATIBLE = 1 (bug #51990)
186 * compatibility headers: moved from 'src/include/posix' to 'src/include/compat/posix',
193 * sockets.c: task #14420 (Remove sys_sem_signal from inside SYS_ARCH_PROTECT
231 * tcp_close does not fail on memory error (instead, FIN is sent from tcp_tmr)
243 is called nested from httpd_post_receive_data() (bug #50424)
259 to send FIN from tcp_fasttmr
271 * Rename "IPv6 mapped IPv4 addresses" to their correct name from RFC4191:
394 decouple netconn, netif, ppp and 6LoWPAN from LWIP core.
405 * Decouple SNMP stack from lwIP core and move stack to apps/ directory.
[all …]
/nrf52832-nimble/rt-thread/libcpu/v850/70f34/
H A Dcontext_iar.S91 ;Return from interrupt starts new task!
108 ;Return from interrupt starts new task!
115 ld.w 0[r1], sp ;load sp from struct
117 ;Restore all Processor registers from stack and return from interrupt
131 ;Restore all Processor registers from stack and return from interrupt
H A Dcontext_iar.asm91 ;Return from interrupt starts new task!
108 ;Return from interrupt starts new task!
115 ld.w 0[r1], sp ;load sp from struct
117 ;Restore all Processor registers from stack and return from interrupt
131 ;Restore all Processor registers from stack and return from interrupt

12345678910>>...78