Home
last modified time | relevance | path

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

/linux-6.6.21/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
/linux-6.6.21/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
/linux-6.6.21/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()
/linux-6.6.21/mm/damon/
DMakefile7 obj-$(CONFIG_DAMON_DBGFS) += dbgfs.o
/linux-6.6.21/drivers/media/platform/qcom/venus/
DMakefile6 hfi_parser.o pm_helpers.o dbgfs.o \
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/encoder/
Dmtk_vcodec_enc_drv.h215 struct mtk_vcodec_dbgfs dbgfs; member
Dmtk_vcodec_enc_drv.c463 mtk_vcodec_dbgfs_deinit(&dev->dbgfs); in mtk_vcodec_enc_remove()
/linux-6.6.21/arch/powerpc/platforms/powernv/
Deeh-powernv.c208 if (phb->has_dbgfs || !phb->dbgfs) in pnv_eeh_post_init()
213 phb->dbgfs, hose, in pnv_eeh_post_init()
217 phb->dbgfs, hose, in pnv_eeh_post_init()
220 phb->dbgfs, hose, in pnv_eeh_post_init()
223 phb->dbgfs, hose, in pnv_eeh_post_init()
Dpci.h121 struct dentry *dbgfs; member
Dpci-ioda.c2133 phb->dbgfs = debugfs_create_dir(name, arch_debugfs_dir); in pnv_pci_ioda_create_dbgfs()
2135 debugfs_create_file_unsafe("dump_diag_regs", 0200, phb->dbgfs, in pnv_pci_ioda_create_dbgfs()
2137 debugfs_create_file_unsafe("dump_ioda_pe_state", 0200, phb->dbgfs, in pnv_pci_ioda_create_dbgfs()
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/
Dmtk_vcodec_dec_drv.h291 struct mtk_vcodec_dbgfs dbgfs; member
Dmtk_vcodec_dec_drv.c554 mtk_vcodec_dbgfs_deinit(&dev->dbgfs); in mtk_vcodec_dec_remove()