Home
last modified time | relevance | path

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

/components/lwp/arch/risc-v/rv64/
A Dlwp_gcc.S43 mv sp, a2
66 mv sp, a0//user_sp
103 mv a0, sp
120 addi sp, sp, CTX_REG_NR * REGBYTES
123 mv sp, a0
163 mv sp, a0
184 add a1, sp, 16
259 mv t1, sp//src
261 addi sp, sp, -CTX_REG_NR * REGBYTES
264 mv t2, sp//dst
[all …]
A Dlwp_arch.c75 return (rt_thread_t)(((rt_ubase_t)spmember_addr) - (offsetof(struct rt_thread, sp))); in rt_thread_sp_to_thread()
191 rt_thread_t thread = rt_container_of((unsigned long)thread_sp, struct rt_thread, sp); in arch_set_thread_context()
195 extern void *_rt_hw_stack_init(rt_ubase_t *sp, rt_ubase_t ra, rt_ubase_t sstatus); in arch_set_thread_context()
/components/lwp/arch/aarch64/cortex-a/
A Dlwp_gcc.S54 mov sp, x3
91 mov sp, x3
117 mov sp, x1
134 mov sp, x0
152 mov fp, sp
192 mov x1, sp
249 mov x0, sp
320 mov x0, sp
322 mov sp, x0
334 mov sp, x1
[all …]
A Dlwp_arch.h67 void arch_syscall_restart(void *sp, void *ksp);
A Dlwp_arch.c153 void arch_syscall_restart(void *sp, void *ksp);
/components/libc/compilers/common/
A Dcstdlib.c82 char *sp; in ltoa() local
114 sp = string; in ltoa()
117 *sp++ = '-'; in ltoa()
119 *sp++ = *--tp; in ltoa()
120 *sp = 0; in ltoa()
154 char *sp; in ultoa() local
176 sp = string; in ultoa()
179 *sp++ = *--tp; in ultoa()
180 *sp = 0; in ultoa()
/components/lwp/arch/arm/cortex-a/
A Dlwp_gcc.S48 mov sp, r2
65 str r4, [sp]
71 mov r4, sp
83 mov lr, sp
122 mov r0, sp
151 mov sp, r1
209 mov r0, sp
238 sub sp, #8
245 mov r1, sp
265 add sp, #8
[all …]
/components/dfs/dfs_v1/filesystems/nfs/rpc/
A Dxdr.c262 l = (long) *sp; in xdr_short()
269 *sp = (short) l; in xdr_short()
460 if (sp == NULL) { in xdr_bytes()
463 if (sp == NULL) { in xdr_bytes()
473 if (sp != NULL) { in xdr_bytes()
474 rt_free(sp); in xdr_bytes()
555 if (sp == NULL) { in xdr_string()
580 if (sp == NULL) in xdr_string()
582 if (sp == NULL) { in xdr_string()
586 sp[size] = 0; in xdr_string()
[all …]
/components/drivers/scsi/
A Dscsi_sd.c133 int sp; in scsi_sd_autorefresh() local
159 sp = buffer_data[0] & 0x80 ? 1 : 0; in scsi_sd_autorefresh()
165 err = rt_scsi_mode_select6(sdev, 1, sp, buffer_data, size, &data); in scsi_sd_autorefresh()
169 err = rt_scsi_mode_select10(sdev, 1, sp, buffer_data, size, &data); in scsi_sd_autorefresh()
A Dscsi.c500 rt_uint8_t pf, rt_uint8_t sp, void *buffer, rt_size_t size, in rt_scsi_mode_select6() argument
524 cmd.op.mode_select6.config |= sp ? RT_BIT(RT_SCSI_SP_SHIFT) : 0; in rt_scsi_mode_select6()
539 rt_uint8_t pf, rt_uint8_t sp, void *buffer, rt_size_t size, in rt_scsi_mode_select10() argument
566 cmd.op.mode_select10.config |= sp ? RT_BIT(RT_SCSI_SP_SHIFT) : 0; in rt_scsi_mode_select10()
/components/lwp/
A Dlwp.c140 void lwp_set_kernel_sp(uint32_t *sp) in lwp_set_kernel_sp() argument
142 rt_thread_self()->kernel_sp = (rt_uint32_t *)sp; in lwp_set_kernel_sp()
148 return (uint32_t *)rt_thread_self()->sp; in lwp_get_kernel_sp()
155 …nt32_t *)((rt_thread_t)rt_container_of(rt_interrupt_from_thread, struct rt_thread, sp))->kernel_sp; in lwp_get_kernel_sp()
A Dlwp_pid.c1243 ((rt_uint32_t)thread->sp - (rt_uint32_t)thread->stack_addr), in print_thread_info()
1253 …ead->stack_size + (rt_uint32_t)(rt_size_t)thread->stack_addr - (rt_uint32_t)(rt_size_t)thread->sp), in print_thread_info()
A Dlwp_syscall.c3441 user_stack, &thread->sp); in _sys_clone()
3662 user_stack, &thread->sp); in _sys_fork()
/components/net/lwip/lwip-1.4.1/src/include/lwip/
A Dsnmp_msg.h228 u16_t sp; member
/components/drivers/include/drivers/
A Dscsi.h448 rt_uint8_t pf, rt_uint8_t sp, void *buffer, rt_size_t size,
451 rt_uint8_t pf, rt_uint8_t sp, void *buffer, rt_size_t size,
/components/vbus/
A Dvbus.c205 int sp; in _bus_out_entry() local
216 sp = _bus_ring_space_nr(RT_VBUS_OUT_RING); in _bus_out_entry()
223 while (sp < dnr) in _bus_out_entry()
240 sp = _bus_ring_space_nr(RT_VBUS_OUT_RING); in _bus_out_entry()
/components/net/lwip/lwip-2.1.2/src/apps/smtp/
A Dsmtp.c989 u8_t sp; in smtp_is_response_finished() local
1012 sp = pbuf_get_at(s->p, (u16_t)(offset + 3)); in smtp_is_response_finished()
1013 if (sp == '-') { in smtp_is_response_finished()
1021 } else if (sp == ' ') { in smtp_is_response_finished()
/components/lwp/arch/x86/i386/
A Dlwp_arch.c248 return (rt_thread_t)(((rt_ubase_t)spmember_addr) - (offsetof(struct rt_thread, sp))); in rt_thread_sp_to_thread()
/components/finsh/
A Dcmd.c247 ((rt_ubase_t)thread->sp - (rt_ubase_t)thread->stack_addr), in list_thread()
257 … thread->stack_size + ((rt_ubase_t)thread->stack_addr - (rt_ubase_t)thread->sp), in list_thread()
/components/net/lwip/lwip-2.1.2/src/netif/ppp/
A Deap.c427 unsigned char secbuf[MAXSECRETLEN], clear[8], *sp, *dp; in eap_figure_next_state() local
495 sp = secbuf + 8; in eap_figure_next_state()
498 (void) DesDecrypt(sp, dp); in eap_figure_next_state()
499 sp += 8; in eap_figure_next_state()
/components/net/lwip/lwip-2.0.3/src/netif/ppp/
A Deap.c427 unsigned char secbuf[MAXSECRETLEN], clear[8], *sp, *dp; in eap_figure_next_state() local
495 sp = secbuf + 8; in eap_figure_next_state()
498 (void) DesDecrypt(sp, dp); in eap_figure_next_state()
499 sp += 8; in eap_figure_next_state()
/components/net/lwip/lwip-1.4.1/src/core/snmp/
A Dmsg_out.c170 udp_connect(m_stat->pcb, &m_stat->sip, m_stat->sp); in snmp_send_response()
A Dmsg_in.c856 msg_ps->sp = port; in snmp_recv()
/components/dfs/dfs_v1/filesystems/elmfat/
A Dff.c3099 const char *sp; local
3116 sp = VolumeStr[i]; tp = *path; /* This string volume ID and path name */
3118 c = *sp++; tc = *tp++;
3136 tt = tp; sp = VolumeStr[i]; /* Path name and this string volume ID */
3138 c = *sp++; tc = *(++tt);
/components/dfs/dfs_v2/filesystems/elmfat/
A Dff.c3148 const char *sp; local
3167 sp = VolumeStr[i]; tp = *path; /* This string volume ID and path name */
3169 c = *sp++; tc = *tp++;
3187 tt = tp; sp = VolumeStr[i]; /* Path name and this string volume ID */
3189 c = *sp++; tc = *(++tt);

Completed in 75 milliseconds