Home
last modified time | relevance | path

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

/AliOS-Things-master/components/drivers/peripheral/adc/src/
A Dadc_dev.c32 vfs_adc_t *vd = (vfs_adc_t *)f->node->i_arg; in adc_device_ioctl() local
33 adc_dev_t *adc_dev = &vd->dev; in adc_device_ioctl()
60 vd->ref_cnt++; in adc_device_ioctl()
66 vd->ref_cnt--; in adc_device_ioctl()
156 if (!(*ppsdev) || !vd) { in vfs_adc_drv_init()
164 if (vd) in vfs_adc_drv_init()
165 free(vd); in vfs_adc_drv_init()
171 memset(vd, 0, sizeof(*vd)); in vfs_adc_drv_init()
173 vd->dev.port = i; in vfs_adc_drv_init()
183 (*ppsdev)->user_data = vd; in vfs_adc_drv_init()
[all …]
/AliOS-Things-master/components/drivers/peripheral/i2c/src/
A Di2c_dev.c133 vfs_i2c_t *vd = (vfs_i2c_t *)f->node->i_arg; in i2c_device_ioctl() local
274 vfs_i2c_t *vd = (vfs_i2c_t *)node->i_arg; in i2c_device_open() local
282 slave = aos_i2c_open(vd->port, &config); in i2c_device_open()
297 vfs_i2c_t *vd = (vfs_i2c_t *)f->node->i_arg; in i2c_device_close() local
374 if (!(*ppsdev) || !vd) { in vfs_i2c_drv_init()
382 if (vd) in vfs_i2c_drv_init()
383 free(vd); in vfs_i2c_drv_init()
389 memset(vd, 0, sizeof(*vd)); in vfs_i2c_drv_init()
391 vd->port = i; in vfs_i2c_drv_init()
401 (*ppsdev)->user_data = vd; in vfs_i2c_drv_init()
[all …]
/AliOS-Things-master/components/drivers/peripheral/wifi/src/
A Dvfs_wifi_drv.c30 vfs_wifi_t *vd = (vfs_wifi_t *)f->node->i_arg; in wifi_device_ioctl() local
31 netdev_t *wifi_dev = &vd->dev; in wifi_device_ioctl()
251 vfs_wifi_t *vd = (vfs_wifi_t *)u_platform_get_user_data(pdev); in wifi_device_init() local
252 netdev_t *wifi_dev = &vd->dev; in wifi_device_init()
287 vfs_wifi_t *vd = malloc(sizeof(vfs_wifi_t)); in vfs_wifi_dev_register() local
290 if (!(ppsdev) || !vd) { in vfs_wifi_dev_register()
298 if (vd) in vfs_wifi_dev_register()
299 free(vd); in vfs_wifi_dev_register()
304 memset(vd, 0x0, sizeof(vfs_wifi_t)); in vfs_wifi_dev_register()
307 vd->dev.drv_ops = drv; in vfs_wifi_dev_register()
[all …]
/AliOS-Things-master/components/SDL2/src/video/wayland/
A DSDL_waylandmouse.c101 SDL_VideoDevice *vd = SDL_GetVideoDevice(); in create_buffer_from_shm() local
102 SDL_VideoData *data = (SDL_VideoData *) vd->driverdata; in create_buffer_from_shm()
154 SDL_VideoDevice *vd = SDL_GetVideoDevice (); in Wayland_CreateCursor() local
155 SDL_VideoData *wd = (SDL_VideoData *) vd->driverdata; in Wayland_CreateCursor()
241 SDL_VideoDevice *vd = SDL_GetVideoDevice(); in Wayland_CreateSystemCursor() local
242 SDL_VideoData *d = vd->driverdata; in Wayland_CreateSystemCursor()
320 SDL_VideoDevice *vd = SDL_GetVideoDevice(); in Wayland_ShowCursor() local
321 SDL_VideoData *d = vd->driverdata; in Wayland_ShowCursor()
366 SDL_VideoDevice *vd = SDL_GetVideoDevice(); in Wayland_SetRelativeMouseMode() local
367 SDL_VideoData *data = (SDL_VideoData *) vd->driverdata; in Wayland_SetRelativeMouseMode()
A DSDL_waylandevents.c1216 SDL_VideoDevice *vd = SDL_GetVideoDevice(); in Wayland_input_lock_pointer() local
1241 for (window = vd->windows; window; window = window->next) in Wayland_input_lock_pointer()
1251 SDL_VideoDevice *vd = SDL_GetVideoDevice(); in Wayland_input_unlock_pointer() local
1256 for (window = vd->windows; window; window = window->next) { in Wayland_input_unlock_pointer()
/AliOS-Things-master/components/a2sa/src/driver/core/
A Dcontrol.c31 (*kctl)->vd[idx].access = access; in audio_ctl_new()
120 LOGD(LOG_TAG, "%s:%d, ----kcontrol->vd[0].access: %d", __func__, __LINE__, kcontrol->vd[0].access); in audio_ctl_add()
326 struct audio_kcontrol_volatile *vd; in audio_ctl_elem_read() local
338 vd = &kctl->vd[0]; in audio_ctl_elem_read()
339 if ((vd->access & AOS_CTL_ELEM_ACCESS_READ) && kctl->get != NULL) { in audio_ctl_elem_read()
351 struct audio_kcontrol_volatile *vd; in audio_ctl_elem_write() local
363 vd = &kctl->vd[0]; in audio_ctl_elem_write()
364 if ((vd->access & AOS_CTL_ELEM_ACCESS_WRITE) && kctl->put != NULL) { in audio_ctl_elem_write()
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/
A Dmultilink.c436 TDB_DATA kd, vd; local
442 vd = tdb_fetch(pppdb, kd);
443 if (vd.dptr != NULL) {
444 ret = vd.dsize == key.dsize
445 && memcmp(vd.dptr, key.dptr, vd.dsize) == 0;
446 free(vd.dptr);
/AliOS-Things-master/components/py_engine/engine/py/
A Demitinlinethumb.c450 mp_uint_t vd = get_arg_vfpreg(emit, op_str, pn_args[0]); in emit_inline_thumb_op() local
453 op_code_hi | ((vd & 1) << 6), in emit_inline_thumb_op()
454 op_code | ((vd & 0x1e) << 11) | ((vm & 1) << 5) | (vm & 0x1e) >> 1); in emit_inline_thumb_op()
501 mp_uint_t vd = get_arg_vfpreg(emit, op_str, pn_args[0]); in emit_inline_thumb_op() local
508 op_code_hi | rlo_base | ((vd & 1) << 6), in emit_inline_thumb_op()
509 0x0a00 | ((vd & 0x1e) << 11) | i8); in emit_inline_thumb_op()
523 mp_uint_t vd = get_arg_vfpreg(emit, op_str, pn_args[0]); in emit_inline_thumb_op() local
527 op_code_hi | ((vd & 1) << 6) | (vn >> 1), in emit_inline_thumb_op()
528 … op_code | (vm >> 1) | ((vm & 1) << 5) | ((vd & 0x1e) << 11) | ((vn & 1) << 7)); in emit_inline_thumb_op()
/AliOS-Things-master/components/a2sa/internal/driver/core/
A Dcontrol.h182 struct audio_kcontrol_volatile vd[0]; /* volatile data */ member
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dquickjs.c21532 if (vd->var_name == name && vd->scope_level == 0) { in find_var_in_child_scope()
21567 (vd->is_lexical || (vd->var_kind == JS_VAR_CATCH && in find_lexical_decl()
21652 JSVarDef* vd; in add_var() local
21663 memset(vd, 0, sizeof(*vd)); in add_var()
21706 JSVarDef* vd; in add_arg() local
21717 memset(vd, 0, sizeof(*vd)); in add_arg()
21762 JSVarDef* vd; in define_var() local
21890 JSVarDef* vd; in add_private_class_field() local
29822 vd->var_name, vd->is_const, vd->is_lexical, vd->var_kind); in add_eval_variables()
31919 vd->scope_next = fd->scopes[vd->scope_level].first; in js_create_function()
[all …]
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_blit_N.c692 vector unsigned int vd; in Blit32to32KeyAltivec() local
706 vd = vec_ld(0, dstp); in Blit32to32KeyAltivec()
708 vd = (vector unsigned int) vec_sel((vector unsigned char) vs, in Blit32to32KeyAltivec()
709 (vector unsigned char) vd, in Blit32to32KeyAltivec()
712 vec_st(vd, 0, dstp); in Blit32to32KeyAltivec()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/libtests/
A Dpngstest.c242 double vd = value / 255.;
244 pow(sRGB_to_d[value], 1/2.2) - sRGB_from_linear(pow(vd, 2.2)));
263 double vd = value / 65535.;
265 pow(sRGB_from_linear(vd), 2.2) - linear_from_sRGB(pow(vd, 1/2.2)));
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/test/images/
A Drgb-3c-8b.ppm138 …{@td9��M�ψ��k��d�΃�۝�؟��}��i��f�Ґ��j`�?��i��q��vNun:�~a�)�HFar4gi0lb+vd.�~3��B��F��O��W��a��…
210 …]��_}�O/ 4�6Rn z����!�"$�!#�$'�+(�)(�*)�)'�)'�+'�3-�:/�61�UF�vd�k[�B=�//�')�!%�((�
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Dtestimg.ppm5 …70h70h70g6/g6/e3,e3,g5.h6/j81j81j81k92k60l71m80l:1k;/l>1j@0iD2hG6kP=gR?ufS�vd��s��rML:4:039/39/39/…

Completed in 139 milliseconds