/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/video/sunxi/disp2/disp/de/ |
D | disp_eink_manager.c | 95 if (manager->private_data->eink_clk) in __eink_clk_disable() 96 clk_disable(manager->private_data->eink_clk); in __eink_clk_disable() 98 if (manager->private_data->edma_clk) in __eink_clk_disable() 99 clk_disable(manager->private_data->edma_clk); in __eink_clk_disable() 108 if (manager->private_data->eink_clk) in __eink_clk_enable() 109 ret = clk_prepare_enable(manager->private_data->eink_clk); in __eink_clk_enable() 111 if (manager->private_data->edma_clk) in __eink_clk_enable() 112 ret = clk_prepare_enable(manager->private_data->edma_clk); in __eink_clk_enable() 135 __clear_wavedata_buffer(&(manager->private_data->wavedata_ring_buffer)); in __eink_clear_wave_data() 427 spin_lock_irqsave(&manager->private_data->slock, flags); in eink_calculate_index_data() [all …]
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/hidev/kernel/ |
D | hidev.c | 33 static hi_s32 hidev_open(hi_void *private_data) in hidev_open() argument 39 static hi_s32 hidev_release(hi_void *private_data) in hidev_release() argument 45 static hi_s32 hidev_get_pm_cmd(unsigned int cmd, hi_void *para, hi_void *private_data) in hidev_get_pm_cmd() argument 58 static hi_s32 hidev_free_block_mem(unsigned int cmd, hi_void *para, hi_void *private_data) in hidev_free_block_mem() argument 66 static hi_s32 hidev_pm_suspend(hi_void *private_data) in hidev_pm_suspend() argument 72 static hi_s32 hidev_pm_resume(hi_void *private_data) in hidev_pm_resume() argument 81 static hi_s32 hidev_pm_lowpower_enter(hi_void *private_data) in hidev_pm_lowpower_enter() argument 89 static hi_s32 hidev_pm_lowpower_exit(hi_void *private_data) in hidev_pm_lowpower_exit() argument 97 static hi_s32 hidev_pm_poweroff(hi_void *private_data) in hidev_pm_poweroff() argument
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/hiproc/kernel/ |
D | hiproc.c | 39 hi_u32 private_data; member 64 static hi_entry_list *add_list(const hi_char *name, const hi_u32 private_data) in add_list() argument 73 tmp->private_data = private_data; in add_list() 79 static hi_void get_list_and_delete_node(const hi_u32 private_data) in get_list_and_delete_node() argument 85 if (tmp->private_data == private_data) { in get_list_and_delete_node() 105 static hi_s32 del_list_node(const hi_u32 private_data, const hi_char *name) in del_list_node() argument 110 if (tmp->private_data == private_data && (!strncmp(tmp->entry_name, name, strlen(name)))) { in del_list_node() 139 static hi_s32 hiproc_open(hi_void *private_data) in hiproc_open() argument 149 static hi_s32 hiproc_release(hi_void *private_data) in hiproc_release() argument 152 get_list_and_delete_node((hi_u32)(uintptr_t)private_data); in hiproc_release() [all …]
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/i2c/std_i2c/ |
D | drv_i2c.h | 105 hi_s32 hi_drv_i2c_cmd_write(unsigned int cmd, hi_void *arg, hi_void *private_data); 106 hi_s32 hi_drv_i2c_cmd_read(unsigned int cmd, hi_void *arg, hi_void *private_data); 107 hi_s32 hi_drv_i2c_cmd_set_rate(unsigned int cmd, hi_void *arg, hi_void *private_data); 115 hi_s32 i2c_pm_resume(hi_void *private_data); 116 hi_s32 i2c_pm_suspend(hi_void *private_data); 117 hi_s32 i2c_drv_lowpower_enter(hi_void *private_data); 118 hi_s32 i2c_drv_lowpower_exit(hi_void *private_data);
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/ |
D | osal_device.c | 43 void *private_data; member 81 dev = (osal_dev *)file->private_data; in osal_open() 100 ret = fops->open((void *)&(fileops_node->private_data)); in osal_open() 109 file->private_data = fileops_node; in osal_open() 120 fileops_node = file->private_data; in osal_read() 133 ret = fops->read(buf, (int)size, (long *)offset, (void *)&(fileops_node->private_data)); in osal_read() 162 fileops_node = file->private_data; in osal_release() 175 ret = fops->release((void *)&(fileops_node->private_data)); in osal_release() 179 file->private_data = NULL; in osal_release() 227 … int osal_ioctl_call_fun(unsigned int cmd, void *ioctl_arg, osal_fileops *fops, void *private_data) in osal_ioctl_call_fun() argument [all …]
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/ |
D | hi_osal.h | 382 int (*handler)(unsigned int cmd, void *arg, void *private_data); 390 int (*open)(void *private_data); 391 int (*read)(char *buf, int size, long *offset, void *private_data); 392 int (*write)(const char *buf, int size, long *offset, void *private_data); 393 long (*llseek)(long offset, int whence, void *private_data); 394 int (*release)(void *private_data); 395 long (*unlocked_ioctl)(unsigned int cmd, unsigned long arg, void *private_data); 396 int (*poll)(osal_poll *osal_poll, void *private_data); 397 …)(osal_vm *vm, unsigned long start, unsigned long end, unsigned long vm_pgoff, void *private_data); 399 long (*compat_ioctl)(unsigned int cmd, unsigned long arg, void *private_data); [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/hi_proc/kernel/ |
D | hiproc.c | 40 hi_u32 private_data; member 65 static hi_entry_list *add_list(const hi_char *name, const hi_u32 private_data) in add_list() argument 74 tmp->private_data = private_data; in add_list() 80 static hi_void get_list_and_delete_node(const hi_u32 private_data) in get_list_and_delete_node() argument 86 if (tmp->private_data == private_data) { in get_list_and_delete_node() 106 static hi_s32 del_list_node(const hi_u32 private_data, const hi_char *name) in del_list_node() argument 111 if (tmp->private_data == private_data && (!strncmp(tmp->entry_name, name, strlen(name)))) { in del_list_node() 140 static hi_s32 hiproc_open(hi_void *private_data) in hiproc_open() argument 150 static hi_s32 hiproc_release(hi_void *private_data) in hiproc_release() argument 153 get_list_and_delete_node((hi_u32)(uintptr_t)private_data); in hiproc_release() [all …]
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/vo/vo_dev/mkp/src/ |
D | vou.c | 205 static hi_s32 vou_dev_ioctl(unsigned int cmd, unsigned long arg, void *private_data) in vou_dev_ioctl() argument 207 hi_vo_dev dev = vo_get_dev(private_data); in vou_dev_ioctl() 209 hi_graphic_layer gfx_layer = *(hi_u32 *)((hi_uintptr_t)(private_data)); in vou_dev_ioctl() 217 UMAP_SET_CHN(private_data, *((hi_u32 *)(hi_uintptr_t)arg)); in vou_dev_ioctl() 327 static hi_s32 vou_dev_compat_ioctl(unsigned int cmd, unsigned long arg, void *private_data) in vou_dev_compat_ioctl() argument 329 return vou_dev_ioctl(cmd, arg, private_data); in vou_dev_compat_ioctl() 333 static long vou_device_ioctl(unsigned int cmd, unsigned long arg, void *private_data) in vou_device_ioctl() argument 344 ret = vou_dev_ioctl(cmd, arg, private_data); in vou_device_ioctl() 352 static long vou_device_compat_ioctl(unsigned int cmd, unsigned long arg, void *private_data) in vou_device_compat_ioctl() argument 363 ret = vou_dev_compat_ioctl(cmd, arg, private_data); in vou_device_compat_ioctl() [all …]
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tl/ |
D | mali_kbase_timeline_io.c | 197 if (WARN_ON(!filp->private_data)) in kbasep_timeline_io_read() 200 timeline = (struct kbase_timeline *)filp->private_data; in kbasep_timeline_io_read() 303 if (WARN_ON(!filp->private_data)) in kbasep_timeline_io_poll() 306 timeline = (struct kbase_timeline *)filp->private_data; in kbasep_timeline_io_poll() 333 KBASE_DEBUG_ASSERT(filp->private_data); in kbasep_timeline_io_release() 337 timeline = (struct kbase_timeline *)filp->private_data; in kbasep_timeline_io_release() 372 if (WARN_ON(!filp->private_data)) in kbasep_timeline_io_fsync() 375 timeline = (struct kbase_timeline *)filp->private_data; in kbasep_timeline_io_fsync()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/include/ |
D | tde_ioctl.h | 33 long tde_ioctl(unsigned int cmd, unsigned long arg, hi_void *private_data); 34 int tde_open(hi_void *private_data); 35 int tde_release(hi_void *private_data);
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/ |
D | aml_vcodec_dec_drv.c | 76 file->private_data = &ctx->fh; in fops_vcodec_open() 150 struct aml_vcodec_ctx *ctx = fh_to_ctx(file->private_data); in fops_vcodec_release() 180 (ulong) file, (ulong) file->private_data); in v4l2video_file_release() 182 if (file->private_data) in v4l2video_file_release() 183 vdec_frame_buffer_release(file->private_data); in v4l2video_file_release() 211 file->private_data = in v4l2_alloc_fd() 213 if (!file->private_data) { in v4l2_alloc_fd() 220 file_fd, (ulong) file, (ulong) file->private_data); in v4l2_alloc_fd() 282 memcpy(file->private_data, data, size); in dmabuf_fd_install_data() 311 data = (struct file_private_data*) file->private_data; in v4l_get_vf_handle() [all …]
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/gpio/ |
D | drv_gpio_intf.c | 236 static hi_s32 gpio_drv_lowpower_enter(hi_void *private_data) in gpio_drv_lowpower_enter() argument 242 static hi_s32 gpio_drv_lowpower_exit(hi_void *private_data) in gpio_drv_lowpower_exit() argument 248 static HI_S32 gpio_suspend(hi_void *private_data) in gpio_suspend() argument 254 static HI_S32 gpio_resume(hi_void *private_data) in gpio_resume() argument 260 static hi_s32 hi_gpio_ioctl_set_int_type(unsigned int cmd, hi_void *arg, hi_void *private_data) in hi_gpio_ioctl_set_int_type() argument 292 static hi_s32 hi_gpio_ioctl_set_int_enable(unsigned int cmd, hi_void *arg, hi_void *private_data) in hi_gpio_ioctl_set_int_enable() argument 337 static hi_s32 hi_gpio_ioctl_get_int(unsigned int cmd, hi_void *arg, hi_void *private_data) in hi_gpio_ioctl_get_int() argument 378 static hi_s32 hi_gpio_ioctl_get_gpio_num(unsigned int cmd, hi_void *arg, hi_void *private_data) in hi_gpio_ioctl_get_gpio_num() argument 409 static hi_s32 hi_gpio_ioctl_set_output_type(unsigned int cmd, hi_void *arg, hi_void *private_data) in hi_gpio_ioctl_set_output_type() argument 442 static hi_s32 hi_gpio_ioctl_get_output_type(unsigned int cmd, hi_void *arg, hi_void *private_data) in hi_gpio_ioctl_get_output_type() argument [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/cpufreq/ |
D | cpufreq-dt.c | 27 struct private_data { struct 45 static struct private_data *cpufreq_dt_find_data(int cpu) in cpufreq_dt_find_data() argument 47 struct private_data *priv; in cpufreq_dt_find_data() 59 struct private_data *priv = policy->driver_data; in set_target() 106 struct private_data *priv; in cpufreq_init() 211 struct private_data *priv = policy->driver_data; in cpufreq_exit() 237 struct private_data *priv; in dt_cpufreq_early_init() 326 struct private_data *priv, *tmp; in dt_cpufreq_release()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/tl/ |
D | mali_kbase_timeline_io.c | 184 if (WARN_ON(!filp->private_data)) { in kbasep_timeline_io_read() 188 timeline = (struct kbase_timeline *)filp->private_data; in kbasep_timeline_io_read() 289 if (WARN_ON(!filp->private_data)) { in kbasep_timeline_io_poll() 293 timeline = (struct kbase_timeline *)filp->private_data; in kbasep_timeline_io_poll() 320 KBASE_DEBUG_ASSERT(filp->private_data); in kbasep_timeline_io_release() 324 timeline = (struct kbase_timeline *)filp->private_data; in kbasep_timeline_io_release()
|
/device/soc/rockchip/common/sdk_linux/drivers/cpufreq/ |
D | cpufreq-dt.c | 28 struct private_data { struct 46 static struct private_data *cpufreq_dt_find_data(int cpu) in cpufreq_dt_find_data() argument 48 struct private_data *priv; in cpufreq_dt_find_data() 62 struct private_data *priv = policy->driver_data; in set_target() 112 struct private_data *priv; in cpufreq_init() 202 struct private_data *priv; in dt_cpufreq_early_init() 323 struct private_data *priv, *tmp; in dt_cpufreq_release()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/hi3516cv500/mipi_tx/ |
D | mipi_tx.c | 221 static long mipi_tx_ioctl(unsigned int cmd, unsigned long arg, void* private_data) in mipi_tx_ioctl() argument 225 mipi_tx_unused(private_data); in mipi_tx_ioctl() 302 static long mipi_tx_compat_ioctl(unsigned int cmd, unsigned long arg, void* private_data) in mipi_tx_compat_ioctl() argument 304 return mipi_tx_ioctl(cmd, arg, private_data); in mipi_tx_compat_ioctl() 397 static int mipi_tx_open(void* private_data) in mipi_tx_open() argument 399 mipi_tx_unused(private_data); in mipi_tx_open() 403 static int mipi_tx_release(void *private_data) in mipi_tx_release() argument 405 mipi_tx_unused(private_data); in mipi_tx_release()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/hi_adc/ |
D | hi_adc.c | 73 static int hilsadc_open(void *private_data) in hilsadc_open() argument 75 hi_adc_unused(private_data); in hilsadc_open() 81 static int hilsadc_release(void *private_data) in hilsadc_release() argument 83 hi_adc_unused(private_data); in hilsadc_release() 252 static long hilsadc_ioctl(unsigned int cmd, unsigned long arg, void *private_data) in hilsadc_ioctl() argument 259 hi_adc_unused(private_data); in hilsadc_ioctl()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/app/v4l2_interface/ |
D | isp-v4l2.c | 105 file->private_data = &sp->fh; in isp_v4l2_fh_open() 126 struct isp_v4l2_fh *sp = fh_to_private( file->private_data ); in isp_v4l2_fh_release() 159 sp = fh_to_private( file->private_data ); in isp_v4l2_fop_open() 225 struct isp_v4l2_fh *sp = fh_to_private( file->private_data ); in isp_v4l2_fop_close() 284 struct isp_v4l2_fh *sp = fh_to_private( filep->private_data ); in isp_v4l2_fop_read() 295 struct isp_v4l2_fh *sp = fh_to_private( filep->private_data ); in isp_v4l2_fop_poll() 311 struct isp_v4l2_fh *sp = fh_to_private( file->private_data ); in isp_v4l2_fop_mmap() 356 struct isp_v4l2_fh *sp = fh_to_private( file->private_data ); in isp_v4l2_g_fmt_vid_cap() 380 struct isp_v4l2_fh *sp = fh_to_private( file->private_data ); in isp_v4l2_enum_fmt_vid_cap() 389 struct isp_v4l2_fh *sp = fh_to_private( file->private_data ); in isp_v4l2_try_fmt_vid_cap() [all …]
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/include/ |
D | hi_drv_gpioi2c.h | 45 int hi_drv_gpioi2c_cmd_read(unsigned int cmd, hi_void *arg, hi_void *private_data); 46 int hi_drv_gpioi2c_cmd_write(unsigned int cmd, hi_void *arg, hi_void *private_data); 47 int hi_drv_gpioi2c_cmd_config(unsigned int cmd, hi_void *arg, hi_void *private_data); 48 int hi_drv_gpioi2c_cmd_destroy(unsigned int cmd, hi_void *arg, hi_void *private_data);
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/ |
D | debugfs.c | 38 struct ieee80211_local *local = file->private_data; \ 78 struct ieee80211_local *local = file->private_data; in aqm_read() 119 struct ieee80211_local *local = file->private_data; in aqm_write() 156 struct ieee80211_local *local = file->private_data; in force_tx_status_read() 171 struct ieee80211_local *local = file->private_data; in force_tx_status_write() 207 struct ieee80211_local *local = file->private_data; in reset_write() 281 struct ieee80211_local *local = file->private_data; in hwflags_read() 310 struct ieee80211_local *local = file->private_data; in misc_read() 342 struct ieee80211_local *local = file->private_data; in queues_read() 392 return format_devstat_counter(file->private_data, \
|
D | debugfs_key.c | 21 struct ieee80211_key *key = file->private_data; \ 74 struct ieee80211_key *key = file->private_data; in key_algorithm_read() 86 struct ieee80211_key *key = file->private_data; in key_tx_spec_write() 124 struct ieee80211_key *key = file->private_data; in key_tx_spec_read() 160 struct ieee80211_key *key = file->private_data; in key_rx_spec_read() 228 struct ieee80211_key *key = file->private_data; in key_replays_read() 261 struct ieee80211_key *key = file->private_data; in key_icverrors_read() 286 struct ieee80211_key *key = file->private_data; in key_mic_failures_read() 302 struct ieee80211_key *key = file->private_data; in key_key_read()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/hi_ir/ |
D | hiir.c | 301 static long hiir_ioctl(unsigned int cmd, unsigned long arg, void *private_data) in hiir_ioctl() argument 305 hi_ir_unused(private_data); in hiir_ioctl() 427 static int hiir_read(char *buf, int count, long *f_pos, void *private_data) in hiir_read() argument 432 hi_ir_unused(private_data); in hiir_read() 456 static unsigned int hiir_select(osal_poll_t *osal_poll, void *private_data) in hiir_select() argument 458 hi_ir_unused(private_data); in hiir_select() 470 static int hiir_open(void *private_data) in hiir_open() argument 473 hi_ir_unused(private_data); in hiir_open() 503 static int hiir_release(void *private_data) in hiir_release() argument 505 hi_ir_unused(private_data); in hiir_release()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/wtdg/ |
D | hi_wtdg.c | 212 static int hidog_open(void *private_data) in hidog_open() argument 215 hi_wtdg_unused(private_data); in hidog_open() 228 static int hidog_release(void *private_data) in hidog_release() argument 230 hi_wtdg_unused(private_data); in hidog_release() 246 static long hidog_ioctl(unsigned int cmd, unsigned long arg, void *private_data) in hidog_ioctl() argument 252 hi_wtdg_unused(private_data); in hidog_ioctl()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/demux/ |
D | aml_dmx_ext.c | 131 file->private_data = dmx_ext_dev; in dmx_ext_open() 139 struct dmx_ext *dmx_ext_dev = file->private_data; in dmx_ext_close() 149 struct dmx_ext *dmx_ext_dev = file->private_data; in dmx_ext_do_ioctl() 171 struct dmx_ext *dmx_ext_dev = file->private_data; in dmx_ext_poll() 187 struct dmx_ext *dmx_ext_dev = file->private_data; in dmx_ext_read() 199 struct dmx_ext *dmx_ext_dev = file->private_data; in dmx_ext_write()
|