Home
last modified time | relevance | path

Searched refs:procfs (Results 1 – 25 of 108) sorted by relevance

12345

/OK3568_Linux_fs/kernel/drivers/misc/
H A Dpir-aschip.c17 struct proc_dir_entry *procfs; member
83 drv_data->procfs = proc_mkdir("pir", NULL); in pir_aschip_create_procfs()
84 if (!drv_data->procfs) in pir_aschip_create_procfs()
87 ent = proc_create_data("sensibility", 0644, drv_data->procfs, in pir_aschip_create_procfs()
94 proc_remove(drv_data->procfs); in pir_aschip_create_procfs()
101 proc_remove(drv_data->procfs); in pir_aschip_proc_release()
/OK3568_Linux_fs/kernel/drivers/video/rockchip/mpp/
H A Dmpp_service.c171 if (srv->procfs) { in mpp_procfs_remove()
172 proc_remove(srv->procfs); in mpp_procfs_remove()
173 srv->procfs = NULL; in mpp_procfs_remove()
320 srv->procfs = proc_mkdir(MPP_SERVICE_NAME, NULL); in mpp_procfs_init()
321 if (IS_ERR_OR_NULL(srv->procfs)) { in mpp_procfs_init()
323 srv->procfs = NULL; in mpp_procfs_init()
327 proc_create_single("version", 0444, srv->procfs, mpp_show_version); in mpp_procfs_init()
330 srv->procfs, mpp_show_session_summary, srv); in mpp_procfs_init()
332 proc_create_single("supports-cmd", 0444, srv->procfs, mpp_show_support_cmd); in mpp_procfs_init()
335 srv->procfs, mpp_show_support_device, srv); in mpp_procfs_init()
[all …]
H A Dmpp_jpgdec.c98 struct proc_dir_entry *procfs; member
368 if (dec->procfs) { in jpgdec_procfs_remove()
369 proc_remove(dec->procfs); in jpgdec_procfs_remove()
370 dec->procfs = NULL; in jpgdec_procfs_remove()
380 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in jpgdec_procfs_init()
381 if (IS_ERR_OR_NULL(dec->procfs)) { in jpgdec_procfs_init()
383 dec->procfs = NULL; in jpgdec_procfs_init()
388 mpp_procfs_create_common(dec->procfs, mpp); in jpgdec_procfs_init()
391 dec->procfs, &dec->aclk_info.debug_rate_hz); in jpgdec_procfs_init()
393 dec->procfs, &mpp->session_max_buffers); in jpgdec_procfs_init()
H A Dmpp_vepu1.c103 struct proc_dir_entry *procfs; member
485 if (enc->procfs) { in vepu_procfs_remove()
486 proc_remove(enc->procfs); in vepu_procfs_remove()
487 enc->procfs = NULL; in vepu_procfs_remove()
562 enc->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vepu_procfs_init()
563 if (IS_ERR_OR_NULL(enc->procfs)) { in vepu_procfs_init()
565 enc->procfs = NULL; in vepu_procfs_init()
570 mpp_procfs_create_common(enc->procfs, mpp); in vepu_procfs_init()
573 enc->procfs, &enc->aclk_info.debug_rate_hz); in vepu_procfs_init()
575 enc->procfs, &mpp->session_max_buffers); in vepu_procfs_init()
[all …]
H A Dmpp_vdpu2.c110 struct proc_dir_entry *procfs; member
464 if (dec->procfs) { in vdpu_procfs_remove()
465 proc_remove(dec->procfs); in vdpu_procfs_remove()
466 dec->procfs = NULL; in vdpu_procfs_remove()
476 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vdpu_procfs_init()
477 if (IS_ERR_OR_NULL(dec->procfs)) { in vdpu_procfs_init()
479 dec->procfs = NULL; in vdpu_procfs_init()
484 mpp_procfs_create_common(dec->procfs, mpp); in vdpu_procfs_init()
487 dec->procfs, &dec->aclk_info.debug_rate_hz); in vdpu_procfs_init()
489 dec->procfs, &mpp->session_max_buffers); in vdpu_procfs_init()
H A Dmpp_vdpu1.c126 struct proc_dir_entry *procfs; member
505 if (dec->procfs) { in vdpu_procfs_remove()
506 proc_remove(dec->procfs); in vdpu_procfs_remove()
507 dec->procfs = NULL; in vdpu_procfs_remove()
517 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vdpu_procfs_init()
518 if (IS_ERR_OR_NULL(dec->procfs)) { in vdpu_procfs_init()
520 dec->procfs = NULL; in vdpu_procfs_init()
525 mpp_procfs_create_common(dec->procfs, mpp); in vdpu_procfs_init()
528 dec->procfs, &dec->aclk_info.debug_rate_hz); in vdpu_procfs_init()
530 dec->procfs, &mpp->session_max_buffers); in vdpu_procfs_init()
H A Dmpp_vepu2.c124 struct proc_dir_entry *procfs; member
603 if (enc->procfs) { in vepu_procfs_remove()
604 proc_remove(enc->procfs); in vepu_procfs_remove()
605 enc->procfs = NULL; in vepu_procfs_remove()
683 !mpp->srv || !mpp->srv->procfs) in vepu_procfs_init()
692 enc->procfs = proc_mkdir(name, mpp->srv->procfs); in vepu_procfs_init()
693 if (IS_ERR_OR_NULL(enc->procfs)) { in vepu_procfs_init()
695 enc->procfs = NULL; in vepu_procfs_init()
700 mpp_procfs_create_common(enc->procfs, mpp); in vepu_procfs_init()
703 enc->procfs, &enc->aclk_info.debug_rate_hz); in vepu_procfs_init()
[all …]
H A Dmpp_vdpp.c85 struct proc_dir_entry *procfs; member
446 if (vdpp->procfs) { in vdpp_procfs_remove()
447 proc_remove(vdpp->procfs); in vdpp_procfs_remove()
448 vdpp->procfs = NULL; in vdpp_procfs_remove()
458 vdpp->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in vdpp_procfs_init()
459 if (IS_ERR_OR_NULL(vdpp->procfs)) { in vdpp_procfs_init()
461 vdpp->procfs = NULL; in vdpp_procfs_init()
465 vdpp->procfs, &vdpp->aclk_info.debug_rate_hz); in vdpp_procfs_init()
467 vdpp->procfs, &mpp->session_max_buffers); in vdpp_procfs_init()
H A Dmpp_iep2.c220 struct proc_dir_entry *procfs; member
772 if (iep->procfs) { in iep2_procfs_remove()
773 proc_remove(iep->procfs); in iep2_procfs_remove()
774 iep->procfs = NULL; in iep2_procfs_remove()
784 iep->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in iep2_procfs_init()
785 if (IS_ERR_OR_NULL(iep->procfs)) { in iep2_procfs_init()
787 iep->procfs = NULL; in iep2_procfs_init()
792 mpp_procfs_create_common(iep->procfs, mpp); in iep2_procfs_init()
795 iep->procfs, &iep->aclk_info.debug_rate_hz); in iep2_procfs_init()
797 iep->procfs, &mpp->session_max_buffers); in iep2_procfs_init()
H A Dmpp_rkvenc.c189 struct proc_dir_entry *procfs; member
731 if (enc->procfs) { in rkvenc_procfs_remove()
732 proc_remove(enc->procfs); in rkvenc_procfs_remove()
733 enc->procfs = NULL; in rkvenc_procfs_remove()
808 enc->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in rkvenc_procfs_init()
809 if (IS_ERR_OR_NULL(enc->procfs)) { in rkvenc_procfs_init()
811 enc->procfs = NULL; in rkvenc_procfs_init()
816 mpp_procfs_create_common(enc->procfs, mpp); in rkvenc_procfs_init()
820 enc->procfs, &enc->aclk_info.debug_rate_hz); in rkvenc_procfs_init()
822 enc->procfs, &enc->core_clk_info.debug_rate_hz); in rkvenc_procfs_init()
[all …]
H A Dmpp_rkvdec2.c644 if (dec->procfs) { in rkvdec2_procfs_remove()
645 proc_remove(dec->procfs); in rkvdec2_procfs_remove()
646 dec->procfs = NULL; in rkvdec2_procfs_remove()
665 !mpp->srv || !mpp->srv->procfs) in rkvdec2_procfs_init()
670 dec->procfs = proc_mkdir(name, mpp->srv->procfs); in rkvdec2_procfs_init()
671 if (IS_ERR_OR_NULL(dec->procfs)) { in rkvdec2_procfs_init()
673 dec->procfs = NULL; in rkvdec2_procfs_init()
678 mpp_procfs_create_common(dec->procfs, mpp); in rkvdec2_procfs_init()
681 dec->procfs, &dec->aclk_info.debug_rate_hz); in rkvdec2_procfs_init()
683 dec->procfs, &dec->core_clk_info.debug_rate_hz); in rkvdec2_procfs_init()
[all …]
H A Dmpp_av1dec.c147 struct proc_dir_entry *procfs; member
870 if (dec->procfs) { in av1dec_procfs_remove()
871 proc_remove(dec->procfs); in av1dec_procfs_remove()
872 dec->procfs = NULL; in av1dec_procfs_remove()
882 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in av1dec_procfs_init()
883 if (IS_ERR_OR_NULL(dec->procfs)) { in av1dec_procfs_init()
885 dec->procfs = NULL; in av1dec_procfs_init()
890 mpp_procfs_create_common(dec->procfs, mpp); in av1dec_procfs_init()
894 dec->procfs, &dec->aclk_info.debug_rate_hz); in av1dec_procfs_init()
896 dec->procfs, &mpp->session_max_buffers); in av1dec_procfs_init()
H A Dmpp_rkvdec.c168 struct proc_dir_entry *procfs; member
1172 if (dec->procfs) { in rkvdec_procfs_remove()
1173 proc_remove(dec->procfs); in rkvdec_procfs_remove()
1174 dec->procfs = NULL; in rkvdec_procfs_remove()
1184 dec->procfs = proc_mkdir(mpp->dev->of_node->name, mpp->srv->procfs); in rkvdec_procfs_init()
1185 if (IS_ERR_OR_NULL(dec->procfs)) { in rkvdec_procfs_init()
1187 dec->procfs = NULL; in rkvdec_procfs_init()
1192 mpp_procfs_create_common(dec->procfs, mpp); in rkvdec_procfs_init()
1195 dec->procfs, &dec->aclk_info.debug_rate_hz); in rkvdec_procfs_init()
1197 dec->procfs, &dec->core_clk_info.debug_rate_hz); in rkvdec_procfs_init()
[all …]
H A DKconfig12 bool "mpp service procfs"
16 rockchip mpp service procfs.
/OK3568_Linux_fs/kernel/drivers/video/rockchip/rve/
H A DKconfig11 bool "Enable RVE procfs"
15 Enable procfs to debug RVE driver.
27 Enabling the debugger of RVE, you can use procfs and debugfs for debugging.
/OK3568_Linux_fs/kernel/drivers/video/rockchip/rga2/
H A DKconfig11 bool "Enable RGA2 procfs"
15 Enable procfs to debug RGA driver.
28 Enabling the debugger of RGA2, you can use procfs and debugfs for debugging.
/OK3568_Linux_fs/kernel/tools/lib/api/fs/
H A Dfs.c314 FS(procfs, FS__PROCFS);
444 const char *procfs = procfs__mountpoint(); in procfs__read_str() local
446 if (!procfs) in procfs__read_str()
449 snprintf(path, sizeof(path), "%s/%s", procfs, entry); in procfs__read_str()
536 const char *procfs = procfs__mountpoint(); in sysctl__read_int() local
538 if (!procfs) in sysctl__read_int()
541 snprintf(path, sizeof(path), "%s/sys/%s", procfs, sysctl); in sysctl__read_int()
/OK3568_Linux_fs/kernel/drivers/video/rockchip/rga3/
H A DKconfig18 bool "Enable RGA procfs"
22 Enable procfs to debug multi RGA driver.
35 Enabling the debugger of multi RGA, you can use procfs and debugfs for debugging.
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/ssvdevice/
H A Dssvdevice.c56 struct proc_dir_entry *procfs; variable
240 procfs = proc_mkdir(DEBUG_DIR_ENTRY, NULL); in ssvdevice_init()
241 if (!procfs) in ssvdevice_init()
243 proc_create(DEBUG_CMD_ENTRY, S_IRUGO|S_IWUGO, procfs, &ssv6xxx_dbg_fops); in ssvdevice_init()
273 remove_proc_entry(DEBUG_CMD_ENTRY, procfs); in ssvdevice_exit()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/ispp/
H A Dprocfs.c131 dev->procfs = proc_create_data(dev->name, 0, NULL, &ops, dev); in rkispp_proc_init()
132 if (!dev->procfs) in rkispp_proc_init()
139 if (dev->procfs) in rkispp_proc_cleanup()
141 dev->procfs = NULL; in rkispp_proc_cleanup()
/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/
H A Dprocfs.c145 rk_dev->procfs = proc_create_data(rk_dev->name, 0, NULL, &ops, rk_dev); in rkcrypto_proc_init()
146 if (!rk_dev->procfs) in rkcrypto_proc_init()
154 if (rk_dev->procfs) in rkcrypto_proc_cleanup()
157 rk_dev->procfs = NULL; in rkcrypto_proc_cleanup()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/
H A Dprocfs.c956 "Debug", dev->procfs.mode); in isp_show()
957 if (dev->procfs.mode & RKISP_PROCFS_DUMP_REG) { in isp_show()
960 dev->procfs.is_fs_wait = true; in isp_show()
961 ret = wait_event_timeout(dev->procfs.fs_wait, in isp_show()
962 !dev->procfs.is_fs_wait, in isp_show()
999 dev->procfs.is_fs_wait = true; in rkisp_proc_dump_mem()
1000 wait_event_timeout(dev->procfs.fe_wait, in rkisp_proc_dump_mem()
1001 !dev->procfs.is_fe_wait, in rkisp_proc_dump_mem()
1085 dev->procfs.mode = val; in rkisp_proc_write()
1088 } else if (dev->procfs.mode & in rkisp_proc_write()
[all …]
/OK3568_Linux_fs/kernel/drivers/video/rockchip/dvbm/
H A DKconfig12 bool "enable dvbm procfs"
16 rockchip dvbm procfs.
/OK3568_Linux_fs/kernel/drivers/rknpu/
H A DKconfig21 bool "RKNPU procfs"
24 Enable procfs to debug RKNPU usage.
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_process.c78 static struct kfd_procfs_tree procfs; variable
354 procfs.kobj = kfd_alloc_struct(procfs.kobj); in kfd_procfs_init()
355 if (!procfs.kobj) in kfd_procfs_init()
358 ret = kobject_init_and_add(procfs.kobj, &procfs_type, in kfd_procfs_init()
369 if (procfs.kobj) { in kfd_procfs_shutdown()
370 kobject_del(procfs.kobj); in kfd_procfs_shutdown()
371 kobject_put(procfs.kobj); in kfd_procfs_shutdown()
372 procfs.kobj = NULL; in kfd_procfs_shutdown()
779 if (!procfs.kobj) in kfd_create_process()
788 procfs.kobj, "%d", in kfd_create_process()

12345