Home
last modified time | relevance | path

Searched refs:debugfs (Results 1 – 25 of 299) sorted by relevance

12345678910>>...12

/drivers/usb/typec/ucsi/
A Ddebugfs.c27 memset(&ucsi->debugfs->response, 0, sizeof(ucsi->debugfs->response)); in ucsi_cmd()
28 ucsi->debugfs->status = 0; in ucsi_cmd()
54 &ucsi->debugfs->response, in ucsi_cmd()
55 sizeof(ucsi->debugfs->response)); in ucsi_cmd()
62 ucsi->debugfs->status = ret; in ucsi_cmd()
74 if (ucsi->debugfs->status) in ucsi_resp_show()
75 return ucsi->debugfs->status; in ucsi_resp_show()
78 ucsi->debugfs->response.low); in ucsi_resp_show()
85 ucsi->debugfs = kzalloc(sizeof(*ucsi->debugfs), GFP_KERNEL); in ucsi_debugfs_register()
86 if (!ucsi->debugfs) in ucsi_debugfs_register()
[all …]
/drivers/memory/tegra/
A Dtegra186-emc.c33 } debugfs; member
97 *rate = emc->debugfs.min_rate; in tegra186_emc_debug_min_rate_get()
114 emc->debugfs.min_rate = rate; in tegra186_emc_debug_min_rate_set()
127 *rate = emc->debugfs.max_rate; in tegra186_emc_debug_max_rate_get()
144 emc->debugfs.max_rate = rate; in tegra186_emc_debug_max_rate_set()
177 emc->debugfs.min_rate = ULONG_MAX; in tegra186_emc_get_emc_dvfs_latency()
178 emc->debugfs.max_rate = 0; in tegra186_emc_get_emc_dvfs_latency()
193 emc->debugfs.min_rate = emc->dvfs[i].rate; in tegra186_emc_get_emc_dvfs_latency()
196 emc->debugfs.max_rate = emc->dvfs[i].rate; in tegra186_emc_get_emc_dvfs_latency()
202 err = clk_set_rate_range(emc->clk, emc->debugfs.min_rate, emc->debugfs.max_rate); in tegra186_emc_get_emc_dvfs_latency()
[all …]
A Dtegra20-emc.c213 } debugfs; member
847 *rate = emc->debugfs.min_rate; in tegra_emc_debug_min_rate_get()
864 emc->debugfs.min_rate = rate; in tegra_emc_debug_min_rate_set()
877 *rate = emc->debugfs.max_rate; in tegra_emc_debug_max_rate_get()
894 emc->debugfs.max_rate = rate; in tegra_emc_debug_max_rate_set()
909 emc->debugfs.min_rate = ULONG_MAX; in tegra_emc_debugfs_init()
910 emc->debugfs.max_rate = 0; in tegra_emc_debugfs_init()
914 emc->debugfs.min_rate = emc->timings[i].rate; in tegra_emc_debugfs_init()
922 emc->debugfs.max_rate = emc->debugfs.min_rate; in tegra_emc_debugfs_init()
926 emc->debugfs.max_rate); in tegra_emc_debugfs_init()
[all …]
A Dtegra124-emc.c502 } debugfs; member
1182 *rate = emc->debugfs.min_rate; in tegra_emc_debug_min_rate_get()
1199 emc->debugfs.min_rate = rate; in tegra_emc_debug_min_rate_set()
1212 *rate = emc->debugfs.max_rate; in tegra_emc_debug_max_rate_get()
1229 emc->debugfs.max_rate = rate; in tegra_emc_debug_max_rate_set()
1243 emc->debugfs.min_rate = ULONG_MAX; in emc_debugfs_init()
1244 emc->debugfs.max_rate = 0; in emc_debugfs_init()
1248 emc->debugfs.min_rate = emc->timings[i].rate; in emc_debugfs_init()
1256 emc->debugfs.max_rate = emc->debugfs.min_rate; in emc_debugfs_init()
1260 emc->debugfs.max_rate); in emc_debugfs_init()
[all …]
A Dtegra210-emc-core.c621 if (!emc->debugfs.temperature) in tegra210_emc_poll_refresh()
1631 *rate = emc->debugfs.min_rate; in tegra210_emc_debug_min_rate_get()
1648 emc->debugfs.min_rate = rate; in tegra210_emc_debug_min_rate_set()
1661 *rate = emc->debugfs.max_rate; in tegra210_emc_debug_max_rate_get()
1678 emc->debugfs.max_rate = rate; in tegra210_emc_debug_max_rate_set()
1692 if (!emc->debugfs.temperature) in tegra210_emc_debug_temperature_get()
1695 value = emc->debugfs.temperature; in tegra210_emc_debug_temperature_get()
1725 emc->debugfs.max_rate = 0; in tegra210_emc_debugfs_init()
1737 emc->debugfs.max_rate = emc->debugfs.min_rate; in tegra210_emc_debugfs_init()
1741 emc->debugfs.max_rate); in tegra210_emc_debugfs_init()
[all …]
A Dtegra30-emc.c384 } debugfs; member
1365 *rate = emc->debugfs.min_rate; in tegra_emc_debug_min_rate_get()
1382 emc->debugfs.min_rate = rate; in tegra_emc_debug_min_rate_set()
1395 *rate = emc->debugfs.max_rate; in tegra_emc_debug_max_rate_get()
1412 emc->debugfs.max_rate = rate; in tegra_emc_debug_max_rate_set()
1427 emc->debugfs.min_rate = ULONG_MAX; in tegra_emc_debugfs_init()
1428 emc->debugfs.max_rate = 0; in tegra_emc_debugfs_init()
1432 emc->debugfs.min_rate = emc->timings[i].rate; in tegra_emc_debugfs_init()
1440 emc->debugfs.max_rate = emc->debugfs.min_rate; in tegra_emc_debugfs_init()
1444 emc->debugfs.max_rate); in tegra_emc_debugfs_init()
[all …]
/drivers/gpu/drm/nouveau/
A Dnouveau_debugfs.c75 struct nouveau_debugfs *debugfs = nouveau_debugfs(drm); in nouveau_debugfs_pstate_get() local
80 if (!debugfs) in nouveau_debugfs_pstate_get()
83 ctrl = &debugfs->ctrl; in nouveau_debugfs_pstate_get()
152 if (!debugfs) in nouveau_debugfs_pstate_set()
298 drm->debugfs = kzalloc(sizeof(*drm->debugfs), GFP_KERNEL); in nouveau_debugfs_init()
299 if (!drm->debugfs) in nouveau_debugfs_init()
304 &drm->debugfs->ctrl); in nouveau_debugfs_init()
310 if (drm->debugfs && drm->debugfs->ctrl.priv) in nouveau_debugfs_fini()
311 nvif_object_dtor(&drm->debugfs->ctrl); in nouveau_debugfs_fini()
313 kfree(drm->debugfs); in nouveau_debugfs_fini()
[all …]
/drivers/vdpa/mlx5/net/
A Ddebug.c20 if (ndev->debugfs) in mlx5_vdpa_remove_tirn()
42 if (ndev->debugfs) in mlx5_vdpa_remove_rx_flow_table()
133 if (node->dent && ndev->debugfs) in mlx5_vdpa_remove_rx_counters()
143 ndev->debugfs = debugfs_create_dir(dev_name(&ndev->mvdev.vdev.dev), in mlx5_vdpa_add_debugfs()
145 if (!IS_ERR(ndev->debugfs)) in mlx5_vdpa_add_debugfs()
146 ndev->rx_dent = debugfs_create_dir("rx", ndev->debugfs); in mlx5_vdpa_add_debugfs()
151 debugfs_remove_recursive(ndev->debugfs); in mlx5_vdpa_remove_debugfs()
152 ndev->debugfs = NULL; in mlx5_vdpa_remove_debugfs()
/drivers/gpu/drm/panfrost/
A Dpanfrost_gem.c19 bo->debugfs.creator.tgid = current->group_leader->pid; in panfrost_gem_debugfs_bo_add()
22 mutex_lock(&pfdev->debugfs.gems_lock); in panfrost_gem_debugfs_bo_add()
23 list_add_tail(&bo->debugfs.node, &pfdev->debugfs.gems_list); in panfrost_gem_debugfs_bo_add()
24 mutex_unlock(&pfdev->debugfs.gems_lock); in panfrost_gem_debugfs_bo_add()
31 if (list_empty(&bo->debugfs.node)) in panfrost_gem_debugfs_bo_rm()
34 mutex_lock(&pfdev->debugfs.gems_lock); in panfrost_gem_debugfs_bo_rm()
35 list_del_init(&bo->debugfs.node); in panfrost_gem_debugfs_bo_rm()
36 mutex_unlock(&pfdev->debugfs.gems_lock); in panfrost_gem_debugfs_bo_rm()
438 "%s/%d", bo->debugfs.creator.process_name, bo->debugfs.creator.tgid); in panfrost_gem_debugfs_bo_print()
480 scoped_guard(mutex, &pfdev->debugfs.gems_lock) { in panfrost_gem_debugfs_print_bos()
[all …]
/drivers/soundwire/
A Dintel_ace2x_debugfs.c130 struct dentry *root = sdw->cdns.bus.debugfs; in intel_ace2x_debugfs_init()
135 sdw->debugfs = debugfs_create_dir("intel-sdw", root); in intel_ace2x_debugfs_init()
137 debugfs_create_file("intel-registers", 0400, sdw->debugfs, sdw, in intel_ace2x_debugfs_init()
140 debugfs_create_file("intel-m-datamode", 0200, sdw->debugfs, sdw, in intel_ace2x_debugfs_init()
143 debugfs_create_file("intel-s-datamode", 0200, sdw->debugfs, sdw, in intel_ace2x_debugfs_init()
146 sdw_cdns_debugfs_init(&sdw->cdns, sdw->debugfs); in intel_ace2x_debugfs_init()
151 debugfs_remove_recursive(sdw->debugfs); in intel_ace2x_debugfs_exit()
/drivers/pci/controller/dwc/
A Dpcie-designware-debugfs.c190 struct dwc_pcie_rasdes_info *rinfo = pci->debugfs->rasdes_info; in lane_detect_read()
209 struct dwc_pcie_rasdes_info *rinfo = pci->debugfs->rasdes_info; in lane_detect_write()
228 struct dwc_pcie_rasdes_info *rinfo = pci->debugfs->rasdes_info; in rx_valid_read()
591 pci->debugfs->rasdes_info = rasdes_info; in dwc_pcie_rasdes_debugfs_init()
892 if (!pci->debugfs) in dwc_pcie_debugfs_deinit()
897 debugfs_remove_recursive(pci->debugfs->debug_dir); in dwc_pcie_debugfs_deinit()
904 struct debugfs_info *debugfs; in dwc_pcie_debugfs_init() local
911 debugfs = devm_kzalloc(dev, sizeof(*debugfs), GFP_KERNEL); in dwc_pcie_debugfs_init()
912 if (!debugfs) in dwc_pcie_debugfs_init()
915 debugfs->debug_dir = dir; in dwc_pcie_debugfs_init()
[all …]
/drivers/net/wireless/ti/wl1251/
A Ddebugfs.c46 debugfs_remove(wl->debugfs.name); \
47 wl->debugfs.name = NULL; \
73 DEBUGFS_ADD(sub## _ ##name, wl->debugfs.fw_statistics)
431 DEBUGFS_ADD(tx_queue_len, wl->debugfs.rootdir); in wl1251_debugfs_add_files()
432 DEBUGFS_ADD(tx_queue_status, wl->debugfs.rootdir); in wl1251_debugfs_add_files()
433 DEBUGFS_ADD(retry_count, wl->debugfs.rootdir); in wl1251_debugfs_add_files()
454 wl->debugfs.rootdir); in wl1251_debugfs_init()
470 debugfs_remove(wl->debugfs.fw_statistics); in wl1251_debugfs_exit()
471 wl->debugfs.fw_statistics = NULL; in wl1251_debugfs_exit()
473 debugfs_remove(wl->debugfs.rootdir); in wl1251_debugfs_exit()
[all …]
/drivers/gpu/drm/panthor/
A Dpanthor_gem.c21 INIT_LIST_HEAD(&bo->debugfs.node); in panthor_gem_debugfs_bo_init()
29 bo->debugfs.creator.tgid = current->group_leader->pid; in panthor_gem_debugfs_bo_add()
30 get_task_comm(bo->debugfs.creator.process_name, current->group_leader); in panthor_gem_debugfs_bo_add()
33 list_add_tail(&bo->debugfs.node, &ptdev->gems.node); in panthor_gem_debugfs_bo_add()
42 if (list_empty(&bo->debugfs.node)) in panthor_gem_debugfs_bo_rm()
46 list_del_init(&bo->debugfs.node); in panthor_gem_debugfs_bo_rm()
52 bo->debugfs.flags = usage_flags; in panthor_gem_debugfs_set_usage_flags()
390 u32 gem_usage_flags = bo->debugfs.flags; in panthor_gem_debugfs_bo_print()
400 "%s/%d", bo->debugfs.creator.process_name, bo->debugfs.creator.tgid); in panthor_gem_debugfs_bo_print()
438 list_for_each_entry(bo, &ptdev->gems.node, debugfs.node) { in panthor_gem_debugfs_print_bos()
/drivers/media/platform/amphion/
A Dvpu_dbg.c443 if (!vpu->debugfs) in vpu_inst_create_dbgfs_file()
446 if (inst->debugfs) in vpu_inst_create_dbgfs_file()
452 vpu->debugfs, in vpu_inst_create_dbgfs_file()
464 debugfs_remove(inst->debugfs); in vpu_inst_remove_dbgfs_file()
465 inst->debugfs = NULL; in vpu_inst_remove_dbgfs_file()
479 if (!vpu->debugfs) in vpu_core_create_dbgfs_file()
482 if (!core->debugfs) { in vpu_core_create_dbgfs_file()
486 vpu->debugfs, in vpu_core_create_dbgfs_file()
494 vpu->debugfs, in vpu_core_create_dbgfs_file()
506 debugfs_remove(core->debugfs); in vpu_core_remove_dbgfs_file()
[all …]
/drivers/hwspinlock/
A Dsun6i_hwspinlock.c33 struct dentry *debugfs; member
51 priv->debugfs = debugfs_create_dir(DRIVER_NAME, NULL); in sun6i_hwspinlock_debugfs_init()
52 debugfs_create_file("supported", 0444, priv->debugfs, priv, &hwlocks_supported_fops); in sun6i_hwspinlock_debugfs_init()
86 debugfs_remove_recursive(priv->debugfs); in sun6i_hwspinlock_disable()
171 if (IS_ERR(priv->debugfs)) in sun6i_hwspinlock_probe()
172 priv->debugfs = NULL; in sun6i_hwspinlock_probe()
/drivers/gpu/drm/i915/gvt/
A Ddebugfs.c180 vgpu->debugfs = debugfs_create_dir(name, vgpu->gvt->debugfs_root); in intel_gvt_debugfs_add_vgpu()
182 debugfs_create_file("mmio_diff", 0444, vgpu->debugfs, vgpu, in intel_gvt_debugfs_add_vgpu()
184 debugfs_create_file_unsafe("scan_nonprivbb", 0644, vgpu->debugfs, vgpu, in intel_gvt_debugfs_add_vgpu()
186 debugfs_create_file_unsafe("status", 0644, vgpu->debugfs, vgpu, in intel_gvt_debugfs_add_vgpu()
200 debugfs_remove_recursive(vgpu->debugfs); in intel_gvt_debugfs_remove_vgpu()
201 vgpu->debugfs = NULL; in intel_gvt_debugfs_remove_vgpu()
/drivers/base/regmap/
A Dregmap-debugfs.c596 map->debugfs = debugfs_create_dir(name, regmap_debugfs_root); in regmap_debugfs_init()
598 debugfs_create_file("name", 0400, map->debugfs, in regmap_debugfs_init()
601 debugfs_create_file("range", 0400, map->debugfs, in regmap_debugfs_init()
615 debugfs_create_file("access", 0400, map->debugfs, in regmap_debugfs_init()
620 debugfs_create_file("cache_only", 0600, map->debugfs, in regmap_debugfs_init()
622 debugfs_create_bool("cache_dirty", 0400, map->debugfs, in regmap_debugfs_init()
624 debugfs_create_file("cache_bypass", 0600, map->debugfs, in regmap_debugfs_init()
636 debugfs_create_bool("force_write_field", 0600, map->debugfs, in regmap_debugfs_init()
646 map->debugfs, range_node, in regmap_debugfs_init()
658 if (map->debugfs) { in regmap_debugfs_exit()
[all …]
/drivers/video/fbdev/omap2/omapfb/dss/
A DKconfig16 appropriate flags in <debugfs>/dynamic_debug/control.
22 This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables
30 Collect DSS IRQ statistics, printable via debugfs.
33 <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
34 <debugfs>/omapdss/dsi_irq for DSI interrupts.
/drivers/hwmon/pmbus/
A Dibm-cffps.c486 struct dentry *debugfs; in ibm_cffps_probe() local
559 debugfs = pmbus_get_debugfs_dir(client); in ibm_cffps_probe()
560 if (!debugfs) in ibm_cffps_probe()
566 debugfs_create_file("input_history", 0444, debugfs, psu, &ibm_cffps_input_history_fops); in ibm_cffps_probe()
567 debugfs_create_file("max_power_out", 0444, debugfs, in ibm_cffps_probe()
570 debugfs_create_file("ccin", 0444, debugfs, in ibm_cffps_probe()
573 debugfs_create_file("fw_version", 0444, debugfs, in ibm_cffps_probe()
576 debugfs_create_file("on_off_config", 0644, debugfs, in ibm_cffps_probe()
581 debugfs_create_symlink(client->name, debugfs, "."); in ibm_cffps_probe()
A Ducd9000.c69 struct dentry *debugfs; member
449 struct dentry *debugfs; in ucd9000_init_debugfs() local
454 debugfs = pmbus_get_debugfs_dir(client); in ucd9000_init_debugfs()
455 if (!debugfs) in ucd9000_init_debugfs()
458 data->debugfs = debugfs_create_dir(client->name, debugfs); in ucd9000_init_debugfs()
481 debugfs_create_file(name, 0444, data->debugfs, in ucd9000_init_debugfs()
488 debugfs_create_file(name, 0444, data->debugfs, client, in ucd9000_init_debugfs()
/drivers/net/caif/
A Dcaif_virtio.c126 struct dentry *debugfs; member
626 cfv->debugfs = debugfs_create_dir(netdev_name(cfv->ndev), NULL); in debugfs_init()
628 debugfs_create_u32("rx-napi-complete", 0400, cfv->debugfs, in debugfs_init()
630 debugfs_create_u32("rx-napi-resched", 0400, cfv->debugfs, in debugfs_init()
632 debugfs_create_u32("rx-nomem", 0400, cfv->debugfs, in debugfs_init()
634 debugfs_create_u32("rx-kicks", 0400, cfv->debugfs, in debugfs_init()
636 debugfs_create_u32("tx-full-ring", 0400, cfv->debugfs, in debugfs_init()
638 debugfs_create_u32("tx-no-mem", 0400, cfv->debugfs, in debugfs_init()
640 debugfs_create_u32("tx-kicks", 0400, cfv->debugfs, in debugfs_init()
642 debugfs_create_u32("tx-flow-on", 0400, cfv->debugfs, in debugfs_init()
[all …]
/drivers/thermal/
A Dthermal_debugfs.c411 struct thermal_debugfs *thermal_dbg = cdev->debugfs; in thermal_debug_cdev_state_update()
516 cdev->debugfs = thermal_dbg; in thermal_debug_cdev_add()
525 thermal_dbg = cdev->debugfs; in thermal_debug_cdev_clear()
527 cdev->debugfs = NULL; in thermal_debug_cdev_clear()
582 struct thermal_debugfs *thermal_dbg = tz->debugfs; in thermal_debug_tz_trip_up()
675 struct thermal_debugfs *thermal_dbg = tz->debugfs; in thermal_debug_tz_trip_down()
729 struct thermal_debugfs *thermal_dbg = tz->debugfs; in thermal_debug_update_trip_stats()
890 tz->debugfs = thermal_dbg; in thermal_debug_tz_add()
899 thermal_dbg = tz->debugfs; in thermal_debug_tz_clear()
901 tz->debugfs = NULL; in thermal_debug_tz_clear()
[all …]
/drivers/gpu/drm/omapdrm/
A DKconfig26 appropriate flags in <debugfs>/dynamic_debug/control.
33 This enables debugfs for OMAPDSS at <debugfs>/omapdss. This enables
42 Collect DSS IRQ statistics, printable via debugfs.
45 <debugfs>/omapdss/dispc_irq for DISPC interrupts, and
46 <debugfs>/omapdss/dsi_irq for DSI interrupts.
/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/
A Dgsp.c1368 if (IS_ERR(gsp->debugfs.parent)) { in r535_gsp_libos_debugfs_init()
1382 if (!gsp->debugfs.init) in r535_gsp_libos_debugfs_init()
1386 if (!gsp->debugfs.intr) in r535_gsp_libos_debugfs_init()
1390 if (!gsp->debugfs.rm) in r535_gsp_libos_debugfs_init()
1403 if (!gsp->debugfs.pmu) { in r535_gsp_libos_debugfs_init()
1426 debugfs_remove(gsp->debugfs.parent); in r535_gsp_libos_debugfs_init()
1427 gsp->debugfs.parent = NULL; in r535_gsp_libos_debugfs_init()
2006 debugfs_remove(gsp->debugfs.init); in r535_gsp_retain_logging()
2007 debugfs_remove(gsp->debugfs.intr); in r535_gsp_retain_logging()
2008 debugfs_remove(gsp->debugfs.rm); in r535_gsp_retain_logging()
[all …]
/drivers/net/wireless/ath/wil6210/
A DKconfig29 registers with debugfs. If COR were used, ISR would
47 bool "wil6210 debugfs support"
52 Say Y here to enable wil6210 debugfs support, using the
53 kernel debugfs infrastructure. Select this

Completed in 59 milliseconds

12345678910>>...12