/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/modules/sensor/nvp6324/ |
D | jaguar1_drv.c | 340 unsigned int __user *argp = (unsigned int __user *)arg; 367 if (copy_from_user(&all_vd_val, argp, sizeof(video_init_all))) 375 if (copy_from_user(&video_val, argp, sizeof(video_input_init))) 380 if (copy_from_user(&vo_seq_set, argp, sizeof(video_output_init))) 385 if (copy_from_user(&video_eq, argp, sizeof(video_equalizer_info_s))) 390 if (copy_from_user(&video_val, argp, sizeof(video_input_init))) 395 if (copy_from_user(&video_eq, argp, sizeof(video_equalizer_info_s))) 400 if (copy_from_user(&video_eq, argp, sizeof(video_equalizer_info_s))) 405 if (copy_from_user(&vidloss, argp, sizeof(video_video_loss_s))) 408 cpy2usr_ret = copy_to_user(argp, &vidloss, sizeof(video_video_loss_s)); [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/src/ |
D | tde_ioctl.c | 48 typedef hi_s32 (*tde_ctrl_ptr_func)(unsigned long argp, hi_void *private_data); 54 hi_s32 tde_osr_begin_job(unsigned long argp, hi_void *private_data); 55 static hi_s32 tde_osr_blit_blit(unsigned long argp, hi_void *private_data); 56 static hi_s32 tde_osr_solid_draw(unsigned long argp, hi_void *private_data); 57 static hi_s32 tde_osr_quick_copy(unsigned long argp, hi_void *private_data); 58 static hi_s32 tde_osr_quick_resize(unsigned long argp, hi_void *private_data); 59 static hi_s32 tde_osr_quick_fill(unsigned long argp, hi_void *private_data); 60 static hi_s32 tde_osr_quick_deflicker(unsigned long argp, hi_void *private_data); 61 static hi_s32 tde_osr_mb_blit_blit(unsigned long argp, hi_void *private_data); 62 static hi_s32 tde_osr_end_job(unsigned long argp, hi_void *private_data); [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/modules/sensor/nvp6158/ |
D | nvp6158_drv.c | 148 unsigned int __user *argp = (unsigned int __user *)arg; 175 if (copy_from_user(&i2c, argp, sizeof(nvp6124_i2c_mode))) { 187 if (copy_to_user(argp, &i2c, sizeof(nvp6124_i2c_mode))) 192 if (copy_to_user(argp, &g_vloss, sizeof(unsigned int))) 196 if (copy_from_user(&s_eq_dist, argp, sizeof(video_equalizer_info_s))) { 202 if (copy_to_user(argp, &s_eq_dist, sizeof(video_equalizer_info_s))) 206 if (copy_from_user(&s_eq_dist, argp, sizeof(video_equalizer_info_s))) { 216 if (copy_to_user(argp, &DRIVER_VER, sizeof(DRIVER_VER))) 252 if (copy_from_user(&vfmt_ch, argp, sizeof(nvp6158_input_videofmt_ch))) { 261 if (copy_to_user(argp, &vfmt_ch, sizeof(nvp6158_input_videofmt_ch))) [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/ |
D | kapi_dispatch.c | 47 static hi_s32 dispatch_symc_create_handle(hi_void *argp) in dispatch_symc_create_handle() argument 50 symc_create_t *symc_create = argp; in dispatch_symc_create_handle() 65 static hi_s32 dispatch_symc_destroy_handle(hi_void *argp) in dispatch_symc_destroy_handle() argument 68 symc_destroy_t *destroy = argp; in dispatch_symc_destroy_handle() 82 static hi_s32 dispatch_symc_cfg(hi_void *argp) in dispatch_symc_cfg() argument 85 symc_cfg_t *cfg = argp; in dispatch_symc_cfg() 99 static hi_s32 dispatch_symc_encrypt(hi_void *argp) in dispatch_symc_encrypt() argument 102 symc_encrypt_t *encrypt = argp; in dispatch_symc_encrypt() 140 static hi_s32 dispatch_symc_encrypt_multi(hi_void *argp) in dispatch_symc_encrypt_multi() argument 143 symc_encrypt_multi_t *encrypt_multi = argp; in dispatch_symc_encrypt_multi() [all …]
|
/device/soc/esp/esp32/components/heap/ |
D | heap_caps.c | 221 va_list argp; in heap_caps_malloc_prefer() local 222 va_start( argp, num ); in heap_caps_malloc_prefer() 225 uint32_t caps = va_arg( argp, uint32_t ); in heap_caps_malloc_prefer() 231 va_end( argp ); in heap_caps_malloc_prefer() 240 va_list argp; in heap_caps_realloc_prefer() local 241 va_start( argp, num ); in heap_caps_realloc_prefer() 244 uint32_t caps = va_arg( argp, uint32_t ); in heap_caps_realloc_prefer() 250 va_end( argp ); in heap_caps_realloc_prefer() 259 va_list argp; in heap_caps_calloc_prefer() local 260 va_start( argp, num ); in heap_caps_calloc_prefer() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/wtdg/ |
D | hi_wtdg.c | 248 void *argp = (void *)(uintptr_t)arg; in hidog_ioctl() local 256 err = memcpy_s(argp, sizeof(g_ident), &g_ident, sizeof(g_ident)); in hidog_ioctl() 262 err = memcpy_s((int *)argp, sizeof(int), &g_options, sizeof(int)); in hidog_ioctl() 271 err = memcpy_s(&new_margin, sizeof(int), (int *)argp, sizeof(int)); in hidog_ioctl() 281 err = memcpy_s((int *)argp, sizeof(int), &g_cur_margin, sizeof(int)); in hidog_ioctl() 286 err = memcpy_s(&new_options, sizeof(int), (int *)argp, sizeof(int)); in hidog_ioctl()
|
/device/soc/amlogic/a311d/soc/amlogic/ge2d/ |
D | ge2d_main.c | 215 void *argp = (void *)args; in ge2d_ioctl_config_ex_mem() local 220 ret = copy_from_user(&ge2d_para_config, argp, sizeof(struct config_ge2d_para_ex_s)); in ge2d_ioctl_config_ex_mem() 226 uf_ge2d_para = (struct compat_config_ge2d_para_ex_s *)argp; in ge2d_ioctl_config_ex_mem() 234 uf_ex_mem = (struct compat_config_para_ex_memtype_s *)argp; in ge2d_ioctl_config_ex_mem() 342 void *argp = (void *)args; in ge2d_ioctl() local 365 put_user(cap_mask, (int __user *)argp); in ge2d_ioctl() 369 ret = copy_from_user(&ge2d_config, argp, sizeof(struct config_para_s)); in ge2d_ioctl() 373 uf = (struct compat_config_para_s *)argp; in ge2d_ioctl() 397 uf = (struct compat_config_para_s *)argp; in ge2d_ioctl() 421 ret = copy_from_user(&ge2d_config_ex, argp, sizeof(struct config_para_ex_s)); in ge2d_ioctl() [all …]
|
/device/soc/esp/esp32/components/esp_lwip/port/include/lwip/ |
D | sockets.h | 630 int lwip_ioctl(int s, long cmd, void *argp); 677 static inline int ioctlsocket(int s,long cmd,void *argp) in ioctlsocket() argument 678 { return lwip_ioctl(s,cmd,argp); } in ioctlsocket() 691 static inline int ioctl(int s,long cmd,void *argp) in ioctl() argument 692 { return lwip_ioctl(s,cmd,argp); } in ioctl() 740 #define ioctlsocket(s,cmd,argp) lwip_ioctl(s,cmd,argp) argument 756 #define ioctl(s,cmd,argp) lwip_ioctl(s,cmd,argp) argument
|
/device/soc/esp/esp32/components/bt/host/bluedroid/external/sbc/decoder/include/ |
D | oi_utils.h | 219 void OI_VPrintf(const OI_CHAR *format, va_list argp); 254 const OI_CHAR *format, va_list argp);
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/hi3516cv500/mipi_rx/ |
D | mipi_rx.c | 994 unsigned long *argp = (unsigned long *)(uintptr_t)arg; in mipi_rx_ioctl() local 998 if (argp == NULL) { in mipi_rx_ioctl() 1009 pstcombo_dev_attr = (combo_dev_attr_t *)argp; in mipi_rx_ioctl() 1035 p_phy_cmv = (phy_cmv_t *)argp; in mipi_rx_ioctl() 1048 … err = memcpy_s(&sns_reset_source, sizeof(sns_rst_source_t), argp, sizeof(sns_rst_source_t)); in mipi_rx_ioctl() 1064 … err = memcpy_s(&sns_reset_source, sizeof(sns_rst_source_t), argp, sizeof(sns_rst_source_t)); in mipi_rx_ioctl() 1080 err = memcpy_s(&combo_dev, sizeof(combo_dev_t), argp, sizeof(combo_dev_t)); in mipi_rx_ioctl() 1096 err = memcpy_s(&combo_dev, sizeof(combo_dev_t), argp, sizeof(combo_dev_t)); in mipi_rx_ioctl() 1124 … err = memcpy_s(&lane_divide_mode, sizeof(lane_divide_mode_t), argp, sizeof(lane_divide_mode_t)); in mipi_rx_ioctl() 1140 err = memcpy_s(&combo_dev, sizeof(combo_dev_t), argp, sizeof(combo_dev_t)); in mipi_rx_ioctl() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/src/ |
D | hifb_main.c | 152 static hi_s32 hifb_onrefresh(hifb_par *par, hi_void __user *argp); 168 static hi_s32 hifb_onputlayerinfo(struct fb_info *info, hifb_par *par, const hi_void __user *argp); 2021 static hi_s32 hifb_ioctl_check_param(struct fb_info *info, hi_u32 cmd, hi_void *argp) in hifb_ioctl_check_param() argument 2035 if ((argp == HI_NULL) && (cmd != FBIOGET_VBLANK_HIFB) && in hifb_ioctl_check_param() 2065 hi_void __user *argp = (hi_void __user *)(hi_uintptr_t)arg; in hifb_get_colorkey() local 2080 return osal_copy_to_user(argp, &colorkey, sizeof(HIFB_COLORKEY_S)); in hifb_get_colorkey() 2088 hi_void __user *argp = (hi_void __user *)(hi_uintptr_t)arg; in hifb_set_colorkey() local 2092 if (osal_copy_from_user(&colorkey, argp, sizeof(HIFB_COLORKEY_S))) { in hifb_set_colorkey() 2142 hi_void __user *argp = (hi_void __user *)(hi_uintptr_t)arg; in hifb_get_layer_alpha() local 2148 return osal_copy_to_user(argp, &alpha, sizeof(HIFB_ALPHA_S)); in hifb_get_layer_alpha() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/ |
D | aml_vcodec_dec_drv.c | 329 void __user *argp = (void __user *)arg; in v4l2_vcodec_ioctl() local 339 put_user(v4lvideo_fd, (u32 __user *)argp); in v4l2_vcodec_ioctl() 349 get_user(v4lvideo_fd, (u32 __user *)argp); in v4l2_vcodec_ioctl() 367 (void *)argp, sizeof(ctx->config))) { in v4l2_vcodec_ioctl() 382 if (copy_to_user((void *)argp, in v4l2_vcodec_ioctl()
|
/device/soc/amlogic/a311d/soc/amlogic/unifykey/ |
D | efuse_burn.c | 52 void __user *argp = (void __user *)arg; in efuse_burn_unlocked_ioctl() local 58 if (copy_from_user((void *)&info, argp, sizeof(info))) { in efuse_burn_unlocked_ioctl() 68 if (copy_to_user(argp, &info, sizeof(info))) { in efuse_burn_unlocked_ioctl()
|
D | unifykey.c | 523 void __user *argp = (void __user *)arg; in unifykey_unlocked_ioctl() local 537 ret = copy_from_user(key, argp, sizeof(*key)); in unifykey_unlocked_ioctl() 554 ret = copy_from_user(item, argp, sizeof(*item)); in unifykey_unlocked_ioctl() 592 ret = copy_to_user(argp, item, sizeof(*item)); in unifykey_unlocked_ioctl()
|
D | efuse.c | 176 void __user *argp = (void __user *)arg; in efuse_unlocked_ioctl() local 181 if (copy_from_user((void *)&info, argp, sizeof(info))) { in efuse_unlocked_ioctl() 191 if (copy_to_user(argp, &info, sizeof(info))) { in efuse_unlocked_ioctl()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/ |
D | sockets.h | 2354 int lwip_ioctl(int s, long request, void *argp); 2486 #define ioctlsocket(s, cmd, argp) lwip_ioctl(s, cmd, argp) argument 2504 #define ioctl(s, cmd, argp) lwip_ioctl(s, cmd, argp) argument
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/ |
D | drv_hdmi_intf_k.c | 26 static hi_s32 hdmi_ext_ioctl(unsigned int cmd, void *argp) in hdmi_ext_ioctl() argument 29 ret = drv_hdmi_cmd_process(cmd, argp, HI_FALSE); in hdmi_ext_ioctl()
|
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/sdk/ |
D | gr55xx_sys.h | 89 typedef int (*vprintf_callback_t) (const char *fmt, va_list argp);
|
/device/soc/hisilicon/common/platform/mipi_csi/ |
D | mipi_csi_hi35xx.c | 717 static int32_t SetComboDevAttr(struct MipiCsiCntlr *cntlr, const ComboDevAttr *argp) in SetComboDevAttr() argument 723 if (argp == NULL) { in SetComboDevAttr() 728 devno = argp->devno; in SetComboDevAttr() 731 … err = memcpy_s(&cntlr->ctx.comboDevAttr[devno], sizeof(ComboDevAttr), argp, sizeof(ComboDevAttr)); in SetComboDevAttr()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/ |
D | dev_fb.c | 1133 void __user *argp = (void __user *)arg; in sunxi_fb_ioctl() local 1175 if (copy_from_user((void *)karg, argp, in sunxi_fb_ioctl() 1246 if (argp) { in sunxi_fb_ioctl() 1247 if (copy_from_user((struct disp_ion_mem *)karg, argp, in sunxi_fb_ioctl() 1252 if (argp == NULL) { in sunxi_fb_ioctl() 1261 if (argp) { in sunxi_fb_ioctl() 1262 if (copy_from_user((struct disp_ion_mem *)karg, argp, in sunxi_fb_ioctl() 1267 if (argp == NULL) { in sunxi_fb_ioctl() 1299 if (copy_to_user(argp, &k_ret, sizeof(struct fb_dmabuf_export))) { in sunxi_fb_ioctl()
|
/device/soc/beken/bk7235/liteos_m/third_party_adapter/lwip_intf_v2_1/lwip-2.1.2/port/ |
D | sockets.c | 3814 lwip_ioctl(int s, long cmd, void *argp) in lwip_ioctl() argument 3829 if (!argp) { in lwip_ioctl() 3839 *((int *)argp) = nb->p->tot_len; in lwip_ioctl() 3844 *((int *)argp) = 0; in lwip_ioctl() 3847 *((int *)argp) = rxbuf->p->tot_len; in lwip_ioctl() 3870 *((int *)argp) = recv_avail; in lwip_ioctl() 3872 …IP_DEBUGF(SOCKETS_DEBUG, ("lwip_ioctl(%d, FIONREAD, %p) = %"U16_F"\n", s, argp, *((u16_t *)argp))); in lwip_ioctl() 3883 if (argp && *(int *)argp) { in lwip_ioctl() 3896 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_ioctl(%d, UNIMPL: 0x%lx, %p)\n", s, cmd, argp)); in lwip_ioctl()
|
/device/soc/esp/esp32/components/esp_lwip/lwip/src/api/ |
D | sockets.c | 3896 lwip_ioctl(int s, long cmd, void *argp) argument 3911 if (!argp) { 3921 *((int *)argp) = nb->p->tot_len; 3926 *((int *)argp) = 0; 3929 *((int *)argp) = rxbuf->p->tot_len; 3952 *((int *)argp) = recv_avail; 3954 …IP_DEBUGF(SOCKETS_DEBUG, ("lwip_ioctl(%d, FIONREAD, %p) = %"U16_F"\n", s, argp, *((u16_t *)argp))); 3965 if (argp && *(int *)argp) { 3977 LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_ioctl(%d, UNIMPL: 0x%lx, %p)\n", s, cmd, argp));
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/osal/include/ |
D | drv_osal_lib.h | 120 hi_s32 crypto_ioctl(hi_u32 cmd, hi_void *argp);
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ |
D | mali_kbase_vinstr.c | 466 … u32 buffer_count, u32 bitmap[4], void *argp, in kbasep_vinstr_attach_client() argument 519 int *fd = (int *)argp; in kbasep_vinstr_attach_client() 544 cli->legacy_buffer = (void __user *)argp; in kbasep_vinstr_attach_client()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ |
D | mali_kbase_vinstr.c | 506 u32 bitmap[4], void *argp, void *kernel_buffer) in kbasep_vinstr_attach_client() argument 557 int *fd = (int *)argp; in kbasep_vinstr_attach_client() 585 cli->legacy_buffer = (void __user *)argp; in kbasep_vinstr_attach_client()
|