Home
last modified time | relevance | path

Searched refs:dbgfs (Results 1 – 11 of 11) sorted by relevance

/drivers/media/platform/mediatek/vcodec/common/
Dmtk_vcodec_dbgfs.c77 struct mtk_vcodec_dbgfs *dbgfs = &vcodec_dev->dbgfs; in mtk_vdec_dbgfs_write() local
79 mutex_lock(&dbgfs->dbgfs_lock); in mtk_vdec_dbgfs_write()
80 dbgfs->buf_size = simple_write_to_buffer(dbgfs->dbgfs_buf, sizeof(dbgfs->dbgfs_buf), in mtk_vdec_dbgfs_write()
82 mutex_unlock(&dbgfs->dbgfs_lock); in mtk_vdec_dbgfs_write()
83 if (dbgfs->buf_size > 0) in mtk_vdec_dbgfs_write()
86 return dbgfs->buf_size; in mtk_vdec_dbgfs_write()
93 struct mtk_vcodec_dbgfs *dbgfs = &vcodec_dev->dbgfs; in mtk_vdec_dbgfs_read() local
96 int total_len = 200 * (dbgfs->inst_count == 0 ? 1 : dbgfs->inst_count); in mtk_vdec_dbgfs_read()
104 if (strstr(dbgfs->dbgfs_buf, "-help") || dbgfs->buf_size == 1) { in mtk_vdec_dbgfs_read()
109 if (strstr(dbgfs->dbgfs_buf, "-picinfo")) in mtk_vdec_dbgfs_read()
[all …]
DMakefile18 obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec-dbgfs.o
20 mtk-vcodec-dbgfs-y := mtk_vcodec_dbgfs.o
Dmtk_vcodec_dbgfs.h56 void mtk_vcodec_dbgfs_deinit(struct mtk_vcodec_dbgfs *dbgfs);
70 static inline void mtk_vcodec_dbgfs_deinit(struct mtk_vcodec_dbgfs *dbgfs) in mtk_vcodec_dbgfs_deinit() argument
/drivers/crypto/intel/qat/qat_common/
Dadf_heartbeat_dbgfs.c164 hb->dbgfs.base_dir = debugfs_create_dir("heartbeat", accel_dev->debugfs_dir); in adf_heartbeat_dbgfs_add()
165 hb->dbgfs.status = debugfs_create_file("status", 0400, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add()
167 hb->dbgfs.sent = debugfs_create_file("queries_sent", 0400, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add()
169 hb->dbgfs.failed = debugfs_create_file("queries_failed", 0400, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add()
171 hb->dbgfs.cfg = debugfs_create_file("config", 0600, hb->dbgfs.base_dir, in adf_heartbeat_dbgfs_add()
183 debugfs_remove(hb->dbgfs.status); in adf_heartbeat_dbgfs_rm()
184 hb->dbgfs.status = NULL; in adf_heartbeat_dbgfs_rm()
185 debugfs_remove(hb->dbgfs.sent); in adf_heartbeat_dbgfs_rm()
186 hb->dbgfs.sent = NULL; in adf_heartbeat_dbgfs_rm()
187 debugfs_remove(hb->dbgfs.failed); in adf_heartbeat_dbgfs_rm()
[all …]
Dadf_heartbeat.h38 } dbgfs; member
/drivers/dma-buf/
Dsync_debug.c11 static struct dentry *dbgfs; variable
176 dbgfs = debugfs_create_dir("sync", NULL); in sync_debugfs_init()
183 debugfs_create_file_unsafe("info", 0444, dbgfs, NULL, in sync_debugfs_init()
185 debugfs_create_file_unsafe("sw_sync", 0644, dbgfs, NULL, in sync_debugfs_init()
/drivers/media/platform/qcom/venus/
DMakefile6 hfi_parser.o pm_helpers.o dbgfs.o \
/drivers/media/platform/mediatek/vcodec/encoder/
Dmtk_vcodec_enc_drv.h217 struct mtk_vcodec_dbgfs dbgfs; member
Dmtk_vcodec_enc_drv.c468 mtk_vcodec_dbgfs_deinit(&dev->dbgfs); in mtk_vcodec_enc_remove()
/drivers/media/platform/mediatek/vcodec/decoder/
Dmtk_vcodec_dec_drv.h293 struct mtk_vcodec_dbgfs dbgfs; member
Dmtk_vcodec_dec_drv.c559 mtk_vcodec_dbgfs_deinit(&dev->dbgfs); in mtk_vcodec_dec_remove()