Home
last modified time | relevance | path

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

12

/components/libc/posix/libdl/
A Ddlmodule.c152 if (module == RT_NULL || module->cmd_line == RT_NULL) in _dlmodule_thread_entry()
189 if (module) in dlmodule_create()
265 module->cleanup_func(module); in dlmodule_destroy()
388 if (module->cmd_line) rt_free(module->cmd_line); in dlmodule_destroy()
537 module->init_func = dlsym(module, "module_init"); in dlmodule_load()
543 module->init_func(module); in dlmodule_load()
553 if (module) dlmodule_destroy(module); in dlmodule_load()
711 module->init_func = dlsym(module, "module_init"); in dlmodule_load_custom()
717 module->init_func(module); in dlmodule_load_custom()
738 if (module) dlmodule_destroy(module); in dlmodule_load_custom()
[all …]
A Ddlelf.c117 module->vstart_addr = vstart_addr; in dlmodule_load_shared_object()
118 module->nref = 0; in dlmodule_load_shared_object()
122 if (module->mem_space == RT_NULL) in dlmodule_load_shared_object()
127 module->mem_size = module_size; in dlmodule_load_shared_object()
142 module->entry_addr = module->mem_space + elf_module->e_entry - vstart_addr; in dlmodule_load_shared_object()
241 module->nsym = count; in dlmodule_load_shared_object()
253 (void *)(module->mem_space + symtab[i].st_value - module->vstart_addr); in dlmodule_load_shared_object()
272 … priority = *(rt_uint16_t*)(module->mem_space + symtab[i].st_value - module->vstart_addr); in dlmodule_load_shared_object()
352 module->vstart_addr = 0; in dlmodule_load_relocated_object()
361 module->mem_size = module_size; in dlmodule_load_relocated_object()
[all …]
A Ddlopen.c34 struct rt_dlmodule *module; in dlopen() local
57 module = dlmodule_find(fullpath); in dlopen()
59 if(module != RT_NULL) in dlopen()
62 module->nref++; in dlopen()
67 module = dlmodule_load(fullpath); in dlopen()
75 return (void*)module; in dlopen()
A Ddlclose.c27 struct rt_dlmodule *module; in dlclose() local
31 module = (struct rt_dlmodule *)handle; in dlclose()
34 module->nref--; in dlclose()
35 if (module->nref <= 0) in dlclose()
39 dlmodule_destroy(module); in dlclose()
A Ddlsym.c30 struct rt_dlmodule *module; in dlsym() local
34 module = (struct rt_dlmodule *)handle; in dlsym()
36 for(i=0; i<module->nsym; i++) in dlsym()
38 if (rt_strcmp(module->symtab[i].name, symbol) == 0) in dlsym()
39 return (void*)module->symtab[i].addr; in dlsym()
A Ddlmodule.h24 typedef void (*rt_dlmodule_init_func_t)(struct rt_dlmodule *module);
25 typedef void (*rt_dlmodule_cleanup_func_t)(struct rt_dlmodule *module);
69 rt_err_t dlmodule_destroy(struct rt_dlmodule* module);
A Ddlelf.h377 int dlmodule_relocate(struct rt_dlmodule *module, Elf_Rel *rel, Elf_Addr sym_val);
378 rt_err_t dlmodule_load_shared_object(struct rt_dlmodule *module, void *module_ptr);
379 rt_err_t dlmodule_load_relocated_object(struct rt_dlmodule *module, void *module_ptr);
/components/utilities/var_export/
A Dvar_export.h20 const char *module; /* module name */ member
46 #define VAR_EXPORT(module, identi, value) \ argument
47 const char _vexp_##identi##_module[] rt_section(".rodata.vexp") = #module; \
49 rt_used const struct ve_exporter _vexp_##module##identi \
50 rt_section("1."#module".VarExpTab."#identi) = \
57 #define VAR_EXPORT(module, identi, value) \ argument
58 const char _vexp_##identi##_module[] rt_section(".rodata.vexp") = #module; \
60 rt_used const struct ve_exporter _vexp_##module##identi \
61 rt_section(#module".VarExpTab."#identi) = \
69 #define VAR_EXPORT(module, identi, value) \ argument
[all …]
A Dvar_export_cmd.c49 ve_module_t module; in ve_find_module() local
56 if (!ve_module_init(&module, argv[2])) in ve_find_module()
58 ve_iter_init(&module, &iter); in ve_find_module()
75 maxlen, exporter->module, in ve_find_module()
86 ve_module_t module; in ve_find_value() local
93 if (!ve_module_init(&module, argv[2])) in ve_find_value()
95 ve_iter_init(&module, &iter); in ve_find_value()
114 maxlen, exporter->module, in ve_find_value()
A Dvar_export.c108 ve_exporter_tab[index_j].module, in var_export_init()
113 ve_exporter_tab[index_j + 1].module, in var_export_init()
132 int ve_module_init(ve_module_t *mod, const char *module) in ve_module_init() argument
140 if (!rt_strcmp(exporter->module, module)) in ve_module_init()
/components/drivers/sensor/v1/
A Dsensor.c87 if (sensor->module) in irq_callback()
157 if (sensor->module) in rt_sensor_open()
217 if (sensor->module) in rt_sensor_open()
234 if (sensor->module) in rt_sensor_close()
277 if (sensor->module) in rt_sensor_close()
296 if (sensor->module) in rt_sensor_read()
324 if (sensor->module) in rt_sensor_read()
339 if (sensor->module) in rt_sensor_control()
407 if (sensor->module) in rt_sensor_control()
459 if (sensor->module != RT_NULL && sensor->module->lock == RT_NULL) in rt_hw_sensor_register()
[all …]
/components/drivers/sensor/v2/
A Dsensor.c83 if (sensor->module) in _irq_callback()
88 _sensor_cb(sensor->module->sen[i]); in _irq_callback()
152 if (sensor->module) in _sensor_open()
220 if (sensor->module) in _sensor_open()
237 if (sensor->module) in _sensor_close()
280 if (sensor->module) in _sensor_close()
299 if (sensor->module) in _sensor_read()
327 if (sensor->module) in _sensor_read()
343 if (sensor->module) in _sensor_control()
431 if (sensor->module) in _sensor_control()
[all …]
/components/dfs/dfs_v2/filesystems/elmfat/
A D00readme.txt8 ff.c FatFs module.
9 ffconf.h Configuration file of FatFs module.
10 ff.h Common include file for FatFs and application module.
11 diskio.h Common include file for FatFs and disk I/O module.
12 diskio.c An example of glue function to attach existing disk I/O module to FatFs.
17 Low level disk I/O module is not included in this archive because the FatFs
18 module is only a generic file system layer and it does not depend on any specific
19 storage device. You need to provide a low level disk I/O module written to
/components/dfs/dfs_v1/filesystems/elmfat/
A D00readme.txt8 ff.c FatFs module.
9 ffconf.h Configuration file of FatFs module.
10 ff.h Common include file for FatFs and application module.
11 diskio.h Common include file for FatFs and disk I/O module.
12 diskio.c An example of glue function to attach existing disk I/O module to FatFs.
17 Low level disk I/O module is not included in this archive because the FatFs
18 module is only a generic file system layer and it does not depend on any specific
19 storage device. You need to provide a low level disk I/O module written to
/components/libc/posix/libdl/arch/
A Driscv.c33 int dlmodule_relocate(struct rt_dlmodule *module, Elf_Rel *rel, Elf_Addr sym_val) in dlmodule_relocate() argument
39 where = (Elf64_Addr *)((rt_uint8_t *)module->mem_space in dlmodule_relocate()
41 - module->vstart_addr); in dlmodule_relocate()
51 … *where = (Elf64_Addr)((rt_uint8_t *)module->mem_space - module->vstart_addr + rel->r_addend); in dlmodule_relocate()
A Dx86.c23 int dlmodule_relocate(struct rt_dlmodule *module, Elf32_Rel *rel, Elf32_Addr sym_val) in dlmodule_relocate() argument
29 where = (Elf32_Addr *)((rt_uint8_t *)module->mem_space in dlmodule_relocate()
31 - module->vstart_addr); in dlmodule_relocate()
A Darm.c20 int dlmodule_relocate(struct rt_dlmodule *module, Elf32_Rel *rel, Elf32_Addr sym_val) in dlmodule_relocate() argument
26 where = (Elf32_Addr *)((rt_uint8_t *)module->mem_space in dlmodule_relocate()
28 - module->vstart_addr); in dlmodule_relocate()
/components/drivers/pm/
A Dpm.c1087 int module = 0; in rt_module_release_mode() local
1092 module = atoi(argv[1]); in rt_module_release_mode()
1102 int module = 0; in rt_module_release_mode_all() local
1107 module = atoi(argv[1]); in rt_module_release_mode_all()
1117 int module = 0; in rt_module_request_mode() local
1122 module = atoi(argv[1]); in rt_module_request_mode()
1132 int module = 0; in rt_module_delay_sleep() local
1137 module = atoi(argv[1]); in rt_module_delay_sleep()
1217 int module = 0; in pm_sleep_request() local
1222 module = atoi(argv[1]); in pm_sleep_request()
[all …]
/components/net/lwip/lwip-1.4.1/src/netif/
A DFILES8 Ethernet device drivers. Note that this module has been
23 protocol. It requires a sio (serial I/O) module to work.
/components/drivers/usb/cherryusb/class/vendor/wifi/
A DREADME.md3 Usbwifi firmware please contact bouffalolab. You can purchase a module in the following ways:
/components/legacy/usb/
A DSConscript1 # for module compiling
/components/drivers/
A DSConscript1 # for module compiling
/components/
A DSConscript1 # for module compiling
/components/net/lwip/lwip-1.4.1/src/
A DFILES10 as well as the ARP module.
/components/libc/posix/
A DKconfig109 bool "Enable dynamic module APIs, dlopen()/dlsym()/dlclose() etc"
114 bool "Enable load dynamic module by custom"

Completed in 64 milliseconds

12