Home
last modified time | relevance | path

Searched full:init (Results 1 – 25 of 358) sorted by relevance

12345678910>>...15

/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/netif/
H A Dzepif.c89 struct zepif_init init; member
209 err = udp_sendto(state->pcb, q, state->init.zep_dst_ip_addr, state->init.zep_dst_udp_port); in zepif_linkoutput()
235 memcpy(&state->init, init_state, sizeof(struct zepif_init)); in zepif_init()
237 if (state->init.zep_src_udp_port == 0) { in zepif_init()
238 state->init.zep_src_udp_port = ZEPIF_DEFAULT_UDP_PORT; in zepif_init()
240 if (state->init.zep_dst_udp_port == 0) { in zepif_init()
241 state->init.zep_dst_udp_port = ZEPIF_DEFAULT_UDP_PORT; in zepif_init()
244 if (state->init.zep_dst_ip_addr == NULL) { in zepif_init()
246 state->init.zep_dst_ip_addr = IP_ADDR_BROADCAST; in zepif_init()
257 err = udp_bind(state->pcb, state->init.zep_src_ip_addr, state->init.zep_src_udp_port); in zepif_init()
[all …]
/nrf52832-nimble/rt-thread/components/vmm/
H A Dvmm.c117 /* init hardware interrupt */ in vmm_entry()
122 /* init board */ in vmm_entry()
126 /* Some parts of VMM use log_trace, so we need to init it right after in vmm_entry()
139 /* init timer system */ in vmm_entry()
161 /* init heap memory system */ in vmm_entry()
164 /* init scheduler system */ in vmm_entry()
167 rt_kprintf("user application init.\n"); in vmm_entry()
168 /* init application */ in vmm_entry()
/nrf52832-nimble/rt-thread/components/dfs/filesystems/uffs/src/uffs/
H A Duffs_init.c48 #define PFX "init: "
89 if (dev->mem.init) { in uffs_InitDevice()
90 if (dev->mem.init(dev) != U_SUCC) { in uffs_InitDevice()
91 uffs_Perror(UFFS_MSG_SERIOUS, "Init memory allocator fail."); in uffs_InitDevice()
107 uffs_Perror(UFFS_MSG_NOISY, "init page buf"); in uffs_InitDevice()
113 uffs_Perror(UFFS_MSG_NOISY, "init block info cache"); in uffs_InitDevice()
122 uffs_Perror(UFFS_MSG_SERIOUS, "fail to init tree buffers"); in uffs_InitDevice()
/nrf52832-nimble/rt-thread/components/utilities/utest/
H A Dutest.h62 * @member init Necessary initialization before executing the test case function.
70 rt_err_t (*init)(void); member
127 * @param init The initialization function of the test case.
134 #define UTEST_TC_EXPORT(testcase, name, init, cleanup, timeout) \ argument
140 init, \
/nrf52832-nimble/rt-thread/src/
H A Dipc.c17 * 2006-06-03 Bernard fix the thread timer init bug
62 /* init ipc object */ in rt_ipc_object_init()
193 * @param value the init value of semaphore
205 /* init object */ in rt_sem_init()
208 /* init ipc object */ in rt_sem_init()
211 /* set init value */ in rt_sem_init()
252 * @param value the init value of semaphore
270 /* init ipc object */ in rt_sem_create()
273 /* set init value */ in rt_sem_create()
532 /* init object */ in rt_mutex_init()
[all …]
H A Dthread.c12 * 2006-06-03 Bernard fixed the thread timer init bug
126 /* init thread list */ in _rt_thread_init()
132 /* stack init */ in _rt_thread_init()
136 /* init thread stack */ in _rt_thread_init()
148 /* priority init */ in _rt_thread_init()
159 /* tick init */ in _rt_thread_init()
172 /* lock init */ in _rt_thread_init()
181 /* init thread timer */ in _rt_thread_init()
242 /* init thread object */ in rt_thread_init()
293 /* set current priority to init priority */ in rt_thread_startup()
/nrf52832-nimble/rt-thread/components/finsh/
H A Dfinsh_init.c23 /* finsh init */ in finsh_init()
41 /* finsh init */ in finsh_flush()
50 /* finsh init */ in finsh_reset()
/nrf52832-nimble/rt-thread/components/dfs/filesystems/nfs/
H A Ddfs_nfs.c134 char *init; in get_handle() local
136 init = path = rt_malloc(strlen(name)+1); in get_handle()
137 if (init == NULL) in get_handle()
140 memcpy(init, name, strlen(name)+1); in get_handle()
145 rt_free(init); in get_handle()
172 rt_free(init); in get_handle()
181 rt_free(init); in get_handle()
193 rt_free(init); in get_handle()
203 char *init; in get_dir_handle() local
205 init = path = rt_malloc(strlen(name)+1); in get_dir_handle()
[all …]
/nrf52832-nimble/rt-thread/components/drivers/spi/
H A Dspi_wifi_rw009.c99 …WIFI_DEBUG("sn:%-*.*s\n", sizeof(resp->resp.init.sn), sizeof(resp->resp.init.sn), resp->resp.init.… in resp_handler()
100 …_DEBUG("version:%-*.*s\n", sizeof(resp->resp.init.version), sizeof(resp->resp.init.version), resp-… in resp_handler()
102 rt_memcpy(wifi_device->dev_addr, resp->resp.init.mac, 6); in resp_handler()
658 rw009_wifi_device.parent.parent.init = rw009_wifi_init; in rt_hw_wifi_init()
718 /* init: get mac address */ in rt_hw_wifi_init()
720 rw009_cmd_init init; in rt_hw_wifi_init() local
721 init.mode = mode; in rt_hw_wifi_init()
725 (void *)&init); // 0: firmware, 1: STA, 2:AP in rt_hw_wifi_init()
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/api/
H A Dnetifapi.c52 msg->msg.add.init, in do_netifapi_netif_add()
103 netif_init_fn init, in netifapi_netif_add() argument
113 msg.msg.msg.add.init = init; in netifapi_netif_add()
/nrf52832-nimble/rt-thread/components/libc/pthreads/
H A Dpthread_mutex.c123 /* init mutex lock */ in pthread_mutex_init()
162 /* init mutex */ in pthread_mutex_lock()
193 /* init mutex */ in pthread_mutex_unlock()
228 /* init mutex */ in pthread_mutex_trylock()
/nrf52832-nimble/rt-thread/components/drivers/watchdog/
H A Dwatchdog.c25 if (wtd->ops->init) in rt_watchdog_init()
27 return (wtd->ops->init(wtd)); in rt_watchdog_init()
99 device->init = rt_watchdog_init; in rt_hw_watchdog_register()
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/include/lwip/
H A Dnetif.h71 * Set by the netif driver in its init function. */
74 * Set by the netif driver in its init function. */
81 * Either set by the netif driver in its init function (if the link
86 * Set by the netif driver in its init function.
94 * Set by the netif driver in its init function. */
97 /** Function prototype for netif init functions. Set up flags and output/linkoutput
260 ip_addr_t *gw, void *state, netif_init_fn init, netif_input_fn input);
/nrf52832-nimble/rt-thread/components/drivers/hwtimer/
H A Dhwtimer.c91 if (timer->ops->init) in rt_hwtimer_init()
93 timer->ops->init(timer, 1); in rt_hwtimer_init()
127 if (timer->ops->init != RT_NULL) in rt_hwtimer_close()
129 timer->ops->init(timer, 0); in rt_hwtimer_close()
348 device->init = rt_hwtimer_init; in rt_device_hwtimer_register()
/nrf52832-nimble/rt-thread/components/drivers/audio/
H A Daudio.c100 if (audio->ops->init) in _audio_dev_init()
101 result = audio->ops->init(audio); in _audio_dev_init()
136 //init queue for audio replay in _audio_dev_open()
158 //init pipe for record in _audio_dev_open()
432 device->init = _audio_dev_init; in rt_audio_register()
441 //init memory pool for replay in rt_audio_register()
/nrf52832-nimble/rt-thread/libcpu/arm/sep4020/
H A Dstart_rvds.S173 LDR SP, =Svc_Stack_Top ;init SP_svc
175 MOV R4, #0xD2 ;chmod to irq and init SP_irq
179 MOV R4, #0XD1 ;chomod to fiq and init SP_fiq
183 MOV R4, #0XD7 ;chomod to abt and init SP_ABT
187 MOV R4, #0XDB ;chomod to undf and init SP_UNDF
191 ;chomod to abt and init SP_sys
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/snmp/
H A Dsnmpv3.c107 static u8_t init; in snmpv3_build_priv_param() local
111 if (init == 0) { in snmpv3_build_priv_param()
112 init = 1; in snmpv3_build_priv_param()
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/apps/snmp/
H A Dsnmpv3.c107 static u8_t init; in snmpv3_build_priv_param() local
111 if (init == 0) { in snmpv3_build_priv_param()
112 init = 1; in snmpv3_build_priv_param()
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/api/
H A Dnetifapi.c71 msg->msg.add.init, in netifapi_do_netif_add()
129 void *state, netif_init_fn init, netif_input_fn input) in netifapi_netif_add() argument
154 NETIFAPI_VAR_REF(msg).msg.add.init = init; in netifapi_netif_add()
/nrf52832-nimble/rt-thread/components/dfs/filesystems/uffs/
H A DCMakeLists.txt16 …red -Wempty-body -Wignored-qualifiers -Wmissing-parameter-type -Woverride-init -Wtype-limits -Wuni…
17 …red -Wempty-body -Wignored-qualifiers -Wmissing-parameter-type -Woverride-init -Wtype-limits -Wuni…
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/frontends/qconf/
H A Dqconf.h129 init(); in ConfigItem()
134 init(); in ConfigItem()
139 init(); in ConfigItem()
142 void init(void);
/nrf52832-nimble/rt-thread/components/dfs/filesystems/uffs/src/example/
H A Dstatic-mem-allocate.c106 dev->Init = femu_InitDevice; in setup_device()
121 /* setup device: init, release, attr */ in init_uffs_fs()
149 printf ("Init file system fail: %d\n", ret); in main()
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/
H A Dnetif.h86 * Set by the netif driver in its init function. */
90 * Either set by the netif driver in its init function (if the link
95 * Set by the netif driver in its init function.
103 * Set by the netif driver in its init function. */
106 * Set by the netif driver in its init function. */
163 /** Function prototype for netif init functions. Set up flags and output/linkoutput
413 struct netif *netif_add_noaddr(struct netif *netif, void *state, netif_init_fn init, netif_input_fn…
418 void *state, netif_init_fn init, netif_input_fn input);
422 struct netif *netif_add(struct netif *netif, void *state, netif_init_fn init, netif_input_fn input);
/nrf52832-nimble/rt-thread/components/net/uip/rt-thread/
H A Duip_ethernetif.c281 /* init rx thread */ in eth_system_device_init()
282 /* init mailbox and create ethernet thread */ in eth_system_device_init()
296 /* init tx thread */ in eth_system_device_init()
297 /* init mailbox and create ethernet thread */ in eth_system_device_init()
H A Duip_netif.c30 err_t (* init)(struct netif *netif), in netif_add()
41 if (init(netif) != 0) { in netif_add()

12345678910>>...15